WoW:API GetCoinIcon: Difference between revisions
Jump to navigation
Jump to search
GetCoinIcon -Documentation by The Nerd Wonder-
No edit summary |
mNo edit summary |
||
Line 33: | Line 33: | ||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Functions|API Functions]] | [[Category:API Functions|GetCoinIcon]] | ||
[[Category:API Inventory Functions|GetCoinIcon]] | |||
[[Category:API Mail Functions|GetCoinIcon]] |
Revision as of 18:55, 29 August 2005
texturePath = GetCoinIcon(amount);
Returns the path to the texture used for a given amount of money.
- Arguments
- (amount)
- amount
- number - amount of money in copper
- Returns
- texturePath
- texturePath
- String - Path to icon used for the amount of money.
- Details
Currently returns "Interface/Icons/INV_Misc_Coin_XX", where XX ranges from 01 to 06. Respectively, these correspond to
- 01, 02 - Gold coins (loose and stack)
- 03, 04 - Silver coins (loose and stack)
- 05, 06 - Copper coins (loose and stack)