WoW API: GetBuildVersion

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetBuildVersion to API GetBuildVersion without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetBuildVersion

Returns the current game version as a string.

local version = GetBuildVersion()

ParametersEdit

ArgumentsEdit

none

ReturnsEdit

  • version (string) - The current version string

ExampleEdit

local version = GetBuildVersion();
DEFAULT_CHAT_FRAME:AddMessage("Current game version is " .. version .. "!", .5, 0, 0);
Result
Current game version is 1.2.1!

DetailsEdit

This only returns the version number, not the build number or any other information.

NotesEdit

  • Removed in patch 1.3.0. Subsumed by the more generic GetBuildInfo