@my-swu/simulator-client / LimitedTournamentResult
Interface: LimitedTournamentResult
Defined in: packages/ts-sdk/src/generated/types/common.ts:3246
Outcome of one tournament table.
Example:
import type { LimitedTournamentResult } from '@my-swu/simulator-client'
const limitedTournamentResult: LimitedTournamentResult = {
"aGames": 0,
"bGames": 0,
"draws": 0,
"source": "played",
}
console.log(limitedTournamentResult)Properties
aGames
Example:
import type { LimitedTournamentResult } from '@my-swu/simulator-client'
const limitedTournamentResult: LimitedTournamentResult = {
"aGames": 0,
"bGames": 0,
"draws": 0,
"source": "played",
}
const { aGames } = limitedTournamentResult
console.log(aGames)aGames:
number
Defined in: packages/ts-sdk/src/generated/types/common.ts:3250
Games won by the table's first player.
bGames
Example:
import type { LimitedTournamentResult } from '@my-swu/simulator-client'
const limitedTournamentResult: LimitedTournamentResult = {
"aGames": 0,
"bGames": 0,
"draws": 0,
"source": "played",
}
const { bGames } = limitedTournamentResult
console.log(bGames)bGames:
number
Defined in: packages/ts-sdk/src/generated/types/common.ts:3254
Games won by the table's second player.
draws
Example:
import type { LimitedTournamentResult } from '@my-swu/simulator-client'
const limitedTournamentResult: LimitedTournamentResult = {
"aGames": 0,
"bGames": 0,
"draws": 0,
"source": "played",
}
const { draws } = limitedTournamentResult
console.log(draws)draws:
number
Defined in: packages/ts-sdk/src/generated/types/common.ts:3258
Drawn games.
source
Example:
import type { LimitedTournamentResult } from '@my-swu/simulator-client'
const limitedTournamentResult: LimitedTournamentResult = {
"aGames": 0,
"bGames": 0,
"draws": 0,
"source": "played",
}
const { source } = limitedTournamentResult
console.log(source)source:
LimitedTournamentResultSource
Defined in: packages/ts-sdk/src/generated/types/common.ts:3262
How the result was obtained.
winner?
Example:
import type { LimitedTournamentResult } from '@my-swu/simulator-client'
const limitedTournamentResult: LimitedTournamentResult = {
"aGames": 0,
"bGames": 0,
"draws": 0,
"source": "played",
}
const { winner } = limitedTournamentResult
console.log(winner)
optionalwinner?:string|null
Defined in: packages/ts-sdk/src/generated/types/common.ts:3266
Winning player, or None for a drawn match.
