Friend
TODO: Friend Constructors
Methods
Friend.AddPlayer(friendlist, name, serial)
Friend.AddPlayer(friendlist, name, serial)
Add the player specified to the Friend list named in FriendListName parameter
Parameters
friendlistStringName of the the Friend List. (See Agent tab)
nameStringName of the Friend want to add.
serialInt32Serial of the Friend you want to add.
Friend.ChangeList(friendlist)
Friend.ChangeList(friendlist)
Change friend list, List must be exist in friend list GUI configuration
Parameters
friendlistStringName of the list of friend.
Friend.GetList(friendlist)
Friend.GetList(friendlist)
Retrive list of serial in list, List must be exist in friend Agent tab.
Parameters
friendlistStringName of the list of friend.
Friend.IsFriend(serial)
Check if Player is in FriendList, returns a bool value.
Parameters
serialInt32Serial you want to check
Return
BooleanTrue: if is a friend - False: otherwise
Friend.RemoveFriend(friendlist, serial)
Friend.RemoveFriend(friendlist, serial)
Remove the player specified from the Friend list named in FriendListName parameter
Parameters
friendlistStringName of the the Friend List. (See Agent tab)
serialInt32Serial of the Friend you want to remove.