Exemplo n.º 1
0
 private bool onNoConnectionError(NetworkErrors.NoConnectionError evt)
 {
     if (showingError)
     {
         return(false);
     }
     Service.Get <ICPSwrveService>().Error("network_error", "NoConnectionError", gameStateController.CurrentState(), SceneManager.GetActiveScene().name);
     Log.LogNetworkErrorFormatted(this, "No Connection state: {0}", gameStateController.CurrentState());
     clearData();
     gameStateController.GoOffline();
     showNetworkErrorPrompt("GlobalUI.ErrorMessages.NetworkError.Title", "GlobalUI.ErrorMessages.CheckNetworkConnection");
     return(false);
 }