// Token: 0x0601486E RID: 84078 RVA: 0x005361B8 File Offset: 0x005343B8
        private void SetLevelInfo(string name, int monsterLevel, int energy, List <Goods> rewardList, int rewardDisplayCount, bool showRewardGoodCount)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetLevelInfoStringInt32Int32List ` 1Int32Boolean_hotfix != null)
            {
                this.m_SetLevelInfoStringInt32Int32List ` 1Int32Boolean_hotfix.call(new object[]
                {
                    this,
                    name,
                    monsterLevel,
                    energy,
                    rewardList,
                    rewardDisplayCount,
                    showRewardGoodCount
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            this.m_levelText.text          = monsterLevel.ToString();
            this.m_energyText.text         = energy.ToString();
            if (rewardList.Count > rewardDisplayCount)
            {
                rewardList.RemoveRange(rewardDisplayCount, rewardList.Count - rewardDisplayCount);
            }
            GameObject assetInContainer = base.GetAssetInContainer <GameObject>("RewardGoods");

            RewardGoodsUIController.CreateRewardGoodsList(rewardList, this.m_rewardGroupTransform, assetInContainer, null, showRewardGoodCount, 0, true);
        }
 // Token: 0x0600437F RID: 17279 RVA: 0x001440D8 File Offset: 0x001422D8
 protected void SetCommonSuccessHeroTrainningLevel(ConfigDataHeroTrainningLevelInfo levelInfo, List <int> battleTreasures, List <int> heroes, int energyCost, bool isBattleTeam)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetCommonSuccessHeroTrainningLevelConfigDataHeroTrainningLevelInfoList ` 1List ` 1Int32Boolean_hotfix != null)
     {
         this.m_SetCommonSuccessHeroTrainningLevelConfigDataHeroTrainningLevelInfoList ` 1List ` 1Int32Boolean_hotfix.call(new object[]
         {
             this,
             levelInfo,
             battleTreasures,
             heroes,
             energyCost,
             isBattleTeam
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.m_battle.AddBattleTreasures(battleTreasures);
     this.m_basicInfo.AddPlayerExp(levelInfo.PlayerExp);
     this.m_battle.AddFightHeroFightNumsAndExp(heroes, levelInfo.HeroExp);
     this.m_basicInfo.AddGold(levelInfo.Gold, GameFunctionType.GameFunctionType_HeroTrainning, levelInfo.ID.ToString());
     if (levelInfo.TicketCost > 0)
     {
         int         ticketId = this.m_bag.GetTicketId(GameFunctionType.GameFunctionType_HeroTrainning);
         BagItemBase bagItem  = this.m_bag.FindBagItemByType(GoodsType.GoodsType_Item, ticketId);
         this.m_bag.RemoveBagItemDirectly(bagItem, levelInfo.TicketCost, GameFunctionType.GameFunctionType_HeroTrainning, levelInfo.ID.ToString());
     }
     if (energyCost > 0)
     {
         this.m_basicInfo.DecreaseEnergy(energyCost, GameFunctionType.GameFunctionType_HeroTrainning, levelInfo.ID.ToString());
     }
     this.m_battle.WinPveBattle(levelInfo.Battle_ID);
     if (!isBattleTeam)
     {
         this.m_heroTrainningDS.AddFinishedLevel(levelInfo.ID);
     }
     if (this.IsDailyChallenge())
     {
         this.AddChallengedNums(1);
     }
     if (this.CompleteHeroTrainningMissionEvent != null)
     {
         this.CompleteHeroTrainningMissionEvent(BattleType.HeroTrainning, levelInfo.ID, heroes);
     }
 }