WoW:API GetStatistic: Difference between revisions

m
Move page script moved page API GetStatistic to WoW:API GetStatistic without leaving a redirect
No edit summary
m (Move page script moved page API GetStatistic to WoW:API GetStatistic 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.
Return the value of the requested Statistic.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
  value = GetStatistic(achievementID)
  value = GetStatistic(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.
:;value : String - The value of the requested Statistic.


== Details ==
== Details ==
<!-- Details not appropriate for the main description can go here.
Using the achievementID's of actual Achievements, as opposed to statistics, generates strange results.  More testing is needed.
    REMOVE the section if you're just going to restate the intro line! -->
 
: Using the achievementID's of actual Achievements, as opposed to statistics, generates strange results.  More testing is needed.


== Example ==
== Example ==
Anonymous user