// Token: 0x0600D97C RID: 55676 RVA: 0x003B11EC File Offset: 0x003AF3EC private void CooperateBattleUIController_OnStartCooperateBattleLevel(ConfigDataCooperateBattleLevelInfo levelInfo) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_CooperateBattleUIController_OnStartCooperateBattleLevelConfigDataCooperateBattleLevelInfo_hotfix != null) { this.m_CooperateBattleUIController_OnStartCooperateBattleLevelConfigDataCooperateBattleLevelInfo_hotfix.call(new object[] { this, levelInfo }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (this.m_cooperateBattleInfo == null) { return; } ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext; int num = projectLPlayerContext.CanAttackCooperateBattleLevel(levelInfo.ID); if (num == 0) { UIIntentReturnable intent = TeamUITask.CreateIntent(this.m_currIntent, GameFunctionType.GameFunctionType_CooperateBattle, this.m_cooperateBattleInfo.ID, levelInfo.ID); UIManager.Instance.StartUITask(intent, true, false, new Action(this.TeamUITask_OnLoadAllResCompleted)); } else { WorldUITask.HandleAttackFailResult(num, this.m_currIntent); } }
// Token: 0x06011858 RID: 71768 RVA: 0x00489034 File Offset: 0x00487234 private void HeroTrainningUIController_OnShowTeam() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_HeroTrainningUIController_OnShowTeam_hotfix != null) { this.m_HeroTrainningUIController_OnShowTeam_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate { UIIntentReturnable intent = TeamUITask.CreateIntent(this.m_currIntent, GameFunctionType.GameFunctionType_HeroTrainning, this.m_heroTrainningInfo.ID, 0); UIManager.Instance.StartUITask(intent, true, false, new Action(this.TeamUITask_OnLoadAllResCompleted)); }, FadeStyle.Black, -1f, -1f); }