Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(→‎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

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

uiMapID
number : UiMapID
areaPoiID
number : AreaPOI

Returns

POIIcons

POIIcons

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

External links