CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
CriFsUtility Class Reference

A utility class for easily binding CPK files or loading files. More...

Static Public Member Functions

static CriFsLoadFileRequest LoadFile (string path, int readUnitSize=DefaultReadUnitSize)
 Starts loading the file. More...
 
static CriFsLoadFileRequest LoadFile (CriFsBinder binder, string path, int readUnitSize=DefaultReadUnitSize)
 Starts loading the file. More...
 
static CriFsLoadAssetBundleRequest LoadAssetBundle (string path, int readUnitSize=DefaultReadUnitSize)
 Starts loading the Asset Bundle file. More...
 
static CriFsLoadAssetBundleRequest LoadAssetBundle (CriFsBinder binder, string path, int readUnitSize=DefaultReadUnitSize)
 Starts loading the Asset Bundle file. More...
 
static CriFsInstallRequest Install (string srcPath, string dstPath)
 Starts installing files. More...
 
static CriFsInstallRequest Install (CriFsBinder srcBinder, string srcPath, string dstPath)
 Starts installing files. More...
 
static CriFsInstallRequest WebInstall (string srcPath, string dstPath, CriFsRequest.DoneDelegate doneDeleagate)
 Starts installing files. More...
 
static CriFsBindRequest BindCpk (CriFsBinder targetBinder, string srcPath)
 Start binding the CPK file. More...
 
static CriFsBindRequest BindCpk (CriFsBinder targetBinder, CriFsBinder srcBinder, string srcPath)
 Start binding the CPK file. More...
 
static CriFsBindRequest BindDirectory (CriFsBinder targetBinder, string srcPath)
 Starts binding the directory path. More...
 
static CriFsBindRequest BindDirectory (CriFsBinder targetBinder, CriFsBinder srcBinder, string srcPath)
 Starts binding the directory path. More...
 
static CriFsBindRequest BindFile (CriFsBinder targetBinder, string srcPath)
 Binds the file. More...
 
static CriFsBindRequest BindFile (CriFsBinder targetBinder, CriFsBinder srcBinder, string srcPath)
 Starts binding files. More...
 
static void SetUserAgentString (string userAgentString)
 Specifies the User-Agent string used in HTTP requests. More...
 
static void SetProxyServer (string proxyPath, UInt16 proxyPort)
 Specifies the proxy server used for HTTP requests. More...
 
static void SetPathSeparator (string filter)
 Specifies the path separator More...
 

Public Attributes

const int DefaultReadUnitSize = (1024 * 1024)
 The default read unit size for each loading request. More...
 

Detailed Description

A utility class for easily binding CPK files or loading files.

Description:
A utility class for easily binding CPK files or loading files.

The documentation for this class was generated from the following file: