Quantum 3
3.1.0
Implements MatchmakingReconnectInformation to save reconnect information to player prefs. This way the app can try to reconnect after app start. More...
Public Member Functions | |
| override void | Set (RealtimeClient client) |
| Is a callback from matchmaking that triggers a successful connect that can then be stored. More... | |
Public Member Functions inherited from Photon.Realtime.MatchmakingReconnectInformation | |
| void | Set (RealtimeClient client, TimeSpan timeSpan) |
| Update all info. More... | |
| override string | ToString () |
| Print readable information about its fields. 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... | |
Additional Inherited Members | |
Public Attributes inherited from Photon.Realtime.MatchmakingReconnectInformation | |
| string | AppVersion |
| The app version used in the former connection. More... | |
| int | DefaultTimeout = 20 |
| The default timeout that is used when Set(RealtimeClient) is called. More... | |
| bool | HasTimedOut => Timeout < DateTime.UtcNow |
| Checks the timeout and returns false when it ran out. More... | |
| string | Region |
| The region the client was connected to. More... | |
| string | Room |
| The room name the client was connected to. More... | |
| long | TimeoutInTicks |
| The timeout after this information is considered to useable. More... | |
| string | UserId |
| The user id the client used to connect to the server. More... | |
Properties inherited from Photon.Realtime.MatchmakingReconnectInformation | |
| DateTime | Timeout [get, set] |
| Set and get TimeoutInTicks. More... | |
Implements MatchmakingReconnectInformation to save reconnect information to player prefs. This way the app can try to reconnect after app start.
|
inlinestatic |
Load the matchmaking information from player prefs.
Always returns a valid object.
|
inlinevirtual |
Is a callback from matchmaking that triggers a successful connect that can then be stored.
| client | Realtime client that created the connection. |
Reimplemented from Photon.Realtime.MatchmakingReconnectInformation.
|
inlinestatic |
Reset the saved reconnect information.
|
inlinestatic |
Save the reconnect information to player prefs.
| value | The info to store. |