refactor : 重构代码

This commit is contained in:
何冠峰
2026-01-16 10:28:01 +08:00
parent 2b6e7856e7
commit b0e85017d2
100 changed files with 1042 additions and 1582 deletions
@@ -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);
}
}