// Token: 0x06003B9F RID: 15263 RVA: 0x000D531C File Offset: 0x000D351C private IEnumerator uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection netDisconnect) { yield return(null); yield return(null); try { global::SoundPool.Drain(); } catch (Exception ex) { Exception e = ex; Debug.LogException(e); } try { global::DestroysOnDisconnect.OnDisconnectedFromServer(); } catch (Exception ex2) { Exception e2 = ex2; Debug.LogException(e2); } yield break; }
void uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection mode) { isQuickMode = true; if (reloadOnDisconnect && mode != uLink.NetworkDisconnection.Redirecting && Application.loadedLevel != -1) { Application.LoadLevel(Application.loadedLevel); } }
void uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection mode) { Printf("Disconnected " + mode); CancelInvoke(); Destroy(this.gameObject); // we don't want to fetch local ppi here // it will be done later after round results display //PPIManager.Instance.FetchPPIFromCloud(); Game.Instance.LoadMainMenu(); }
private void uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection netDisconnect) { if (this.levelLoader) { UnityEngine.Object.Destroy(this.levelLoader); } try { DisableOnConnectedState.OnDisconnected(); } finally { UnityEngine.Object.Destroy(base.gameObject); } }
void uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection mode) { if (mode == uLink.NetworkDisconnection.Redirecting) { //Code executed when the player goes into the portal. uLink.Network.isMessageQueueRunning = false; string level = (Application.loadedLevelName == "ClientWorld1") ? "ClientWorld2" : "ClientWorld1"; Application.LoadLevel(level); } else { Application.LoadLevel(Application.loadedLevel); } }
private void uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection netDisconnect) { NetError lastKickReason = ServerManagement.GetLastKickReason(true); this.LogDisconnect(lastKickReason, new uLink.NetworkDisconnection?(netDisconnect)); DisableOnConnectedState.OnDisconnected(); ConsoleSystem.Run("gameui.show", false); this.LoadBackground(); if (lastKickReason == NetError.NoError) { this.ShowInformation("Disconnected from server."); } else { this.ShowInformation(string.Concat("Disconnected (", lastKickReason.NiceString(), ")")); } LoadingScreen.Hide(); }
// Token: 0x060019FF RID: 6655 RVA: 0x000651B4 File Offset: 0x000633B4 private void uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection blowme) { this.DestroyManually(); }
private IEnumerator uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection netDisconnect) { return(new < uLink_OnDisconnectedFromServer > c__Iterator40()); }
void uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection mode) { Reset(); }
void uLink_OnDisconnectedFromServer(uLink.NetworkDisconnection mode) { Debug.Log("restarting game"); Application.LoadLevel(Application.loadedLevel); }