Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 8.1.0 / 1.13.2

Returns the index of the currently selected friend.

index = C_FriendList.GetSelectedFriend()

Returns

index 
number - (Nilable) the index of the friend which is currently selected on the friend list. Returns nil if you have no friends.

Details

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

Patch changes

Advertisement