Skip to content

GameboardInteractionHandlerResult

Defined in: src/commands/commands.ts:118

Result returned by a game-supplied interaction handler.

optional effects?: readonly GameboardInteractionHandlerEffect[]

Defined in: src/commands/commands.ts:126

Serializable side effects produced by the handler.


optional handlerId?: string

Defined in: src/commands/commands.ts:120

Stable handler id used by event records and simulation reports.


optional metadata?: Readonly<Record<string, GameboardActorMetadataValue>>

Defined in: src/commands/commands.ts:128

Serializable metadata copied into command event records.


optional reason?: string

Defined in: src/commands/commands.ts:124

Optional failure or blocked reason.


status: GameboardInteractionHandlerStatus

Defined in: src/commands/commands.ts:122

Handler outcome.