WoW:API GetArenaCurrency: Difference between revisions

No edit summary
 
m (Move page script moved page API GetArenaCurrency to API GetArenaCurrency without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi|removed=4.0.1|replace=Replaced with {{api|GetCurrencyInfo}}}}


Gets the amount of spendable arena points the player has.


<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
local points = GetArenaCurrency()
Gets amount of total spendable arena points
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
{{Code/Begin}}
arenapoints = GetArenaCurrency()
{{Code/End}}
 


== Parameters ==
== Parameters ==
=== Returns ===
* points (number) - Amount of arena points that the player has available and can spend


<big>'''Arguments'''</big>
== Notes ==
<!-- List each argument, together with its type -->
* Removed in 4.0.1 - Replaced by the more generic GetCurrencyInfo
:;None known
 
 
<big>'''Returns'''</big>
<!-- List each return value, together with its type -->
<!-- remove this line if it's just one value -->
 
:;arenapoints: Number
 
 
== Example ==
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory -->
local arenapoints = GetArenaCurrency()
 
<big>'''Result'''</big>
<!-- If it helps, include example results here, though they are not required. You're allowed to cheat liberally since WoW isn't a command line language. -->
arenapoints = 36256
 
 
==Details==
<!-- Details not appropriate for the main description can go here.
    REMOVE the section if you're just going to restate the intro line! -->

Latest revision as of 04:45, 15 August 2023

WoW API < GetArenaCurrency

Gets the amount of spendable arena points the player has.

local points = GetArenaCurrency()

Parameters

Returns

  • points (number) - Amount of arena points that the player has available and can spend

Notes

  • Removed in 4.0.1 - Replaced by the more generic GetCurrencyInfo