WatchRequest beta
Interface of @v12-engine/engine/server
ts
export interface WatchRequestWho asks to watch a game (GameServerOptions.watch)
Members
address
ts
address: string;The address they connect from
key
ts
key?: string;The key they brought
name
ts
name?: string;The name they gave
phase
ts
phase: GameServer['phase'];The server's phase when the request came: lobby, game or ended
seated
ts
seated: boolean;Whether a seat is held from the same address: a player who would watch their own game from the side