FunnableLobby
Wrapper around the lobby REST endpoints for creating and managing rooms.
FunnableLobby
Wrapper around the lobby REST endpoints for creating and managing rooms.
Members
create
create(maxPlayers: number): Promise<LobbyState>Creates a lobby for the current game with the provided capacity.
join
join(code: string): Promise<LobbyState>Joins an existing lobby via invite code.
leave
leave(lobbyId: string): Promise<void>Leaves the provided lobby. Safe to call even if already left.
getState
getState(lobbyId: string): Promise<LobbyState>Resolves the latest lobby snapshot with roster and status info.