// Token: 0x06006C2E RID: 27694 RVA: 0x001E5218 File Offset: 0x001E3418
 public void InitBattleReportBasicInfo(List <ProArenaBattleReport> pbArenaBattleReports, int nextBattleReportIndex)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitBattleReportBasicInfoList ` 1Int32_hotfix != null)
     {
         this.m_InitBattleReportBasicInfoList ` 1Int32_hotfix.call(new object[]
         {
             this,
             pbArenaBattleReports,
             nextBattleReportIndex
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     base.m_arenaBattleReportDS.ClearInitedData();
     foreach (ProArenaBattleReport pbArenaBattleReport in pbArenaBattleReports)
     {
         base.m_arenaBattleReportDS.InitArenaBattleReport(ArenaBattleReport.PBArenaBattleReportToArenaBattleReport(pbArenaBattleReport, false));
     }
     base.m_arenaBattleReportDS.NextBattleReportIndex = (byte)nextBattleReportIndex;
 }
Beispiel #2
0
 // Token: 0x06003F6F RID: 16239 RVA: 0x00126348 File Offset: 0x00124548
 protected void SetCommonSuccessClimbTowerLevel(ConfigDataTowerFloorInfo floorInfo, ConfigDataTowerLevelInfo levelInfo, List <int> battleTreasures, int energyCost)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetCommonSuccessClimbTowerLevelConfigDataTowerFloorInfoConfigDataTowerLevelInfoList ` 1Int32_hotfix != null)
     {
         this.m_SetCommonSuccessClimbTowerLevelConfigDataTowerFloorInfoConfigDataTowerLevelInfoList ` 1Int32_hotfix.call(new object[]
         {
             this,
             floorInfo,
             levelInfo,
             battleTreasures,
             energyCost
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.m_battle.AddBattleTreasures(battleTreasures);
     this.m_basicInfo.AddPlayerExp(floorInfo.PlayerExp);
     if (energyCost > 0)
     {
         this.m_basicInfo.DecreaseEnergy(energyCost, GameFunctionType.GameFunctionType_ClimbTower, floorInfo.ID.ToString());
     }
     this.m_battle.WinPveBattle(levelInfo.Battle_ID);
     this.SetCompleteSuccessFloor(floorInfo.ID);
 }