多轮审查和修复

This commit is contained in:
2026-05-12 15:34:08 +08:00
parent f55d2a57c3
commit ebbbb7332e
805 changed files with 838724 additions and 1905 deletions

View File

@@ -0,0 +1,16 @@
namespace BaseGames.Core.Save
{
/// <summary>
/// ISaveable 注册表接口。
/// 将 ISaveable 对象的注册/注销责任与 SaveManager 的具体实现类解耦,
/// 使 SaveableMonoBehaviour 等组件无需直接依赖 <see cref="SaveManager"/>。
/// </summary>
public interface ISaveableRegistry
{
/// <summary>将 <paramref name="saveable"/> 加入存档系统管理。</summary>
void Register(ISaveable saveable);
/// <summary>将 <paramref name="saveable"/> 从存档系统移除。</summary>
void Unregister(ISaveable saveable);
}
}