// 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: 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: 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: 0x0600AF1C RID: 44828 RVA: 0x0030ACAC File Offset: 0x00308EAC 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_arenaBattleReport = null; this.m_realtimePVPBattleReport = null; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_arenaBattleReport = uiintentCustom.GetClassParam <ArenaBattleReport>("ArenaBattleReport"); this.m_realtimePVPBattleReport = uiintentCustom.GetClassParam <RealTimePVPBattleReport>("RealTimePVPBattleReport"); } }
// Token: 0x06012189 RID: 74121 RVA: 0x004A9E18 File Offset: 0x004A8018 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_currentNoticeInfo = uiintentCustom.GetClassParam <string>(NoticeUITask.ParamKey_NoticeInfo); this.m_currentNoticeStateName = uiintentCustom.GetClassParam <string>(NoticeUITask.ParamKey_NoticeStateName); this.m_chatChannel = uiintentCustom.GetStructParam <ChatChannel>(NoticeUITask.ParamKey_NoticeChatChannel); this.m_currentNoticeIsVoice = uiintentCustom.GetStructParam <bool>(NoticeUITask.ParamKey_NoticeIsVoice); } }
// Token: 0x0600D5F7 RID: 54775 RVA: 0x003A58E0 File Offset: 0x003A3AE0 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_controller = uiintentCustom.GetClassParam <PrefabControllerBase>("Ctrl"); this.m_goodsType = uiintentCustom.GetStructParam <GoodsType>("Type"); this.m_goodsId = uiintentCustom.GetStructParam <int>("Id"); this.m_alignType = uiintentCustom.GetStructParam <int>("AlignType"); this.m_gameObjectForPosCalc = uiintentCustom.GetClassParam <GameObject>("GameObjectForPosScale"); this.m_isNeedAutoClose = uiintentCustom.GetStructParam <bool>("IsNeedAutoClose "); } }
// 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: 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: 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: 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); } }
// Token: 0x0600CE97 RID: 52887 RVA: 0x0038CF98 File Offset: 0x0038B198 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_goodsType = uiintentCustom.GetStructParam <GoodsType>("Type"); this.m_goodsID = uiintentCustom.GetStructParam <int>("Id"); this.m_goodsNeedCount = uiintentCustom.GetStructParam <int>("Count"); this.m_onGotoGetPathAction = uiintentCustom.GetClassParam <Action <GetPathData, NeedGoods> >("OnGotoGetPath"); } }
// Token: 0x0601184F RID: 71759 RVA: 0x00488884 File Offset: 0x00486A84 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; ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext; IConfigDataLoader configDataLoader = GameManager.Instance.ConfigDataLoader as IConfigDataLoader; this.m_heroTrainningInfo = null; UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { this.m_heroTrainningInfo = uiintentCustom.GetClassParam <ConfigDataHeroTrainningInfo>("HeroTrainningInfo"); } if (this.m_heroTrainningInfo != null && !projectLPlayerContext.IsHeroTrainningOpened(this.m_heroTrainningInfo.ID)) { this.m_heroTrainningInfo = null; } if (this.m_heroTrainningInfo == null) { foreach (KeyValuePair <int, ConfigDataHeroTrainningInfo> keyValuePair in configDataLoader.GetAllConfigDataHeroTrainningInfo()) { if (projectLPlayerContext.IsHeroTrainningOpened(keyValuePair.Key)) { this.m_heroTrainningInfo = keyValuePair.Value; break; } } } }
// Token: 0x0600CF4C RID: 53068 RVA: 0x0038EB08 File Offset: 0x0038CD08 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_rewardGoodsList.Clear(); UIIntentCustom uiintentCustom = intent as UIIntentCustom; if (uiintentCustom != null) { List <Goods> classParam = uiintentCustom.GetClassParam <List <Goods> >("RewardGoodsList"); if (classParam != null) { this.m_rewardGoodsList.AddRange(classParam); } } }