C# 클래스 Hugula.Utils.FileHelper

파일 보기 프로젝트 열기: tenvick/hugula 1 사용 예제들

공개 메소드들

메소드 설명
ChangePersistentFileName ( string oldName, string newname ) : bool

Changes the name of the persistent file.

CheckCreateFilePathDirectory ( string filePath ) : void

检测文件路径文件夹是否存在

ComputeCrc32 ( string path ) : uint

Computes the crc32.

DeletePersistentDirectory ( string relative = null ) : void

Delete the persistent Directory

DeletePersistentFile ( string fileName ) : void

Deletes the persistent file.

PersistentFileExists ( string abpath ) : bool

the Persistents file is Exists.

ReadPersistentFile ( string fileName ) : byte[]

Reads the persistent file.

SavePersistentFile ( Array context, string fileName ) : void

Saves the file.

SavePersistentFile ( string context, string fileName ) : void

Saves the persistent file.

UnpackConfigAssetBundleFn ( AssetBundle ab, LuaFunction luaFn ) : void

메소드 상세

ChangePersistentFileName() 공개 정적인 메소드

Changes the name of the persistent file.
public static ChangePersistentFileName ( string oldName, string newname ) : bool
oldName string Old name.
newname string Newname.
리턴 bool

CheckCreateFilePathDirectory() 공개 정적인 메소드

检测文件路径文件夹是否存在
public static CheckCreateFilePathDirectory ( string filePath ) : void
filePath string
리턴 void

ComputeCrc32() 공개 정적인 메소드

Computes the crc32.
public static ComputeCrc32 ( string path ) : uint
path string Path.
리턴 uint

DeletePersistentDirectory() 공개 정적인 메소드

Delete the persistent Directory
public static DeletePersistentDirectory ( string relative = null ) : void
relative string
리턴 void

DeletePersistentFile() 공개 정적인 메소드

Deletes the persistent file.
public static DeletePersistentFile ( string fileName ) : void
fileName string File name.
리턴 void

PersistentFileExists() 공개 정적인 메소드

the Persistents file is Exists.
public static PersistentFileExists ( string abpath ) : bool
abpath string Abpath.
리턴 bool

ReadPersistentFile() 공개 정적인 메소드

Reads the persistent file.
public static ReadPersistentFile ( string fileName ) : byte[]
fileName string File name.
리턴 byte[]

SavePersistentFile() 공개 정적인 메소드

Saves the file.
public static SavePersistentFile ( Array context, string fileName ) : void
context System.Array Context.
fileName string File name.
리턴 void

SavePersistentFile() 공개 정적인 메소드

Saves the persistent file.
public static SavePersistentFile ( string context, string fileName ) : void
context string Context.
fileName string File name.
리턴 void

UnpackConfigAssetBundleFn() 공개 정적인 메소드

public static UnpackConfigAssetBundleFn ( AssetBundle ab, LuaFunction luaFn ) : void
ab UnityEngine.AssetBundle
luaFn SLua.LuaFunction
리턴 void