GetCollectibleIdForHouse
ESO Lua API function — used by 44 of the 3,030 addons we indexed (combined 11,040,586 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetCollectibleIdForHouse(integer houseId)Returns: integer collectibleId
Real usage — from Votan's Minimap
if not IsPrimaryHouse(houseId) then
local collectibleId = GetCollectibleIdForHouse(houseId)
local userFlags = GetCollectibleUserFlags(collectibleId)Short excerpt from the shipping addon Votan's Minimap — 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 |
|---|---|
| Votan's Minimap | 4,211,718 |
| Inventory Insight | 2,763,446 |
| WritWorthy | 2,484,332 |
| EasyTravel | 293,327 |
| ESO-Database.com Export AddOn | 272,910 |
| Magic Carpet | 163,646 |