FANDOM


WoW API < GetBackpackCurrencyInfo

Returns information about a currency item currently being shown as part of the backpack.

name, count, extraCurrencyType, icon, itemid = GetBackpackCurrencyInfo(id)

Arguments Edit

id 
Number - Index, ascending from 1 to GetNumWatchedTokens().

Return values Edit

name 
String - Localized currency name; or nil if the id argument is out of range.
count 
Number - Amount of this currency currently possessed by the player.
extraCurrencyType 
Number - 0 for item-based currencies, 1 for arena points, 2 for honor points.
icon 
String - Path to the item-based currency texture; invalid for arena/honor points.
itemid 
Number - Item ID of the item-based currency item; invalid for arena/honor points.

Notes Edit

  • As of 3.2, up to 3 currencies may be tracked as part of the backpack display. The function does not raise errors on out of range indices.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.