// Token: 0x06011855 RID: 71765 RVA: 0x00488E5C File Offset: 0x0048705C 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_heroTrainningUIController.Open(); } ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext; this.m_playerResourceUIController.UpdatePlayerResource(); this.m_heroTrainningUIController.SetDailyRewardCount(projectLPlayerContext.GetHeroTrainingDailyRewardRestCount(), projectLPlayerContext.GetDailyBonusMaxNums(GameFunctionType.GameFunctionType_HeroTrainning)); if (this.m_heroTrainningInfo != null) { this.m_heroTrainningUIController.SetHeroTrainning(this.m_heroTrainningInfo); this.m_heroTrainningUIController.ClearHeroTrainningLevelListItems(); this.m_heroTrainningUIController.AddAllHeroTrainningLevelListItems(this.m_heroTrainningInfo.m_levelInfos); } }