// Token: 0x0601273F RID: 75583 RVA: 0x004BC7DC File Offset: 0x004BA9DC public static void StartRankingUITask(Action <bool> onPrepareEnd, UIIntent prevIntent, RankingListType rankingType) { UIIntentReturnable uiintentReturnable = new UIIntentReturnable(prevIntent, typeof(RankingUITask).Name, null); uiintentReturnable.SetParam(RankingUITask.ParamKey_RankingType, rankingType); UIManager.Instance.StartUITaskWithPrepare(uiintentReturnable, onPrepareEnd, true); }
// 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: 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: 0x0600D175 RID: 53621 RVA: 0x003950EC File Offset: 0x003932EC public static MonthCardInfoUITask StartUITask(int cardId, UIIntent returnIntent = null) { UIIntentReturnable uiintentReturnable = new UIIntentReturnable(returnIntent, typeof(MonthCardInfoUITask).Name, null); uiintentReturnable.SetParam("MonthCardId", cardId); return(UIManager.Instance.StartUITask(uiintentReturnable, false, false, null) as MonthCardInfoUITask); }
// Token: 0x0600A29A RID: 41626 RVA: 0x002DD798 File Offset: 0x002DB998 public static void StartUITask(UIIntent uiIntent) { UIIntentReturnable uiintentReturnable = new UIIntentReturnable(uiIntent, typeof(BagFullUITask).Name, null); uiintentReturnable.SetParam("LastUIIntent", uiIntent); UIManager.Instance.StartUITask(uiintentReturnable, true, false, null); }
// 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: 0x060136D5 RID: 79573 RVA: 0x004F3788 File Offset: 0x004F1988 public static StoreSoldierSkinDetailUITask StartSoldierSkinDetailPanel(int soldierSkinId, StoreSoldierSkinDetailUITask.StartTaskFromType startType = StoreSoldierSkinDetailUITask.StartTaskFromType.StartTaskFromStore, UIIntent preUIIntent = null) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(StoreSoldierSkinDetailUITask).Name, null); if (preUIIntent != null) { uiintentCustom = new UIIntentReturnable(preUIIntent, typeof(StoreSoldierSkinDetailUITask).Name, null); } uiintentCustom.SetParam("StartTaskFromType", startType); uiintentCustom.SetParam("SoldierSkinFixedStoreID", soldierSkinId); return(UIManager.Instance.StartUITask(uiintentCustom, true, false, null) as StoreSoldierSkinDetailUITask); }
// Token: 0x0600F7C1 RID: 63425 RVA: 0x00416E44 File Offset: 0x00415044 private void StartTeamRoomInfoUITask() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_StartTeamRoomInfoUITask_hotfix != null) { this.m_StartTeamRoomInfoUITask_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; UIIntentReturnable intent = new UIIntentReturnable(this.m_currIntent, typeof(TeamRoomInfoUITask).Name, null); UIManager.Instance.StartUITask(intent, true, false, null); }
// Token: 0x0600F9A1 RID: 63905 RVA: 0x0041B87C File Offset: 0x00419A7C public static void StartUITask(UIIntent lastIntent) { CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate { UIIntentReturnable uiintentReturnable = new UIIntentReturnable(lastIntent, typeof(GuildStoreUITask).Name, null); UIManager instance = UIManager.Instance; UIIntent intent = uiintentReturnable; bool pushIntentToStack = true; bool clearIntentStack = false; if (GuildStoreUITask.< > f__mg$cache0 == null) { GuildStoreUITask.< > f__mg$cache0 = new Action(GuildStoreUITask.OnLoadAllResCompletedCallback); } instance.StartUITask(intent, pushIntentToStack, clearIntentStack, GuildStoreUITask.< > f__mg$cache0); }, FadeStyle.Black, -1f, -1f);
// Token: 0x060100FB RID: 65787 RVA: 0x00434738 File Offset: 0x00432938 public static void StartUITask(UIIntent uiIntent, int heroId) { CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate { UIIntentReturnable uiintentReturnable = new UIIntentReturnable(uiIntent, typeof(HeroBreakRarityUpUITask).Name, null); HeroBreakRarityUpUITask.m_heroId = heroId; UIManager instance = UIManager.Instance; UIIntent intent = uiintentReturnable; bool pushIntentToStack = true; bool clearIntentStack = false; if (HeroBreakRarityUpUITask.< > f__mg$cache0 == null) { HeroBreakRarityUpUITask.< > f__mg$cache0 = new Action(HeroBreakRarityUpUITask.HeroBreakRarityUpUITask_OnLoadAllResCompleted); } instance.StartUITask(intent, pushIntentToStack, clearIntentStack, HeroBreakRarityUpUITask.< > f__mg$cache0); }, FadeStyle.White, -1f, -1f);
// Token: 0x0600A2A2 RID: 41634 RVA: 0x002DDC18 File Offset: 0x002DBE18 private void BagFullUIController_OnGotoBag() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_BagFullUIController_OnGotoBag_hotfix != null) { this.m_BagFullUIController_OnGotoBag_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate { UIIntentReturnable intent = new UIIntentReturnable(this.m_lastUIIntent, typeof(BagListUITask).Name, null); UIManager.Instance.StartUITask(intent, true, false, new Action(this.BagListUITask_OnLoadAllResCompleted)); }, FadeStyle.Black, -1f, -1f); }
public static int get_PrevTaskIntent(IntPtr l) { int result; try { UIIntentReturnable uiintentReturnable = (UIIntentReturnable)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, uiintentReturnable.PrevTaskIntent); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// 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); }
// Token: 0x0600F944 RID: 63812 RVA: 0x0041AB74 File Offset: 0x00418D74 private void GotoGuildMassiveCombatUITask() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_GotoGuildMassiveCombatUITask_hotfix != null) { this.m_GotoGuildMassiveCombatUITask_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate { UIIntentReturnable uiintentReturnable = this.m_currIntent as UIIntentReturnable; UIIntentReturnable intent = new UIIntentReturnable(uiintentReturnable.PrevTaskIntent, typeof(GuildMassiveCombatUITask).Name, null); UIManager.Instance.StartUITask(intent, true, false, new Action(this.GuildMassiveCombatUITask_OnLoadAllResCompleted)); }, FadeStyle.Black, -1f, -1f); }
// Token: 0x0600F24E RID: 62030 RVA: 0x00405578 File Offset: 0x00403778 private void GuildGameListUIController_OnGuildPlayListItemClick() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_GuildGameListUIController_OnGuildPlayListItemClick_hotfix != null) { this.m_GuildGameListUIController_OnGuildPlayListItemClick_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext; Guild guildInfo = projectLPlayerContext.GetGuildInfo(); GuildMemberCacheObject guildMemberCacheObject = guildInfo.FindMember(projectLPlayerContext.GetUserId()); GuildTitle guildTitle; if (guildMemberCacheObject != null) { guildTitle = guildMemberCacheObject.Member.Title; } else { guildTitle = GuildTitle.None; } GuildMassiveCombatInfo recentCombat = guildInfo.MassiveCombat.RecentCombat; bool flag = (guildTitle == GuildTitle.President || guildTitle == GuildTitle.VP) && recentCombat == null; if (flag) { CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate { UIIntentReturnable intent = new UIIntentReturnable(this.m_currIntent, typeof(GuildRaidUITask).Name, null); UIManager.Instance.StartUITask(intent, true, false, new Action(this.GuildRaidUITask_OnLoadAllResCompleted)); }, FadeStyle.Black, -1f, -1f); } else { CommonUIController.Instance.StartShowFadeOutLoadingFadeIn(delegate { UIIntentReturnable intent = new UIIntentReturnable(this.m_currIntent, typeof(GuildMassiveCombatUITask).Name, null); UIManager.Instance.StartUITask(intent, true, false, new Action(this.GuildMassiveCombatUITask_OnLoadAllResCompleted)); }, FadeStyle.Black, -1f, -1f); } }
public static int set_PrevTaskIntent(IntPtr l) { int result; try { UIIntentReturnable uiintentReturnable = (UIIntentReturnable)LuaObject.checkSelf(l); UIIntent prevTaskIntent; LuaObject.checkType <UIIntent>(l, 2, out prevTaskIntent); uiintentReturnable.PrevTaskIntent = prevTaskIntent; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_SetParam(IntPtr l) { int result; try { UIIntentReturnable uiintentReturnable = (UIIntentReturnable)LuaObject.checkSelf(l); string key; LuaObject.checkType(l, 2, out key); object value; LuaObject.checkType <object>(l, 3, out value); uiintentReturnable.m_luaExportHelper.__callBase_SetParam(key, value); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { UIIntent prevTaskIntent; LuaObject.checkType <UIIntent>(l, 2, out prevTaskIntent); string targetTaskName; LuaObject.checkType(l, 3, out targetTaskName); string targetMode; LuaObject.checkType(l, 4, out targetMode); UIIntentReturnable o = new UIIntentReturnable(prevTaskIntent, targetTaskName, targetMode); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x060136DF RID: 79583 RVA: 0x004F3E4C File Offset: 0x004F204C public void OnBuyButtonClick() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnBuyButtonClick_hotfix != null) { this.m_OnBuyButtonClick_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (this.m_startFormType == StoreSoldierSkinDetailUITask.StartTaskFromType.StartTaskFromGift) { return; } ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext; IConfigDataLoader configDataLoader = GameManager.Instance.ConfigDataLoader as IConfigDataLoader; if (projectLPlayerContext.HasOwn(GoodsType.GoodsType_SoldierSkin, this.m_soldierSkinConfigId)) { return; } ConfigDataSoldierSkinInfo configDataSoldierSkinInfo = configDataLoader.GetConfigDataSoldierSkinInfo(this.m_soldierSkinConfigId); int num = projectLPlayerContext.CanBuyFixedStoreGoods(6, configDataSoldierSkinInfo.FixedStoreItemId, -1); if (num == 0) { FixedStoreBuyStoreItemNetTask fixedStoreBuyStoreItemNetTask = new FixedStoreBuyStoreItemNetTask(6, configDataSoldierSkinInfo.FixedStoreItemId, -1); fixedStoreBuyStoreItemNetTask.EventOnStop += delegate(Task task) { FixedStoreBuyStoreItemNetTask fixedStoreBuyStoreItemNetTask2 = task as FixedStoreBuyStoreItemNetTask; if (fixedStoreBuyStoreItemNetTask2.Result == 0) { this.m_soldierSkinDetailPanelCtrl.SetBuyButtonToHasBuyMode(); List <Goods> list = new List <Goods>(); Goods item = new Goods { GoodsType = GoodsType.GoodsType_SoldierSkin, Id = this.m_soldierSkinConfigId, Count = 1 }; list.Add(item); GetRewardGoodsUITask.StartUITask(list); if (this.EventOnBuySuccessEnd != null) { this.EventOnBuySuccessEnd(); } } else { CommonUIController.Instance.ShowErrorMessage(fixedStoreBuyStoreItemNetTask2.Result, 2f, null, true); } }; fixedStoreBuyStoreItemNetTask.Start(null); } else if (num == -500) { BagFullUITask.StartUITask(this.m_currIntent); } else if (num == -416) { CommonUIController.Instance.ShowDialogBox(StringTableId.StringTableId_Msg_SkinTicketNotEnough, delegate(DialogBoxResult dialogResult) { if (dialogResult == DialogBoxResult.Ok) { base.Pause(); UIIntentReturnable uiintentReturnable = this.m_currIntent as UIIntentReturnable; if (uiintentReturnable != null && SystemUtility.IsLowSystemMemory()) { while (uiintentReturnable.TargetTaskName != typeof(HeroListUITask).Name) { uiintentReturnable = (uiintentReturnable.PrevTaskIntent as UIIntentReturnable); if (uiintentReturnable == null) { uiintentReturnable = (this.m_currIntent as UIIntentReturnable); break; } } } StoreUITask.SpecialStartStoreUITask(uiintentReturnable, StoreId.StoreId_Gift); } }, (StringTableId)0, (StringTableId)0); } else { CommonUIController.Instance.ShowErrorMessage(num, 2f, null, true); } }
// Token: 0x0600C291 RID: 49809 RVA: 0x0035FE40 File Offset: 0x0035E040 public static void StartUITask(UIIntent uiIntent) { UIIntentReturnable intent = new UIIntentReturnable(uiIntent, typeof(BusinessCardUITask).Name, null); UIManager.Instance.StartUITask(intent, false, false, null); }