WoW:Getting the current interface number: Difference between revisions

no edit summary
(The interface version number has recently changed to 70000)
No edit summary
Line 2: Line 2:
When loading the interface, the WoW client skips over any [[AddOn]]s 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 format|.toc file]]) the interface version with which it complies. So an AddOn's .toc file most likely contains a line similar to:
When loading the interface, the WoW client skips over any [[AddOn]]s 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 format|.toc file]]) the interface version with which it complies. So an AddOn's .toc file most likely contains a line similar to:
  ## Interface: 70000
  ## Interface: 70000
Here, 60100 would mean that the AddOn is designed against the [[Patch 6.1.0]] client (and any subsequent minor releases).
Here, 70000 would mean that the AddOn is designed against the Patch 7.0.0 client (which doesn't technically exist, [[Patch 7.0.3]] is the pre-patch release). If the interface was only compatible with a specific release like Patch 7.0.3 it most likely contains a line similar to:
## Interface: 70300


== Reference ==
== Reference ==
Anonymous user