Files
SVSimServer/SVSim.BattleNode/Bridge/IMatchingBridge.cs

13 lines
378 B
C#

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