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

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

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

        try
        {
            GeneralInviteInfo generalInviteInfo = (GeneralInviteInfo)LuaObject.checkSelf(l);
            DateTime          timeout           = generalInviteInfo.GetTimeout();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, timeout);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_TeamRoomInviteInfo(IntPtr l)
    {
        int result;

        try
        {
            GeneralInviteInfo  generalInviteInfo = (GeneralInviteInfo)LuaObject.checkSelf(l);
            TeamRoomInviteInfo teamRoomInviteInfo;
            LuaObject.checkType <TeamRoomInviteInfo>(l, 2, out teamRoomInviteInfo);
            generalInviteInfo.TeamRoomInviteInfo = teamRoomInviteInfo;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_PVPInviteInfo(IntPtr l)
    {
        int result;

        try
        {
            GeneralInviteInfo generalInviteInfo = (GeneralInviteInfo)LuaObject.checkSelf(l);
            PVPInviteInfo     pvpinviteInfo;
            LuaObject.checkType <PVPInviteInfo>(l, 2, out pvpinviteInfo);
            generalInviteInfo.PVPInviteInfo = pvpinviteInfo;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }