CRIWARE Unity Plugin Manual
Last Updated: 2024-07-12
|
Classes | |
class | CriFsPlugin |
Global class in the CRIFs library. More... | |
Functions | |
virtual void | Stop () |
Stops the asynchronous process. More... | |
YieldInstruction | WaitForDone (MonoBehaviour mb) |
Waits for the completion of asynchronous process. More... | |
override void | Stop () |
Stops the asynchronous process. More... | |
override void | Stop () |
Stops the installation process. More... | |
override void | Stop () |
Stops the installation process. More... | |
override void | Stop () |
Stops the asynchronous process. More... | |
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... | |
Variables | |
const int | DefaultReadUnitSize = (1024 * 1024) |
The default read unit size for each loading request. More... | |
Properties | |
DoneDelegate | doneDelegate [get, protected set] |
Delegate when processing is complete. More... | |
bool | isDone [get] |
Whether the processing is complete. More... | |
string | error [get, protected set] |
Error information. More... | |
bool | isDisposed [get, protected set] |
Discard information. More... | |
string | path [get] |
The path to the file to be loaded. More... | |
byte[] | bytes [get] |
A buffer that stores load result. More... | |
string | path [get] |
The path to the Asset Bundle file to be loaded. More... | |
AssetBundle | assetBundle [get] |
The Asset Bundle that is the result of loading. More... | |
string | sourcePath [get, protected set] |
Installation source file path. More... | |
string | destinationPath [get, protected set] |
Installation destination file path. More... | |
float | progress [get, protected set] |
The progress of the installation process. More... | |
string | path [get] |
The path of the file to be bound. More... | |
uint | bindId [get] |
The ID which identifies the binding process. More... | |
This is an extension of CRI File System that can be called from C# .
|
inlinevirtual |
Stops the asynchronous process.
Reimplemented in CriFsBindRequest, CriFsWebInstallRequest, and CriFsLoadFileRequest.
|
inline |
Waits for the completion of asynchronous process.
Suspend the execution of coroutine until asynchronous process is complete.
This function can be used only in the yield statement in the coroutine.
Specifically, it should be used in the following format.
: // 非同期処理の開始 CriFsRequest request = CriFsUtility.?
// 非同期処理の完了まで待機 yield return request.WaitForDone(this); :
|
inlinevirtual |
Stops the asynchronous process.
Reimplemented from CriFsRequest.
|
inline |
Stops the installation process.
|
inlinevirtual |
Stops the installation process.
Reimplemented from CriFsRequest.
|
inlinevirtual |
Stops the asynchronous process.
Reimplemented from CriFsRequest.
|
inlinestatic |
Starts loading the file.
path | File path |
readUnitSize | Read unit size of the CriFsLoader used internal |
|
inlinestatic |
Starts loading the file.
binder | Binder |
path | File path |
readUnitSize | Read unit size of the CriFsLoader used internal |
|
inlinestatic |
Starts loading the Asset Bundle file.
path | File path |
readUnitSize | Read unit size of the CriFsLoader used internal |
|
inlinestatic |
Starts loading the Asset Bundle file.
binder | Binder |
path | File path |
readUnitSize | Read unit size of the CriFsLoader used internal |
|
inlinestatic |
Starts installing files.
srcPath | Installation source file path |
dstPath | Installation destination file path |
|
inlinestatic |
Starts installing files.
srcBinder | Installation source binder |
srcPath | Installation source file path |
dstPath | Installation destination file path |
|
inlinestatic |
Starts installing files.
srcPath | Installation source file path (URL) |
dstPath | Installation destination file path |
doneDeleagate | Asynchronous process completion callback |
|
inlinestatic |
Start binding the CPK file.
targetBinder | Binder to be bound |
srcPath | CPK file path |
|
inlinestatic |
Start binding the CPK file.
targetBinder | Binder to be bound |
srcBinder | A binder to access the CPK file to bind |
srcPath | CPK file path |
|
inlinestatic |
Starts binding the directory path.
targetBinder | Binder to be bound |
srcPath | Path name of the directory to be bound |
|
inlinestatic |
Starts binding the directory path.
targetBinder | Binder to be bound |
srcBinder | The binder to access the directory to be bound |
srcPath | CPK file path |
|
inlinestatic |
Binds the file.
targetBinder | Binder to be bound |
srcPath | The path name of the file to be bound |
|
inlinestatic |
Starts binding files.
targetBinder | Binder to be bound |
srcBinder | The binder to access the file to be bound |
srcPath | File path |
|
inlinestatic |
Specifies the User-Agent string used in HTTP requests.
userAgentString | User-Agent character |
|
inlinestatic |
Specifies the proxy server used for HTTP requests.
proxyPath | Proxy server address |
proxyPort | Proxy server port number |
|
inlinestatic |
Specifies the path separator
filter | A list of characters used as a separator |
const int DefaultReadUnitSize = (1024 * 1024) |
The default read unit size for each loading request.
|
getprotected set |
Delegate when processing is complete.
|
get |
Whether the processing is complete.
|
getprotected set |
Error information.
|
getprotected set |
Discard information.
|
get |
The path to the file to be loaded.
|
get |
A buffer that stores load result.
|
get |
The path to the Asset Bundle file to be loaded.
|
get |
The Asset Bundle that is the result of loading.
|
getprotected set |
Installation source file path.
|
getprotected set |
Installation destination file path.
|
getprotected set |
The progress of the installation process.
|
get |
The path of the file to be bound.
|
get |
The ID which identifies the binding process.