LogoPixi’VN
indexType aliases

Type Alias: StepLabelResultType

> StepLabelResultType = StepLabelResult | void | string

Defined in: src/narration/types/StepLabelType.ts:15

Result of a StepLabelType execution.

  • StepLabelResult: a structured result consumed by the narration engine.
  • void: the step completed without returning an explicit result.
  • string: a simple token or message interpreted by higher-level logic.

Prefer returning a well-typed StepLabelResult for anything that needs to be consumed programmatically. Use plain strings only where a lightweight, convention-based signal is sufficient and clearly documented by the surrounding game logic.