// Token: 0x0600D857 RID: 55383 RVA: 0x003AD394 File Offset: 0x003AB594 public static void StartUITask(string targetUserId) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(WaitPVPInviteUITask).Name, null); uiintentCustom.SetParam("TargetUserId", targetUserId); UIManager.Instance.StartUITask(uiintentCustom, false, false, null); }
// Token: 0x0600CF48 RID: 53064 RVA: 0x0038E920 File Offset: 0x0038CB20 public static GetRewardGoodsUITask StartUITask(List <Goods> rewardGoodsList) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(GetRewardGoodsUITask).Name, null); uiintentCustom.SetParam("RewardGoodsList", rewardGoodsList); return(UIManager.Instance.StartUITask(uiintentCustom, false, false, null) as GetRewardGoodsUITask); }
// Token: 0x0600FF8B RID: 65419 RVA: 0x00430B3C File Offset: 0x0042ED3C private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null && this.m_hero == null) { object obj = 0; object obj2 = 0; uiintentCustom.TryGetParam("slot", out obj); uiintentCustom.TryGetParam("id", out obj2); object obj3; uiintentCustom.TryGetParam("state", out obj3); this.m_forgeState = (EquipmentForgeUIController.ForgeState)obj3; this.m_slot = (int)obj; this.m_instanceId = (ulong)obj2; } }
// Token: 0x0600AFE7 RID: 45031 RVA: 0x0030D168 File Offset: 0x0030B368 public static BattleResultScoreUITask StartUITask(BattleReward battleReward) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(BattleResultScoreUITask).Name, null); uiintentCustom.SetParam("BattleReward", battleReward); return(UIManager.Instance.StartUITask(uiintentCustom, false, false, null) as BattleResultScoreUITask); }
// Token: 0x06014CA8 RID: 85160 RVA: 0x005460AC File Offset: 0x005442AC public static BuyEnergyUITask StartUITask(bool showEnergyNotEnoughTips = true) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(BuyEnergyUITask).Name, null); uiintentCustom.SetParam("NeedShowEnergyNotEnoughTips", showEnergyNotEnoughTips); return(UIManager.Instance.StartUITask(uiintentCustom, true, false, null) as BuyEnergyUITask); }
// Token: 0x06010E1A RID: 69146 RVA: 0x0045EC78 File Offset: 0x0045CE78 private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { Hero classParam = uiintentCustom.GetClassParam <Hero>("hero"); ConfigDataJobConnectionInfo classParam2 = uiintentCustom.GetClassParam <ConfigDataJobConnectionInfo>("jobConnectionInfo"); if (this.m_hero != classParam && classParam != null) { this.m_hero = classParam; } if (this.m_curJobConnectionInfo != classParam2 && classParam2 != null) { this.m_curJobConnectionInfo = classParam2; } else { this.m_curJobConnectionInfo = this.m_hero.GetActiveJob().JobConnectionInfo; } } }
// Token: 0x0600CFDB RID: 53211 RVA: 0x00390098 File Offset: 0x0038E298 public static InstructionUITask StartUITask(string prefabName) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(InstructionUITask).Name, null); uiintentCustom.SetParam("PrefabName", prefabName); return(UIManager.Instance.StartUITask(uiintentCustom, false, false, null) as InstructionUITask); }
// Token: 0x0600AF19 RID: 44825 RVA: 0x0030AB50 File Offset: 0x00308D50 public static BattleReportEndUITask StartUITask(RealTimePVPBattleReport battleReport) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(BattleReportEndUITask).Name, null); uiintentCustom.SetParam("RealTimePVPBattleReport", battleReport); return(UIManager.Instance.StartUITask(uiintentCustom, false, false, null) as BattleReportEndUITask); }
// Token: 0x06014D44 RID: 85316 RVA: 0x00547D20 File Offset: 0x00545F20 public static EnergyStatusUITask StartUITask(Vector3 vector3) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(EnergyStatusUITask).Name, null); uiintentCustom.SetParam("EnergyStatusPostion", vector3); return(UIManager.Instance.StartUITask(uiintentCustom, false, false, null) as EnergyStatusUITask); }
// Token: 0x0600FBB4 RID: 64436 RVA: 0x00422D74 File Offset: 0x00420F74 private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null && this.m_hero == null) { object obj = 0; object obj2 = 0; object obj3 = 0; uiintentCustom.TryGetParam("slot", out obj2); uiintentCustom.TryGetParam("id", out obj3); Hero classParam = uiintentCustom.GetClassParam <Hero>("hero"); if (this.m_hero != classParam) { this.m_hero = classParam; } this.m_state = (int)obj; this.m_slot = (int)obj2; this.m_instanceId = (ulong)obj3; } }
// Token: 0x0600C8CD RID: 51405 RVA: 0x00378E9C File Offset: 0x0037709C private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_towerFloorInfo = null; this.m_towerLevelInfo = null; this.m_towerBonusHeroGroupInfo = null; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_towerFloorInfo = uiintentCustom.GetClassParam <ConfigDataTowerFloorInfo>("TowerFloorInfo"); this.m_towerLevelInfo = uiintentCustom.GetClassParam <ConfigDataTowerLevelInfo>("TowerLevelInfo"); this.m_towerBattleRuleInfo = uiintentCustom.GetClassParam <ConfigDataTowerBattleRuleInfo>("TowerBattleRuleInfo"); this.m_towerBonusHeroGroupInfo = uiintentCustom.GetClassParam <ConfigDataTowerBonusHeroGroupInfo>("TowerBonusHeroGroupInfo"); } }
// Token: 0x0600CC12 RID: 52242 RVA: 0x00382FAC File Offset: 0x003811AC public static ChestUITask StartUITask(BattleReward reward, bool isFirstWin, bool isAutoOpen) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(ChestUITask).Name, null); uiintentCustom.SetParam("BattleReward", reward); uiintentCustom.SetParam("IsFirstWin", isFirstWin); uiintentCustom.SetParam("AutoOpen", isAutoOpen); return(UIManager.Instance.StartUITask(uiintentCustom, false, false, null) as ChestUITask); }
// Token: 0x06012181 RID: 74113 RVA: 0x004A9988 File Offset: 0x004A7B88 public static void StartUITask(string contentStr, string uiStateName, ChatChannel chatChannel, bool isVoiceMsg = false) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(NoticeUITask).Name, null); uiintentCustom.SetParam(NoticeUITask.ParamKey_NoticeInfo, contentStr); uiintentCustom.SetParam(NoticeUITask.ParamKey_NoticeStateName, uiStateName); uiintentCustom.SetParam(NoticeUITask.ParamKey_NoticeChatChannel, chatChannel); uiintentCustom.SetParam(NoticeUITask.ParamKey_NoticeIsVoice, isVoiceMsg); UIManager.Instance.StartUITask(uiintentCustom, false, false, null); }
// Token: 0x0600CE92 RID: 52882 RVA: 0x0038CC84 File Offset: 0x0038AE84 public static GetPathUITask StartUITask(GoodsType goodsType, int goodsId, Action <GetPathData, NeedGoods> onGotoGetPath, int goodsNeedCount = 0) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(GetPathUITask).Name, null); uiintentCustom.SetParam("Type", goodsType); uiintentCustom.SetParam("Id", goodsId); uiintentCustom.SetParam("Count", goodsNeedCount); uiintentCustom.SetParam("OnGotoGetPath", onGotoGetPath); return(UIManager.Instance.StartUITask(uiintentCustom, false, false, null) as GetPathUITask); }
// Token: 0x0600D5F1 RID: 54769 RVA: 0x003A554C File Offset: 0x003A374C public static RewardGoodsDescUITask StartUITask(PrefabControllerBase ctrl, GoodsType goodsType, int goodsId, int alignType = 0, GameObject gameObjectForPosCalc = null, bool isNeedAutoClose = true) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(RewardGoodsDescUITask).Name, null); uiintentCustom.SetParam("Ctrl", ctrl); uiintentCustom.SetParam("Type", goodsType); uiintentCustom.SetParam("Id", goodsId); uiintentCustom.SetParam("AlignType", alignType); uiintentCustom.SetParam("GameObjectForPosScale", gameObjectForPosCalc); uiintentCustom.SetParam("IsNeedAutoClose ", isNeedAutoClose); return(UIManager.Instance.StartUITask(uiintentCustom, false, false, null) as RewardGoodsDescUITask); }
// 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: 0x0600D226 RID: 53798 RVA: 0x00396D38 File Offset: 0x00394F38 public static PlayerLevelUpUITask StartUITask(int oldLevel, int newLevel) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(PlayerLevelUpUITask).Name, null); uiintentCustom.SetParam("OldPlayerLevel", oldLevel); uiintentCustom.SetParam("NewPlayerLevel", newLevel); if (PDSDK.Instance != null && PDSDK.IsInit) { PDSDK.Instance.doSetExtData(LoginUITask.PDSDKGameRoleJsonString, "RoleLevelUp"); } return(UIManager.Instance.StartUITask(uiintentCustom, false, false, null) as PlayerLevelUpUITask); }
// Token: 0x0601473F RID: 83775 RVA: 0x005322F4 File Offset: 0x005304F4 protected override void UpdateView() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateView_hotfix != null) { this.m_UpdateView_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (base.IsOpeningUI()) { this.m_unchartedUIController.Open(); } this.m_unchartedUIController.SetUnchartedInfo(); this.UpdateClimbTowerFlushTime(); UIIntentCustom uiintentCustom = this.m_currIntent as UIIntentCustom; if (uiintentCustom != null) { BattleType structParam = uiintentCustom.GetStructParam <BattleType>("BattleType"); int structParam2 = uiintentCustom.GetStructParam <int>("ChapterId"); int structParam3 = uiintentCustom.GetStructParam <int>("TabIndex"); uiintentCustom.SetParam("BattleType", BattleType.None); uiintentCustom.SetParam("ChapterId", 0); uiintentCustom.SetParam("TabIndex", 0); ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext; if (structParam != BattleType.None) { if (structParam == BattleType.AnikiGym || structParam == BattleType.HeroTrainning || structParam == BattleType.ThearchyTrial || structParam == BattleType.TreasureMap || structParam == BattleType.MemoryCorridor || structParam == BattleType.ClimbTower) { this.m_unchartedUIController.SetUnchartedToggle(1); this.UnchartedUIController_OnShowUncharted(structParam, structParam2); } else { this.m_unchartedUIController.SetUnchartedToggle(2); bool flag = structParam == BattleType.CooperateBattle && projectLPlayerContext.IsCooperateBattleOpened(structParam2); bool flag2 = structParam == BattleType.HeroPhantom && projectLPlayerContext.IsHeroPhantomOpened(structParam2); bool flag3 = (structParam == BattleType.UnchartedScore_ScoreLevel || structParam == BattleType.UnchartedScore_ChallengeLevel) && projectLPlayerContext.IsUnchartedScoreOpened(structParam2); if (flag || flag2 || flag3) { this.UnchartedUIController_OnShowUncharted(structParam, structParam2); } } } if (structParam3 != 0) { this.m_unchartedUIController.SetUnchartedToggle(structParam3); } } }
// Token: 0x0600C7FF RID: 51199 RVA: 0x003767A8 File Offset: 0x003749A8 public static VoiceRecordUITask StartVoiceRecordUITask(GameObject btnObj, ChatChannel channelType) { if (UIUtility.FindUITaskWithType(typeof(VoiceRecordUITask)) != null) { UIManager.Instance.StopUITask(typeof(VoiceRecordUITask).Name); } UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(VoiceRecordUITask).Name, null); uiintentCustom.SetParam("TalkButtonObj", btnObj); uiintentCustom.SetParam("ChannelType", channelType); uiintentCustom.SetParam("BattleType", BattleType.Rift); return(UIManager.Instance.StartUITask(uiintentCustom, true, false, null) as VoiceRecordUITask); }
// Token: 0x0600FA0A RID: 64010 RVA: 0x0041CEDC File Offset: 0x0041B0DC public static NormalItemBuyUITask StartUITask(StoreId storeId, int itemId) { UIIntentCustom uiintentCustom = new UIIntentCustom(typeof(NormalItemBuyUITask).Name, null); uiintentCustom.SetParam("storeId", storeId); uiintentCustom.SetParam("fixedStoreItemId", itemId); UIManager instance = UIManager.Instance; UIIntent intent = uiintentCustom; bool pushIntentToStack = true; bool clearIntentStack = false; if (NormalItemBuyUITask.< > f__mg$cache0 == null) { NormalItemBuyUITask.< > f__mg$cache0 = new Action(NormalItemBuyUITask.OnLoadAllResCompletedCallback); } return(instance.StartUITask(intent, pushIntentToStack, clearIntentStack, NormalItemBuyUITask.< > f__mg$cache0) as NormalItemBuyUITask); }
public static int get_m_params(IntPtr l) { int result; try { UIIntentCustom uiintentCustom = (UIIntentCustom)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, uiintentCustom.m_luaExportHelper.m_params); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_params(IntPtr l) { int result; try { UIIntentCustom uiintentCustom = (UIIntentCustom)LuaObject.checkSelf(l); Dictionary <string, object> @params; LuaObject.checkType <Dictionary <string, object> >(l, 2, out @params); uiintentCustom.m_luaExportHelper.m_params = @params; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x06014D4B RID: 85323 RVA: 0x005481D8 File Offset: 0x005463D8 private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_energyStatusPosition = uiintentCustom.GetStructParam <Vector3>("EnergyStatusPostion"); } }
// Token: 0x0600D85A RID: 55386 RVA: 0x003AD4EC File Offset: 0x003AB6EC private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_targetUserId = string.Empty; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_targetUserId = uiintentCustom.GetClassParam <string>("TargetUserId"); } }
// Token: 0x0600C9AE RID: 51630 RVA: 0x0037B3C4 File Offset: 0x003795C4 private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_battleReward = null; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_battleReward = uiintentCustom.GetClassParam <BattleReward>("BattleReward"); } }
// Token: 0x0600D22D RID: 53805 RVA: 0x00397148 File Offset: 0x00395348 private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_oldPlayerLevel = uiintentCustom.GetStructParam <int>("OldPlayerLevel"); this.m_newPlayerLevel = uiintentCustom.GetStructParam <int>("NewPlayerLevel"); } }
// Token: 0x0600DBAB RID: 56235 RVA: 0x003B8B9C File Offset: 0x003B6D9C private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_dialogInfo = null; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_dialogInfo = uiintentCustom.GetClassParam <ConfigDataDialogInfo>("DialogInfo"); } }
// Token: 0x0600D178 RID: 53624 RVA: 0x0039524C File Offset: 0x0039344C private void InitDataFromUIIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitDataFromUIIntentUIIntent_hotfix != null) { this.m_InitDataFromUIIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_monthCardId = 0; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_monthCardId = uiintentCustom.GetStructParam <int>("MonthCardId"); } }
// Token: 0x0600C804 RID: 51204 RVA: 0x00376A60 File Offset: 0x00374C60 private void GetDataFromIntent(UIIntent intent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_GetDataFromIntentUIIntent_hotfix != null) { this.m_GetDataFromIntentUIIntent_hotfix.call(new object[] { this, intent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_TalkBtnObj = uiintentCustom.GetClassParam <GameObject>("TalkButtonObj"); this.m_currentTableType = uiintentCustom.GetStructParam <ChatChannel>("ChannelType"); global::Debug.Log("VoiceRecordUITask.GetDataFromIntent type=" + this.m_currentTableType); } }
public static int SetParam(IntPtr l) { int result; try { UIIntentCustom uiintentCustom = (UIIntentCustom)LuaObject.checkSelf(l); string key; LuaObject.checkType(l, 2, out key); object value; LuaObject.checkType <object>(l, 3, out value); uiintentCustom.SetParam(key, value); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }