FriendsService

Protocols

Protocol IDName
20FriendsProtocol

FriendsProtocol

Method IDSignature
1
func AddFriend(uiPlayer: uint32, uiDetails: uint32, strMessage: string) -> (retval: bool)
2
func AddFriendByName(strPlayerName: string, uiDetails: uint32, strMessage: string) -> (retval: bool)
3
func AddFriendWithDetails(uiPlayer: uint32, uiDetails: uint32, strMessage: string) -> (relationshipData: [[RelationshipData]]((relationshipdata)))
4
func AddFriendByNameWithDetails(strPlayerName: string, uiDetails: uint32, strMessage: string) -> (relationshipData: [[RelationshipData]]((relationshipdata)))
5
func AcceptFriendship(uiPlayer: uint32) -> (retval: bool)
6
func DeclineFriendship(uiPlayer: uint32) -> (retval: bool)
7
func BlackList(uiPlayer: uint32, uiDetails: uint32) -> (retval: bool)
8
func BlackListByName(strPlayerName: string, uiDetails: uint32) -> (retval: bool)
9
func ClearRelationship(uiPlayer: uint32) -> (retval: bool)
10
func UpdateDetails(uiPlayer: uint32, uiDetails: uint32) -> (retval: bool)
11
func GetList(byRelationship: byte, bReversed: bool) -> (lstFriendsList: std_list<uint32>)
12
func GetDetailedList(byRelationship: byte, bReversed: bool) -> (lstFriendsList: std_list<[[FriendData]]((frienddata))>)
13
func GetRelationships(resultRange: [[ResultRange]]((resultrange))) -> (uiTotalCount: uint32, lstRelationshipsList: std_list<[[RelationshipData]]((relationshipdata))>)