WoW:API GetHonorCurrency: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Changed formatting and information, added Details.)
m (Move page script moved page API GetHonorCurrency to API GetHonorCurrency without leaving a redirect)
 
(3 intermediate revisions by 3 users 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 = GetArenaCurrency()
 
  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.
== Notes ==
* This function has been removed in patch 4.0, in the Cataclysm beta. See {{api|GetCurrencyInfo}}

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