PlayerEvent:
| {
playerId: string;
playerName: string;
timestamp: number;
type: "BUZZ";
}
| {
deviceId: string;
playerId: string;
playerName: string;
teamId: string
| null;
type: "JOIN";
}
| { playerId: string; type: "LEAVE" }
| { away: boolean; playerId: string; type: "FOCUS_CHANGE" }
Type Declaration
- { playerId: string; playerName: string; timestamp: number; type: "BUZZ" }
- {
deviceId: string;
playerId: string;
playerName: string;
teamId: string | null;
type: "JOIN";
} - { playerId: string; type: "LEAVE" }
- { away: boolean; playerId: string; type: "FOCUS_CHANGE" }
Events sent by players to the GameMaster.