WoW:API GetTotalAchievementPoints: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Preloading)
 
(Add new parameter "guildOnly", needed when you want total guild achievment points earned. (Add in 4.0.3))
Line 4: Line 4:
Returns the total number of Achievement Points earned.
Returns the total number of Achievement Points earned.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
  points = GetTotalAchievementPoints()
  points = GetTotalAchievementPoints([guildOnly])
 
== Arguments ==
<!-- List each argument, together with its type -->
:;guildOnly: Boolean - True if you want guild achievement only (Default: False)




== Returns ==
== Returns ==
:;points : Integer - Total points earned
:;points : Integer - Total achievement points earned or Total guild achievement points earned

Revision as of 10:40, 16 December 2010

WoW API < GetTotalAchievementPoints

Returns the total number of Achievement Points earned.

points = GetTotalAchievementPoints([guildOnly])

Arguments

guildOnly
Boolean - True if you want guild achievement only (Default: False)


Returns

points
Integer - Total achievement points earned or Total guild achievement points earned