Photon C++ Client API: ExitGames::LoadBalancing::DisconnectCause Namespace Reference

Photon C++ Client API

Photon C++ Client API  4.1.12.2
ExitGames::LoadBalancing::DisconnectCause Namespace Reference

Variables

static const int NONE
 No error was tracked.
 
static const int DISCONNECT_BY_SERVER_USER_LIMIT
 OnStatusChanged: The CCUs count of your Photon Server License is exausted (temporarily).
 
static const int EXCEPTION_ON_CONNECT
 OnStatusChanged: The server is not available or the address is wrong. Make sure the port is provided and the server is up.
 
static const int DISCONNECT_BY_SERVER
 OnStatusChanged: The server disconnected this client. Most likely the server's send buffer is full (receiving too much from other clients).
 
static const int DISCONNECT_BY_SERVER_LOGIC
 OnStatusChanged: The server disconnected this client due to server's logic (received a disconnect command).
 
static const int TIMEOUT_DISCONNECT
 OnStatusChanged: This client detected that the server's responses are not received in due time. Maybe you send / receive too much?
 
static const int EXCEPTION
 OnStatusChanged: Some internal exception caused the socket code to fail. Contact Exit Games.
 
static const int INVALID_AUTHENTICATION
 OnOperationResponse: Authenticate in the Photon Cloud with invalid AppId. Update your subscription or contact Exit Games.
 
static const int MAX_CCU_REACHED
 OnOperationResponse: Authenticate (temporarily) failed when using a Photon Cloud subscription without CCU Burst. Update your subscription.
 
static const int INVALID_REGION
 OnOperationResponse: Authenticate when the app's Photon Cloud subscription is locked to some (other) region(s). Update your subscription or master server address.
 
static const int OPERATION_NOT_ALLOWED_IN_CURRENT_STATE
 OnOperationResponse: Operation that's (currently) not available for this client (not authorized usually). Only tracked for op Authenticate.
 
static const int CUSTOM_AUTHENTICATION_FAILED
 OnOperationResponse: Authenticate in the Photon Cloud with invalid client values or custom authentication setup in Cloud Dashboard.
 

Detailed Description

Enumaration of causes for Disconnects (used in LoadBalancingClient.DisconnectedCause). Read the individual descriptions to find out what to do about this type of disconnect.

DisconnectCause