Lore archive · Warcraft Wiki, 2023 dump
API GetCurrencyInfo
Last wiki revision 2023-05-18
Retrieve Information about a currency at index including it's amount. name, currentAmount, texture, earnedThisWeek, weeklyMax, totalMax, isDiscovered, rarity = GetCurrencyInfo(id or "currencyLink" or "currencyString")
One of the following three ways to specify which currency to query:
- id : Integer - CurrencyID
- currencyLink : String - The full currencyLink as found with or.
- currencyString : String - A fragment of the currencyLink string for the item, e.g. "currency:396" for Valor Points.
- name : String - the name of the currency, localized to the language
- amount : Number - Current amount of the currency at index
- texture : String - The file name of the currency's icon.
- earnedThisWeek : Number - The amount of the currency earned this week
- weeklyMax : Number - Maximum amount of currency possible to be earned this week
- totalMax : Number - Total maximum currency possible to stockpile
- isDiscovered : Boolean - Whether the character has ever got some of this currency
- rarity : Integer - Rarity indicator for this currency
- Some time after Patch 4.0.1, additional returns were added beyond the first three.
Source
https://warcraft.wiki.gg/wiki/API_GetCurrencyInfo · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.