Defines a packet type SyncPacket that inherits APPacket and overrides the Command property to return the string "Sync". It is a simple DTO used in the protocol layer for identifying a Sync command.
using System.Text.Json.Serialization;
namespace APLib.Protocol.Packets;
public sealed class SyncPacket : APPacket
{
[JsonPropertyName( "cmd" )]
public override string Command => "Sync";
}