Interface ItemSendJSONPacket

Sent to clients to broadcast a player has received an item.

PrintJSONPacket for all possible PrintJSON packet subtypes.

interface ItemSendJSONPacket {
    cmd: "PrintJSON";
    data: JSONMessagePart[];
    item: NetworkItem;
    receiving: number;
    type: "ItemSend";
}

Properties

cmd

All the textual metadata for this packet.

Source player's identifier, location identifier, item identifier and item flags.

receiving: number

Destination player's identifier.

type

The PrintJSONPacket subtype.