WoW API: GetCurrencyInfo

From AddOn Studio
Revision as of 18:03, 16 October 2010 by WoWWiki>Aurimas (Created page for GetCurrencyInfo())
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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