多轮审查和修复

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,22 @@
using BaseGames.Core.Save;
namespace BaseGames.Progression
{
/// <summary>
/// 成就服务接口。通过 ServiceLocator 注册,供外部系统查询和解锁成就。
/// </summary>
public interface IAchievementService
{
/// <summary>使用最新存档数据检查所有未解锁成就的条件。</summary>
void EvaluateAll(SaveData save);
/// <summary>直接解锁成就(用于剧情触发等无条件解锁场景)。</summary>
void UnlockById(string achievementId);
/// <summary>查询指定成就是否已解锁。</summary>
bool IsUnlocked(string achievementId);
/// <summary>获取指定成就的进度01。</summary>
float GetProgress(string achievementId);
}
}