DispatchGameboardActorTargetCommandResult
Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:43
Result of selecting an actor target and dispatching the planned command.
Properties
Section titled “Properties”dispatch?
Section titled “dispatch?”
optionaldispatch?:DispatchGameboardInteractionCommandResult
Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:47
Dispatch result when the target command was executable.
eventRecords
Section titled “eventRecords”eventRecords: readonly
GameboardSystemEventRecord[]
Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:51
Serializable event records derived from events.
events
Section titled “events”events: readonly
GameboardSystemEvent[]
Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:49
In-memory events emitted by the dispatch.
reason?
Section titled “reason?”
optionalreason?:string
Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:53
Reason no command was dispatched or dispatch was blocked.
targetCommand
Section titled “targetCommand”targetCommand:
GameboardActorTargetCommandPlan
Defined in: packages/declarative-hex-worlds/src/systems/command-dispatch.ts:45
Actor-target command plan.