Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / TriggerWindowView

Type Alias: TriggerWindowView ​

TriggerWindowView = "whenPlayed" | "onAttack" | "whenDefeated" | "whenAttacked" | "whenDamaged" | "whenHealed" | "whenCaptured" | "whenReadies" | "whenAttackEnds" | "whenDealsCombatDamage" | "startOfActionPhase" | "startOfRegroup" | "other"

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

Condensed public trigger timing for granted abilities.

A deliberate bucket list rather than the full parser window enum: each variant needs localized copy in every client language, so only timings common on grants get their own bucket and the rest collapse to Other.

Example:

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

const triggerWindowView: TriggerWindowView = "whenPlayed"

console.log(triggerWindowView)

Released under the MIT License.