Type Alias ItemJSONMessagePart
type ItemJSONMessagePart = {
flags: number;
player: number;
text: string;
type: "item_id" | "item_name";
}
flags: number;
player: number;
text: string;
type: "item_id" | "item_name";
}
Properties
Readonlyflags
flags: number
Bit flags that determine if an item is progression, "nice to have", filler, or a trap.
Readonlyplayer
player: number
The id of the player who owns this item.
Readonlytext
text: string
Used to supply text data for this node.
Readonlytype
type: "item_id" | "item_name"
Used to denote the intent of the message part.
A textual node containing item metadata.
See
JSONMessagePart for all possible message part node subtypes.