From 9813f82edc47b255674099d1a90e5cf463666737 Mon Sep 17 00:00:00 2001 From: gamer147 Date: Sat, 4 Jul 2026 13:35:23 -0400 Subject: [PATCH] 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 --- SVSim.EmulatedEntrypoint/Controllers/RankBattleController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SVSim.EmulatedEntrypoint/Controllers/RankBattleController.cs b/SVSim.EmulatedEntrypoint/Controllers/RankBattleController.cs index a8682d5d..88e6c217 100644 --- a/SVSim.EmulatedEntrypoint/Controllers/RankBattleController.cs +++ b/SVSim.EmulatedEntrypoint/Controllers/RankBattleController.cs @@ -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 {