public void onUserResumed(string a, bool b, string c) { GameDelegateTeenPatti.connctionChange(c, true); Debug.Log(a + "Resume User " + c + " " + b); if (c.Equals(PlayerPrefs.GetString(PlayerDetails.ConnectionId))) { // appwarp.sendGameRequest(); } }
public void onUserResumed(string a, bool b, string c) { GameDelegateTeenPatti.connctionChange(c, true); // Debug.Log (a + "Resume User " + c + " " + b); if (c.Equals(GameUser.CurrentUser.ID)) { // appwarp.sendGameRequest(); } }
IEnumerator recover() { while (true) { if (tempFail) { try { GameDelegateTeenPatti.connctionChange(GameUser.CurrentUser.ID, false); // Debug.Log ("Attempt server"); WarpClient.GetInstance().RecoverConnection(); } catch (System.Exception ex) { // Debug.Log (ex.Message); } yield return(new WaitForSeconds(8)); } yield return(new WaitForSeconds(1)); } }
IEnumerator recover() { while (true) { if (tempFail) { try { GameDelegateTeenPatti.connctionChange(PlayerPrefs.GetString(PrefebTagsTeenpatti.PLAYER_ID), false); Debug.Log("Attempt server"); WarpClient.GetInstance().RecoverConnection(); } catch (System.Exception ex) { Debug.Log(ex.Message); } yield return(new WaitForSeconds(8)); } yield return(new WaitForSeconds(1)); } }
public void onUserPaused(string a, bool b, string c) { Debug.Log(a + "Pause User " + c + " " + b); GameDelegateTeenPatti.connctionChange(c, false); }