World of Warcraft Forever API · C_MapExplorationInfo.md, for your AI
C_MapExplorationInfo
2 functions, 1 events, 2 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_MapExplorationInfo.GetExploredAreaIDsAtPosition
areaID = C_MapExplorationInfo.GetExploredAreaIDsAtPosition(uiMapID, normalizedPosition)
Arguments
uiMapID | number | |
|---|---|---|
normalizedPosition | vector2 |
Returns
areaID | number[] may be nil |
|---|
C_MapExplorationInfo.GetExploredMapTextures
overlayInfo = C_MapExplorationInfo.GetExploredMapTextures(uiMapID)
May return nothing.
Arguments
uiMapID | number |
|---|
Returns
overlayInfo | UiMapExplorationInfo[] |
|---|
Events
MAP_EXPLORATION_UPDATED
No payload.
Tables
UiMapExplorationHitRect structure
top | number | |
|---|---|---|
bottom | number | |
left | number | |
right | number |
UiMapExplorationInfo structure
textureWidth | number | |
|---|---|---|
textureHeight | number | |
offsetX | number | |
offsetY | number | |
isShownByMouseOver | bool | |
isDrawOnTopLayer | bool | |
fileDataIDs | number[] | |
hitRect | UiMapExplorationHitRect |