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.)
m (Move page script moved page API GetHonorCurrency to API GetHonorCurrency without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 04:45, 15 August 2023

WoW API < GetHonorCurrency

Gets the amount of spendable honor points the player has

local points = GetHonorCurrency()

Parameters[edit]

Returns[edit]

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

Details[edit]

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[edit]

  • This function has been removed in patch 4.0, in the Cataclysm beta. See GetCurrencyInfo