WoW:API GetComparisonStatistic: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (stub for followup on crash)
m (Move page script moved page API GetComparisonStatistic to API GetComparisonStatistic without leaving a redirect)
 
(2 intermediate revisions by 2 users 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.
 
== 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.