WoW:API SetSelectedFriend: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API SetSelectedFriend to API SetSelectedFriend without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>'''SetSelectedFriend''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{wowapi}}


Update the current selected friend
Update the current selected friend
Line 10: Line 10:
:;friendIndex : Integer - The index (1-based) of the friend which is is to become selected.
:;friendIndex : Integer - The index (1-based) of the friend which is is to become selected.
=== Returns ===
=== Returns ===
:<i>nil</i>
:''nil''




== Details ==
== Details ==
: This function is necessary because indexes can change in response to friend status updates.
: This function is necessary because indexes can change in response to friend status updates.__NOTOC__
 
----
{{WoW API}}

Latest revision as of 04:47, 15 August 2023

WoW API < SetSelectedFriend

Update the current selected friend

SetSelectedFriend(friendIndex)

Parameters[edit]

Arguments[edit]

(friendIndex)
friendIndex
Integer - The index (1-based) of the friend which is is to become selected.

Returns[edit]

nil


Details[edit]

This function is necessary because indexes can change in response to friend status updates.