GameboardInteractionCommandRecord
Defined in: src/systems/systems.ts:354
Serializable command execution record.
Properties
Section titled “Properties”actorId?
Section titled “actorId?”
optionalactorId?:string
Defined in: src/systems/systems.ts:380
Target actor id, when applicable.
canExecute
Section titled “canExecute”canExecute:
boolean
Defined in: src/systems/systems.ts:362
Whether the command could execute at dispatch time.
effects?
Section titled “effects?”
optionaleffects?: readonlyGameboardInteractionHandlerEffect[]
Defined in: src/systems/systems.ts:374
Full handler side effects.
effectTypes?
Section titled “effectTypes?”
optionaleffectTypes?: readonly ("actor-removed"|"placement-removed"|"actor-updated"|"placement-updated")[]
Defined in: src/systems/systems.ts:372
Side-effect type list for compact reporting.
handlerId?
Section titled “handlerId?”
optionalhandlerId?:string
Defined in: src/systems/systems.ts:366
Handler id when a handler processed the command.
handlerMetadata?
Section titled “handlerMetadata?”
optionalhandlerMetadata?:Readonly<Record<string,GameboardActorMetadataValue>>
Defined in: src/systems/systems.ts:370
Handler metadata when supplied.
handlerStatus?
Section titled “handlerStatus?”
optionalhandlerStatus?:GameboardInteractionHandlerStatus
Defined in: src/systems/systems.ts:368
Handler status when a handler processed the command.
intent
Section titled “intent”intent:
GameboardInteractionIntent
Defined in: src/systems/systems.ts:358
Command intent.
Defined in: src/systems/systems.ts:356
Command kind.
placementId?
Section titled “placementId?”
optionalplacementId?:string
Defined in: src/systems/systems.ts:378
Target placement id, when applicable.
reason?
Section titled “reason?”
optionalreason?:string
Defined in: src/systems/systems.ts:364
Optional blocked or handler reason.
sourceActorId?
Section titled “sourceActorId?”
optionalsourceActorId?:string
Defined in: src/systems/systems.ts:382
Source actor id, when applicable.
sourcePlacementId?
Section titled “sourcePlacementId?”
optionalsourcePlacementId?:string
Defined in: src/systems/systems.ts:384
Source placement id, when applicable.
status
Section titled “status”Defined in: src/systems/systems.ts:360
Execution status.
target
Section titled “target”target:
object
Defined in: src/systems/systems.ts:386
Resolved target summary.
actorId?
Section titled “actorId?”
optionalactorId?:string
Target actor id.
canEnter
Section titled “canEnter”canEnter:
boolean
Whether the source can enter the target tile.
intent
Section titled “intent”intent:
GameboardInteractionIntent
Target intent.
Target kind.
placementId?
Section titled “placementId?”
optionalplacementId?:string
Target placement id.
tileKey?
Section titled “tileKey?”
optionaltileKey?:string
Target tile key.
tileKey?
Section titled “tileKey?”
optionaltileKey?:string
Defined in: src/systems/systems.ts:376
Target tile key, when applicable.