ESODecoded

GetCollectibleInfo

ESO Lua API function — used by 94 of the 3,030 addons we indexed (combined 10,803,170 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetCollectibleInfo(integer collectibleId)

Returns: string name, string description, textureName icon, textureName deprecatedLockedIcon, bool unlocked, bool purchasable, bool isActive, categoryType, string hint

Real usage — from LibSets (All set items ingame & preview. lua API + excel sheet)

        local collectibleId = GetCollectibleIdFromType(COLLECTIBLE_CATEGORY_TYPE_DLC, collectibleIndex)
        local collectibleName, _, _, _, _ = GetCollectibleInfo(collectibleId) -- Will return true or false. If the user unlocked through

Short excerpt from the shipping addon LibSets (All set items ingame & preview. lua API + excel sheet)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

AddonTotal downloads
LibSets (All set items ingame & preview. lua API + excel sheet)4,357,189
pChat (Chat customization & help: look/notification/sound/automation/history)1,832,805
PersonalAssistant (Banking, Consume, Junk, Loot, Repair, Worker) [Masteroshi430's branch]487,232
Combat Metronome (GCD Tracker)483,791
Caro's Skill Point Saver (Respec Skill Lines, Champion Points, Gear, Quickslots, Appearances)364,055
Group Loot Notifier363,639