WoW API: SetSelectedFriend

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API SetSelectedFriend to API SetSelectedFriend without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < SetSelectedFriend

Update the current selected friend

SetSelectedFriend(friendIndex)

Parameters

Arguments

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

Returns

nil


Details

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