From 70b2872589dc88bb90751efd25e48340b9374ffc Mon Sep 17 00:00:00 2001 From: gamer147 Date: Mon, 1 Jun 2026 17:30:00 -0400 Subject: [PATCH] feat(battle-node): add JudgeBody record for opponent turn-end Judge push MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mirrors OpponentTurnStartBody — JsonPropertyName-cased spin + resultCode (default 1). First piece of the v1.2 three-frame turn-end burst; nothing references it yet. --- SVSim.BattleNode/Protocol/Bodies/JudgeBody.cs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 SVSim.BattleNode/Protocol/Bodies/JudgeBody.cs diff --git a/SVSim.BattleNode/Protocol/Bodies/JudgeBody.cs b/SVSim.BattleNode/Protocol/Bodies/JudgeBody.cs new file mode 100644 index 0000000..851735d --- /dev/null +++ b/SVSim.BattleNode/Protocol/Bodies/JudgeBody.cs @@ -0,0 +1,7 @@ +using System.Text.Json.Serialization; + +namespace SVSim.BattleNode.Protocol.Bodies; + +public sealed record JudgeBody( + [property: JsonPropertyName("spin")] int Spin, + [property: JsonPropertyName("resultCode")] int ResultCode = 1) : IMsgBody;