feat(battle-node): add BattleType, BattleFinishReason, BattlePlayer

Phase 1 foundation types for the v2 broker architecture. Nothing uses
them yet; they land alongside the existing v1.2 code so subsequent
tasks can extract the participant interface and impls.
This commit is contained in:
gamer147
2026-06-01 19:53:31 -04:00
parent 479548fa56
commit ae7ff25af0
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
namespace SVSim.BattleNode.Bridge;
/// <summary>One player slot for a pending battle. Carries the viewer's identity and
/// the per-battle MatchContext snapshot built at do_matching time.</summary>
public sealed record BattlePlayer(long ViewerId, MatchContext Context);