WoW:API GuildRoster: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Updated comments - these documents should NOT talk about cosmos.)
(Updated for 1.6)
Line 1: Line 1:
This ensures that guild information is available to the client, and fires a GUILD_ROSTER_SHOW (what about GUILD_ROSTER_UPDATE??) event. (The standard UI has registered for this event and show the guild tab).
Calling GuildRoster() sends a request to the server to update the player's guild information on the client.  Most likely to prevent excess server load, it appears the call will be ignored completely if the last GuildRoster() call was less than 10 seconds ago.  If the client recieves a response, it raises the [[Events D-G (Delete, Display, Duel, Equip, Execute, FriendList, Gossip, Guild)#GUILD_ROSTER_UPDATE|GUILD_ROSTER_UPDATE]] event regardless of whether any information has changed.
 
''Updated for 1.6 Patch''


<small>If Cosmos is not installed then it will open the Guild Roster.  However if Cosmos is installed then it will open the Guild Roster hidden so that you can access the guild information without displaying the roster.</small>
<hr />
<hr />
<dl><dt><em>Arguments</em></dt></dl>
<dl><dt><em>Arguments</em></dt></dl>

Revision as of 01:20, 29 July 2005

Calling GuildRoster() sends a request to the server to update the player's guild information on the client. Most likely to prevent excess server load, it appears the call will be ignored completely if the last GuildRoster() call was less than 10 seconds ago. If the client recieves a response, it raises the GUILD_ROSTER_UPDATE event regardless of whether any information has changed.

Updated for 1.6 Patch


Arguments
None

Returns
None

Example
GuildRoster();