Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
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!
=== Currency === Most of these functions were added in 3.0.2. :{{id|API|GetCoinText}}(amount, "separator") - Breaks down money and inserts separator strings. (added 2.4.2) :{{id|API|GetCoinTextureString}}(amount[, fontHeight]) - Breaks down money and inserts texture strings. :{{id|API|GetCurrencyInfo}}(index) - returns localized_label, amount, icon_file_name of the currency at the index. (added 4.0.1) :{{id|API|GetCurrencyListSize}}() - returns the number of elements (both headers and currencies) in the currency list. :{{id|API|GetCurrencyListInfo}}(index) - return information about an element in the currency list. :{{id|API|ExpandCurrencyList}}(index, state) - sets the expanded/collapsed state of a currency list header. :UI {{id|API|MoneyInputFrame_GetCopper}}(frame) - Returns the amount of money entered in a MoneyInputFrame in copper pieces :{{id|API|SetCurrencyUnused}}(id, state) - alters whether a currency is marked as unused. :{{id|API|GetNumWatchedTokens}}() - returns the number of currently watched. :{{id|API|GetBackpackCurrencyInfo}}(id) - returns information about a watched currency. :{{id|API|SetCurrencyBackpack}}(id, state) - alters whether a currency is tracked.
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)