// 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); }
// 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(); } }
// 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); }
// Token: 0x0600D08D RID: 53389 RVA: 0x003920BC File Offset: 0x003902BC public static void StopUITask() { UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(InviteNotifyUITask)); if (uitaskBase != null) { uitaskBase.Stop(); } }
// 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(); } }
// Token: 0x0600D661 RID: 54881 RVA: 0x003A6C28 File Offset: 0x003A4E28 private void OnClick() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnClick_hotfix != null) { this.m_OnClick_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (this.m_goodsType == GoodsType.GoodsType_HeroSkin) { UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(HeroSkinChangeUITask)); if (uitaskBase == null) { HeroSkinChangeUITask.StartUITask("ShowOneSkin", this.m_goodsId, null, null); } else if (uitaskBase.State != Task.TaskState.Running) { HeroSkinChangeUITask.StartUITask("ShowOneSkin", this.m_goodsId, null, null); } } else if (this.m_goodsType == GoodsType.GoodsType_SoldierSkin) { UITaskBase uitaskBase2 = UIUtility.FindUITaskWithType(typeof(StoreSoldierSkinDetailUITask)); if (uitaskBase2 == null) { StoreSoldierSkinDetailUITask.StartSoldierSkinDetailPanel(this.m_goodsId, StoreSoldierSkinDetailUITask.StartTaskFromType.StartTaskFromGift, null); } else if (uitaskBase2.State != Task.TaskState.Running) { StoreSoldierSkinDetailUITask.StartSoldierSkinDetailPanel(this.m_goodsId, StoreSoldierSkinDetailUITask.StartTaskFromType.StartTaskFromGift, null); } } else if (this.m_goodsType == GoodsType.GoodsType_MonthCard) { MonthCardInfoUITask.StartUITask(this.m_goodsId, null); } else { GoodsType goodsType = this.m_goodsType; int goodsId = this.m_goodsId; int alignType = this.m_alignType; bool isNeedAutoClose = RewardGoodsUIController.m_isNeedAutoClose; RewardGoodsDescUITask.StartUITask(this, goodsType, goodsId, alignType, null, isNeedAutoClose); } }
public static int __callBase_ReturnPrevUITask(IntPtr l) { int result; try { ARUITask aruitask = (ARUITask)LuaObject.checkSelf(l); UITaskBase o = aruitask.m_luaExportHelper.__callBase_ReturnPrevUITask(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return result; }
// Token: 0x0601447E RID: 83070 RVA: 0x00528184 File Offset: 0x00526384 public UINetTask(float timeout = 10f, UITaskBase blockedUITask = null, bool autoRetry = true) : base(timeout, blockedUITask, autoRetry) { this.Result = -99; this.IsReloginSuccess = false; if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ctorSingleUITaskBaseBoolean_hotfix != null) { this.m_ctorSingleUITaskBaseBoolean_hotfix.call(new object[] { this, timeout, blockedUITask, autoRetry }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; }
// Token: 0x0601218C RID: 74124 RVA: 0x004AA010 File Offset: 0x004A8210 public void UpdatePositionState() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdatePositionState_hotfix != null) { this.m_UpdatePositionState_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (this.m_noticeUICtrl.gameObject.activeSelf) { UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(WorldUITask)); UITaskBase uitaskBase2 = UIUtility.FindUITaskWithType(typeof(BattleUITask)); string text = string.Empty; if (uitaskBase != null) { if (uitaskBase.State == Task.TaskState.Paused || uitaskBase.State == Task.TaskState.Stopped) { UITaskBase uitaskBase3 = UIUtility.FindUITaskWithType(typeof(RiftUITask)); if (uitaskBase3 != null && uitaskBase3.State == Task.TaskState.Running) { text = "InRift"; } else { text = "InOther"; } } else { text = "InWorld"; } } if (uitaskBase2 != null && uitaskBase2.State == Task.TaskState.Running) { text = "InBattle"; } if (!string.IsNullOrEmpty(text)) { this.m_noticeUICtrl.SetPositionState(text); } } }
public static int __callBase_ReturnPrevUITask(IntPtr l) { int result; try { HeroBreakEffectUITask heroBreakEffectUITask = (HeroBreakEffectUITask)LuaObject.checkSelf(l); UITaskBase o = heroBreakEffectUITask.m_luaExportHelper.__callBase_ReturnPrevUITask(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_ReturnPrevUITask(IntPtr l) { int result; try { GuildMassiveCombatUITask guildMassiveCombatUITask = (GuildMassiveCombatUITask)LuaObject.checkSelf(l); UITaskBase o = guildMassiveCombatUITask.m_luaExportHelper.__callBase_ReturnPrevUITask(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x0600079B RID: 1947 RVA: 0x000233E0 File Offset: 0x000215E0 public NetWorkTransactionTask(float timeout = 10f, UITaskBase blockedUITask = null, bool autoRetry = false) : base(null) { this.m_timeout = timeout; if ((double)this.m_timeout > 0.001) { if (Application.isEditor) { this.m_timeoutTime = new DateTime?(Timer.m_currTime.AddSeconds(60.0)); } else { this.m_timeoutTime = new DateTime?(Timer.m_currTime.AddSeconds((double)this.m_timeout)); } } this.m_blockedUITask = blockedUITask; this.m_showWaitingUITime = Timer.m_currTime.AddSeconds((double)NetWorkTransactionTask.m_delayTimeForUIWaiting); this.m_autoRetry = autoRetry; }
// 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(); } }
// 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(); } }); }