@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:
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:
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)
optionalbannedOpponentDeckIndex?: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:
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:
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:
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:
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)
optionallimitedSideboardPool?: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:
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:
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:
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:
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)
optionalrematchIntent?:"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:
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:
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)
optionalselectedDeckIndex?:number|null
Defined in: packages/ts-sdk/src/generated/types/common.ts:1722
Deck index selected for the next or current game.
seriesExtensionIntent?
Example:
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)
optionalseriesExtensionIntent?:"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:
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)
optionalsideboardDeck?: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:
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.
