WoW:API GetBuildInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(4th return is a number, not a string. Also, it's 20400, not 24000) |
||
Line 11: | Line 11: | ||
:;build : String - build number | :;build : String - build number | ||
:;date : String - build date | :;date : String - build date | ||
:;tocversion : | :;tocversion : Number - TOC Version number (New in 2.4.2) | ||
== Example == | == Example == | ||
Line 20: | Line 20: | ||
build = "8278" | build = "8278" | ||
date = "May 1 2008" | date = "May 1 2008" | ||
tocversion = | tocversion = 20400 | ||
---- | ---- |
Revision as of 05:03, 10 August 2008
← WoW API < GetBuildInfo
Returns information about current client build.
version, build, date, tocversion = GetBuildInfo()
Parameters
- Returns
- version, build, date, tocversion
- version
- String - version
- build
- String - build number
- date
- String - build date
- tocversion
- Number - TOC Version number (New in 2.4.2)
Example
local version, build, date, tocversion = GetBuildInfo()
Result
version = "2.4.2" build = "8278" date = "May 1 2008" tocversion = 20400