ESODecoded

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 Minimapits 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
Votan's Minimap4,211,718
Inventory Insight2,763,446
WritWorthy2,484,332
EasyTravel293,327
ESO-Database.com Export AddOn272,910
Magic Carpet163,646