C# Class YwPathMng, 2DPlatformer-SLua

Exibir arquivo Open project: yaukeywang/2DPlatformer-SLua Class Usage Examples

Public Properties

Property Type Description
DATA_CATAGORY_LUA string
FILE_AFFIX_LUA string
JAR_URL_PREFIX string
LOCAL_URL_PREFIX string
PATH_SEPARATE_CHAR_BACKLASH char
PATH_SEPARATE_CHAR_SLASH char

Public Methods

Method Description
CopyFile ( string strSrcFilePath, string strDstFilePath ) : bool
CreateDirIfNotExist ( string strPathName, bool bIsDirPath ) : bool
GetLoadUrl ( string strPathName ) : string
GetLoadUrlForDir ( string strPathName ) : string
GetLoadUrlForDirPersistentAssetPath ( string strPathName ) : string
GetLoadUrlForDirStreamingAssetPath ( string strPathName ) : string
GetLoadUrlPersistentAssetPath ( string strPathName ) : string
GetLoadUrlStreamingAssetPath ( string strPathName ) : string

Private Methods

Method Description
YwPathMng ( ) : System.Collections

Method Details

CopyFile() public method

public CopyFile ( string strSrcFilePath, string strDstFilePath ) : bool
strSrcFilePath string
strDstFilePath string
return bool

CreateDirIfNotExist() public method

public CreateDirIfNotExist ( string strPathName, bool bIsDirPath ) : bool
strPathName string
bIsDirPath bool
return bool

GetLoadUrl() public method

public GetLoadUrl ( string strPathName ) : string
strPathName string
return string

GetLoadUrlForDir() public method

public GetLoadUrlForDir ( string strPathName ) : string
strPathName string
return string

GetLoadUrlForDirPersistentAssetPath() public method

public GetLoadUrlForDirPersistentAssetPath ( string strPathName ) : string
strPathName string
return string

GetLoadUrlForDirStreamingAssetPath() public method

public GetLoadUrlForDirStreamingAssetPath ( string strPathName ) : string
strPathName string
return string

GetLoadUrlPersistentAssetPath() public method

public GetLoadUrlPersistentAssetPath ( string strPathName ) : string
strPathName string
return string

GetLoadUrlStreamingAssetPath() public method

public GetLoadUrlStreamingAssetPath ( string strPathName ) : string
strPathName string
return string

Property Details

DATA_CATAGORY_LUA public_oe static_oe property

public static string DATA_CATAGORY_LUA
return string

FILE_AFFIX_LUA public_oe static_oe property

public static string FILE_AFFIX_LUA
return string

JAR_URL_PREFIX public_oe static_oe property

public static string JAR_URL_PREFIX
return string

LOCAL_URL_PREFIX public_oe static_oe property

public static string LOCAL_URL_PREFIX
return string

PATH_SEPARATE_CHAR_BACKLASH public_oe static_oe property

public static char PATH_SEPARATE_CHAR_BACKLASH
return char

PATH_SEPARATE_CHAR_SLASH public_oe static_oe property

public static char PATH_SEPARATE_CHAR_SLASH
return char