LSDE Dialog Engine / RuntimeChoiceItem
Interface: RuntimeChoiceItem
Defined in: types.ts:196
A choice option tagged with what onResolveCondition() said about its when.
The engine hands over EVERY option, tagged — never a pre-filtered list. Filter with options.filter( o => o.visible !== false ).
Extends
Properties
id
id:
string
Defined in: blueprint-types.ts:180
The option id, which is also its exit port (C1...).
Inherited from
key
key:
string
Defined in: blueprint-types.ts:182
The full i18n key of its text.
Inherited from
text?
optionaltext?:TextByLocale
Defined in: blueprint-types.ts:184
Its text by locale, when texts are exported.
Inherited from
visible?
optionalvisible?:boolean
Defined in: types.ts:198
true = offered, false = hidden, undefined = no resolver installed (treat as offered).
when?
optionalwhen?:ConditionTest[]
Defined in: blueprint-types.ts:186
Absent = always offered.
