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

Asynchronous loader of ACB and AWB data More...

Inherits CriDisposable.

Public Types

enum  Status
 Status More...
 

Public Member Functions

Status GetStatus ()
 Gets the status More...
 
CriAtomExAcb MoveAcb ()
 Gets the ACB data More...
 
override void Dispose ()
 Discards an asynchronous loader More...
 

Static Public Member Functions

static CriAtomExAcbLoader LoadAcbFileAsync (CriFsBinder binder, string acbPath, string awbPath, bool loadAwbOnMemory=false)
 Asynchronous loading of the ACB file More...
 
static CriAtomExAcbLoader LoadAcbDataAsync (byte[] acbData, CriFsBinder awbBinder, string awbPath, bool loadAwbOnMemory=false)
 Asynchronous loading of the ACB data More...
 
static CriAtomExAcbLoader LoadAcbDataAsync (IntPtr acbData, int dataSize, CriFsBinder awbBinder, string awbPath, bool loadAwbOnMemory=false)
 Asynchronous loading of the ACB data More...
 

Detailed Description

Asynchronous loader of ACB and AWB data

Description:
A class for loading the ACB or AWB files asynchronously.

Member Enumeration Documentation

enum Status
strong

Status

Description:
The status of the asynchronous loader.

Member Function Documentation

static CriAtomExAcbLoader LoadAcbFileAsync ( CriFsBinder  binder,
string  acbPath,
string  awbPath,
bool  loadAwbOnMemory = false 
)
inlinestatic

Asynchronous loading of the ACB file

Parameters
binderBinder object
acbPathPath of the ACB file
awbPathPath of the AWB file
loadAwbOnMemoryWhether to load the AWB file on the memory (optional)
Returns
CriAtomExAcbLoader object
Description:
Starts the asynchronous loading of the ACB file.
You should call CriWare.CriAtomExAcbLoader::GetStatus for the return value to check the loading status. If the status changes to Complete, you can get the CriWare.CriAtomExAcb object using CriWare.CriAtomExAcbLoader::MoveAcb .
static CriAtomExAcbLoader LoadAcbDataAsync ( byte[]  acbData,
CriFsBinder  awbBinder,
string  awbPath,
bool  loadAwbOnMemory = false 
)
inlinestatic

Asynchronous loading of the ACB data

Parameters
acbDataByte array of the ACB data
awbBinderBinder object for AWB
awbPathPath of the AWB file
loadAwbOnMemoryWhether to load the AWB file on the memory (optional)
Returns
CriAtomExAcbLoader object
Description:
Starts asynchronous loading of the ACB data.
You should call CriWare.CriAtomExAcbLoader::GetStatus for the return value to check the loading status. If the status changes to Complete, you can get CriWare.CriAtomExAcb using CriWare.CriAtomExAcbLoader::MoveAcb .
static CriAtomExAcbLoader LoadAcbDataAsync ( IntPtr  acbData,
int  dataSize,
CriFsBinder  awbBinder,
string  awbPath,
bool  loadAwbOnMemory = false 
)
inlinestatic

Asynchronous loading of the ACB data

Parameters
acbDataPointer to the fixed ACB data
dataSizeACB data size
awbBinderBinder object for AWB
awbPathPath of the AWB file
loadAwbOnMemoryWhether to load the AWB file on the memory (optional)
Returns
CriAtomExAcbLoader object
Description:
Starts asynchronous loading of the ACB data.
You should call CriWare.CriAtomExAcbLoader::GetStatus for the return value to check the loading status. If the status changes to Complete, you can get CriWare.CriAtomExAcb using CriWare.CriAtomExAcbLoader::MoveAcb .
Note:
This method is intended to be used with unmanaged data in memory, so acbData must be a pointer to some data with a fixed memory address.
To pass an array of bytes from the managed memory, please call the CriAtomExAcbLoader.LoadAcbDataAsync(byte[], CriFsBinder, string, bool) function instead.
Status GetStatus ( )
inline

Gets the status

Returns
Asynchronous loader loading status
Description:
Gets the status of the asynchronous loader.
When the return value of this function changes to Complete, you can get CriWare.CriAtomExAcb using CriWare.CriAtomExAcbLoader::MoveAcb .
CriAtomExAcb MoveAcb ( )
inline

Gets the ACB data

Returns
CriAtomExAcb object
Description:
Gets the ACB data loaded asynchronously.
Call this function after the return value of CriWare.CriAtomExAcbLoader::GetStatus changes to Complete.
override void Dispose ( )
inline

Discards an asynchronous loader

Description:
Discard an asynchronous loader.

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