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.")
 
m (Move page script moved page API GetAverageItemLevel to API GetAverageItemLevel without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
Return the internal Blizzard calculated overall and equipped Item Levels for the current player.
{{wowapi}}
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
overall, equipped = GetAverageItemLevel()
== Arguments ==
None


== Returns ==
== Returns ==
Returns the average item level of the character.
; overall : Number - Total calculated Item Level of gear(bags and equipped).
; equipped : Number - Calculated Item Level of equipped gear.
 
== Example ==
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
print("Average iLevel is: " .. GetAverageItemLevel())

Latest revision as of 04:45, 15 August 2023

WoW API < GetAverageItemLevel

Return the internal Blizzard calculated overall and equipped Item Levels for the current player.

WoW API < GetAverageItemLevel

overall, equipped = GetAverageItemLevel()

Arguments[edit]

None

Returns[edit]

overall
Number - Total calculated Item Level of gear(bags and equipped).
equipped
Number - Calculated Item Level of equipped gear.

Example[edit]

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