World of Warcraft Forever API · C_AreaPoiInfo.md, for your AI
C_AreaPoiInfo
8 functions, 1 events, 1 tables, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_AreaPoiInfo.GetAreaPOIForMap
areaPoiIDs = C_AreaPoiInfo.GetAreaPOIForMap(uiMapID)
Arguments
uiMapID | number |
|---|
Returns
areaPoiIDs | number[] |
|---|
C_AreaPoiInfo.GetAreaPOIInfo
poiInfo = C_AreaPoiInfo.GetAreaPOIInfo([uiMapID], areaPoiID)
May return nothing.
Arguments
uiMapID | number may be nil | |
|---|---|---|
areaPoiID | number |
Returns
poiInfo | AreaPOIInfo |
|---|
C_AreaPoiInfo.GetAreaPOISecondsLeft
secondsLeft = C_AreaPoiInfo.GetAreaPOISecondsLeft(areaPoiID)
Returns the number of seconds until the POI expires.
May return nothing.
Arguments
areaPoiID | number |
|---|
Returns
secondsLeft | number |
|---|
C_AreaPoiInfo.GetDelvesForMap
areaPoiIDs = C_AreaPoiInfo.GetDelvesForMap(uiMapID)
Returns all area POIInfos flagged as delves for the given map.
Arguments
uiMapID | number |
|---|
Returns
areaPoiIDs | number[] |
|---|
C_AreaPoiInfo.GetDragonridingRacesForMap
areaPoiIDs = C_AreaPoiInfo.GetDragonridingRacesForMap(uiMapID)
Returns all area POIInfos flagged as dragonriding races for the given map.
Arguments
uiMapID | number |
|---|
Returns
areaPoiIDs | number[] |
|---|
C_AreaPoiInfo.GetEventsForMap
areaPoiIDs = C_AreaPoiInfo.GetEventsForMap(uiMapID)
Returns all area POIInfos flagged as events for the given map.
Arguments
uiMapID | number |
|---|
Returns
areaPoiIDs | number[] |
|---|
C_AreaPoiInfo.GetQuestHubsForMap
areaPoiIDs = C_AreaPoiInfo.GetQuestHubsForMap(uiMapID)
Returns all area POIInfos flagged as quest hubs for the given map.
Arguments
uiMapID | number |
|---|
Returns
areaPoiIDs | number[] |
|---|
C_AreaPoiInfo.IsAreaPOITimed
isTimed, hideTimerInTooltip = C_AreaPoiInfo.IsAreaPOITimed(areaPoiID)
This statically determines if the POI is timed, GetAreaPOITimeLeft retrieves the value from the server and may return nothing for long intervals
Arguments
areaPoiID | number |
|---|
Returns
isTimed | bool | |
|---|---|---|
hideTimerInTooltip | bool may be nil |
Events
AREA_POIS_UPDATED
No payload.
Tables
AreaPOIInfo structure
areaPoiID | number | |
|---|---|---|
position | vector2 | |
name | cstring | |
description | cstring may be nil | |
linkedUiMapID | number may be nil | |
textureIndex | number may be nil | |
tooltipWidgetSet | number may be nil | |
iconWidgetSet | number may be nil | |
atlasName | string may be nil | |
uiTextureKit | textureKit may be nil | |
shouldGlow | bool | |
factionID | number may be nil | |
isPrimaryMapForPOI | bool | |
isAlwaysOnFlightmap | bool | |
addPaddingAboveTooltipWidgets | bool may be nil | |
highlightWorldQuestsOnHover | bool | |
highlightVignettesOnHover | bool | |
isCurrentEvent | bool | |
isSuppressible | bool | |
isLocked | bool default false |