WorldMapIcon

Group
player
Methods
2
Fields
None

Methods

MethodReturnsDescription
getType()numberThe map element the icon draws (client:getMapElementConfig(id)).
getCoordinate()WorldPointThe icon's tile on the map's surface (the region's origin times 64 plus its tile).

Returned by

MethodReturnsDescription
WorldMapRegion.getMapIcons{WorldMapIcon}The region's map icons (its map elements the client shows), read now in the client's order; empty once the renderer no longer holds this re…

Method details

getType

getType: (WorldMapIcon) -> number

The map element the icon draws (client:getMapElementConfig(id)).