IsCollectibleUnlocked
ESO Lua API function — used by 59 of the 3,030 addons we indexed (combined 3,761,875 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
IsCollectibleUnlocked(integer collectibleId)Returns: bool isUnlocked
Real usage — from Auto Category - Revised
if collectibleId == 0 then return false end
return not IsCollectibleUnlocked(collectibleId)
endShort excerpt from the shipping addon Auto Category - Revised — 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 |
|---|---|
| Auto Category - Revised | 1,180,586 |
| LibRunebox | 494,398 |
| Collectibles Tracker (formerly Event Collectibles) | 283,469 |
| LovelyEmotes | 276,662 |
| The Questing Guide | 166,808 |
| Journal Quest Log | 161,242 |