GetCollectibleIcon
ESO Lua API function — used by 38 of the 3,030 addons we indexed (combined 16,201,788 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetCollectibleIcon(integer collectibleId)Returns: textureName icon
Real usage — from Inventory Insight
local collectibleId = IIfA:GetCollectibleLinkItemId(identifiedLink)
identifiedIcon = GetCollectibleIcon(collectibleId)
identifiedItemName = ZO_CachedStrFormat(SI_TOOLTIP_ITEM_NAME, GetCollectibleName(collShort excerpt from the shipping addon Inventory Insight — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Map Pins | 8,061,548 |
| Inventory Insight | 2,763,446 |
| Loot Log | 1,608,502 |
| TraitBuddy | 1,101,730 |
| Combat Metronome (GCD Tracker) | 483,791 |
| Caro's Skill Point Saver (Respec Skill Lines, Champion Points, Gear, Quickslots, Appearances) | 364,055 |