Interface HintJSONPacket
interface HintJSONPacket {
cmd: "PrintJSON";
data: JSONMessagePart[];
found: boolean;
item: NetworkItem;
receiving: number;
type: "Hint";
}
cmd: "PrintJSON";
data: JSONMessagePart[];
found: boolean;
item: NetworkItem;
receiving: number;
type: "Hint";
}
Properties
Readonlycmd
cmd
Readonlydata
All the textual metadata for this packet.
Readonlyfound
found: boolean
Whether the location hinted for was checked.
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 relevant clients to broadcast item hint information.
See
PrintJSONPacket for all possible
PrintJSONpacket subtypes.