When loading the interface, the WoW client skips over any AddOn whose interface version does not match its own. This is an effort to keep the client's behavior free of errors due to changes in the API. Each AddOn specifies (in its .toc file) the interface version with which it complies. So an AddOn's .toc file most likely contains a line similar to:
## Interface: 110000
The version string is (most of the time), the major patch number but with any periods and leading zeroes removed. For instance, 90002 is 9.0.2.
There are a number of ways to get the current interface version:
- It probably is 110000 (Retail), 40400 (Cataclysm Classic), 30403 (Wrath Classic) or 11501 (Classic)
- But these numbers are maintained locally, so they might be out of date.
- Use GetBuildInfo
- In particular,
/dump select(4, GetBuildInfo())
should output the correct version to your chat frame. - Steal it from another AddOn
- Recently updated AddOns, which are not listed as "out of date" by the client contain the correct Interface version in their toc tag.
Patch changes[]
- Patch 8.2.0 (2019-06-25): Removed from Blizzard's toc files,[1][2] obsoleting the following suggestions:
- Launch wow with the
-console
flag, press the `/~ key at the login screen, and typeExportInterfaceFiles code
to extract FrameXML files intoWorld of Warcraft\BlizzardInterfaceCode
- Search for FrameXML.toc online, such as at wowcompares.
- Launch wow with the
See also[]
References[]
- ^ 2019-06-25, FrameXML.toc, version 8.2.0.30920, archived at Townlong-Yak
- ^ 2019-04-17, Differences from 8.1.5 to 8.2.0, archived at GitHub (Gethe)