API C FriendList.GetSelectedFriend

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  if you have no friends.

Details

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