Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / LimitedEventViewerView

Interface: LimitedEventViewerView ​

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

Private snapshot details for the requesting seat.

Example:

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

const limitedEventViewerView: LimitedEventViewerView = {
  "seatIndex": 0,
  "leaderChoices": [],
  "activePack": [],
  "draftedCardCount": 0,
}

console.log(limitedEventViewerView)

Properties ​

activePack ​

Example:

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

const limitedEventViewerView: LimitedEventViewerView = {
  "seatIndex": 0,
  "leaderChoices": [],
  "activePack": [],
  "draftedCardCount": 0,
}

const { activePack } = limitedEventViewerView

console.log(activePack)

activePack: LimitedPackCardView[]

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

Current active pack. Hidden outside active pack draft.


deckSource? ​

Example:

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

const limitedEventViewerView: LimitedEventViewerView = {
  "seatIndex": 0,
  "leaderChoices": [],
  "activePack": [],
  "draftedCardCount": 0,
}

const { deckSource } = limitedEventViewerView

console.log(deckSource)

optional deckSource?: LimitedDeckSourceView | null

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

Complete deck source when the event is complete.


draftedCardCount ​

Example:

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

const limitedEventViewerView: LimitedEventViewerView = {
  "seatIndex": 0,
  "leaderChoices": [],
  "activePack": [],
  "draftedCardCount": 0,
}

const { draftedCardCount } = limitedEventViewerView

console.log(draftedCardCount)

draftedCardCount: number

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

Number of drafted non-leader cards, visible only to this viewer.


draftedCards? ​

Example:

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

const limitedEventViewerView: LimitedEventViewerView = {
  "seatIndex": 0,
  "leaderChoices": [],
  "activePack": [],
  "draftedCardCount": 0,
}

const { draftedCards } = limitedEventViewerView

console.log(draftedCards)

optional draftedCards?: number[] | null

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

Drafted non-leader cards, visible during review and complete phases.


leaderChoices ​

Example:

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

const limitedEventViewerView: LimitedEventViewerView = {
  "seatIndex": 0,
  "leaderChoices": [],
  "activePack": [],
  "draftedCardCount": 0,
}

const { leaderChoices } = limitedEventViewerView

console.log(leaderChoices)

leaderChoices: number[]

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

Current public leader choices held by this viewer.


passToSeatIndex? ​

Example:

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

const limitedEventViewerView: LimitedEventViewerView = {
  "seatIndex": 0,
  "leaderChoices": [],
  "activePack": [],
  "draftedCardCount": 0,
}

const { passToSeatIndex } = limitedEventViewerView

console.log(passToSeatIndex)

optional passToSeatIndex?: number | null

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

Seat in the current draft passing direction for this viewer.

Available while choosing leaders to preview the first booster direction, and absent only when a final pack card will not be passed onward.


seatIndex ​

Example:

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

const limitedEventViewerView: LimitedEventViewerView = {
  "seatIndex": 0,
  "leaderChoices": [],
  "activePack": [],
  "draftedCardCount": 0,
}

const { seatIndex } = limitedEventViewerView

console.log(seatIndex)

seatIndex: number

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

Zero-based viewer seat index.

Released under the MIT License.