LSDE Dialog Engine / RuntimeConditionCase
Interface: RuntimeConditionCase
Defined in: types.ts:208
A condition case with its pre-evaluated result, set when onResolveCondition() is installed. Mirrors how RuntimeChoiceItem tags an option.
The case carries its own exit port, so there is no index to map back to anything — that is the v1 shape (portIndex) and it is gone. Pass the port to resolve() to override the routing.
Properties
port
port:
string
Defined in: types.ts:210
The exit port of this case: K1… with portPerCase, otherwise the block's out.
result?
optionalresult?:boolean
Defined in: types.ts:214
true if the case holds, false if not, undefined if no resolver is installed.
when?
optionalwhen?:ConditionTest[]
Defined in: types.ts:212
Its comparisons, chained left to right with no precedence. Absent = always true.
