Skip to content

GameboardMovementEventRecord

Defined in: src/systems/systems.ts:405

Serializable movement event record.

optional actorId?: string

Defined in: src/systems/systems.ts:409

Actor id when the moved placement is actor-backed.


assetId: string

Defined in: src/systems/systems.ts:413

Placement asset id.


moved: boolean

Defined in: src/systems/systems.ts:417

Whether the placement moved during this event.


placementId: string

Defined in: src/systems/systems.ts:407

Placement id being moved.


profileId: GameboardMovementProfileId

Defined in: src/systems/systems.ts:415

Movement profile id used for the move.


state: object

Defined in: src/systems/systems.ts:419

Snapshot of the path state.

cost: number = 0

Total planned path cost.

destinationKey: string = ''

Destination tile key for the current request.

nextIndex: number = 0

Next path index to advance to.

pathKeys: string[]

Planned path tile keys.

reason: string | undefined

Blocked or out-of-range reason.

spentCost: number = 0

Cost spent so far.

status: GameboardMovementStatus

Current movement status.

visited: number = 0

Number of pathfinder nodes visited for the request.


tileKey: string

Defined in: src/systems/systems.ts:411

Current tile key for the moved placement.