Skip to content

LSDE Dialog Engine / RuntimeChoiceItem

Interface: RuntimeChoiceItem

Defined in: types.ts:100

Choice item with runtime visibility tag, set by the engine when onResolveCondition() is configured. Use choices.filter(c => c.visible !== false) to get visible choices.

Extends

Properties

dialogueText?

optional dialogueText?: Record<string, string>

Defined in: types.ts:91

Localized text map: { locale -> text }.

Inherited from

ChoiceItem.dialogueText


label?

optional label?: string

Defined in: types.ts:89

Display label for editor reference.

Inherited from

ChoiceItem.label


structureKey

structureKey: string

Defined in: types.ts:87

Hierarchical key for localization lookup.

Inherited from

ChoiceItem.structureKey


uuid

uuid: string

Defined in: types.ts:85

Unique identifier for this choice.

Inherited from

ChoiceItem.uuid


visibilityConditions?

optional visibilityConditions?: ExportCondition[]

Defined in: types.ts:93

Conditions controlling whether this choice is visible. If all pass (or none set), the choice is shown.

Inherited from

ChoiceItem.visibilityConditions


visible?

optional visible?: boolean

Defined in: types.ts:102

true = visible, false = hidden, undefined = no filter installed (treat as visible).