Interface PartJSONPacket
interface PartJSONPacket {
cmd: "PrintJSON";
data: JSONMessagePart[];
slot: number;
team: number;
type: "Part";
}
cmd: "PrintJSON";
data: JSONMessagePart[];
slot: number;
team: number;
type: "Part";
}
Properties
Readonly
cmd
cmd
Readonly
data
All the textual metadata for this packet.
Readonly
slot
slot: number
Slot of the triggering player.
Readonly
team
team: number
Team of the triggering player.
Readonly
type
type
The PrintJSONPacket subtype.
Sent to clients to broadcast a client has disconnected.
See
PrintJSONPacket for all possible
PrintJSON
packet subtypes.