WoW:API GetAverageItemLevel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with "{{wowapi}} __NOTOC__ == Returns == Returns the average item level of the character.")
 
(Update to Example and Arguements)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__


== Returns ==
{{wowapi}}
Returns the average item level of the character.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
GetAverageItemLevel()
 
Return the internal Blizzard calculated iLevel for the current player.
----
;''Arguments''
 
None
 
----
;''Returns''
 
:''Number''
 
----
;''Example''
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
print("Average iLevel is: " .. GetAverageItemLevel())

Revision as of 05:23, 6 January 2011

WoW API < GetAverageItemLevel

WoW API < GetAverageItemLevel

GetAverageItemLevel()

Return the internal Blizzard calculated iLevel for the current player.


Arguments

None


Returns
Number

Example
print("Average iLevel is: " .. GetAverageItemLevel())