@my-swu/simulator-client / LimitedTournamentPairingView
Interface: LimitedTournamentPairingView
Defined in: packages/ts-sdk/src/generated/types/common.ts:3213
Public view of one tournament table.
Example:
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'
const limitedTournamentPairingView: LimitedTournamentPairingView = {
"tableNumber": 0,
"playerA": 'example',
"status": "pending",
}
console.log(limitedTournamentPairingView)Properties
matchId?
Example:
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'
const limitedTournamentPairingView: LimitedTournamentPairingView = {
"tableNumber": 0,
"playerA": 'example',
"status": "pending",
}
const { matchId } = limitedTournamentPairingView
console.log(matchId)
optionalmatchId?:string|null
Defined in: packages/ts-sdk/src/generated/types/common.ts:3217
Live match id when the table is played by a human.
playerA
Example:
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'
const limitedTournamentPairingView: LimitedTournamentPairingView = {
"tableNumber": 0,
"playerA": 'example',
"status": "pending",
}
const { playerA } = limitedTournamentPairingView
console.log(playerA)playerA:
string
Defined in: packages/ts-sdk/src/generated/types/common.ts:3221
First seated lobby player id.
playerB?
Example:
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'
const limitedTournamentPairingView: LimitedTournamentPairingView = {
"tableNumber": 0,
"playerA": 'example',
"status": "pending",
}
const { playerB } = limitedTournamentPairingView
console.log(playerB)
optionalplayerB?:string|null
Defined in: packages/ts-sdk/src/generated/types/common.ts:3225
Second seated lobby player id; None for a bye.
result?
Example:
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'
const limitedTournamentPairingView: LimitedTournamentPairingView = {
"tableNumber": 0,
"playerA": 'example',
"status": "pending",
}
const { result } = limitedTournamentPairingView
console.log(result)
optionalresult?:LimitedTournamentResult|null
Defined in: packages/ts-sdk/src/generated/types/common.ts:3229
Table outcome once complete.
status
Example:
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'
const limitedTournamentPairingView: LimitedTournamentPairingView = {
"tableNumber": 0,
"playerA": 'example',
"status": "pending",
}
const { status: healthStatus } = limitedTournamentPairingView
console.log(healthStatus)status:
LimitedTournamentTableStatus
Defined in: packages/ts-sdk/src/generated/types/common.ts:3233
Table progress.
tableNumber
Example:
import type { LimitedTournamentPairingView } from '@my-swu/simulator-client'
const limitedTournamentPairingView: LimitedTournamentPairingView = {
"tableNumber": 0,
"playerA": 'example',
"status": "pending",
}
const { tableNumber } = limitedTournamentPairingView
console.log(tableNumber)tableNumber:
number
Defined in: packages/ts-sdk/src/generated/types/common.ts:3237
One-based table number within the round.
