PlayerIO

The fastest way to build online games without breaking a sweat.

Unity3D Client Reference

Multiplayer  class documentationClass PublishingNetworkProfiles

Namespace: PlayerIOClient
Language: C# / .NET

The PlayerIO Publishing Network profile service

Properties

 
public PublishingNetworkProfile
MyProfile  [read-only]

The profile of the current user

Methods

 
public void
LoadProfiles (String[] userIds, Callback<PublishingNetworkProfile[]> successCallback, Callback<PlayerIOError> errorCallback)

Load a set of PlayerIO Publishing Network profiles

public void
LoadProfiles (String[] userIds, Callback<PublishingNetworkProfile[]> successCallback)

Load a set of PlayerIO Publishing Network profiles

public void
ShowProfile (string userId, Callback closedCallback)

Show the profile for the specified user

PublishingNetworkProfiles.MyProfile

public PublishingNetworkProfile
MyProfile  [read-only]

The profile of the current user

PublishingNetworkProfiles.LoadProfiles

public void
LoadProfiles (String[] userIds, Callback<PublishingNetworkProfile[]> successCallback, Callback<PlayerIOError> errorCallback)

Load a set of PlayerIO Publishing Network profiles

Arguments

String[] userIds
The userIds of the profiles to load.
Callback<PublishingNetworkProfile[]> successCallback
Callback that will be called with the loaded profiles.
Callback<PlayerIOError> errorCallback
Callback that will be called if the load fails.

PublishingNetworkProfiles.LoadProfiles

public void
LoadProfiles (String[] userIds, Callback<PublishingNetworkProfile[]> successCallback)

Load a set of PlayerIO Publishing Network profiles

Arguments

String[] userIds
The userIds of the profiles to load.
Callback<PublishingNetworkProfile[]> successCallback
Callback that will be called with the loaded profiles.

PublishingNetworkProfiles.ShowProfile

public void
ShowProfile (string userId, Callback closedCallback)

Show the profile for the specified user

Arguments

string userId
The userId of the user
Callback closedCallback
Callback that will be called when the profile page is closed