跳到主要内容
版本:3.0.x

Interface IBundleOffsetDecryptor

基于偏移量的资源包解密器。 用于跳过文件头部加密区域后直接加载 AssetBundle。

Assembly: YooAsset.dll​
View Source​
Declaration
public interface IBundleOffsetDecryptor : IBundleDecryptor

Methods​

GetFileOffset(BundleDecryptArgs)​

获取解密数据的起始偏移量(字节)

View Source​
Declaration
long GetFileOffset(BundleDecryptArgs args)
Returns​

System.Int64: AssetBundle 有效数据在文件中的起始偏移量

Parameters​
TypeNameDescription
YooAsset.BundleDecryptArgsargs解密操作的输入参数