Protocol/Packets/SyncPacket.cs

Defines a packet type SyncPacket that inherits from APPacket and sets its JSON-command value to "Sync". It is a simple data packet type used in the protocol layer.

using System.Text.Json.Serialization;

namespace APLib.Protocol.Packets;

public sealed class SyncPacket : APPacket
{
	[JsonPropertyName( "cmd" )]
	public override string Command => "Sync";
}