Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / TournamentRoomPrivateView

Interface: TournamentRoomPrivateView ​

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

Private tournament room state for the requester.

Example:

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

const tournamentRoomPrivateView: TournamentRoomPrivateView = {
  "playerId": 'example',
  "host": false,
}

console.log(tournamentRoomPrivateView)

Properties ​

eventAccess? ​

Example:

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

const tournamentRoomPrivateView: TournamentRoomPrivateView = {
  "playerId": 'example',
  "host": false,
}

const { eventAccess } = tournamentRoomPrivateView

console.log(eventAccess)

optional eventAccess?: LimitedEventAccessResponse | null

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


host ​

Example:

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

const tournamentRoomPrivateView: TournamentRoomPrivateView = {
  "playerId": 'example',
  "host": false,
}

const { host: tournamentRoomPrivateViewHost } = tournamentRoomPrivateView

console.log(tournamentRoomPrivateViewHost)

host: boolean

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


matchAccess? ​

Example:

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

const tournamentRoomPrivateView: TournamentRoomPrivateView = {
  "playerId": 'example',
  "host": false,
}

const { matchAccess } = tournamentRoomPrivateView

console.log(matchAccess)

optional matchAccess?: MatchAccessResponse | null

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


playerId ​

Example:

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

const tournamentRoomPrivateView: TournamentRoomPrivateView = {
  "playerId": 'example',
  "host": false,
}

const { playerId } = tournamentRoomPrivateView

console.log(playerId)

playerId: string

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

Released under the MIT License.