Interface ItemSendJSONPacket
interface ItemSendJSONPacket {
cmd: "PrintJSON";
data: JSONMessagePart[];
item: NetworkItem;
receiving: number;
type: "ItemSend";
}
cmd: "PrintJSON";
data: JSONMessagePart[];
item: NetworkItem;
receiving: number;
type: "ItemSend";
}
Properties
Readonly
cmd
cmd
Readonly
data
All the textual metadata for this packet.
Readonly
item
Source player's identifier, location identifier, item identifier and item flags.
Readonly
receiving
receiving: number
Destination player's identifier.
Readonly
type
type
The PrintJSONPacket subtype.
Sent to clients to broadcast a player has received an item.
See
PrintJSONPacket for all possible
PrintJSON
packet subtypes.