// Token: 0x060018E2 RID: 6370 RVA: 0x0029A99C File Offset: 0x00298B9C private bool CheckNeedCountDown() { bool result = false; bool flag = false; if (this.m_MaintanceType == GameMaintanceType.IsMaintain && DateTime.Compare(this.m_EndTime, DateTime.Now) >= 0) { result = true; flag = true; } if (base.transform.GetChild(3).gameObject.activeSelf != flag) { base.transform.GetChild(3).gameObject.SetActive(flag); } if (!this.bReConfig && this.m_MaintanceType == GameMaintanceType.IsMaintain && !flag && IGGGameSDK.Instance.GameMaintanceDataReady) { this.bReConfig = true; IGGGameSDK.Instance.GameMaintanceDataReady = false; IGGSDKPlugin.LoadGameConfig(); } return(result); }
// Token: 0x060018D8 RID: 6360 RVA: 0x00299C40 File Offset: 0x00297E40 public void OnButtonClick(UIButton sender) { int btnID = sender.m_BtnID1; if (btnID != 0) { if (btnID != 1) { if (btnID == 999) { this.OnBackButtonClick(); } } else if (this.m_MaintanceType == GameMaintanceType.IsMaintain) { if (IGGGameSDK.Instance.GameMaintanceDataReady) { IGGGameSDK.Instance.GameMaintanceDataReady = false; IGGSDKPlugin.LoadGameConfig(); } } else if (this.m_MaintanceType == GameMaintanceType.HaveLoginInfo) { IGGGameSDK.Instance.CanLogIn(); } else if (this.m_MaintanceType == GameMaintanceType.ForciblyUpdate) { if (UpdateController.CheckNewApk(IGGGameSDK.Instance.MaintanceData.URL)) { GUIManager.Instance.CloseMenu(EGUIWindow.UI_Announcement); } } else if (this.m_MaintanceType == GameMaintanceType.ProposalUpdate && UpdateController.CheckNewApk(IGGGameSDK.Instance.MaintanceData.URL)) { GUIManager.Instance.CloseMenu(EGUIWindow.UI_Announcement); } } else if (this.m_MaintanceType == GameMaintanceType.IsMaintain) { if (DataManager.Instance.UserLanguage == GameLanguage.GL_Chs) { IGGSDKPlugin.OpenFbByUrl(GameConstants.Url176); } else { this.OpneURLByLanguage(GameConstants.GlobalEditionFUrl); } } else if (this.m_MaintanceType == GameMaintanceType.ForciblyUpdate) { this.OnBackButtonClick(); } else if (this.m_MaintanceType == GameMaintanceType.ProposalUpdate) { if (this.SDK.IsGameMaintanceType(GameMaintanceType.IsMaintain)) { this.UpdateUI(1, 0); } else if (this.SDK.IsGameMaintanceType(GameMaintanceType.HaveLoginInfo)) { this.UpdateUI(2, 0); } else { this.SDK.CanLogIn(); } } }