Skip to content

LobbyJoin beta ​

Interface of @v12-engine/client

ts
export interface LobbyJoin

What the lobby is opened with (LobbyController.join)

Members ​

name ​

ts
name?: string;

The name to join by: the one kept in the settings (playerName) when left out

rules ​

ts
rules: Rules | Record<string, Rules>;

The game modules the page has, by id, for the one the server says it runs; or the one game

ticket ​

ts
ticket?: string;

What the server's seat hook lets players in by: a login's token, a matchmaker's ticket

url ​

ts
url: string;

The server's address: ws://…

watch ​

ts
watch?: boolean;

To watch rather than play, whatever seat is free (a game from a list, Watch)