Friend

Methods

Friend.AddFriendTarget()Void
Friend.AddPlayer(friendlist, name, serial)Void
  • friendlist: String Name of the the Friend List. (See Agent tab)

  • name: String Name of the Friend want to add.

  • serial: Int32 Serial of the Friend you want to add.

Add the player specified to the Friend list named in FriendListName parameter

Friend.ChangeList(friendlist)Void
  • friendlist: String Name of the list of friend.

Change friend list, List must be exist in friend list GUI configuration

Friend.GetList(friendlist)List[Int32]
  • friendlist: String Name of the list of friend.

Retrive list of serial in list, List must be exist in friend Agent tab.

Friend.IsFriend(serial)Boolean
  • serial: Int32 Serial you want to check

Check if Player is in FriendList, returns a bool value.