LSDE Dialog Engine / SceneContext
Interface: SceneContext
Defined in: types.ts:434
Context passed to scene lifecycle handlers.
Properties
error?
optionalerror?:unknown
Defined in: types.ts:447
With faulted: what was thrown — the fault that closed the scene, not a cleanup that failed while it closed.
The same error is ALSO re-thrown, to whoever entered the walk: in a game that is a click or a timer calling next(), never the code awaiting the end of the scene — which is why it is handed here as well. Log it in one of the two places, not both.
reason?
optionalreason?:SceneEndReason
Defined in: types.ts:436
Why the scene ended. Set for onSceneExit only — absent for onSceneEnter.
waitingFor?
optionalwaitingFor?: readonlystring[]
Defined in: types.ts:438
With deadlocked: the blocks the parked tracks were still waiting for, each once.
