Skip to content

DispatchGameboardActorTargetCommandResult

Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:43

Result of selecting an actor target and dispatching the planned command.

optional dispatch?: DispatchGameboardInteractionCommandResult

Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:47

Dispatch result when the target command was executable.


eventRecords: readonly GameboardSystemEventRecord[]

Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:51

Serializable event records derived from events.


events: readonly GameboardSystemEvent[]

Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:49

In-memory events emitted by the dispatch.


optional reason?: string

Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:53

Reason no command was dispatched or dispatch was blocked.


targetCommand: GameboardActorTargetCommandPlan

Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:45

Actor-target command plan.