refactor : 重构代码
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
|
||||
namespace YooAsset
|
||||
{
|
||||
public struct EncryptBundleInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源包名称
|
||||
/// </summary>
|
||||
public string BundleName;
|
||||
|
||||
/// <summary>
|
||||
/// 文件路径
|
||||
/// </summary>
|
||||
public string FileLoadPath;
|
||||
}
|
||||
public struct EncryptResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 文件是否加密
|
||||
/// </summary>
|
||||
public bool Encrypted;
|
||||
|
||||
/// <summary>
|
||||
/// 加密后的文件数据
|
||||
/// </summary>
|
||||
public byte[] EncryptedData;
|
||||
}
|
||||
public interface IBundleEncryptionServices
|
||||
{
|
||||
EncryptResult Encrypt(EncryptBundleInfo bundleInfo);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user