LSDE Dialog Engine / BlueprintConnection
Interface: BlueprintConnection
Defined in: types.ts:14
Directed connection between two blocks in the blueprint. Connections define the dialogue flow by linking output ports of source blocks to input ports of target blocks.
Properties
fromId
fromId:
string
Defined in: types.ts:18
UUID of the source block.
fromPort
fromPort:
string
Defined in: types.ts:22
Output port identifier on the source block. For CHOICE blocks: the selected choice UUID. For ACTION blocks: "then" or "catch".
fromPortIndex?
optionalfromPortIndex?:number
Defined in: types.ts:26
Zero-based index of the output port. For CONDITION blocks: 0 = true, 1 = false. For DIALOG with portPerCharacter: index of the character.
id
id:
string
Defined in: types.ts:16
Unique identifier for this connection.
toId
toId:
string
Defined in: types.ts:20
UUID of the target block.
toPort
toPort:
string
Defined in: types.ts:24
Input port identifier on the target block.
