WoW:API GetComparisonStatistic: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(No longer crashes client)
m (Move page script moved page API GetComparisonStatistic to API GetComparisonStatistic without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 04:45, 15 August 2023

WoW API < GetComparisonStatistic

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

value = GetComparisonStatistic(achievementID)

Arguments[edit]

  • achievementID (number) - The ID of the Achievement

Returns[edit]

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