A network packet class representing a status update. It defines the command string "StatusUpdate" and an integer Status property serialized as "status".
using System.Text.Json.Serialization;
namespace APLib.Protocol.Packets;
public sealed class StatusUpdatePacket : APPacket
{
[JsonPropertyName( "cmd" )]
public override string Command => "StatusUpdate";
[JsonPropertyName( "status" )]
public int Status { get; set; }
}