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

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

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

        try
        {
            RealTimePVPInfo realTimePVPInfo = (RealTimePVPInfo)LuaObject.checkSelf(l);
            string          userId;
            LuaObject.checkType(l, 2, out userId);
            realTimePVPInfo.UserId = userId;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_IsBot(IntPtr l)
    {
        int result;

        try
        {
            RealTimePVPInfo realTimePVPInfo = (RealTimePVPInfo)LuaObject.checkSelf(l);
            bool            isBot;
            LuaObject.checkType(l, 2, out isBot);
            realTimePVPInfo.IsBot = isBot;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_Dan(IntPtr l)
    {
        int result;

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

        try
        {
            RealTimePVPInfo realTimePVPInfo = (RealTimePVPInfo)LuaObject.checkSelf(l);
            int             globalRank;
            LuaObject.checkType(l, 2, out globalRank);
            realTimePVPInfo.GlobalRank = globalRank;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }