Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetFriendService Class
RuyiNetFriendService Methods
AddFriend Method
GetProfile Method
GetProfiles Method
ListFriends Method
RemoveFriend Method
Click or drag to resizeClick or drag to resize

RuyiNetFriendServiceAddFriend Method

[This is preliminary documentation and is subject to change.]

Adds a user to the player's friend list.

Namespace:  Ruyi.SDK.Online
Assembly:  SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public Task<RuyiNetResponse> AddFriend(
	int index,
	string profileId
)

Parameters

index
Type: SystemInt32
The index of user
profileId
Type: SystemString
The profile ID of the user to add.

Return Value

Type: TaskRuyiNetResponse

[Missing <returns> documentation for "M:Ruyi.SDK.Online.RuyiNetFriendService.AddFriend(System.Int32,System.String)"]

See Also

Reference

RuyiNetFriendService Class
Ruyi.SDK.Online Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com