GetItemIcon
Jump to navigation
Jump to search
C_Item.GetItemIcon |
+ 8.0.1 / 1.13.2 | ||
C_Item.GetItemIconByID |
+ 8.0.1 / 1.13.2 | ||
GetItemIcon |
+ 2.4.0 / 1.13.2 |
This function was deprecated in 10.2.6 and will be removed in the next expansion. |
Returns the icon texture for an item.
icon = GetItemIcon(itemID)
Arguments
- itemID
- number - The ID of the item to query e.g. 23405 for [Farstrider's Tunic].
Returns
- icon
- number : FileID - Icon texture used by the item.
Details
- Unlike GetItemInfo(), this function does not require the item to be readily available from the item cache.