Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

PlayerLocation

Defined in: server/api.d.ts:7

Coordinate-space context combined with the player’s latest replicated transform.

readonly areaId: string

Defined in: server/api.d.ts:11

Game world/map that defines the coordinate space, for example Overland.


readonly destinationId: string | null

Defined in: server/api.d.ts:21

Last confirmed named fast-travel arrival; null until actual-arrival reporting is available.


readonly regionId: string

Defined in: server/api.d.ts:16

Game map region the player is in (HOG_Class_Potions, HM_Honeydukes, RegionNameNorthCoast, or a coarser area such as Hogwarts). Empty until the game reports one.


readonly revision: number

Defined in: server/api.d.ts:46

Monotonic coordinate-space context revision for this player connection.


readonly x: number

Defined in: server/api.d.ts:26

World X of the latest replicated transform.


readonly y: number

Defined in: server/api.d.ts:31

World Y of the latest replicated transform.


readonly yaw: number

Defined in: server/api.d.ts:41

Heading in degrees, normalized to -180..180.


readonly z: number

Defined in: server/api.d.ts:36

World Z of the latest replicated transform.