feat(battle-node): in-memory IBattleSessionStore + PendingBattle

This commit is contained in:
gamer147
2026-05-31 22:00:40 -04:00
parent c0c2bb5772
commit 3ade8ff4f5
4 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
namespace SVSim.BattleNode.Sessions;
/// <summary>
/// Sparse pre-connect record: enough to validate the incoming WS connect and resolve
/// the viewer. Full BattleSession is created on connect.
/// </summary>
public sealed record PendingBattle(string BattleId, long ViewerId);