WoW API: GuildControlSetRankFlag
← WoW API < GuildControlSetRankFlag
GuildControlSetRankFlag(index, enabled);
Sets the current ranks property at index to enabled.
ParametersEdit
ArgumentsEdit
- index
- Number - the flag index
- enabled
- Boolean - whether the flag is enabled or disabled
DetailsEdit
index muse be between 1 and GuildControlGetNumRanks().
Calling this API changes the value of the current rank flags. This changes are not saved until a call to GuildControlSaveRank() is made.
Possible flag indices:
- guild chat listen
- guild chat speak
- officer chat listen
- officer chat speak
- promote
- demote
- invite member
- remove member
- set motd
- edit public note
- view officer note
- edit officer note
- modify guild info
- ?
- use guildbank repair
- withdraw guildbank gold