using System.Text.Json.Serialization; namespace SVSim.BattleNode.Protocol.Bodies; /// Server-pushed opponent-turn-open frame (relayed to the non-active player). /// Same wire shape as — kept distinct because they back different /// frames/URIs. public sealed record OpponentTurnStartBody( [property: JsonPropertyName("spin")] int Spin, [property: JsonPropertyName("resultCode")] int ResultCode = (int)ReceiveNodeResultCode.Success) : IMsgBody;