Files
SVSimServer/SVSim.BattleNode/Protocol/Bodies/TurnEndBody.cs
gamer147 d4926e31d6 feat(battle-node): add TurnEndBody record for opponent turn-end push
Mirrors OpponentTurnStartBody — JsonPropertyName-cased turnState +
resultCode (default 1). First piece of the scripted opponent turn-end
loop; nothing references it yet.
2026-06-01 14:46:21 -04:00

8 lines
258 B
C#

using System.Text.Json.Serialization;
namespace SVSim.BattleNode.Protocol.Bodies;
public sealed record TurnEndBody(
[property: JsonPropertyName("turnState")] int TurnState,
[property: JsonPropertyName("resultCode")] int ResultCode = 1) : IMsgBody;