A small protocol packet class representing a 'LocationChecks' message. It sets the Command string to "LocationChecks" and contains a long[] property Locations to carry location IDs.
using System.Text.Json.Serialization;
namespace APLib.Protocol.Packets;
public sealed class LocationChecksPacket : APPacket
{
[JsonPropertyName( "cmd" )]
public override string Command => "LocationChecks";
[JsonPropertyName( "locations" )]
public long[] Locations { get; set; }
}