Variable clientStatusesConst
clientStatuses : {
connected: 5;
disconnected: 0;
goal: 30;
playing: 20;
ready: 10;
} = ...
connected: 5;
disconnected: 0;
goal: 30;
playing: 20;
ready: 10;
} = ...
Type declaration
Readonly
connected: 5Client is currently connected. This status is set automatically when a client connects.
Readonly
disconnected: 0Client is in an unknown or disconnected state. This status is set automatically initially and when all connected clients have disconnected from the server.
Readonly
goal: 30Client has completed their goal. Once set, cannot be changed.
Readonly
playing: 20Client is currently playing.
Readonly
ready: 10Client is ready to start, but hasn't started playing yet.
A const of known containing the possible client states that may be used to inform the server during a status update.