WoW:API GuildRoster: Difference between revisions

{{wowapi}}, format
No edit summary
({{wowapi}}, format)
Line 1: Line 1:
Calling GuildRoster() sends a request to the server to update the player's guild information on the clientMost 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.
{{wowapi}} __NOTOC__
Requests updated guild roster information from the server.
  GuildRoster();


''Updated for 1.6 Patch''
==Notes==
The call will be ignored completely if the last GuildRoster() call was less than 10 seconds ago (most likely to limit the traffic caused by frequent opening/closing of the guild tab).


<hr />
If the client recieves a response, [[Events/G#GUILD_ROSTER_UPDATE|GUILD_ROSTER_UPDATE]] event is raised regardless of whether any information has changed.
<dl><dt><em>Arguments</em></dt></dl>
<dl><dd>None</dd></dl>
<hr />
<dl><dt><em>Returns</em></dt></dl>
<dl><dd>None</dd></dl>
<hr />
<dl><dt><em>Example</em></dt></dl>
<pre>GuildRoster();</pre>
<hr />
 
{{Template:WoW API}}