Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
No edit summary
Line 18: Line 18:
 
<hr />
 
<hr />
   
  +
{{Template:WoW API}}
[[Category:API Functions|GetNumGuildMembers]]
 
[[Category:API Guild Functions|GetNumGuildMembers]]
 

Revision as of 15:33, 4 January 2006

Returns the number of guild members


Arguments
offline - boolean

Returns
If called with no argument gets number of online guild members. If offline argument is true get number of all guild members.

Example
local numGuildMembers = GetNumGuildMembers();
local numAllGuildMembers = GetNumGuildMembers(true);

Notes
This function seems to return 0 if you have not yet opened the guild roster. I suspect that a call to GuildRoster(), before calling this function will cause it to return the proper result.

Template:WoW API