Skip to content

ClientRequest

ClientRequest = { client?: { name: string; version: string; }; id: string; name?: string; resume?: string; t: "hello"; v: number; } | { filter?: LobbyFilter; id: string; t: "lobby.sub"; } | { id: string; name: string; t: "player.rename"; } | { id: string; t: "lobby.unsub"; } | { game: string; id: string; options?: Json; t: "table.create"; } | { as?: "player" | "spectator"; id: string; t: "table.join"; table: string; } | { id: string; t: "table.leave"; table: string; } | { id: string; t: "table.sync"; table: string; } | { id: string; seat?: number; t: "seat.take"; table: string; } | { id: string; seat?: number; t: "seat.leave"; table: string; } | { id: string; input?: Json; name: string; rev?: number; seat?: number; t: "act"; table: string; }

Defined in: protocol/messages.ts:12