Skip to content

LSDE Dialog Engine / PortResolutionInput

Interface: PortResolutionInput

Defined in: types.ts:1037

Input data for port resolution.

Properties

actionRejected?

optional actionRejected?: boolean

Defined in: types.ts:1052

ACTION blocks only — if true, the resolver looks for a catch port before falling back to then.


block

block: BlueprintBlock

Defined in: types.ts:1039

The block whose output port is being resolved. Its type determines the routing rules.


characterPortIndex?

optional characterPortIndex?: number

Defined in: types.ts:1054

DIALOG blocks with portPerCharacter — character index in metadata.characters to match against connection.fromPortIndex.


conditionResult?

optional conditionResult?: number | boolean | number[]

Defined in: types.ts:1050

CONDITION blocks only — evaluation result.

  • boolean: true → port index 0, false → port index 1 (legacy single-group).
  • number: >= 0 follows matching case port, < 0 follows default/false (switch mode).
  • number[]: all matching case indices + default (dispatcher mode).

connections

connections: BlueprintConnection[]

Defined in: types.ts:1041

All outgoing connections from this block. The resolver picks the one to follow.


selectedChoiceUuid?

optional selectedChoiceUuid?: string

Defined in: types.ts:1043

CHOICE blocks only — UUID of the selected choice. Matches connection.fromPort.