Skip to content

GameboardInteractionCommandRecord

Defined in: src/systems/systems.ts:354

Serializable command execution record.

optional actorId?: string

Defined in: src/systems/systems.ts:380

Target actor id, when applicable.


canExecute: boolean

Defined in: src/systems/systems.ts:362

Whether the command could execute at dispatch time.


optional effects?: readonly GameboardInteractionHandlerEffect[]

Defined in: src/systems/systems.ts:374

Full handler side effects.


optional effectTypes?: readonly ("actor-removed" | "placement-removed" | "actor-updated" | "placement-updated")[]

Defined in: src/systems/systems.ts:372

Side-effect type list for compact reporting.


optional handlerId?: string

Defined in: src/systems/systems.ts:366

Handler id when a handler processed the command.


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

Defined in: src/systems/systems.ts:370

Handler metadata when supplied.


optional handlerStatus?: GameboardInteractionHandlerStatus

Defined in: src/systems/systems.ts:368

Handler status when a handler processed the command.


intent: GameboardInteractionIntent

Defined in: src/systems/systems.ts:358

Command intent.


kind: GameboardInteractionCommandKind

Defined in: src/systems/systems.ts:356

Command kind.


optional placementId?: string

Defined in: src/systems/systems.ts:378

Target placement id, when applicable.


optional reason?: string

Defined in: src/systems/systems.ts:364

Optional blocked or handler reason.


optional sourceActorId?: string

Defined in: src/systems/systems.ts:382

Source actor id, when applicable.


optional sourcePlacementId?: string

Defined in: src/systems/systems.ts:384

Source placement id, when applicable.


status: GameboardInteractionExecutionStatus

Defined in: src/systems/systems.ts:360

Execution status.


target: object

Defined in: src/systems/systems.ts:386

Resolved target summary.

optional actorId?: string

Target actor id.

canEnter: boolean

Whether the source can enter the target tile.

intent: GameboardInteractionIntent

Target intent.

kind: GameboardInteractionTargetKind

Target kind.

optional placementId?: string

Target placement id.

optional tileKey?: string

Target tile key.


optional tileKey?: string

Defined in: src/systems/systems.ts:376

Target tile key, when applicable.