- summary: A map's position on the world map: an x and a y.
- area: Game.Common
A map's position on the world map: an x and a y.
Kind struct · Area Game.Common
The world-map position of a map, as the two numbers players see in square
brackets ([x,y]). Several messages carry it: the fight map's position in
FightMapInformationEvent.coordinates, the map's own position in
MapComplementaryInformationEvent.coordinates, and compass, house and
teleport destinations.
Read MapCoordinates.world_x first and MapCoordinates.world_y second, as the client
does when it prints a map link. Do not assume their wire order: it changes from
build to build.
Not sent on its own — it travels inside FightMapInformationEvent.coordinates, MapComplementaryInformationEvent.coordinates and other map-located records. proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | world_y | int32 | Vertical world-map coordinate. (world map row) The second number of [x,y]; the client fills its map position's y and passes it as posY to map links. | never |
| 3 | world_x | int32 | Horizontal world-map coordinate. (world map column) The first number of [x,y]; the client fills its map position's x and passes it as posX to map links. | never |