World of Warcraft Forever API · C_FogOfWar.md, for your AI
C_FogOfWar
2 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_FogOfWar.GetFogOfWarForMap
fogOfWarID = C_FogOfWar.GetFogOfWarForMap(uiMapID)
Arguments
uiMapID | number |
|---|
Returns
fogOfWarID | number may be nil |
|---|
C_FogOfWar.GetFogOfWarInfo
fogOfWarInfo = C_FogOfWar.GetFogOfWarInfo(fogOfWarID)
Arguments
fogOfWarID | number |
|---|
Returns
fogOfWarInfo | FogOfWarInfo may be nil |
|---|
Events
FOG_OF_WAR_UPDATED
No payload.
Tables
FogOfWarInfo structure
fogOfWarID | number | |
|---|---|---|
backgroundAtlas | textureAtlas | |
maskAtlas | textureAtlas | |
maskScalar | number |