WoW:API SetGuildRosterShowOffline: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<center>'''SetGuildRosterShowOffline''' </center>
Enables or disables offline members filter for all calls of guild roster related function that follow.
 
Returns true if you are in range of the specified unit to perform the action specified by distIndex. Otherwise, returns false.


----
----
Line 13: Line 11:
;''Notes''
;''Notes''


:It appears making a call to this function results in an implicit call to GuildRoster().  That means the guild window will likely open after calling it.  See that function's details for more info.
:[[Events/G#GUILD_ROSTER_UPDATE|GUILD_ROSTER_UPDATE]] event is fired if and only the filtering mode was changed by the call. The function does not call [[API GuildRoster|GuildRoster()]] implicitly or explicitly.


----
----

Revision as of 16:54, 29 October 2006

Enables or disables offline members filter for all calls of guild roster related function that follow.


Arguments
(Boolean enabled)
enabled
True to allow all guild members to be queried. False to filter out guild members who are offline.

Notes
GUILD_ROSTER_UPDATE event is fired if and only the filtering mode was changed by the call. The function does not call GuildRoster() implicitly or explicitly.

Example
SetGuildRosterShowOffline(false);

Template:WoW API