WoW:API GetHonorCurrency: Difference between revisions

From AddOn Studio
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}} __NOTOC__
{{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 : Integer - Amount of honor points that the player has available and can spend
* points (number) - Amount of honor points that the player has available and can spend


----
== Details ==
=== 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.


==Cataclysm==
== Notes ==
{{cata-section}}
* 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

WoW API < GetHonorCurrency

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