Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetCoinIcon

Last wiki revision 2022-07-22

texturePath = GetCoinIcon(amount)

Returns the path to the texture used for a given amount of money.

  • Arguments
  • (amount)
  • amount: - amount of money in copper
  • Returns
  • texturePath
  • texturePath: - 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)

These are not the same icons used in a standard money frame (e.g., under your main backpack), instead these are the ones used in loot frames.

Source

https://warcraft.wiki.gg/wiki/API_GetCoinIcon · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.