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
Readonly
cmd
cmd
Readonly
data
All the textual metadata for this packet.
Readonly
found
found: boolean
Whether the location hinted for was checked.
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 relevant clients to broadcast item hint information.
See
PrintJSONPacket for all possible
PrintJSON
packet subtypes.