refactor(battle-node): extract RetireKillHandler

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-03 14:24:35 -04:00
parent d35818360f
commit c03fb3c139
2 changed files with 18 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ public sealed class BattleSession
[NetworkBattleUri.Swap] = new SwapHandler(),
[NetworkBattleUri.TurnEnd] = new TurnEndHandler(),
[NetworkBattleUri.TurnEndFinal] = new TurnEndFinalHandler(),
[NetworkBattleUri.Retire] = new RetireKillHandler(),
[NetworkBattleUri.Kill] = new RetireKillHandler(),
};
private FrameDispatchContext BuildContext(IBattleParticipant from, MsgEnvelope env) =>