WowAddons

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

uiMapIDnumber

Returns

areaPoiIDsnumber[]

C_AreaPoiInfo.GetAreaPOIInfo

poiInfo = C_AreaPoiInfo.GetAreaPOIInfo([uiMapID], areaPoiID)

May return nothing.

Arguments

uiMapIDnumber may be nil
areaPoiIDnumber

Returns

poiInfoAreaPOIInfo

C_AreaPoiInfo.GetAreaPOISecondsLeft

secondsLeft = C_AreaPoiInfo.GetAreaPOISecondsLeft(areaPoiID)

Returns the number of seconds until the POI expires.

May return nothing.

Arguments

areaPoiIDnumber

Returns

secondsLeftnumber

C_AreaPoiInfo.GetDelvesForMap

areaPoiIDs = C_AreaPoiInfo.GetDelvesForMap(uiMapID)

Returns all area POIInfos flagged as delves for the given map.

Arguments

uiMapIDnumber

Returns

areaPoiIDsnumber[]

C_AreaPoiInfo.GetDragonridingRacesForMap

areaPoiIDs = C_AreaPoiInfo.GetDragonridingRacesForMap(uiMapID)

Returns all area POIInfos flagged as dragonriding races for the given map.

Arguments

uiMapIDnumber

Returns

areaPoiIDsnumber[]

C_AreaPoiInfo.GetEventsForMap

areaPoiIDs = C_AreaPoiInfo.GetEventsForMap(uiMapID)

Returns all area POIInfos flagged as events for the given map.

Arguments

uiMapIDnumber

Returns

areaPoiIDsnumber[]

C_AreaPoiInfo.GetQuestHubsForMap

areaPoiIDs = C_AreaPoiInfo.GetQuestHubsForMap(uiMapID)

Returns all area POIInfos flagged as quest hubs for the given map.

Arguments

uiMapIDnumber

Returns

areaPoiIDsnumber[]

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

areaPoiIDnumber

Returns

isTimedbool
hideTimerInTooltipbool may be nil

Events

AREA_POIS_UPDATED

No payload.

Tables

AreaPOIInfo structure

areaPoiIDnumber
positionvector2
namecstring
descriptioncstring may be nil
linkedUiMapIDnumber may be nil
textureIndexnumber may be nil
tooltipWidgetSetnumber may be nil
iconWidgetSetnumber may be nil
atlasNamestring may be nil
uiTextureKittextureKit may be nil
shouldGlowbool
factionIDnumber may be nil
isPrimaryMapForPOIbool
isAlwaysOnFlightmapbool
addPaddingAboveTooltipWidgetsbool may be nil
highlightWorldQuestsOnHoverbool
highlightVignettesOnHoverbool
isCurrentEventbool
isSuppressiblebool
isLockedbool default false

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows