SeatRequest beta
Interface of @v12-engine/engine/server
ts
export interface SeatRequestWho asks for a seat (GameServerOptions.seat)
Members
address
ts
address: string;The address they connect from
free
ts
free: ServerSeat[];The seats nobody holds now, in the mode's order: none once a game is on, where only coming back is left
name
ts
name?: string;The name they gave
phase
ts
phase: GameServer['phase'];The server's phase when the seat was asked for: lobby, game or ended
ticket
ts
ticket?: string;What they brought to be let in by (join's ticket): a login's token, a matchmaker's ticket. Checked by the game, never by the server