mirror of https://github.com/tuyoogame/YooAsset
update space shooter
parent
d017688416
commit
738c02f58f
|
@ -172,6 +172,22 @@ internal class FsmInitializePackage : IStateNode
|
||||||
return AssetBundle.LoadFromStreamAsync(bundleStream, fileInfo.FileLoadCRC, GetManagedReadBufferSize());
|
return AssetBundle.LoadFromStreamAsync(bundleStream, fileInfo.FileLoadCRC, GetManagedReadBufferSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取解密的字节数据
|
||||||
|
/// </summary>
|
||||||
|
byte[] IDecryptionServices.ReadFileData(DecryptFileInfo fileInfo)
|
||||||
|
{
|
||||||
|
throw new System.NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取解密的文本数据
|
||||||
|
/// </summary>
|
||||||
|
string IDecryptionServices.ReadFileText(DecryptFileInfo fileInfo)
|
||||||
|
{
|
||||||
|
throw new System.NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
private static uint GetManagedReadBufferSize()
|
private static uint GetManagedReadBufferSize()
|
||||||
{
|
{
|
||||||
return 1024;
|
return 1024;
|
||||||
|
@ -203,6 +219,22 @@ internal class FsmInitializePackage : IStateNode
|
||||||
return AssetBundle.LoadFromFileAsync(fileInfo.FileLoadPath, fileInfo.FileLoadCRC, GetFileOffset());
|
return AssetBundle.LoadFromFileAsync(fileInfo.FileLoadPath, fileInfo.FileLoadCRC, GetFileOffset());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取解密的字节数据
|
||||||
|
/// </summary>
|
||||||
|
byte[] IDecryptionServices.ReadFileData(DecryptFileInfo fileInfo)
|
||||||
|
{
|
||||||
|
throw new System.NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取解密的文本数据
|
||||||
|
/// </summary>
|
||||||
|
string IDecryptionServices.ReadFileText(DecryptFileInfo fileInfo)
|
||||||
|
{
|
||||||
|
throw new System.NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
private static ulong GetFileOffset()
|
private static ulong GetFileOffset()
|
||||||
{
|
{
|
||||||
return 32;
|
return 32;
|
||||||
|
|
Loading…
Reference in New Issue