WoW:API GetComparisonStatistic: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(New page: {{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...)
 
m (Move page script moved page API GetComparisonStatistic to API GetComparisonStatistic without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{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.
 
== Details ==
<!-- Details not appropriate for the main description can go here.
    REMOVE the section if you're just going to restate the intro line! -->
 
: As of Build 8770, calling this function will crash your client.

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.