WoW API: GetCurrencyInfo

From AddOn Studio
Jump to navigation Jump to search

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

As of patch 4.0.1 (10/16/2010) Index is 241-Champion's Seal 390-Conquest Points 392-Honor Points 395-Justice Points
Patch 4.0.3 (09/08/2012) - Table Updated ID's 0-1000
id name
61 Dalaran Jewelcrafter's Token
81 Dalaran Cooking Award
241 Champion Seal
361 Illustrious Jewelcrafter's Token
384 Dwarf Archaeology Fragment
385 Troll Archaeology Fragment
390 Conquest Points
391 Tol Barad Commendation
392 Honor Points
393 Fossil Archaeology Fragment
394 Night Elf Archaeology Fragment
395 Justice Points
396 Valor Points
397 Orc Archaeology Fragment
398 Draenei Archaeology Fragment
399 Vrykul Archaeology Fragment
400 Nerubian Archaeology Fragment
401 Tol'vir Archaeology Fragment
402 Chef's Award
515 Darkmoon Prize Ticket