API GetBuildInfo

From Wowpedia
Jump to: navigation, search

Returns information about current client build.

version, build, date, tocversion = GetBuildInfo()

Parameters

version 
String - current version (e.g. "8.0.1")
build 
String - build number (e.g. "27377")
date 
String - build date (e.g. "Aug 16 2018")
tocversion 
Number - Interface (.toc) version number (e.g. 80205)

Example

Try this macro:

/run print(string.format("version = %q, build = %d, date = %q, tocversion = %s.", GetBuildInfo()))

or this command

/dump GetBuildInfo()

See also