GetBuildInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Patch
Added in 1.10.0 / 1.13.2

Returns info for the current client build.

buildVersion, buildNumber, buildDate, interfaceVersion, localizedVersion, buildInfo = GetBuildInfo()  -- Mainline
buildVersion, buildNumber, buildDate, interfaceVersion, localizedVersion, buildInfo, currentVersion = GetBuildInfo()  -- Classic

Returns

buildVersion
string - Current patch version
buildNumber
string - Build number
buildDate
string - Build date
interfaceVersion
number - Interface (.toc) version number
localizedVersion
string - Localized description of the build version
buildInfo
string - Localized build type and machine architecture
WoW Icon update.png currentVersion
string - Current patch version, but formatted similarly to interface version numbers (eg. "11505")

Details

  • The localizedVersion and buildInfo return values are currently just 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

Client Expansion Version Number Date Interface
Mainline Test TheWarWithin-Petopia-Logo.png The War Within 11.1.7 60672 2025-05-04 110107
Mainline TheWarWithin-Petopia-Logo.png The War Within 11.1.5 60568 2025-04-28 110105
Classic Beta Mists-Logo-Small.png Mists of Pandaria Classic 5.5.0 60700 2025-05-06 50500
Classic Test Cata-Logo-Small.png Cataclysm Classic 4.4.2 59185 2025-02-13 40402
Classic Cata-Logo-Small.png Cataclysm Classic 4.4.2 60192 2025-04-07 40402
Classic (China) Wrath-Logo-Small.png Wrath of the Lich King Classic 3.4.4 60430 2025-04-00 30404
TBC Bc icon.gif Burning Crusade Classic 2.5.4 44833 2021-07-25 20504
Vanilla Test WoW Icon update.png Classic Era 1.15.7 60141 2025-04-03 11507
Vanilla WoW Icon update.png Classic Era 1.15.7 60277 2025-04-11 11507

Patch changes

  • Dragonflight-Icon-Inline.png Patch 10.1.0 (2023-05-02): Added localizedVersion and buildInfo 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