Files
SVSimServer/SVSim.BattleNode/Sessions/BattleType.cs
gamer147 e9493e24c4 refactor(battle-node): drop BattleType.Scripted and the scripted-only builders
Removes the Scripted enum value, the bot's client-shaped emissions (BuildClient*),
the canned opponent turn (BuildOpponent*), and OpponentTurnStartSpin. The shared
server-frame builders (Matched/BattleStart/Deal/Swap/Ready + ComputeHandAfterSwap)
and OpponentJudgeSpin (Bot mode) stay.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 20:27:57 -04:00

18 lines
611 B
C#

namespace SVSim.BattleNode.Sessions;
/// <summary>
/// Discriminator for a pending battle and the session it produces. See
/// docs/superpowers/specs/2026-06-01-battle-node-v2-architecture-design.md.
/// </summary>
public enum BattleType
{
/// <summary>Two real players. Server brokers between two WebSockets.
/// Both <c>BattlePlayer</c> slots required.</summary>
Pvp,
/// <summary>One real player; opponent runs in the client (prod's IsAINetwork
/// path; matched only in rank rotation / rank unlimited per prod). Server is
/// ack-only. <c>p2</c> must be null.</summary>
Bot,
}