Skip to content

LSDE Dialog Engine / ActionContext

Interface: ActionContext

Defined in: types.ts:664

Context for ACTION 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

BaseBlockContext.character


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


reject

reject: (error) => void

Defined in: types.ts:668

Mark action as failed. Engine follows the catch port (fallback then if no catch port exists).

Parameters

error

unknown

Returns

void


resolve

resolve: () => void

Defined in: types.ts:666

Mark action as succeeded. Engine follows the then port.

Returns

void