WowAddons

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

uiMapIDnumber

Returns

fogOfWarIDnumber may be nil

C_FogOfWar.GetFogOfWarInfo

fogOfWarInfo = C_FogOfWar.GetFogOfWarInfo(fogOfWarID)

Arguments

fogOfWarIDnumber

Returns

fogOfWarInfoFogOfWarInfo may be nil

Events

FOG_OF_WAR_UPDATED

No payload.

Tables

FogOfWarInfo structure

fogOfWarIDnumber
backgroundAtlastextureAtlas
maskAtlastextureAtlas
maskScalarnumber

Dafür brauchst du WowAddons

Kostenlos, für Windows, macOS und Linux: Es packt das Addon mit einem Klick in dein Spiel und hält es aktuell. Öffne es einmal und drück dann nochmal auf Installieren.

WowAddons läuft auf deinem Computer: Öffne wowaddons.gg dort.

Für Windows herunterladen