Game account
Creating a player account is the first step towards using the coherence Cloud API. It is required in order to use the rest of the services.
Initialization
public static class Play
{
// Initialises the Cloud API
public static void Init(string RuntimeKey)
}Callbacks
public static class Auth
{
public enum Result
{
// Successful operation.
Success,
// Network error, e.g. connection failed.
NetworkError,
// Server error, e.g. exception on the server.
ServerError,
// User not found, e.g. when trying to login with non-existing user
UserNotFound,
// Invalid credentials, e.g. when trying to login with wrong password
InvalidCredentials,
// Session has expired, e.g. when trying to renew an existing session
SessionExpired,
}
// Invoked when completing the login process.
public delegate void OnSession(Result result);
}Guest Account
User Account
Example
Last updated
Was this helpful?

