ESODecoded

GetNumGuilds

ESO Lua API function — used by 196 of the 3,030 addons we indexed (combined 21,606,109 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetNumGuilds()

Returns: integer numGuilds

Real usage — from Tamriel Trade Centre

	--Get a list of current guilds
	for i = 1, GetNumGuilds() do
		local guildId = GetGuildId(i)

Short excerpt from the shipping addon Tamriel Trade Centreits 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
Tamriel Trade Centre5,234,232
Inventory Insight2,763,446
pChat (Chat customization & help: look/notification/sound/automation/history)1,832,805
LibSFUtils1,648,729
LibHistoire - Guild History1,505,233
Port to Friend's House1,303,975