Skip to main content

Cocos2D.CCFileUtils


Class CCFileUtils

Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll

Helper class to handle file operations

public class CCFileUtils

Inheritance

objectCCFileUtils

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

CCFileUtils()

public CCFileUtils()

Fields

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

s_bPopupNotify

protected static bool s_bPopupNotify

Field Value

bool

Properties

IsPopupNotify

Set/Get whether pop-up a message box when the image load failed

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

Set/Get whether pop-up a message box when the image load failed

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

IsPopupNotify

public static bool IsPopupNotify { get; set; }

Property Value

bool

Methods

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCLoadFileIntoMemory(string, out char[])

public static int CCLoadFileIntoMemory(string filename, out char[] file)

Parameters

filename string

file char[]

Returns

int

CCRemoveHDSuffixFromFile(string)

removes the HD suffix from a path @returns const char * without the HD suffix @since v0.99.5

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

removes the HD suffix from a path @returns const char * without the HD suffix @since v0.99.5

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

CCRemoveHDSuffixFromFile(string)

public static string CCRemoveHDSuffixFromFile(string path)

Parameters

path string

Returns

string

DictionaryWithContentsOfFile(string)

@brief Generate a CCDictionary pointer by file @param pFileName The file name of *.plist file @return The CCDictionary pointer generated from the file

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

@brief Generate a CCDictionary pointer by file @param pFileName The file name of *.plist file @return The CCDictionary pointer generated from the file

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

DictionaryWithContentsOfFile(string)

public static Dictionary<string, object> DictionaryWithContentsOfFile(string pFileName)

Parameters

pFileName string

Returns

Dictionary<string, object>

FullPathFromRelativeFile(string, string)

extracts the directory from the pszRelativeFile and uses that directory path as the path for the pszFilename.

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

extracts the directory from the pszRelativeFile and uses that directory path as the path for the pszFilename.

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativeFile(string, string)

public static string FullPathFromRelativeFile(string pszFilename, string pszRelativeFile)

Parameters

pszFilename string

pszRelativeFile string

Returns

string

FullPathFromRelativePath(string)

@brief Generate the absolute path of the file. @param pszRelativePath The relative path of the file. @return The absolute path of the file. @warning We only add the ResourcePath before the relative path of the file. If you have not set the ResourcePath,the function add "/NEWPLUS/TDA_DATA/UserData/" as default. You can set ResourcePath by function void setResourcePath(const char *pszResourcePath);

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

@brief Generate the absolute path of the file. @param pszRelativePath The relative path of the file. @return The absolute path of the file. @warning We only add the ResourcePath before the relative path of the file. If you have not set the ResourcePath,the function add "/NEWPLUS/TDA_DATA/UserData/" as default. You can set ResourcePath by function void setResourcePath(const char *pszResourcePath);

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

FullPathFromRelativePath(string)

public static string FullPathFromRelativePath(string pszRelativePath)

Parameters

pszRelativePath string

Returns

string

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileBytes(string)

public static byte[] GetFileBytes(string pszFileName)

Parameters

pszFileName string

Returns

byte[]

GetFileData(string)

@brief Get resource file data @param[in] pszFileName The resource file name which contain the path @param[in] pszMode The read mode of the file @param[out] pSize If get the file data succeed the it will be the data size,or it will be 0 @return if success,the pointer of data will be returned,or NULL is returned @warning If you get the file data succeed,you must delete it after used.

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

@brief Get resource file data @param[in] pszFileName The resource file name which contain the path @param[in] pszMode The read mode of the file @param[out] pSize If get the file data succeed the it will be the data size,or it will be 0 @return if success,the pointer of data will be returned,or NULL is returned @warning If you get the file data succeed,you must delete it after used.

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileData(string)

public static string GetFileData(string pszFileName)

Parameters

pszFileName string

Returns

string

GetFileDataFromZip(string, string, ulong)

@brief Get resource file data from zip file @param[in] pszFileName The resource file name which contain the relative path of zip file @param[out] pSize If get the file data succeed the it will be the data size,or it will be 0 @return if success,the pointer of data will be returned,or NULL is returned @warning If you get the file data succeed,you must delete it after used.

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

@brief Get resource file data from zip file @param[in] pszFileName The resource file name which contain the relative path of zip file @param[out] pSize If get the file data succeed the it will be the data size,or it will be 0 @return if success,the pointer of data will be returned,or NULL is returned @warning If you get the file data succeed,you must delete it after used.

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileDataFromZip(string, string, ulong)

public static char[] GetFileDataFromZip(string pszZipFilePath, string pszFileName, ulong pSize)

Parameters

pszZipFilePath string

pszFileName string

pSize ulong

Returns

char[]

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetFileStream(string)

public static Stream GetFileStream(string fileName)

Parameters

fileName string

Returns

Stream

GetWriteablePath()

@brief Get the writeable path @return The path that can write/read file

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

@brief Get the writeable path @return The path that can write/read file

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

GetWriteablePath()

public static string GetWriteablePath()

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

RemoveExtension(string)

public static string RemoveExtension(string fileName)

Parameters

fileName string

Returns

string

SetResource(string)

@brief Set the resource zip file name @param pszZipFileName The relative path of the .zip file

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

@brief Set the resource zip file name @param pszZipFileName The relative path of the .zip file

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResource(string)

public static void SetResource(string pszZipFileName)

Parameters

pszZipFileName string

SetResourcePath(string)

@brief Set the ResourcePath,we will find resource in this path @param pszResourcePath The absolute resource path @warning Don't call this function in android and iOS, it has not effect. In android, if you want to read file other than apk, you shoud use invoke getFileData(), and pass the absolute path.

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

@brief Set the ResourcePath,we will find resource in this path @param pszResourcePath The absolute resource path @warning Don't call this function in android and iOS, it has not effect. In android, if you want to read file other than apk, you shoud use invoke getFileData(), and pass the absolute path.

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

SetResourcePath(string)

public static void SetResourcePath(string pszResourcePath)

Parameters

pszResourcePath string

  • Constructors
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
    • CCFileUtils()
  • Fields
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
    • s_bPopupNotify
  • Properties
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
    • IsPopupNotify
  • Methods
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCLoadFileIntoMemory(string, out char[])
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • CCRemoveHDSuffixFromFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • DictionaryWithContentsOfFile(string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativeFile(string, string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • FullPathFromRelativePath(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileBytes(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileData(string)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileDataFromZip(string, string, ulong)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetFileStream(string)
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • GetWriteablePath()
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • RemoveExtension(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResource(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)
    • SetResourcePath(string)