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

Interface IDecryptionServices

Assembly: YooAsset.dll
Declaration
public interface IDecryptionServices

Methods

LoadAssetBundle(DecryptFileInfo)

同步方式获取解密的资源包对象

Declaration
DecryptResult LoadAssetBundle(DecryptFileInfo fileInfo)
Returns

YooAsset.DecryptResult

Parameters
TypeName
YooAsset.DecryptFileInfofileInfo

LoadAssetBundleAsync(DecryptFileInfo)

异步方式获取解密的资源包对象

Declaration
DecryptResult LoadAssetBundleAsync(DecryptFileInfo fileInfo)
Returns

YooAsset.DecryptResult

Parameters
TypeName
YooAsset.DecryptFileInfofileInfo

ReadFileData(DecryptFileInfo)

获取解密的字节数据

Declaration
byte[] ReadFileData(DecryptFileInfo fileInfo)
Returns

System.Byte[]

Parameters
TypeName
YooAsset.DecryptFileInfofileInfo

ReadFileText(DecryptFileInfo)

获取解密的文本数据

Declaration
string ReadFileText(DecryptFileInfo fileInfo)
Returns

System.String

Parameters
TypeName
YooAsset.DecryptFileInfofileInfo