using System.Text.Json.Serialization; namespace SVSim.BattleNode.Protocol.Bodies; /// Gungnir keepalive push. scs = self connection status, ocs = opponent /// connection status; both carry ("ONLINE") in v1. /// Intentionally has no resultCode — the client treats an absent resultCode on alive /// frames as "no error" (the lone body without one). public sealed record AlivePushBody( [property: JsonPropertyName("scs")] string Scs, [property: JsonPropertyName("ocs")] string Ocs) : IMsgBody;