API:GetFriendInfo

== Parameters ==
=== Arguments ===
:;friendType
::String - 
:::DF_Socal_Token_Friend = "Friend" ;
:::DF_Socal_Token_BadFriend = "BadFriend" ;
:::DF_Socal_Token_HateFriend = "HateFriend" ;
:::
:::The DF_Socal_Token_* globals are initialized in socal_friendframe.lua in the Interface.fdb package
:;index
::Number - An index into the friend list - 1 being the first name in the list
=== Returns ===
:;name
::String - The name of the friend
:;groupID
::Number - The ID of the group the friend is listed under
:;online
::Boolean - Whether the player is online or not
:;eachOther
::Boolean
:;unmodifiable
::Boolean
:;top
::Boolean
:;killMeCount
::Number
:;revengeCount
::Number
:;relationType
::String - 
:::DF_Socal_Token_Friend = "Friend" ;
:::DF_Socal_Token_BadFriend = "BadFriend" ;
:::DF_Socal_Token_HateFriend = "HateFriend" ;
:;relationLv
::Number
== Example ==
local name, groupID, online, eachOther, unmodifiable, top, killMeCount, revengeCount, relationType, relationLv = GetFriendInfo("Friend", 3)
Return values taken from RoMail2 addon
Category:Functions