WoW:API GuildRoster: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API GuildRoster to API GuildRoster without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
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}}
{{Stub/API}}
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 />
 
[[Category:API Functions|GuildRoster]]
[[Category:API Guild Functions|GuildRoster]]

Latest revision as of 04:46, 15 August 2023

WoW API < GuildRoster

Requests updated guild roster information from the server.

GuildRoster();

Notes[edit]

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).

If the client recieves a response, GUILD_ROSTER_UPDATE event is raised regardless of whether any information has changed.