Variable clientStatusesConst

    clientStatuses: {
        connected: 5;
        disconnected: 0;
        goal: 30;
        playing: 20;
        ready: 10;
    } = ...

    A const of known containing the possible client states that may be used to inform the server during a status update.

    Type declaration

    • Readonlyconnected: 5

      Client is currently connected. This status is set automatically when a client connects.

    • Readonlydisconnected: 0

      Client is in an unknown or disconnected state. This status is set automatically initially and when all connected clients have disconnected from the server.

    • Readonlygoal: 30

      Client has completed their goal. Once set, cannot be changed.

    • Readonlyplaying: 20

      Client is currently playing.

    • Readonlyready: 10

      Client is ready to start, but hasn't started playing yet.