Friend
Table of Contents
Methods
AddFriendTarget
Friend.AddFriendTarget()VoidAddPlayer
Friend.AddPlayer(friendlist, name, serial)Add the player specified to the Friend list named in FriendListName parameter
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.
VoidChangeList
Friend.ChangeList(friendlist)Change friend list, List must be exist in friend list GUI configuration
friendlist(String): Name of the list of friend.
VoidGetList
Friend.GetList(friendlist)Retrieve list of serial in list, List must be exist in friend Agent tab.
friendlist(String): Name of the list of friend.
List[Int32]GuildExists
Friend.GuildExists(list, guild)Check if a guild exists in a Friend list.
list(String)guild(String)
BooleanGuildInsert
Friend.GuildInsert(list, guild)Insert a guild into a Friend list.
list(String)guild(Friend.FriendGuild)
VoidGuildRead
Friend.GuildRead(list, guilds)list(String)guilds(List`1&@)
VoidGuildReplace
Friend.GuildReplace(listName, index, newGuild)Replace a guild in a Friend list.
listName(String)index(Int32)newGuild(Friend.FriendGuild)
VoidGuildsRead
Friend.GuildsRead(list, guilds)list(String)guilds(List`1&@)
VoidIsFriend
Friend.IsFriend(serial)Check if Player is in FriendList, returns a bool value.
serial(Int32): Serial you want to check
BooleanListDelete
Friend.ListDelete(description)Delete a Friend list from persistence.
description(String)
VoidListExists
Friend.ListExists(description)Check if a Friend list exists by name.
description(String)
BooleanListInsert
Friend.ListInsert(description, includeparty, preventattack, autoacceptparty, slfriend, tbfriend, comfriend, minfriend)Insert a new Friend list into persistence (overload). Insert a new Friend list into persistence.
description(String)includeparty(Boolean)preventattack(Boolean)autoacceptparty(Boolean)slfriend(Boolean)tbfriend(Boolean)comfriend(Boolean)minfriend(Boolean)
VoidListsRead
Friend.ListsRead()Read all Friend lists from persistence.
List[Friend.FriendList]PlayerDelete
Friend.PlayerDelete(list, player)Delete a player from a Friend list. Delete a player from a Friend list by serial.
list(String)player(Friend.FriendPlayer)
VoidPlayerExists
Friend.PlayerExists(list, player)Check if a player exists in a Friend list. Check if a player serial exists in a Friend list.
list(String)player(Friend.FriendPlayer)
BooleanPlayerInsert
Friend.PlayerInsert(list, player)Insert a player into a Friend list.
list(String)player(Friend.FriendPlayer)
VoidPlayerReplace
Friend.PlayerReplace(listName, index, newPlayer)Replace a player in a Friend list.
listName(String)index(Int32)newPlayer(Friend.FriendPlayer)
VoidPlayersRead
Friend.PlayersRead(list, players)list(String)players(List`1&@)
VoidRemoveFriend
Friend.RemoveFriend(friendlist, serial)Remove the player specified from the Friend list named in FriendListName parameter
friendlist(String): Name of the the Friend List. (See Agent tab)serial(Int32): Serial of the Friend you want to remove.
Boolean