ESODecoded

GetHousingPrimaryHouse

ESO Lua API function — used by 56 of the 3,030 addons we indexed (combined 2,354,648 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetHousingPrimaryHouse()

Returns: integer houseId

Real usage — from Wizard's Wardrobe

		WW.Log( GetString( WW_MSG_TELEPORT_HOUSE ), WW.LOGTYPES.NORMAL )
		RequestJumpToHouse( GetHousingPrimaryHouse() )
	end )

Short excerpt from the shipping addon Wizard's Wardrobeits 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
PersonalAssistant (Banking, Consume, Junk, Loot, Repair, Worker) [Masteroshi430's branch]487,232
Wizard's Wardrobe481,038
EasyTravel293,327
ESO-Database.com Export AddOn272,910
Shissu's Guild Tools186,581
Go Home107,756