EVENT_GUILD_SELF_LEFT_GUILD
ESO Lua API function — used by 52 of the 3,030 addons we indexed (combined 19,100,918 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_GUILD_SELF_LEFT_GUILD(integer guildServerId, string characterName, integer guildId)Real usage — from Inventory Insight
EVENT_MANAGER:RegisterForEvent("IIFA_GuildJoin", EVENT_GUILD_SELF_JOINED_GUILD, function() IIfA:CreateOptionsMenu() end)
EVENT_MANAGER:RegisterForEvent("IIFA_GuildLeave", EVENT_GUILD_SELF_LEFT_GUILD, function() IIfA:CreateOptionsMenu() Short excerpt from the shipping addon Inventory Insight — 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 |
|---|---|
| AwesomeGuildStore | 4,722,462 |
| Master Merchant 3.0 | 3,883,523 |
| Inventory Insight | 2,763,446 |
| Essential Housing Tools | 1,862,490 |
| pChat (Chat customization & help: look/notification/sound/automation/history) | 1,832,805 |
| LibSFUtils | 1,648,729 |