Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / MatchResult

Interface: MatchResult ​

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

Example:

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

const matchResult: MatchResult = {
  "winners": [],
  "reason": "concede",
}

console.log(matchResult)

Properties ​

reason ​

Example:

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

const matchResult: MatchResult = {
  "winners": [],
  "reason": "concede",
}

const { reason } = matchResult

console.log(reason)

reason: MatchEndReason

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


winner? ​

Example:

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

const matchResult: MatchResult = {
  "winners": [],
  "reason": "concede",
}

const { winner } = matchResult

console.log(winner)

optional winner?: Seat | null

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


winners ​

Example:

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

const matchResult: MatchResult = {
  "winners": [],
  "reason": "concede",
}

const { winners } = matchResult

console.log(winners)

winners: Seat[]

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

Released under the MIT License.