Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / LobbyMatchmakingConfig

Type Alias: LobbyMatchmakingConfig ​

LobbyMatchmakingConfig = { bestOfMatches: 1 | 3; format: ConstructedFormat; mode: "duel"; } | { format: ConstructedFormat; mode: "trilogy"; } | { mode: "twinSuns"; }

Defined in: packages/ts-sdk/src/resources/lobby-types.ts:183

Example:

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

const lobbyMatchmakingConfig: LobbyMatchmakingConfig = {
  "mode": "duel",
  "format": "premier",
  "bestOfMatches": 1,
}

console.log(lobbyMatchmakingConfig)

Released under the MIT License.