Exemplo n.º 1
0
 // Token: 0x0600BDCE RID: 48590 RVA: 0x00351768 File Offset: 0x0034F968
 protected void OnTeamShowClick()
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnTeamShowClick_hotfix != null)
     {
         this.m_OnTeamShowClick_hotfix.call(new object[]
         {
             this
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (this.m_playerContext.BusinessCard.SetInfo.Heroes.Count == 0)
     {
         string value = this.m_configDataLoader.GetConfigDataStringTable(13054).Value;
         CommonUIController.Instance.ShowTip(value);
         return;
     }
     CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate
     {
         UIIntentReturnable uiintentReturnable = new UIIntentReturnable(this.m_task.CurrentIntent, typeof(ARUITask).Name, null);
         uiintentReturnable.SetParam("Type", 3);
         UIManager.Instance.StartUITask(uiintentReturnable, true, false, delegate
         {
             CommonUIController.Instance.HideFadeOutLoadingFadeIn();
             UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(ARUITask));
             uitaskBase.ReturnFromRedirectPipLineOnLoadAllResCompleted();
         });
     }, FadeStyle.White, -1f, -1f);
 }
Exemplo n.º 2
0
 // Token: 0x0600BDCD RID: 48589 RVA: 0x003516D8 File Offset: 0x0034F8D8
 protected void OnHeroDrawShowClick()
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnHeroDrawShowClick_hotfix != null)
     {
         this.m_OnHeroDrawShowClick_hotfix.call(new object[]
         {
             this
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (this.m_selectHeroWrap == null)
     {
         return;
     }
     CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate
     {
         UIIntentReturnable uiintentReturnable = new UIIntentReturnable(this.m_task.CurrentIntent, typeof(ARUITask).Name, null);
         uiintentReturnable.SetParam("Type", 2);
         uiintentReturnable.SetParam("SelectHeroID", this.m_selectHeroWrap.hero.HeroId);
         UIManager.Instance.StartUITask(uiintentReturnable, true, false, delegate
         {
             CommonUIController.Instance.HideFadeOutLoadingFadeIn();
             UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(ARUITask));
             uitaskBase.ReturnFromRedirectPipLineOnLoadAllResCompleted();
         });
     }, FadeStyle.White, -1f, -1f);
 }
Exemplo n.º 3
0
        // Token: 0x0600A2A3 RID: 41635 RVA: 0x002DDC9C File Offset: 0x002DBE9C
        private void BagListUITask_OnLoadAllResCompleted()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_BagListUITask_OnLoadAllResCompleted_hotfix != null)
            {
                this.m_BagListUITask_OnLoadAllResCompleted_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            CommonUIController.Instance.HideFadeOutLoadingFadeIn();
            UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(BagListUITask));

            if (uitaskBase != null)
            {
                if (this.m_lastUIIntent != null)
                {
                    UITaskBase uitaskBase2 = UIManager.Instance.FindUITaskWithName(this.m_lastUIIntent.TargetTaskName);
                    if (uitaskBase2 != null)
                    {
                        uitaskBase2.Pause();
                    }
                }
                base.Pause();
                uitaskBase.ReturnFromRedirectPipLineOnLoadAllResCompleted();
            }
        }
Exemplo n.º 4
0
        // Token: 0x0600FA0B RID: 64011 RVA: 0x0041CF50 File Offset: 0x0041B150
        public static void OnLoadAllResCompletedCallback()
        {
            CommonUIController.Instance.HideFadeOutLoadingFadeIn();
            UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(NormalItemBuyUITask));

            if (uitaskBase != null)
            {
                uitaskBase.ReturnFromRedirectPipLineOnLoadAllResCompleted();
            }
        }
Exemplo n.º 5
0
        // Token: 0x06011859 RID: 71769 RVA: 0x004890B8 File Offset: 0x004872B8
        private void TeamUITask_OnLoadAllResCompleted()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_TeamUITask_OnLoadAllResCompleted_hotfix != null)
            {
                this.m_TeamUITask_OnLoadAllResCompleted_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            CommonUIController.Instance.HideFadeOutLoadingFadeIn();
            UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(TeamUITask));

            if (uitaskBase != null)
            {
                base.Pause();
                uitaskBase.ReturnFromRedirectPipLineOnLoadAllResCompleted();
            }
        }
Exemplo n.º 6
0
        // Token: 0x06012451 RID: 74833 RVA: 0x004B23B0 File Offset: 0x004B05B0
        private void StartLoginUITask()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_StartLoginUITask_hotfix != null)
            {
                this.m_StartLoginUITask_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            Utility.LogMemorySize("PreloadUITask.StartLoginUITask");
            UIIntent intent = new UIIntent(typeof(LoginUITask).Name, null);

            UIManager.Instance.StartUITask(intent, false, false, delegate
            {
                base.Pause();
                UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(LoginUITask));
                if (uitaskBase != null)
                {
                    uitaskBase.ReturnFromRedirectPipLineOnLoadAllResCompleted();
                }
            });
        }