Skip to content

LobbySetting beta ​

Interface of @v12-engine/engine

ts
export interface LobbySetting

A setting of a lobby or of a seat (ServerHooks.settings, seatSettings)

Members ​

default ​

ts
default: string;

What is chosen until someone does

label ​

ts
label: string;

What the setting is called in the lobby

labels ​

ts
labels?: Record<string, string>;

What each option is shown as, where it is not the option itself

options ​

ts
options: string[];

What can be chosen, as it is kept

unique ​

ts
unique?: boolean;

Of a seat: no two seats may hold the same (a colour). One held by another seat is not chosen