Skip to content

MarkTargetActorInteractedHandlerOptions

Defined in: packages/declarative-hex-worlds/src/commands/commands.ts:184

Options for the actor-interaction marker handler preset.

optional commandKinds?: readonly GameboardInteractionCommandKind[]

Defined in: packages/declarative-hex-worlds/src/commands/commands.ts:188

Command kinds this handler accepts.


optional handlerId?: string

Defined in: packages/declarative-hex-worlds/src/commands/commands.ts:186

Handler id emitted in event records.


optional interactedField?: string

Defined in: packages/declarative-hex-worlds/src/commands/commands.ts:190

Metadata field written to the target actor.


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

Defined in: packages/declarative-hex-worlds/src/commands/commands.ts:194

Extra metadata merged into the target actor.


optional sourceActorField?: string

Defined in: packages/declarative-hex-worlds/src/commands/commands.ts:192

Metadata field that records the source actor id.