WoW:API GetNumGuildMembers: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 9: Line 9:
<dl><dt><em>Example</em></dt></dl>
<dl><dt><em>Example</em></dt></dl>
<pre>local numGuildMembers = GetNumGuildMembers();</pre>
<pre>local numGuildMembers = GetNumGuildMembers();</pre>
<hr />
<dl><dt><em>Notes</em></dt></dl>
<dl><dd>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.</dd></dl>
<hr />
<hr />


[[Category:API Functions|GetNumGuildMembers]]
[[Category:API Functions|GetNumGuildMembers]]
[[Category:API Guild Functions|GetNumGuildMembers]]
[[Category:API Guild Functions|GetNumGuildMembers]]

Revision as of 22:54, 19 September 2005

Returns the number of guild members


Arguments
None

Returns
Number of guild members

Example
local numGuildMembers = GetNumGuildMembers();

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.