WoW API: GetBuildVersion
Jump to navigation
Jump to search
This is no longer a part of the World of Warcraft API.
|
Returns the current game version as a string.
local version = GetBuildVersion()
Parameters[edit]
Arguments[edit]
- none
Returns[edit]
- version (string) - The current version string
Example[edit]
local version = GetBuildVersion(); DEFAULT_CHAT_FRAME:AddMessage("Current game version is " .. version .. "!", .5, 0, 0);
- Result
- Current game version is 1.2.1!
Details[edit]
This only returns the version number, not the build number or any other information.
Notes[edit]
- Removed in patch 1.3.0. Subsumed by the more generic GetBuildInfo