GuildControlSetRankFlag
Jump to navigation
Jump to search
This function is restricted.
|
Sets guild rank permissions.
GuildControlSetRankFlag(index, enabled)
Arguments
- index
- number - the flag index, between 1 and GuildControlGetNumRanks().
- enabled
- boolean - whether the flag is enabled or disabled.
Details
- Calling this API changes the value of the current rank flags. This changes are not saved until a call to GuildControlSaveRank() is made.
- Flag indices:
Index | GlobalString | Name | Description |
---|---|---|---|
GUILDCONTROL_OPTION1 | Guildchat Listen | ||
GUILDCONTROL_OPTION2 | Guildchat Speak | ||
GUILDCONTROL_OPTION3 | Officerchat Listen | ||
GUILDCONTROL_OPTION4 | Officerchat Speak | ||
GUILDCONTROL_OPTION5 | Promote | ||
GUILDCONTROL_OPTION6 | Demote | ||
GUILDCONTROL_OPTION7 | Invite Member | ||
GUILDCONTROL_OPTION8 | Remove Member | ||
GUILDCONTROL_OPTION9 | Set MOTD | ||
GUILDCONTROL_OPTION10 | Edit Public Note | ||
GUILDCONTROL_OPTION11 | View Officer Note | ||
GUILDCONTROL_OPTION12 | Edit Officer Note | ||
GUILDCONTROL_OPTION13 | Modify Guild Info | ||
GUILDCONTROL_OPTION14 | Create Guild Event | ||
GUILDCONTROL_OPTION15 | Guild Bank Repair | Use guild funds for repairs | |
GUILDCONTROL_OPTION16 | Withdraw Gold | Withdraw gold from the guild bank | |
GUILDCONTROL_OPTION17 | Create Guild Event | ||
GUILDCONTROL_OPTION18 | Requires Authenticator | ||
GUILDCONTROL_OPTION19 | Modify Bank Tabs | ||
GUILDCONTROL_OPTION20 | Remove Guild Event | ||
GUILDCONTROL_OPTION21 | Recruitment |
Patch changes
Patch 7.3.0 (2017-08-29): This function can now only be called from a secure execution path.