namespace SVSim.BattleNode.Bridge; public interface IMatchingBridge { /// /// Mint a battle id, register a pending session for the given viewer with their per-battle /// MatchContext snapshot, and return the URL the client should open a socket to. /// PendingMatch RegisterPendingBattle(long viewerId, MatchContext context); } public sealed record PendingMatch(string BattleId, string NodeServerUrl);