A small protocol packet type used by the game's networking layer. It represents a ReceivedItems message containing an array of NetworkItem objects and an integer Index, with JSON property name mappings.
using System.Text.Json.Serialization;
namespace APLib.Protocol.Packets;
public sealed class ReceivedItemsPacket : APPacket
{
public override string Command => "ReceivedItems";
[JsonPropertyName( "items" )]
public NetworkItem[] Items { get; set; }
[JsonPropertyName( "index" )]
public int Index { get; set; }
}