WoW:Getting the current interface number: Difference between revisions

Updated current interface number
(Updated current interface number)
Line 1: Line 1:
{{UIHowTo}}
{{UIHowTo}}
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 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 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 format|.toc file]]) the interface version with which it complies. So an addon's .toc file most likely contains a line similar to:
  ## Interface: 20400
  ## Interface: 60100
Here, 20400 would mean that the addon is designed against the [[Patch 2.4]] client (and any subsequent minor releases).
Here, 20400 would mean that the addon is designed against the [[Patch 2.4]] client (and any subsequent minor releases).


Anonymous user