Type Alias LocationJSONMessagePart

A textual node containing location metadata.

JSONMessagePart for all possible message part node subtypes.

type LocationJSONMessagePart = {
    player: number;
    text: string;
    type: "location_id" | "location_name";
}
Index
player: number

The id of the player who has this location.

text: string

Used to supply text data for this node.

type: "location_id" | "location_name"

Used to denote the intent of the message part.