Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GuildControlGetRankFlags
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} __NOTOC__ Returns information about the current selected guild rank. If no rank has been selected and the guild frame hasn't been opened the function will return nil for all flags. guildchat_listen, guildchat_speak, officerchat_listen, officerchat_speak, promote, demote,<br/> invite_member, remove_member, set_motd, edit_public_note, view_officer_note, edit_officer_note,<br/> modify_guild_info, _, withdraw_repair, withdraw_gold, create_guild_event = GuildControlGetRankFlags(); ==Parameters== ===Returns=== :;guildchat_listen : Boolean - 1 if players of the rank can listen to guild chat, nil otherwise. :;guildchat_speak : Boolean - 1 if players of the rank can speak in guild chat, nil otherwise. :;officerchat_listen : Boolean - 1 if players of the rank can listen to officer chat, nil otherwise. :;officerchat_speak : Boolean - 1 if players of the rank can speak in officer chat, nil otherwise. :;promote : Boolean - 1 if players of the rank promote lower ranked players, nil otherwise. :;demote : Boolean - 1 if players of the rank demote lower ranked players, nil otherwise. :;invite_member: Boolean - 1 if players of the rank invite new players to the guild, nil otherwise. :;remove_member: Boolean - 1 if players of the rank remove players from the guild, nil otherwise. :;set_motd: Boolean - 1 if players of the rank can edit guild message of the day, nil otherwise. :;edit_public_note: Boolean - 1 if players of the rank can edit public notes, nil otherwise. :;view_officer_note: Boolean - 1 if players of the rank can view officer notes, nil otherwise. :;edit_officer_note: Boolean - 1 if players of the rank can edit officer notes, nil otherwise. :;modify_guild_info: Boolean - 1 if players of the rank modify guild information, nil otherwise. :;withdraw_repair: Boolean - 1 if players of the rank are allowed to repair using guild bank, nil otherwise. :;withdraw_gold: Boolean - 1 if players of the rank are allowed to withdraw gold from the guild bank, nil otherwise. :;create_guild_event: Boolean - 1 if players of the rank can create guild events on the calendar, nil otherwise. ==Example== local _,_,playerrank = GetGuildInfo("player"); GuildControlSetRank(playerrank + 1); local guildchat_listen,guildchat_speak,officerchat_listen,officerchat_speak,... = GuildControlGetRankFlags();
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)