WoW:API GetBuildInfo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
Returns information about current client build. | Returns information about current client build. | ||
version, build, date = GetBuildInfo() | version, build, date, tocversion = GetBuildInfo() | ||
== Parameters == | == Parameters == | ||
;''Returns'' | ;''Returns'' | ||
:version, build, date | :version, build, date, tocversion | ||
:;version : String - version | :;version : String - version | ||
:;build : String - build number | :;build : String - build number | ||
:;date : String - build date | :;date : String - build date | ||
:;tocversion : String - TOC Version number (New in 2.4.2) | |||
== Example == | == Example == | ||
local version, build, date = GetBuildInfo() | local version, build, date, tocversion = GetBuildInfo() | ||
==== Result ==== | ==== Result ==== | ||
version = " | version = "2.4.2" | ||
build = " | build = "8278" | ||
date = " | date = "May 1 2008" | ||
tocversion = "24000" | |||
---- | ---- |
Revision as of 11:53, 16 May 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
- String - 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 = "24000"