Wikia

WoWWiki

API GetCurrencyInfo

Talk0
101,291pages on
this wiki
Revision as of 16:29, August 10, 2012 by Fandyllic (Talk | contribs)

WoW API < GetCurrencyInfo

Retrieve Information about a currency at index including it's amount.

localized_label, amount, icon_file_name = GetCurrencyInfo(index)

Arguments

index 
Integer - Index of the currency to retrieve

Returns

localized_label, amount, icon_file_name
localized_label 
String - the name of the currency, localized to the language
amount 
Number - Current amount of the currency at index
icon_file_name 
String - The file name of the currency's icon. Does not include the path (\\Interface\\Icons\\)

Details

  • index appears to correspond to IDs seen at Wowhead's currencies list.[1]
    • As of patch 4.0.1 (16-Oct-2010) new indexes: 241-Champion's Seal 390-Conquest Points 392-Honor Points 395-Justice Points
    • Patch 4.0.3 (09-Aug-2012) - Table Updated ID's 0-1000
index name
61 Dalaran Jewelcrafter's Token Wrath-Logo-Small (Dalaran [Jewelcrafting] dailies)
81 Dalaran Cooking Award Wrath-Logo-Small
(Dalaran [Cooking] dailies; becomes Epicurean's Award Mists-Logo-Small , NYR)
241 Champion's Seal Wrath-Logo-Small (Argent Tournament)
361 Illustrious Jewelcrafter's Token Cataclysm-Logo-Small ([Jewelcrafting] dailies)
384 Dwarf Archaeology Fragment Cataclysm-Logo-Small
385 Troll Archaeology Fragment Cataclysm-Logo-Small
390 Conquest Points Cataclysm-Logo-Small (PvP, Ranked Arena/Rated battleground)
391 Tol Barad Commendation Cataclysm-Logo-Small
392 Honor Points (PvP)
393 Fossil Archaeology Fragment Cataclysm-Logo-Small
394 Night Elf Archaeology Fragment Cataclysm-Logo-Small
395 Justice Points Cataclysm-Logo-Small
396 Valor Points Cataclysm-Logo-Small
397 Orc Archaeology Fragment Cataclysm-Logo-Small
398 Draenei Archaeology Fragment Cataclysm-Logo-Small
399 Vrykul Archaeology Fragment Cataclysm-Logo-Small
400 Nerubian Archaeology Fragment Cataclysm-Logo-Small
401 Tol'vir Archaeology Fragment Cataclysm-Logo-Small
402 Chef's Award Cataclysm-Logo-Small ([Cooking] dailies)
416 Mark of the World Tree Cataclysm-Logo-Small (Molten Front, Firelands)
515 Darkmoon Prize Ticket Cataclysm-Logo-Small
614 Mote of Darkness Cataclysm-Logo-Small (Dragon Soul)
615 Essence of Corrupted Deathwing Cataclysm-Logo-Small (Madness of Deathwing)
676 Pandaren Archaeology Fragment Mists-Logo-Small (NYR)
679 Elder Charm of Good Fortune Mists-Logo-Small (NYR)

References

  1. ^ Currencies. Wowhead. Retrieved on 2012-08-09.

Around Wikia's network

Random Wiki