WoW:API SortGuildRoster: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API SortGuildRoster to API SortGuildRoster without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<p>Sorts the guild roster on a certain column. Sorts by name by default.</p>
{{wowapi}}
<hr />
<p>Sorts the guild roster on a certain column. Sorts by name by default. Repeating the same sort will revert sorting.</p>
<dl><dt><em>Arguments</em></dt></dl>
----
<dl><dd>'''sort''' The column for sorting. Chose from: {"name", "rank", "note", "online", "zone", "level",  "class"}</dd></dl>
<dl><dt>''Arguments''<dt></dl>
<hr />
<dl><dd>'''sort''' The column for sorting. Chose from: {"name", "rank", "note", "online", "zone", "level",  "class"}<dd></dl>
<dl><dt><em>Returns</em></dt></dl>
----
<dl><dd>Nothing.</dd></dl>
<dl><dt>''Returns''<dt></dl>
<hr />
<dl><dd>Nothing.<dd></dl>
<dl><dt><em>Example</em></dt></dl>
----
<dl><dt>''Example''<dt></dl>
<pre>SortGuildRoster( "level" );</pre>
<pre>SortGuildRoster( "level" );</pre>
<hr />
<hr />
[[Category:API Functions|SortGuildRoster]]
[[Category:API Guild Functions|SortGuildRoster]]

Latest revision as of 04:47, 15 August 2023

WoW API < SortGuildRoster

Sorts the guild roster on a certain column. Sorts by name by default. Repeating the same sort will revert sorting.


Arguments
sort The column for sorting. Chose from: {"name", "rank", "note", "online", "zone", "level", "class"}

Returns
Nothing.

Example
SortGuildRoster( "level" );