Interface TagsChangedJSONPacket
interface TagsChangedJSONPacket {
cmd: "PrintJSON";
data: JSONMessagePart[];
slot: number;
tags: string[];
team: number;
type: "TagsChanged";
}
cmd: "PrintJSON";
data: JSONMessagePart[];
slot: number;
tags: string[];
team: number;
type: "TagsChanged";
}
Properties
Readonlycmd
cmd
Readonlydata
All the textual metadata for this packet.
Readonlyslot
slot: number
Slot of the triggering player.
Readonlytags
tags: string[]
Tags of the triggering player.
Readonlyteam
team: number
Team of the triggering player.
Readonlytype
type
The PrintJSONPacket subtype.
Sent to clients to broadcast a client has changed their tags.
See
PrintJSONPacket for all possible
PrintJSONpacket subtypes.