LSDE Dialog Engine / ChoiceContext
Interface: ChoiceContext
Defined in: types.ts:635
Context for CHOICE block handlers.
Extends
Properties
character
character:
BlockCharacter|undefined
Defined in: types.ts:623
Character resolved by the onResolveCharacter callback for this block, or undefined if none.
Inherited from
choices
choices:
RuntimeChoiceItem[]
Defined in: types.ts:641
All choices with optional visibility tags. When engine.onResolveCondition() is configured, each choice is tagged visible: true | false. Filter with choices.filter(c => c.visible !== false). Without a filter, visible is undefined and all choices pass.
preventGlobalHandler
preventGlobalHandler: () =>
void
Defined in: types.ts:625
Prevent the global (Tier 1) handler from executing after this scene handler.
Returns
void
Inherited from
BaseBlockContext.preventGlobalHandler
selectChoice
selectChoice: (
choiceUuid) =>void
Defined in: types.ts:643
Select a choice by UUID. The engine follows the matching port.
Parameters
choiceUuid
string
Returns
void
