|
static bool | AppQuits |
| Indicates that the app is closing. Set in OnApplicationQuit(). More...
|
|
◆ RealtimeFallbackThread()
bool Photon.Realtime.ConnectionHandler.RealtimeFallbackThread |
( |
| ) |
|
A thread which runs independent from the Update() calls. Keeps connections online while loading or in background. See KeepAliveInBackground.
◆ StartFallbackSendAckThread()
void Photon.Realtime.ConnectionHandler.StartFallbackSendAckThread |
( |
| ) |
|
◆ StopFallbackSendAckThread()
void Photon.Realtime.ConnectionHandler.StopFallbackSendAckThread |
( |
| ) |
|
◆ ApplyDontDestroyOnLoad
bool Photon.Realtime.ConnectionHandler.ApplyDontDestroyOnLoad = true |
◆ AppQuits
bool Photon.Realtime.ConnectionHandler.AppQuits |
|
static |
Indicates that the app is closing. Set in OnApplicationQuit().
◆ DisconnectAfterKeepAlive
bool Photon.Realtime.ConnectionHandler.DisconnectAfterKeepAlive = false |
Option to let the fallback thread call Disconnect after the KeepAliveInBackground time. Default: false.
If set to true, the thread will disconnect the client regularly, should the client not call SendOutgoingCommands / Service. This may happen due to an app being in background (and not getting a lot of CPU time) or when loading assets.
If false, a regular timeout time will have to pass (on top) to time out the client.
◆ KeepAliveInBackground
int Photon.Realtime.ConnectionHandler.KeepAliveInBackground = 60000 |
Defines for how long the Fallback Thread should keep the connection, before it may time out as usual.
We want to the Client to keep it's connection when an app is in the background (and doesn't call Update / Service Clients should not keep their connection indefinitely in the background, so after some milliseconds, the Fallback Thread should stop keeping it up.
◆ Client
Photon client to log information and statistics from.
◆ CountSendAcksOnly
int Photon.Realtime.ConnectionHandler.CountSendAcksOnly |
|
get |
Counts how often the Fallback Thread called SendAcksOnly, which is purely of interest to monitor if the game logic called SendOutgoingCommands as intended.
◆ FallbackThreadRunning
bool Photon.Realtime.ConnectionHandler.FallbackThreadRunning |
|
get |
True if a fallback thread is running. Will call the client's SendAcksOnly() method to keep the connection up.
The documentation for this class was generated from the following file: