indexType aliases
Type Alias: PixiVNJsonInputRequest
> PixiVNJsonInputRequest = object
Defined in: src/schema/PixiVNJsonNarration.ts:5
Requests user input during the narrative. When this operation is encountered, the engine pauses and waits for the player to provide a value.
Properties
defaultValue?
> optional defaultValue?: any
Defined in: src/schema/PixiVNJsonNarration.ts:16
A default value that will be used if the player does not provide any input.
operationType
> operationType: "request"
Defined in: src/schema/PixiVNJsonNarration.ts:7
type
> type: "input"
Defined in: src/schema/PixiVNJsonNarration.ts:6
valueType?
> optional valueType?: string
Defined in: src/schema/PixiVNJsonNarration.ts:12
The expected value type for the input (e.g. "string", "number", "boolean").
Used by the engine to validate or cast the player's answer.