WoW:API GetSelectedFriend: Difference between revisions
Jump to navigation
Jump to search
GetSelectedFriend - Documentation by Flickering
m (New function document) |
No edit summary |
||
Line 14: | Line 14: | ||
---- | ---- | ||
{{WoW API}} | |||
{{ | |||
Revision as of 12:41, 4 January 2006
Returns the index of the currently selected friend.
friendIndex = GetSelectedFriend()
Parameters
Returns
- friendIndex
- friendIndex
- Integer - The index (1-based) of the friend which is currently selected (highlighted) on the friend list. Will return 0 if you have no friends.
Details
- This function is necessary because indexes can change in response to friend status updates.