Quantum 3
3.1.0
An extension class to wrap some of the most common Photon matchmaking calls. More...
Static Public Member Functions | |
| static Task< RealtimeClient > | ConnectToRoomAsync (MatchmakingArguments arguments, RealtimeClient client=null) |
| static Task< RealtimeClient > | ConnectToRoomAsync (this RealtimeClient client, MatchmakingArguments arguments) |
| Run the Photon connection logic to connect to a game server and enter a room. This method only returns after successfully entered a room. This method throws an exception on any errors. More... | |
| static Task< RealtimeClient > | ReconnectToRoomAsync (MatchmakingArguments arguments, RealtimeClient client=null) |
| static Task< RealtimeClient > | ReconnectToRoomAsync (this RealtimeClient client, MatchmakingArguments arguments) |
| Run different Photon reconnection logic to reconnect to a game server and re-enter a room. Requires MatchmakingReconnectInformation to be initialized. Different reconnection strategies are applied to rejoin a room. Also works after an app restart if the ReconnectInformation is correctly set up. This method only returns after successfully re-entered the room. This method throws an exception on any errors. More... | |
An extension class to wrap some of the most common Photon matchmaking calls.
|
inlinestatic |
Run the Photon connection logic to connect to a game server and enter a room. This method only returns after successfully entered a room. This method throws an exception on any errors.
| client | Optionally client object to start the matchmaking with. Can be null. |
| arguments | Photon matchmaking arguments. |
| ArgumentException | Arguments were incomplete. |
| DisconnectException | Is thrown when the connection terminated. |
| AuthenticationFailedException | Is thrown when the authentication failed. |
| OperationStartException | Is thrown when the operation could not be started. |
| OperationException | Is thrown when the operation completed unsuccessfully. |
| OperationTimeoutException | Is thrown when the operation timed out. |
| OperationCanceledException | Is thrown when the operation have been canceled (AsyncConfig.CancellationSource). |
|
inlinestatic |
Run different Photon reconnection logic to reconnect to a game server and re-enter a room. Requires MatchmakingReconnectInformation to be initialized. Different reconnection strategies are applied to rejoin a room. Also works after an app restart if the ReconnectInformation is correctly set up. This method only returns after successfully re-entered the room. This method throws an exception on any errors.
| client | Optionally client object to start the matchmaking with. Can be null. |
| arguments | Photon matchmaking arguments. |
| ArgumentException | Arguments were incomplete, reconnection information not set or invalid. |
| DisconnectException | Is thrown when the connection terminated. |
| AuthenticationFailedException | Is thrown when the authentication failed. |
| OperationStartException | Is thrown when the operation could not be started. |
| OperationException | Is thrown when the operation completed unsuccessfully. |
| OperationTimeoutException | Is thrown when the operation timed out. |
| OperationCanceledException | Is thrown when the operation have been canceled (AsyncConfig.CancellationSource). |