WoW:API GuildControlSetRank: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Initial documentation)
 
No edit summary
Line 8: Line 8:
=== Arguments ===
=== Arguments ===


:;index:Number - the rank index
:;index
::Number - the rank index


== Details ==
== Details ==


index muse be between 1 and [[API GuildControlGetNumRanks|GuildControlGetNumRanks]]().
index must be between 1 and [[API GuildControlGetNumRanks|GuildControlGetNumRanks]]().


Calling this API sets the rank to return/edit flags for using [[API GuildControlGetFlags|GuildControlGetRankFlags]]() and [[API GuildControlSetRankFlag|GuildControlSetRankFlag]]().
Calling this API sets the rank to return/edit flags for using [[API GuildControlGetFlags|GuildControlGetRankFlags]]() and [[API GuildControlSetRankFlag|GuildControlSetRankFlag]]().

Revision as of 20:38, 8 September 2019

WoW API < GuildControlSetRank

GuildControlSetRank(index);

Sets the rank at index for read/write.

Parameters

Arguments

index
Number - the rank index

Details

index must be between 1 and GuildControlGetNumRanks().

Calling this API sets the rank to return/edit flags for using GuildControlGetRankFlags() and GuildControlSetRankFlag().