Files
zeling_v2/Assets/Scripts/Core/IRestoreOnSave.cs
2026-05-08 11:04:00 +08:00

16 lines
462 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace BaseGames.Core
{
/// <summary>
/// 可在存档点被"恢复"的对象契约(依赖倒置接口)。
/// 定义于 BaseGames.Core 使世界层无需引用玩家层。
/// </summary>
public interface IRestoreOnSave
{
/// <summary>完整恢复 HP及其他满状态资源。</summary>
void FullRestore();
/// <summary>恢复弹簧充能至满充。</summary>
void RestoreSpring();
}
}