Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GetCurrencyListInfo
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} Returns information about an entry in the currency list. name, isHeader, isExpanded, isUnused, isWatched, count, extraCurrencyType, icon, itemID = GetCurrencyListInfo(index) == Arguments == ; id : Number - index, ascending from 1 to {{api|GetCurrencyListSize}}(). == Return values == ; name : String - localized currency (or currency header) name. ; isHeader : Boolean - true if this entry is a header, false otherwise. ; isExpanded : Boolean - true if this entry is an expanded header, false otherwise. ; isUnused : Boolean - true if this entry is a currency marked as unused, false otherwise. ; isWatched : Boolean - true if this entry is a currency currently displayed on the backpack, false otherwise. ; count : Number - amount of this currency in the player's possession (0 for headers). ; extraCurrencyType : Number - 1 for arena points, 2 for honor points; 0 otherwise (an item-based currency). ; icon : String - path to the icon texture for item-based currencies, invalid for arena/honor points. ; itemID : Number - item ID corresponding to this item-based currency, invalid for arena/honor points. == Notes == * Information about currencies under collapsed headers is available; it is up to the UI code to respect the isExpanded flag. * Indices are generally based on localized alphabetic order. * The headers "contain" all currencies with index greater than theirs until the next header. This is not a nested structure. * Marking a currency as unused alters its index, as the currency is moved down the list to fit under an "Unused" header.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Api
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)