Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / LobbyTimerSettings

Interface: LobbyTimerSettings ​

Defined in: packages/ts-sdk/src/generated/types/common.ts:3853

Host-selected timing rules for a lobby and its started event or match.

Example:

ts
import type { LobbyTimerSettings } from '@my-swu/simulator-client'

const lobbyTimerSettings: LobbyTimerSettings = {
  "game": {
    "turnSeconds": 0,
    "reserveSeconds": 0,
  },
}

console.log(lobbyTimerSettings)

Properties ​

game ​

Example:

ts
import type { LobbyTimerSettings } from '@my-swu/simulator-client'

const lobbyTimerSettings: LobbyTimerSettings = {
  "game": {
    "turnSeconds": 0,
    "reserveSeconds": 0,
  },
}

const { game } = lobbyTimerSettings

console.log(game)

game: LobbyGameTimerSettings

Defined in: packages/ts-sdk/src/generated/types/common.ts:3857

Per-turn and reserve-bank settings for the final game.


limited? ​

Example:

ts
import type { LobbyTimerSettings } from '@my-swu/simulator-client'

const lobbyTimerSettings: LobbyTimerSettings = {
  "game": {
    "turnSeconds": 0,
    "reserveSeconds": 0,
  },
}

const { limited } = lobbyTimerSettings

console.log(limited)

optional limited?: LimitedLobbyTimerSettings | null

Defined in: packages/ts-sdk/src/generated/types/common.ts:3861

Limited-only draft and deck-construction settings.

Released under the MIT License.