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
Readonly
cmd
cmd
Readonly
data
Any data you want to send.
Optional
Readonly
games
games?: string[]
Optional. Games that should receive this message.
Optional
Readonly
slots
slots?: number[]
Optional. Player ids that should receive this message.
Optional
Readonly
tags
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
.