WoW:API GetGuildRosterSelection: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Initial edit)
 
m (Move page script moved page API GetGuildRosterSelection to API GetGuildRosterSelection without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<p>Returns index of the current selected guild member in the guild roster.</p>
{{wowapi}}
<hr />
<p>Returns index of the current selected guild member in the guild roster according the active sorting. If none is selected, the return value is 0 (zero).</p>
<dl><dt><em>Arguments</em></dt></dl>
----
<dl><dt>''Arguments''</dt></dl>
<dl><dd>None</dd></dl>
<dl><dd>None</dd></dl>
<hr />
----
<dl><dt><em>Returns</em></dt></dl>
<dl><dt>''Returns''</dt></dl>
<dl><dd>The index of the current selected guild member in the guild roster.</dd></dl>
<dl><dd>The index of the current selected guild member in the guild roster.</dd></dl>
<hr />
----
<dl><dt><em>Example</em></dt></dl>
<dl><dt>''Example''</dt></dl>
<pre>local selectedGuildMember = GetGuildRosterSelection();</pre>
<pre>local selectedGuildMember = GetGuildRosterSelection();</pre>
<hr />
<hr />

Latest revision as of 04:45, 15 August 2023

WoW API < GetGuildRosterSelection

Returns index of the current selected guild member in the guild roster according the active sorting. If none is selected, the return value is 0 (zero).


Arguments
None

Returns
The index of the current selected guild member in the guild roster.

Example
local selectedGuildMember = GetGuildRosterSelection();