feat(mission): wire rank_achieved emit at RankBattleController

RankBattleController.FinishInternal now emits rank_achieved + tier-qualified
variant (via MissionEventKeys.Rank.AchievedAll) whenever
rankResult.TierAdvanced fires. Closes the last catalog wire-up gap in the
Tier 1+2 scope.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-07-04 13:35:23 -04:00
parent e9c13ae5f4
commit 9813f82edc

View File

@@ -178,6 +178,11 @@ public sealed class RankBattleController : ControllerBase
await _missionProgress.RecordEventAsync(
vid, MissionEventKeys.ClassLevel.UpAll(req.ClassId), ct: ct);
}
if (rankResult.TierAdvanced)
{
await _missionProgress.RecordEventAsync(
vid, MissionEventKeys.Rank.AchievedAll(rankResult.Rank), ct: ct);
}
return Ok(new RankBattleFinishResponseDto
{