(→Returns: icons) Tag: WoW API docs |
Tag: WoW API docs |
||
Line 30: | Line 30: | ||
| uiTextureKit || <span title="nilable"><font color="#ecbc2a">string</font>?</span> || |
| uiTextureKit || <span title="nilable"><font color="#ecbc2a">string</font>?</span> || |
||
|- |
|- |
||
− | | shouldGlow || <font color="#ecbc2a">boolean</font> || |
+ | | shouldGlow || <font color="#ecbc2a">boolean</font> || added in 9.0.5 |
|} |
|} |
||
Revision as of 10:20, 6 May 2021
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns info about an area point of interest that normally appears on the world map while one is inside the zone, such as World PvP objectives.
poiInfo = C_AreaPoiInfo.GetAreaPOIInfo(uiMapID, areaPoiID)
Arguments
Returns
- poiInfo
- AreaPOIInfo
Key | Type | Description |
---|---|---|
areaPoiID | number | |
position | Vector2DMixin | |
name | string | e.g. "Domination Point Tower" |
description | string? | e.g. "Horde Controlled" or "Grand Master Pet Tamer" |
textureIndex | number? | |
widgetSetID | number? | |
atlasName | string? | AtlasID |
uiTextureKit | string? | |
shouldGlow | boolean | added in 9.0.5 |
Details
- The
textureIndex
specifies an icon from Interface/Minimap/POIIcons. You can use GetPOITextureCoords() to resolve these indices to texture coordinates. [1]
Patch changes
- Patch 8.0.1 (2018-07-17): Added. Replaces C_WorldMap.GetMapLandmarkInfo().
External links
- GitHub FrameXML, Gethe
- Globe "wut?" Tool, Townlong-Yak
- Blizzard API Docs, Townlong-Yak
- Offline /api addon, MrBuds