WoW:API GetComparisonStatistic: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(No longer crashes client)
mNo edit summary
Line 1: Line 1:
{{stub/API}}
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__


<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
Return the value of the requested Statistic from the comparison unit.
Return the value of the requested Statistic from the comparison unit.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
  value = GetComparisonStatistic(achievementID)
  value = GetComparisonStatistic(achievementID)


== Arguments ==
== Arguments ==
<!-- List each argument, together with its type -->
* achievementID (number) - The ID of the Achievement
:(achievementID)
 
:;achievementID : Integer - The ID of the Achievement
 


== Returns ==
== Returns ==
 
* value (string) - The value of the requested Statistic from the comparison unit.
:;value : String - The value of the requested Statistic from the comparison unit.

Revision as of 02:31, 17 May 2020

WoW API < GetComparisonStatistic

Return the value of the requested Statistic from the comparison unit.

value = GetComparisonStatistic(achievementID)

Arguments

  • achievementID (number) - The ID of the Achievement

Returns

  • value (string) - The value of the requested Statistic from the comparison unit.