C_FriendList.SetSelectedFriend

From Warcraft Wiki
Jump to navigation Jump to search

Updates the current selected friend.

C_FriendList.SetSelectedFriend(index)

Arguments

index
number - the index of the friend to be selected.

Details

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

Patch changes

Battle for Azeroth Patch 8.1.0 (2018-12-11): Moved to C_FriendList. The former alias SetSelectedFriend is deprecated and will be removed in the following expansion.