![]() |
CRIWARE Unity Plugin Manual
Last Updated: 2025-05-08
|
是用于存取CPK文件内的内容的模块。 更多...
继承自 CriDisposable .
类 | |
| struct | ContentsFileInfo |
| 内容文件信息结构体 更多... | |
Public 类型 | |
| enum | Status { None, Analyze, Complete, Unbind, Removed, Invalid, Error } |
| 用于显示Binder状态的值。 更多... | |
Public 成员函数 | |
| override void | Dispose () |
| 丢弃Binder。 更多... | |
| uint | BindCpk (CriFsBinder srcBinder, string path) |
| Bind CPK文件。 更多... | |
| uint | BindDirectory (CriFsBinder srcBinder, string path) |
| Bind目录路径。 更多... | |
| uint | BindFile (CriFsBinder srcBinder, string path) |
| Bind文件。 更多... | |
| uint | BindFileSection (CriFsBinder srcBinder, string path, ulong offset, int size, string sectionName) |
| Bind文件的其中一部分,将其当作虚拟文件来使用。 更多... | |
| long | GetFileSize (string path) |
| 获取文件大小。 更多... | |
| long | GetFileSize (int id) |
| 获取文件大小。 更多... | |
| bool | GetContentsFileInfo (string path, out ContentsFileInfo info) |
| 获取CPK内容文件信息。 更多... | |
| bool | GetContentsFileInfo (int id, out ContentsFileInfo info) |
| 获取CPK内容文件信息。 更多... | |
静态 Public 成员函数 | |
| static void | Unbind (uint bindId) |
| 对已Bind的内容解除Bind。 更多... | |
| static Status | GetStatus (uint bindId) |
| 获取Binder的状态。 更多... | |
| static bool | GetContentsFileInfoByIndex (uint bindId, int index, int numFiles, out ContentsFileInfo[] info) |
| 获取CPK内容文件信息。 更多... | |
| static int | GetNumContentsFiles (uint bindId) |
| 获取CPK内容文件的总数。 更多... | |
| static void | SetPriority (uint bindId, int priority) |
| 针对Bind ID设置搜索优先级。 更多... | |
是用于存取CPK文件内的内容的模块。
|
strong |
|
inline |
丢弃Binder。
|
inline |
Bind CPK文件。
| srcBinder | 用于存取要Bind的CPK文件的Binder |
| path | 要Bind的CPK文件的路径名 |
|
inline |
Bind目录路径。
| srcBinder | 用于存取要Bind的目录的Binder |
| path | Bind的目录的路径名 |
|
inline |
Bind文件。
| srcBinder | 用于存取要Bind的文件的Binder |
| path | 要Bind的文件的路径名 |
|
inline |
Bind文件的其中一部分,将其当作虚拟文件来使用。
| srcBinder | 用于存取要Bind的文件的Binder |
| path | 要Bind的文件的路径名 |
| offset | 数据开始位置(字节) |
| size | 数据大小(字节) |
| sectionName | 区间名 |
|
inlinestatic |
对已Bind的内容解除Bind。
| bindId | Bind ID |
|
inlinestatic |
|
inline |
获取文件大小。
| path | 文件的完整路径 |
|
inline |
获取文件大小。
| id | 文件ID |
|
inline |
获取CPK内容文件信息。
| path | 文件的完整路径 |
| info | 内容文件信息 |
|
inline |
获取CPK内容文件信息。
| id | 文件ID |
| info | 内容文件信息 |
|
inlinestatic |
获取CPK内容文件信息。
| bindId | Bind ID |
| index | 要获取信息的内容文件开头索引 |
| numFiles | 要获取信息的内容文件数 |
| info | 内容文件信息的数组 |
|
inlinestatic |
获取CPK内容文件的总数。
| bindId | Bind ID |
|
inlinestatic |
针对Bind ID设置搜索优先级。
| bindId | Bind ID |
| priority | 优先级 |