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
Readonlycmd
cmd
Readonlydata
All the textual metadata for this packet.
Readonlyitem
Source player's identifier, location identifier, item identifier and item flags.
Readonlyreceiving
receiving: number
Destination player's identifier.
Readonlytype
type
The PrintJSONPacket subtype.
Sent to clients to broadcast a player has received an item.
See
PrintJSONPacket for all possible
PrintJSONpacket subtypes.