WoW:Getting the current interface number

Revision as of 08:39, 1 December 2015 by 79.119.51.4 (talk) (Interface version nubemr for 5.4.1)

HOWTOs

When loading the interface, the WoW client skips over any addons 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: 60100

Here, 60100 would mean that the addon is designed against the Patch 6.1.0 client (and any subsequent minor releases).

Reference

There are a number of ways to get the current interface version:

  • See the latest 'patch notes' and look for the 'Interface' number in the Patch box.
This is the most authoritative source on the Wiki.
  • The current number probably is '80205', from our WoWWIki 'Interface Version' template {{API LatestInterface}}
But this number is maintained manualy, so it might be out of date.
  • Its usually derrived exactly from 'major.minor' version
2.4.0 is 20400, 5.4.0 is 50400 and, 5.4.1 would likely be 50401.
  • Steal it from another addon
Recently updated addons, which are not listed as "out of date" by the client contain the latest Interface version in their toc tag.
In particular, /run print((select(4, GetBuildInfo()))); should output the correct version to your chat frame.
  • Extract FrameXML and check FrameXML.toc
You can download Blizzard's User Interface Customization tool, use it to extract interface data, and peek at World of Warcraft\Blizzard Interface Data (usUS)\FrameXML\FrameXML.toc
  • View FrameXML.toc online
For instance at [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/FrameXML.toc wowcompares].