Code/Protocol/Packets/LocationChecksPacket.cs

A network packet type representing a LocationChecks message. It defines the Command string "LocationChecks" and a long[] property Locations that will be serialized as "locations" in JSON.

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; }
}