Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / FormatSeatView

Interface: FormatSeatView ​

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

Public per-seat format-series summary exposed in snapshots.

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

console.log(formatSeatView)

Properties ​

bannedOpponentDeckIndex? ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { bannedOpponentDeckIndex } = formatSeatView

console.log(bannedOpponentDeckIndex)

optional bannedOpponentDeckIndex?: number | null

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

Opponent deck index this seat banned in Trilogy, when visible.


draftPickCount ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { draftPickCount } = formatSeatView

console.log(draftPickCount)

draftPickCount: number

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

Number of cards picked by this seat in the modeled draft flow.


gameWins ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { gameWins } = formatSeatView

console.log(gameWins)

gameWins: number

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

Number of completed game wins credited to this seat.


limitedPoolCount ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { limitedPoolCount } = formatSeatView

console.log(limitedPoolCount)

limitedPoolCount: number

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

Limited pool card count for this seat.


limitedSideboardPool? ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { limitedSideboardPool } = formatSeatView

console.log(limitedSideboardPool)

optional limitedSideboardPool?: LimitedSideboardPoolView | null

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

Registered Limited pool exposed only to its owning seat between games.


packCount ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { packCount } = formatSeatView

console.log(packCount)

packCount: number

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

Number of generated or assigned packs retained for this seat.


readyForNextGame ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { readyForNextGame } = formatSeatView

console.log(readyForNextGame)

readyForNextGame: boolean

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

Whether this seat is ready to advance to the next game.


registeredDecks ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { registeredDecks } = formatSeatView

console.log(registeredDecks)

registeredDecks: DeckRegistrationView[]

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

Registered decks for this seat, without hidden main-deck identities.


rematchIntent? ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { rematchIntent } = formatSeatView

console.log(rematchIntent)

optional rematchIntent?: "none" | "requested" | "declined"

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

Answer this seat gave to a rematch against the same opponent.


seat ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { seat: formatSeatViewSeat } = formatSeatView

console.log(formatSeatViewSeat)

seat: Seat

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

Seat represented by this summary.


selectedDeckIndex? ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { selectedDeckIndex } = formatSeatView

console.log(selectedDeckIndex)

optional selectedDeckIndex?: number | null

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

Deck index selected for the next or current game.


seriesExtensionIntent? ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { seriesExtensionIntent } = formatSeatView

console.log(seriesExtensionIntent)

optional seriesExtensionIntent?: "none" | "requested" | "declined"

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

Answer this seat gave to converting the match into a best-of-three.


sideboardDeck? ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { sideboardDeck } = formatSeatView

console.log(sideboardDeck)

optional sideboardDeck?: DeckInput | null

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

Current full deck list, exposed only to its owning seat between games.


unavailableDeckIndices ​

Example:

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

const formatSeatView: FormatSeatView = {
  "seat": "one",
  "registeredDecks": [],
  "unavailableDeckIndices": [],
  "gameWins": 0,
  "readyForNextGame": false,
  "limitedPoolCount": 0,
  "packCount": 0,
  "draftPickCount": 0,
}

const { unavailableDeckIndices } = formatSeatView

console.log(unavailableDeckIndices)

unavailableDeckIndices: number[]

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

Deck indices unavailable to this seat for the next Trilogy game.

Released under the MIT License.