private void Update() { if (!this.mStart) { return; } if (this.mCheckFlag[0] && !((Behaviour)EventSystem.get_current().get_currentInputModule()).get_enabled()) { this.AnyOn(); } else if (this.mCheckFlag[1] && FadeController.InstanceExists && FadeController.Instance.IsFading(0)) { this.AnyOn(); } else if (this.mCheckFlag[2] && Network.IsConnecting) { this.AnyOn(); } else if (this.mCheckFlag[3] && !FlowNode_GetCurrentScene.IsAfterLogin()) { this.AnyOn(); } else if (this.mCheckFlag[4] && BlockInterrupt.IsBlocked(BlockInterrupt.EType.ALL)) { this.AnyOn(); } else if (this.mCheckFlag[5] && BlockInterrupt.IsBlocked(BlockInterrupt.EType.PHOTON_DISCONNECTED)) { this.AnyOn(); } else if (this.mCheckFlag[6] && BlockInterrupt.IsBlocked(BlockInterrupt.EType.URL_SCHEME_LAUNCH)) { this.AnyOn(); } else if (this.mCheckFlag[7] && CriticalSection.IsActive) { this.AnyOn(); } else { this.AllPass(); } }
private void Update() { if (this.StartExec) { this.UpdatePendingParam(); } else { if (!MonoSingleton <GameManager> .Instance.Player.CheckUnlock(UnlockTargets.MultiPlay) || !this.StartCheck || (!FlowNode_GetCurrentScene.IsAfterLogin() || Object.op_Equality((Object)MonoSingleton <GameManager> .GetInstanceDirect(), (Object)null)) || (string.IsNullOrEmpty(MonoSingleton <GameManager> .GetInstanceDirect().Player.Name) || Object.op_Equality((Object)EventSystem.get_current(), (Object)null) || (Object.op_Equality((Object)EventSystem.get_current().get_currentInputModule(), (Object)null) || !((Behaviour)EventSystem.get_current().get_currentInputModule()).get_enabled())) || (Network.IsConnecting || BlockInterrupt.IsBlocked(BlockInterrupt.EType.URL_SCHEME_LAUNCH) || (CriticalSection.IsActive || !GlobalVars.IsTutorialEnd))) { return; } if (GameUtility.GetCurrentScene() == GameUtility.EScene.HOME) { HomeWindow current = HomeWindow.Current; if (Object.op_Equality((Object)current, (Object)null) || !current.IsReadyInTown) { return; } } if (!this.UpdatePendingParam()) { return; } this.StartCheck = false; this.StartExec = true; DebugUtility.Log("UrlScheme MultiPlayLINE start. CheckEnd!" + (object)(FlowNode_OnUrlSchemeLaunch.LINEParam_Pending != null)); this.ActivateOutputLinks(1); } }