cloakfall
    Preparing search index...

    Function hostGameAction

    • The host's game menu, mid-game: end the game for everyone and go back to the waiting room ('lobby'), or start a new one with the same settings ('restart'). See server/lobbyServer.ts's hostGameAction.

      Parameters

      • action: "restart" | "lobby"

      Returns Promise<{ ok: true } | { error: string }>