Skip to content

LSDE Dialog Engine / ValidationResult

Interface: ValidationResult ​

Defined in: types.ts:285

Result of block validation.

Properties ​

reason? ​

optional reason?: string

Defined in: types.ts:296

Reason for validation failure. Passed to InvalidateBlockArgs.reason when valid is false.


valid ​

valid: boolean

Defined in: types.ts:294

Whether the block passed validation.

false calls onInvalidateBlock and then ends the flow that was entering the block — the whole scene when it is the one the player is watching (onSceneExit fires), just that branch when a parallel track was refused. A refusal is a dead end: nothing can resume a track the game turned away.