WoW:API GetBuildVersion: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(use removedapi template)
m ({{wowapi}})
Line 1: Line 1:
{{removedapi|1.3.0|It was replaced by [[API GetBuildInfo|GetBuildInfo]].}}
{{wowapi}}
 
{{removedapi|1.3.0|Replaced by [[API GetBuildInfo|GetBuildInfo]].}}
<center>'''GetBuildVersion''' -''Documentation by [[user:zlixar|Zlixar]]''-</center>


Returns the current game version as a string.
Returns the current game version as a string.
Line 22: Line 21:


;''Returns''
;''Returns''
 
: Current game version is 1.2.1!
Current game version is 1.2.1!


----
----
;''Details''
;''Details''
:This only returns the version number, not the build number or any other information.
:This only returns the version number, not the build number or any other information.
;REMOVED IN 1300
----
{{WoW API}}

Revision as of 14:44, 18 June 2006

WoW API < GetBuildVersion

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.