Skip to main content

CCFileUtils

CCFileUtils

Cocos2D

Inheritance: System.Object

Constructors

CCFileUtils()

CCFileUtils()()

Fields

s_bPopupNotify(System.Boolean)

Properties

IsPopupNotify(System.Boolean)

Methods

CCLoadFileIntoMemory(string, out char[])

System.Int32 CCLoadFileIntoMemory(string, out char[])(System.String filename, System.Char[] file)
Parameters:
filename (System.String)
file (System.Char[])
Returns:
System.Int32

CCRemoveHDSuffixFromFile(string)

System.String CCRemoveHDSuffixFromFile(string)(System.String path)
Parameters:
path (System.String)
Returns:
System.String

DictionaryWithContentsOfFile(string)

System.Collections.Generic.DictionarySystem.String,System.Object DictionaryWithContentsOfFile(string)(System.String pFileName)
Parameters:
pFileName (System.String)
Returns:
System.Collections.Generic.DictionarySystem.String,System.Object

FullPathFromRelativeFile(string, string)

System.String FullPathFromRelativeFile(string, string)(System.String pszFilename, System.String pszRelativeFile)
Parameters:
pszFilename (System.String)
pszRelativeFile (System.String)
Returns:
System.String

FullPathFromRelativePath(string)

System.String FullPathFromRelativePath(string)(System.String pszRelativePath)
Parameters:
pszRelativePath (System.String)
Returns:
System.String

GetFileBytes(string)

System.Byte[] GetFileBytes(string)(System.String pszFileName)
Parameters:
pszFileName (System.String)
Returns:
System.Byte[]

GetFileData(string)

System.String GetFileData(string)(System.String pszFileName)
Parameters:
pszFileName (System.String)
Returns:
System.String

GetFileDataFromZip(string, string, ulong)

System.Char[] GetFileDataFromZip(string, string, ulong)(System.String pszZipFilePath, System.String pszFileName, System.UInt64 pSize)
Parameters:
pszZipFilePath (System.String)
pszFileName (System.String)
pSize (System.UInt64)
Returns:
System.Char[]

GetFileStream(string)

System.IO.Stream GetFileStream(string)(System.String fileName)
Parameters:
fileName (System.String)
Returns:
System.IO.Stream

GetWriteablePath()

System.String GetWriteablePath()()
Returns:
System.String

RemoveExtension(string)

System.String RemoveExtension(string)(System.String fileName)
Parameters:
fileName (System.String)
Returns:
System.String

SetResource(string)

SetResource(string)(System.String pszZipFileName)
Parameters:
pszZipFileName (System.String)

SetResourcePath(string)

SetResourcePath(string)(System.String pszResourcePath)
Parameters:
pszResourcePath (System.String)