WoW:API GetBuildVersion

From AddOn Studio
Revision as of 20:59, 23 May 2006 by WoWWiki>Mikk (use removedapi template)
Jump to navigation Jump to search
GetBuildVersion -Documentation by Zlixar-

Returns the current game version as a string.

version = GetBuildVersion();

Arguements
None

Returns
version
The current version string

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

Details
This only returns the version number, not the build number or any other information.
REMOVED IN 1300

Template:WoW API