Unity3D Client Reference
Class PublishingNetworkRelations
Namespace: PlayerIOClient
Language: C# / .NET
The PlayerIO Publishing Network relations service
Properties | |||
---|---|---|---|
public PublishingNetworkProfile[] |
List of all friends |
||
Methods | |||
public bool |
Check if a specific user is blocked |
||
public bool |
Check if a specific user is a friend |
||
public void |
Shows the a dialog where the user can manage their blocked users list. |
||
public void |
Shows the a dialog where the user can manage their friends list. |
||
public void |
Shows a dialog where the user can choose to block a specific user |
||
public void |
Shows a dialog where the user can choose to send a friend request to the specified user. |
PublishingNetworkRelations.Friends
public PublishingNetworkProfile[] |
|
List of all friends
PublishingNetworkRelations.IsBlocked
public bool |
|
Check if a specific user is blocked
Arguments
string | userId |
The userId of the user to check. |
PublishingNetworkRelations.IsFriend
public bool |
|
Check if a specific user is a friend
Arguments
string | userId |
The userId of the user to check. |
PublishingNetworkRelations.ShowBlockedUsersManager
public void |
|
Shows the a dialog where the user can manage their blocked users list.
Arguments
Callback | closedCallback |
Callback that will be called when the dialog closes |
PublishingNetworkRelations.ShowFriendsManager
public void |
|
Shows the a dialog where the user can manage their friends list.
Arguments
Callback | closedCallback |
Callback that will be called when the dialog closes |
PublishingNetworkRelations.ShowRequestBlockUserDialog
public void |
|
Shows a dialog where the user can choose to block a specific user
Arguments
string | userId |
The userId of the user to block | |
Callback | closedCallback |
Callback that will be called when the dialog is closed |
PublishingNetworkRelations.ShowRequestFriendshipDialog
public void |
|
Shows a dialog where the user can choose to send a friend request to the specified user.
Arguments
string | userId |
The userId of the user that will receive the friendship request, if sent | |
Callback | closedCallback |
Callback that will be called when the dialog is closed |