GameboardMovementEventRecord
Defined in: src/systems/systems.ts:405
Serializable movement event record.
Properties
Section titled “Properties”actorId?
Section titled “actorId?”
optionalactorId?:string
Defined in: src/systems/systems.ts:409
Actor id when the moved placement is actor-backed.
assetId
Section titled “assetId”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
Section titled “placementId”placementId:
string
Defined in: src/systems/systems.ts:407
Placement id being moved.
profileId
Section titled “profileId”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
Section titled “destinationKey”destinationKey:
string=''
Destination tile key for the current request.
nextIndex
Section titled “nextIndex”nextIndex:
number=0
Next path index to advance to.
pathKeys
Section titled “pathKeys”pathKeys:
string[]
Planned path tile keys.
reason
Section titled “reason”reason:
string|undefined
Blocked or out-of-range reason.
spentCost
Section titled “spentCost”spentCost:
number=0
Cost spent so far.
status
Section titled “status”status:
GameboardMovementStatus
Current movement status.
visited
Section titled “visited”visited:
number=0
Number of pathfinder nodes visited for the request.
tileKey
Section titled “tileKey”tileKey:
string
Defined in: src/systems/systems.ts:411
Current tile key for the moved placement.