feat(battle-node): typed Deal/Swap/Ready bodies + PosIdx

This commit is contained in:
gamer147
2026-06-01 10:34:44 -04:00
parent 78a6fe93fb
commit 97b9b6fe42
5 changed files with 87 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
using System.Text.Json.Serialization;
namespace SVSim.BattleNode.Protocol.Bodies;
public sealed record PosIdx(
[property: JsonPropertyName("pos")] int Pos,
[property: JsonPropertyName("idx")] int Idx);