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?
optionaldialogueText?:Record<string,string>
Defined in: types.ts:91
Localized text map: { locale -> text }.
Inherited from
label?
optionallabel?:string
Defined in: types.ts:89
Display label for editor reference.
Inherited from
structureKey
structureKey:
string
Defined in: types.ts:87
Hierarchical key for localization lookup.
Inherited from
uuid
uuid:
string
Defined in: types.ts:85
Unique identifier for this choice.
Inherited from
visibilityConditions?
optionalvisibilityConditions?: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?
optionalvisible?:boolean
Defined in: types.ts:102
true = visible, false = hidden, undefined = no filter installed (treat as visible).
