Skip to content

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 ​

Option.id


key ​

key: string

Defined in: blueprint-types.ts:182

The full i18n key of its text.

Inherited from ​

Option.key


text? ​

optional text?: TextByLocale

Defined in: blueprint-types.ts:184

Its text by locale, when texts are exported.

Inherited from ​

Option.text


visible? ​

optional visible?: boolean

Defined in: types.ts:198

true = offered, false = hidden, undefined = no resolver installed (treat as offered).


when? ​

optional when?: ConditionTest[]

Defined in: blueprint-types.ts:186

Absent = always offered.

Inherited from ​

Option.when