Skip to content

GameboardScenarioSimulationActorTargetsRecord

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:786

Serializable actor-targeting report with step provenance.

Declared in script.ts (not report.ts) because it appears in GameboardScenarioSimulationStepResult, which the engine produces and the report module consumes.

optional nearestTarget?: GameboardScenarioSimulationActorTargetRecord

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:804

Nearest or chosen target summary.


reachableActorIds: readonly string[]

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:802

Reachable target actor ids in sorted order.


optional reason?: string

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:808

Optional targeting failure reason.


optional sourceActorId?: string

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:794

Source actor id.


optional sourcePlacementId?: string

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:796

Source placement id.


optional sourceTileKey?: string

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:798

Source tile key.


optional stepId?: string

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:790

Authored step id.


stepIndex: number

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:788

Step index that emitted the actor-target report.


optional stepLabel?: string

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:792

Authored step label.


targetActorIds: readonly string[]

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:800

All target actor ids in sorted order.


targets: readonly GameboardScenarioSimulationActorTargetRecord[]

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:806

Full target summaries.