Friend
TODO: Friend Constructors
Methods
Friend.AddFriendTarget()
Friend.AddFriendTarget()
Return
Void
Friend.AddPlayer(friendlist, name, serial)
Friend.AddPlayer(friendlist, name, serial)
Add the player specified to the Friend list named in FriendListName parameter
Parameters
friendlistString
Name of the the Friend List. (See Agent tab)
nameString
Name of the Friend want to add.
serialInt32
Serial of the Friend you want to add.
Return
Void
Friend.ChangeList(friendlist)
Friend.ChangeList(friendlist)
Change friend list, List must be exist in friend list GUI configuration
Parameters
friendlistString
Name of the list of friend.
Return
Void
Friend.GetList(friendlist)
Friend.GetList(friendlist)
Retrive list of serial in list, List must be exist in friend Agent tab.
Parameters
friendlistString
Name of the list of friend.
Return
List[Int32]
Friend.IsFriend(serial)
Friend.IsFriend(serial)
Check if Player is in FriendList, returns a bool value.
Parameters
serialInt32
Serial you want to check
Return
Boolean
True: 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
friendlistString
Name of the the Friend List. (See Agent tab)
serialInt32
Serial of the Friend you want to remove.
Return
Boolean