GameboardScenarioSimulationStepResult
Defined in: src/simulation/script.ts:742
Runtime result for one executed simulation step.
The full shape is defined here (alongside the step types) so authored scripts and runtime results share a single source of truth.
Properties
Section titled “Properties”action
Section titled “action”action:
"command"|"actor-target-command"|"inspect-actor-targets"|"run-systems"|"remove-actor"|"remove-placement"|"spawn-actor"|"spawn-placement"|"update-actor"|"update-placement"
Defined in: src/simulation/script.ts:750
Step action discriminator.
actorTargets?
Section titled “actorTargets?”
optionalactorTargets?:GameboardScenarioSimulationActorTargetsRecord
Defined in: src/simulation/script.ts:754
Actor-target report for target-inspection steps.
dispatch?
Section titled “dispatch?”
optionaldispatch?:DispatchGameboardInteractionCommandResult
Defined in: src/simulation/script.ts:752
Command dispatch result for command steps.
eventRecords
Section titled “eventRecords”eventRecords: readonly
GameboardSystemEventRecord[]
Defined in: src/simulation/script.ts:760
Serializable event records emitted by the step.
events
Section titled “events”events: readonly
GameboardSystemEvent[]
Defined in: src/simulation/script.ts:758
In-memory events emitted by the step.
optionalid?:string
Defined in: src/simulation/script.ts:746
Authored step id.
index:
number
Defined in: src/simulation/script.ts:744
Step index.
label?
Section titled “label?”
optionallabel?:string
Defined in: src/simulation/script.ts:748
Authored step label.
mutations
Section titled “mutations”mutations: readonly
GameboardScenarioSimulationMutationRecord[]
Defined in: src/simulation/script.ts:762
Mutations directly performed by this step.
systems?
Section titled “systems?”
optionalsystems?:RunGameboardSystemsResult
Defined in: src/simulation/script.ts:756
System tick result for run-systems or post-command systems.