Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Sets the show offline guild members flag.
SetGuildRosterShowOffline(enabled)
Arguments[]
- enabled
- boolean - True includes all guild members; false filters out offline guild members.
Details[]
- Triggers GUILD_ROSTER_UPDATE if filtering mode has changed -- facilitating a customary call to GuildRoster() if this event is registered.
Example[]
-- Fetch updated info when required
local f = CreateFrame("Frame")
f:RegisterEvent("GUILD_ROSTER_UPDATE")
f:HookScript("OnEvent", function(event)
if (event == "GUILD_ROSTER_UPDATE") then
GuildRoster()
end
end)
-- At some point later point in your code...
SetGuildRosterShowOffline(false)