GetBuildInfo

From Warcraft Wiki
Jump to navigation Jump to search

Returns info for the current client build.

version, build, date, tocversion, localizedVersion, buildType = GetBuildInfo()

Returns

version
string - Current patch version
build
string - Build number
date
string - Build date
tocversion
number - Interface (.toc) version number
localizedVersion
string - Localized translation for the string "Version"
buildType
string - Localized build type and machine architecture

Details

  • In the initial testing build of Patch 10.1.0 (48480) the localizedVersion and buildType return values do not function as intended and will return an empty string and a string with just a space character respectively.

Example

/dump GetBuildInfo() -- "9.0.2", "36665", "Nov 17 2020", 90002

Latest Builds

Flavor Patch TOC version
The War Within The War Within 11.0.0 110000
DragonflightTest-inline.png Mainline PTR 10.2.7 100207
Dragonflight Mainline 10.2.6 100206
Cataclysm Cataclysm Classic 4.4.0 40400
Wrath-Logo-Small.png Wrath Classic 3.4.3 30403
WoW Icon update.png Classic Era 1.15.2 11502

Patch changes

Dragonflight Patch 10.1.0 (2023-05-02): Added localizedVersion and buildType return values.
WoW Icon update.png Patch 1.10.0 (2006-03-28): Added. Prior to this patch this function was only ever exposed to the glue environment.

See also


References