WoW:Getting the current interface number: Difference between revisions

m
no edit summary
(Fix link and add deprecated mention, not sure if a tag exists.)
mNo edit summary
Line 15: Line 15:
* Its usually derrived exactly from 'major.minor' version
* Its usually derrived exactly from 'major.minor' version
:: 2.4.0 (i.e. 2 being the major version number and .4 being the minor version number) is 20400, 5.4.0 is 50400 and, 5.4.1 (.1 being the sub-minor version) would likely be 50401 (however, [[Blizz]]ard doesn't appear to distinguish on the sub-minor version level, so you would still use 50400).
:: 2.4.0 (i.e. 2 being the major version number and .4 being the minor version number) is 20400, 5.4.0 is 50400 and, 5.4.1 (.1 being the sub-minor version) would likely be 50401 (however, [[Blizz]]ard doesn't appear to distinguish on the sub-minor version level, so you would still use 50400).
* Extract FrameXML and check FrameXML.toc
:: See [[Extracting interface files]]
:: or [DEPRECATED, not updated since oct. 2010] You can download Blizzard's [https://us.battle.net/support/en/article/33747 User Interface Customization tool], use it to extract interface data, and peek at <code>World of Warcraft\Blizzard Interface Data (usUS)\FrameXML\FrameXML.toc</code>


* Steal it from another AddOn
* Steal it from another AddOn
Line 22: Line 26:
:: In particular, <code>/run print((select(4, GetBuildInfo())));</code> should output the correct version to your chat frame.
:: In particular, <code>/run print((select(4, GetBuildInfo())));</code> should output the correct version to your chat frame.


* Extract FrameXML and check FrameXML.toc
* View FrameXML.toc online
:: For instance at [{{wdnlink|FrameXML/FrameXML.toc}} wowcompares].
 
== Notes ==
* In the past Extract FrameXML and check FrameXML.toc
:: [DEPRECATED, not updated since oct. 2010]
:: [DEPRECATED, not updated since oct. 2010]
:: You can download Blizzard's [https://us.battle.net/support/en/article/33747 User Interface Customization tool], use it to extract interface data, and peek at <code>World of Warcraft\Blizzard Interface Data (usUS)\FrameXML\FrameXML.toc</code>
:: You can download Blizzard's [https://us.battle.net/support/en/article/33747 User Interface Customization tool], use it to extract interface data, and peek at <code>World of Warcraft\Blizzard Interface Data (usUS)\FrameXML\FrameXML.toc</code>
* View FrameXML.toc online
:: For instance at [{{wdnlink|FrameXML/FrameXML.toc}} wowcompares].