GetCurrentHouseOwner
ESO Lua API function — used by 29 of the 3,030 addons we indexed (combined 13,644,367 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetCurrentHouseOwner()Returns: string displayName
Real usage — from Dolgubon's Lazy Writ Crafter
local function welcomePlayerToHouse()
if houseToUse and GetCurrentHouseOwner() == houseToUse.displayName and GetCurrentZoneHouseId()==houseToUse.houseId then
displayGreeting(houseToUse.greeting, houseToUse.subheading)Short excerpt from the shipping addon Dolgubon's Lazy Writ Crafter — 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 |
|---|---|
| Dolgubon's Lazy Writ Crafter | 9,498,314 |
| LibZone | 1,937,031 |
| Dolgubon's Lazy Set Crafter | 1,172,957 |
| Dynamic CP (Champion Points 2.0) | 319,248 |
| Magic Carpet | 163,646 |
| Confirm Master Writ | 135,297 |