ESODecoded

GetNumGuildMembers

ESO Lua API function — used by 111 of the 3,030 addons we indexed (combined 6,882,572 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetNumGuildMembers(integer guildId)

Returns: integer numGuildMembers

Real usage — from pChat (Chat customization & help: look/notification/sound/automation/history)

    local guildMemberCacheOfIndex = guildMemberCache[guildIndex]
    local numMembers = GetNumGuildMembers(guildId)
    for memberIndex = 1, numMembers do

Short excerpt from the shipping addon pChat (Chat customization & help: look/notification/sound/automation/history)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

AddonTotal downloads
pChat (Chat customization & help: look/notification/sound/automation/history)1,832,805
Port to Friend's House1,303,975
Arkadius' Trade Tools845,488
OdySupportIcons - Group Role Icons & More484,590
EasyTravel293,327
ESO-Database.com Export AddOn272,910