ESODecoded

IsInImperialCity

ESO Lua API function — used by 40 of the 3,030 addons we indexed (combined 22,001,538 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

IsInImperialCity()

Returns: bool isInImperialCity

Real usage — from SkyShards


  if not mapIndex and IsInImperialCity() then mapIndex = GetImperialCityMapIndex() end

Short excerpt from the shipping addon SkyShardsits 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
SkyShards12,943,031
LibQuestData4,916,044
LibZone1,937,031
Crafting Stations907,236
CyrHUD325,521
Jack of all Trades - Automatic CP Respec194,328