Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / LimitedEventCommand

Type Alias: LimitedEventCommand ​

LimitedEventCommand = GeneratedLimitedEventCommand

Defined in: packages/ts-sdk/src/resources/limited-event-types.ts:72

Player command accepted by one Limited Event seat.

Commands drive hidden draft picks, leader choices, and ready gates.

Example:

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

const readyForNextDraftCommand = { type: 'readyForNextDraft' } satisfies LimitedEventCommand

console.log(readyForNextDraftCommand)

Example ​

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

const readyForNextDraft: LimitedEventCommand = {
  type: 'readyForNextDraft',
}

console.log(readyForNextDraft.type)

See ​

https://simulator-sdk.my-swu.com/guide/limited-events

Released under the MIT License.