Interface UpdateHintPacket
interface UpdateHintPacket {
cmd: "UpdateHint";
location: number;
player: number;
status: 0 | 10 | 20 | 30 | 40;
}
cmd: "UpdateHint";
location: number;
player: number;
status: 0 | 10 | 20 | 30 | 40;
}
Properties
Readonlycmd
cmd: "UpdateHint"
Readonlylocation
location: number
The ID of the location to update the hint for. If no hint exists for this location, the packet is ignored.
Readonlyplayer
player: number
The ID of the player whose location is being hinted for.
Readonlystatus
status: 0 | 10 | 20 | 30 | 40
Optional. If included, sets the status of the hint to this status. Cannot set hintStatuses.found, or change the status from hintStatuses.found.
Sent to the server to update the status of a Hint. The client must be the 'receiving_player' of the Hint, or the update fails.