WoW:API GetHonorCurrency: Difference between revisions
Jump to navigation
Jump to search
(Added a Cataclysm section, saying that the function has been removed.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi|removed=4.0|replace=Replaced by {{api|GetCurrencyInfo}}}} | ||
Gets the amount of spendable honor points the player has | Gets the amount of spendable honor points the player has | ||
points = GetHonorCurrency() | |||
local points = GetHonorCurrency() | |||
== Parameters == | == Parameters == | ||
=== Returns === | === Returns === | ||
* points (number) - Amount of honor points that the player has available and can spend | |||
== Details == | |||
Amount of honor points the player currently has to spend, HONOR_CURRENCY_UPDATE is fired when they are spent or when honor is calculated for the day. | Amount of honor points the player currently has to spend, HONOR_CURRENCY_UPDATE is fired when they are spent or when honor is calculated for the day. | ||
== | == Notes == | ||
* This function has been removed in patch 4.0, in the Cataclysm beta. See {{api|GetCurrencyInfo}} | |||
This function has been removed in the Cataclysm beta. |
Revision as of 21:42, 12 February 2021
This is no longer a part of the World of Warcraft API.
|
Gets the amount of spendable honor points the player has
local points = GetHonorCurrency()
Parameters
Returns
- points (number) - Amount of honor points that the player has available and can spend
Details
Amount of honor points the player currently has to spend, HONOR_CURRENCY_UPDATE is fired when they are spent or when honor is calculated for the day.
Notes
- This function has been removed in patch 4.0, in the Cataclysm beta. See GetCurrencyInfo