GetZoneNameById
ESO Lua API function — used by 117 of the 3,030 addons we indexed (combined 43,262,113 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetZoneNameById(integer zoneId)Returns: string name
Real usage — from LoreBooks
if zoneId == 0 then return "" end
return zo_strformat(SI_WINDOW_TITLE_WORLD_MAP, GetZoneNameById(zoneId))
endShort excerpt from the shipping addon LoreBooks — 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 |
|---|---|
| LoreBooks | 13,090,355 |
| Code's Combat Alerts | 4,445,158 |
| LibSets (All set items ingame & preview. lua API + excel sheet) | 4,357,189 |
| RaidNotifier Updated | 2,789,746 |
| LibMapData | 2,291,531 |
| LibZone | 1,937,031 |