Getting the current interface number

From Wowpedia
Jump to: navigation, search

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: 90005

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 90005 (Retail) or 11306 (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

  • Launch wow with the -console flag, press the `/~ key at the login screen, and type ExportInterfaceFiles code to extract FrameXML files into World of Warcraft\BlizzardInterfaceCode
  • Search for FrameXML.toc online, such as at wowcompares.

See also


  1. ^ 2019-06-25, FrameXML.toc, version, archived at Townlong-Yak
  2. ^ 2019-04-17, Differences from 8.1.5 to 8.2.0, archived at GitHub (Gethe)