Interface BouncePacket
interface BouncePacket {
cmd: "Bounce";
data: JSONRecord;
games?: string[];
slots?: number[];
tags?: string[];
}
cmd: "Bounce";
data: JSONRecord;
games?: string[];
slots?: number[];
tags?: string[];
}
Properties
Readonlycmd
cmd
Readonlydata
Any data you want to send.
Optional Readonlygames
games?: string[]
Optional. Games that should receive this message.
Optional Readonlyslots
slots?: number[]
Optional. Player ids that should receive this message.
Optional Readonlytags
tags?: string[]
Optional. Client tags that should receive this message.
Sent by the client to be broadcast from the server to all connected clients that match any one of the filter arguments.
Remarks
Useful for commonly implemented features such as
DeathLink.