Photon Quantum 3.0.0

Public Member Functions | Static Public Member Functions | List of all members
Quantum.QuantumReconnectInformation Class Reference

Implements MatchmakingReconnectInformation to save reconnect information to player prefs. This way the app can try to reconnect after app start. More...

Inherits MatchmakingReconnectInformation.

Public Member Functions

override void Set (RealtimeClient client)
 Is a callback from matchmaking that triggers a successful connect that can then be stored. More...
 

Static Public Member Functions

static MatchmakingReconnectInformation Load ()
 Load the matchmaking information from player prefs. More...
 
static void Reset ()
 Reset the saved reconnect information. More...
 
static void Save (QuantumReconnectInformation value)
 Save the reconnect information to player prefs. More...
 

Detailed Description

Implements MatchmakingReconnectInformation to save reconnect information to player prefs. This way the app can try to reconnect after app start.

Member Function Documentation

◆ Load()

static MatchmakingReconnectInformation Quantum.QuantumReconnectInformation.Load ( )
inlinestatic

Load the matchmaking information from player prefs.

Always returns a valid object.

◆ Set()

override void Quantum.QuantumReconnectInformation.Set ( RealtimeClient  client)
inline

Is a callback from matchmaking that triggers a successful connect that can then be stored.

Parameters
clientRealtime client that created the connection.

◆ Reset()

static void Quantum.QuantumReconnectInformation.Reset ( )
inlinestatic

Reset the saved reconnect information.

◆ Save()

static void Quantum.QuantumReconnectInformation.Save ( QuantumReconnectInformation  value)
inlinestatic

Save the reconnect information to player prefs.

Parameters
valueThe info to store.