From d4926e31d6266935eca973f153b66fc108e19616 Mon Sep 17 00:00:00 2001 From: gamer147 Date: Mon, 1 Jun 2026 14:46:21 -0400 Subject: [PATCH] feat(battle-node): add TurnEndBody record for opponent turn-end push MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mirrors OpponentTurnStartBody — JsonPropertyName-cased turnState + resultCode (default 1). First piece of the scripted opponent turn-end loop; nothing references it yet. --- SVSim.BattleNode/Protocol/Bodies/TurnEndBody.cs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 SVSim.BattleNode/Protocol/Bodies/TurnEndBody.cs diff --git a/SVSim.BattleNode/Protocol/Bodies/TurnEndBody.cs b/SVSim.BattleNode/Protocol/Bodies/TurnEndBody.cs new file mode 100644 index 0000000..60b75ac --- /dev/null +++ b/SVSim.BattleNode/Protocol/Bodies/TurnEndBody.cs @@ -0,0 +1,7 @@ +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;