Add hot-update boot pipeline, UI bundles/atlas assets, and design docs.

Ignore AIClient/Library and AIClient/HybridCLRData permanently; include HybridCLR/YooAsset project setup and UI tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-09-21 16:02:58 +08:00
co-authored by Cursor
parent f3f66ab063
commit b7a0bbcb89
279 changed files with 27332 additions and 14 deletions
@@ -0,0 +1,35 @@
using System.Collections.Generic;
using YooAsset;
namespace AOT.Patch
{
/// <summary>
/// YooAsset 远端地址查询(CDN)。
/// </summary>
public sealed class CdnRemoteService : IRemoteService
{
readonly string _primary;
readonly string _fallback;
public CdnRemoteService(string primaryRoot, string fallbackRoot = null)
{
_primary = TrimSlash(primaryRoot);
_fallback = string.IsNullOrEmpty(fallbackRoot) ? _primary : TrimSlash(fallbackRoot);
}
public IReadOnlyList<string> GetRemoteUrls(string fileName)
{
return new[]
{
$"{_primary}/{fileName}",
$"{_fallback}/{fileName}",
};
}
static string TrimSlash(string root)
{
if (string.IsNullOrEmpty(root)) return string.Empty;
return root.TrimEnd('/');
}
}
}