首次提交

This commit is contained in:
Bob.Song
2026-03-05 18:07:55 +08:00
commit e125bb869e
4534 changed files with 563920 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using System.Collections.Generic;
using System.Linq;
namespace NBC.Asset
{
public class UpdateContext
{
/// <summary>
/// 需要更新的文件总大小
/// </summary>
public long DownloadTotalSize => NeedUpdateBundleList.Sum(data => data.Size);
/// <summary>
/// 需要更新的bundles
/// </summary>
public readonly HashSet<BundleData> NeedUpdateBundleList = new HashSet<BundleData>();
// /// <summary>
// /// 需要更新的package
// /// </summary>
// public readonly HashSet<string> NeedVersionPackages = new HashSet<string>();
public VersionData NewVersionData;
}
}