Interface IDecryptionServices
Assembly: YooAsset.dll
Declaration
public interface IDecryptionServices
Methods
LoadAssetBundle(DecryptFileInfo)
同步方式获取解密的资源包对象
Declaration
DecryptResult LoadAssetBundle(DecryptFileInfo fileInfo)
Returns
Parameters
Type | Name |
---|---|
YooAsset.DecryptFileInfo | fileInfo |
LoadAssetBundleAsync(DecryptFileInfo)
异步方式获取解密的资源包对象
Declaration
DecryptResult LoadAssetBundleAsync(DecryptFileInfo fileInfo)
Returns
Parameters
Type | Name |
---|---|
YooAsset.DecryptFileInfo | fileInfo |
ReadFileData(DecryptFileInfo)
获取解密的字节数据
Declaration
byte[] ReadFileData(DecryptFileInfo fileInfo)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
YooAsset.DecryptFileInfo | fileInfo |
ReadFileText(DecryptFileInfo)
获取解密的文本数据
Declaration
string ReadFileText(DecryptFileInfo fileInfo)
Returns
System.String
Parameters
Type | Name |
---|---|
YooAsset.DecryptFileInfo | fileInfo |