Example #1
0
 // 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;
 }
Example #2
0
    public static int PBArenaBattleReportToArenaBattleReport_s(IntPtr l)
    {
        int result;

        try
        {
            ProArenaBattleReport pbArenaBattleReport;
            LuaObject.checkType <ProArenaBattleReport>(l, 1, out pbArenaBattleReport);
            bool isBattleData;
            LuaObject.checkType(l, 2, out isBattleData);
            ArenaBattleReport o = ArenaBattleReport.PBArenaBattleReportToArenaBattleReport(pbArenaBattleReport, isBattleData);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }