示例#1
0
    public static int get_ArenaBattleReportInfo(IntPtr l)
    {
        int result;

        try
        {
            DataSectionArenaBattleReport dataSectionArenaBattleReport = (DataSectionArenaBattleReport)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, dataSectionArenaBattleReport.ArenaBattleReportInfo);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#2
0
    public static int ClearInitedData(IntPtr l)
    {
        int result;

        try
        {
            DataSectionArenaBattleReport dataSectionArenaBattleReport = (DataSectionArenaBattleReport)LuaObject.checkSelf(l);
            dataSectionArenaBattleReport.ClearInitedData();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#3
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            DataSectionArenaBattleReport o = new DataSectionArenaBattleReport();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#4
0
    public static int GetAllArenaBattleReports(IntPtr l)
    {
        int result;

        try
        {
            DataSectionArenaBattleReport dataSectionArenaBattleReport = (DataSectionArenaBattleReport)LuaObject.checkSelf(l);
            List <ArenaBattleReport>     allArenaBattleReports        = dataSectionArenaBattleReport.GetAllArenaBattleReports();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, allArenaBattleReports);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#5
0
    public static int InitArenaBattleReport(IntPtr l)
    {
        int result;

        try
        {
            DataSectionArenaBattleReport dataSectionArenaBattleReport = (DataSectionArenaBattleReport)LuaObject.checkSelf(l);
            ArenaBattleReport            report;
            LuaObject.checkType <ArenaBattleReport>(l, 2, out report);
            dataSectionArenaBattleReport.InitArenaBattleReport(report);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#6
0
    public static int set_ArenaBattleReportInfo(IntPtr l)
    {
        int result;

        try
        {
            DataSectionArenaBattleReport dataSectionArenaBattleReport = (DataSectionArenaBattleReport)LuaObject.checkSelf(l);
            ArenaBattleReportUpdateCache arenaBattleReportInfo;
            LuaObject.checkType <ArenaBattleReportUpdateCache>(l, 2, out arenaBattleReportInfo);
            dataSectionArenaBattleReport.ArenaBattleReportInfo = arenaBattleReportInfo;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#7
0
    public static int set_NextBattleReportIndex(IntPtr l)
    {
        int result;

        try
        {
            DataSectionArenaBattleReport dataSectionArenaBattleReport = (DataSectionArenaBattleReport)LuaObject.checkSelf(l);
            byte nextBattleReportIndex;
            LuaObject.checkType(l, 2, out nextBattleReportIndex);
            dataSectionArenaBattleReport.NextBattleReportIndex = nextBattleReportIndex;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#8
0
    public static int DirtyArenaBattleReport(IntPtr l)
    {
        int result;

        try
        {
            DataSectionArenaBattleReport dataSectionArenaBattleReport = (DataSectionArenaBattleReport)LuaObject.checkSelf(l);
            ulong battleReportInstanceId;
            LuaObject.checkType(l, 2, out battleReportInstanceId);
            dataSectionArenaBattleReport.DirtyArenaBattleReport(battleReportInstanceId);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }