public static int __callBase_TryGetBotParamsForLoser(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            BattleMode           mode;
            LuaObject.checkEnum <BattleMode>(l, 2, out mode);
            int myScore;
            LuaObject.checkType(l, 3, out myScore);
            int dan;
            LuaObject.checkType(l, 4, out dan);
            int  i;
            int  i2;
            int  i3;
            int  i4;
            bool b = realTimePVPComponent.m_luaExportHelper.__callBase_TryGetBotParamsForLoser(mode, myScore, dan, out i, out i2, out i3, out i4);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            LuaObject.pushValue(l, i);
            LuaObject.pushValue(l, i2);
            LuaObject.pushValue(l, i3);
            LuaObject.pushValue(l, i4);
            result = 6;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int get_Score(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, realTimePVPComponent.Score);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent o = new RealTimePVPComponent();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_EndPromotion(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            realTimePVPComponent.m_luaExportHelper.__callBase_EndPromotion();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_GetLadderCareerMatchStats(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent  realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            RealTimePVPMatchStats o = realTimePVPComponent.m_luaExportHelper.__callBase_GetLadderCareerMatchStats();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_GetBattleReports(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            LinkedList <RealTimePVPBattleReport> o    = realTimePVPComponent.m_luaExportHelper.__callBase_GetBattleReports();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int GetFriendlyMatchStats(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent  realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            RealTimePVPMatchStats friendlyMatchStats   = realTimePVPComponent.GetFriendlyMatchStats();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, friendlyMatchStats);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int GetDSVersion(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            ushort dsversion = realTimePVPComponent.GetDSVersion();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, dsversion);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_Dan(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            int dan;
            LuaObject.checkType(l, 2, out dan);
            realTimePVPComponent.Dan = dan;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_SaveReport(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent    realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            RealTimePVPBattleReport report;
            LuaObject.checkType <RealTimePVPBattleReport>(l, 2, out report);
            realTimePVPComponent.m_luaExportHelper.__callBase_SaveReport(report);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_RealTimeArenaBattleStart(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            BattleMode           mode;
            LuaObject.checkEnum <BattleMode>(l, 2, out mode);
            realTimePVPComponent.m_luaExportHelper.__callBase_RealTimeArenaBattleStart(mode);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_RealTimeArenaDanUpdate(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            int dan;
            LuaObject.checkType(l, 2, out dan);
            realTimePVPComponent.m_luaExportHelper.__callBase_RealTimeArenaDanUpdate(dan);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_Tick(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            uint deltaMillisecond;
            LuaObject.checkType(l, 2, out deltaMillisecond);
            realTimePVPComponent.m_luaExportHelper.__callBase_Tick(deltaMillisecond);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int DeSerialize(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            DSRealTimePVPNtf     msg;
            LuaObject.checkType <DSRealTimePVPNtf>(l, 2, out msg);
            realTimePVPComponent.DeSerialize(msg);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_GetConsecutiveLosses(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            BattleMode           mode;
            LuaObject.checkEnum <BattleMode>(l, 2, out mode);
            int i = realTimePVPComponent.m_luaExportHelper.__callBase_GetConsecutiveLosses(mode);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, i);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_AcquireWinsBonus(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPComponent realTimePVPComponent = (RealTimePVPComponent)LuaObject.checkSelf(l);
            int bonusId;
            LuaObject.checkType(l, 2, out bonusId);
            int i = realTimePVPComponent.m_luaExportHelper.__callBase_AcquireWinsBonus(bonusId);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, i);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }