// 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);
            }
        }