/****************************************************************************
** Meta object code from reading C++ file 'abstract_client.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../cockatrice/src/client/game_logic/abstract_client.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'abstract_client.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN14AbstractClientE_t {};
} // unnamed namespace

template <> constexpr inline auto AbstractClient::qt_create_metaobjectdata<qt_meta_tag_ZN14AbstractClientE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AbstractClient",
        "statusChanged",
        "",
        "ClientStatus",
        "_status",
        "maxPingTime",
        "seconds",
        "maxSeconds",
        "roomEventReceived",
        "RoomEvent",
        "event",
        "gameEventContainerReceived",
        "GameEventContainer",
        "serverIdentificationEventReceived",
        "Event_ServerIdentification",
        "connectionClosedEventReceived",
        "Event_ConnectionClosed",
        "serverShutdownEventReceived",
        "Event_ServerShutdown",
        "addToListEventReceived",
        "Event_AddToList",
        "removeFromListEventReceived",
        "Event_RemoveFromList",
        "userJoinedEventReceived",
        "Event_UserJoined",
        "userLeftEventReceived",
        "Event_UserLeft",
        "serverMessageEventReceived",
        "Event_ServerMessage",
        "listRoomsEventReceived",
        "Event_ListRooms",
        "gameJoinedEventReceived",
        "Event_GameJoined",
        "userMessageEventReceived",
        "Event_UserMessage",
        "notifyUserEventReceived",
        "Event_NotifyUser",
        "userInfoChanged",
        "ServerInfo_User",
        "userInfo",
        "buddyListReceived",
        "QList<ServerInfo_User>",
        "buddyList",
        "ignoreListReceived",
        "ignoreList",
        "replayAddedEventReceived",
        "Event_ReplayAdded",
        "registerAccepted",
        "registerAcceptedNeedsActivate",
        "activateAccepted",
        "sigQueuePendingCommand",
        "PendingCommand*",
        "pend",
        "queuePendingCommand",
        "processProtocolItem",
        "ServerMessage",
        "item"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'statusChanged'
        QtMocHelpers::SignalData<void(ClientStatus)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'maxPingTime'
        QtMocHelpers::SignalData<void(int, int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 6 }, { QMetaType::Int, 7 },
        }}),
        // Signal 'roomEventReceived'
        QtMocHelpers::SignalData<void(const RoomEvent &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Signal 'gameEventContainerReceived'
        QtMocHelpers::SignalData<void(const GameEventContainer &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 10 },
        }}),
        // Signal 'serverIdentificationEventReceived'
        QtMocHelpers::SignalData<void(const Event_ServerIdentification &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 10 },
        }}),
        // Signal 'connectionClosedEventReceived'
        QtMocHelpers::SignalData<void(const Event_ConnectionClosed &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 10 },
        }}),
        // Signal 'serverShutdownEventReceived'
        QtMocHelpers::SignalData<void(const Event_ServerShutdown &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 10 },
        }}),
        // Signal 'addToListEventReceived'
        QtMocHelpers::SignalData<void(const Event_AddToList &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 20, 10 },
        }}),
        // Signal 'removeFromListEventReceived'
        QtMocHelpers::SignalData<void(const Event_RemoveFromList &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 10 },
        }}),
        // Signal 'userJoinedEventReceived'
        QtMocHelpers::SignalData<void(const Event_UserJoined &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 24, 10 },
        }}),
        // Signal 'userLeftEventReceived'
        QtMocHelpers::SignalData<void(const Event_UserLeft &)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 26, 10 },
        }}),
        // Signal 'serverMessageEventReceived'
        QtMocHelpers::SignalData<void(const Event_ServerMessage &)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 28, 10 },
        }}),
        // Signal 'listRoomsEventReceived'
        QtMocHelpers::SignalData<void(const Event_ListRooms &)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 30, 10 },
        }}),
        // Signal 'gameJoinedEventReceived'
        QtMocHelpers::SignalData<void(const Event_GameJoined &)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 32, 10 },
        }}),
        // Signal 'userMessageEventReceived'
        QtMocHelpers::SignalData<void(const Event_UserMessage &)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 34, 10 },
        }}),
        // Signal 'notifyUserEventReceived'
        QtMocHelpers::SignalData<void(const Event_NotifyUser &)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 36, 10 },
        }}),
        // Signal 'userInfoChanged'
        QtMocHelpers::SignalData<void(const ServerInfo_User &)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 38, 39 },
        }}),
        // Signal 'buddyListReceived'
        QtMocHelpers::SignalData<void(const QList<ServerInfo_User> &)>(40, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 41, 42 },
        }}),
        // Signal 'ignoreListReceived'
        QtMocHelpers::SignalData<void(const QList<ServerInfo_User> &)>(43, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 41, 44 },
        }}),
        // Signal 'replayAddedEventReceived'
        QtMocHelpers::SignalData<void(const Event_ReplayAdded &)>(45, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 46, 10 },
        }}),
        // Signal 'registerAccepted'
        QtMocHelpers::SignalData<void()>(47, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'registerAcceptedNeedsActivate'
        QtMocHelpers::SignalData<void()>(48, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'activateAccepted'
        QtMocHelpers::SignalData<void()>(49, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigQueuePendingCommand'
        QtMocHelpers::SignalData<void(PendingCommand *)>(50, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 51, 52 },
        }}),
        // Slot 'queuePendingCommand'
        QtMocHelpers::SlotData<void(PendingCommand *)>(53, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 51, 52 },
        }}),
        // Slot 'processProtocolItem'
        QtMocHelpers::SlotData<void(const ServerMessage &)>(54, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 55, 56 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AbstractClient, qt_meta_tag_ZN14AbstractClientE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AbstractClient::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14AbstractClientE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14AbstractClientE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14AbstractClientE_t>.metaTypes,
    nullptr
} };

void AbstractClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AbstractClient *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->statusChanged((*reinterpret_cast< std::add_pointer_t<ClientStatus>>(_a[1]))); break;
        case 1: _t->maxPingTime((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 2: _t->roomEventReceived((*reinterpret_cast< std::add_pointer_t<RoomEvent>>(_a[1]))); break;
        case 3: _t->gameEventContainerReceived((*reinterpret_cast< std::add_pointer_t<GameEventContainer>>(_a[1]))); break;
        case 4: _t->serverIdentificationEventReceived((*reinterpret_cast< std::add_pointer_t<Event_ServerIdentification>>(_a[1]))); break;
        case 5: _t->connectionClosedEventReceived((*reinterpret_cast< std::add_pointer_t<Event_ConnectionClosed>>(_a[1]))); break;
        case 6: _t->serverShutdownEventReceived((*reinterpret_cast< std::add_pointer_t<Event_ServerShutdown>>(_a[1]))); break;
        case 7: _t->addToListEventReceived((*reinterpret_cast< std::add_pointer_t<Event_AddToList>>(_a[1]))); break;
        case 8: _t->removeFromListEventReceived((*reinterpret_cast< std::add_pointer_t<Event_RemoveFromList>>(_a[1]))); break;
        case 9: _t->userJoinedEventReceived((*reinterpret_cast< std::add_pointer_t<Event_UserJoined>>(_a[1]))); break;
        case 10: _t->userLeftEventReceived((*reinterpret_cast< std::add_pointer_t<Event_UserLeft>>(_a[1]))); break;
        case 11: _t->serverMessageEventReceived((*reinterpret_cast< std::add_pointer_t<Event_ServerMessage>>(_a[1]))); break;
        case 12: _t->listRoomsEventReceived((*reinterpret_cast< std::add_pointer_t<Event_ListRooms>>(_a[1]))); break;
        case 13: _t->gameJoinedEventReceived((*reinterpret_cast< std::add_pointer_t<Event_GameJoined>>(_a[1]))); break;
        case 14: _t->userMessageEventReceived((*reinterpret_cast< std::add_pointer_t<Event_UserMessage>>(_a[1]))); break;
        case 15: _t->notifyUserEventReceived((*reinterpret_cast< std::add_pointer_t<Event_NotifyUser>>(_a[1]))); break;
        case 16: _t->userInfoChanged((*reinterpret_cast< std::add_pointer_t<ServerInfo_User>>(_a[1]))); break;
        case 17: _t->buddyListReceived((*reinterpret_cast< std::add_pointer_t<QList<ServerInfo_User>>>(_a[1]))); break;
        case 18: _t->ignoreListReceived((*reinterpret_cast< std::add_pointer_t<QList<ServerInfo_User>>>(_a[1]))); break;
        case 19: _t->replayAddedEventReceived((*reinterpret_cast< std::add_pointer_t<Event_ReplayAdded>>(_a[1]))); break;
        case 20: _t->registerAccepted(); break;
        case 21: _t->registerAcceptedNeedsActivate(); break;
        case 22: _t->activateAccepted(); break;
        case 23: _t->sigQueuePendingCommand((*reinterpret_cast< std::add_pointer_t<PendingCommand*>>(_a[1]))); break;
        case 24: _t->queuePendingCommand((*reinterpret_cast< std::add_pointer_t<PendingCommand*>>(_a[1]))); break;
        case 25: _t->processProtocolItem((*reinterpret_cast< std::add_pointer_t<ServerMessage>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(ClientStatus )>(_a, &AbstractClient::statusChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(int , int )>(_a, &AbstractClient::maxPingTime, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const RoomEvent & )>(_a, &AbstractClient::roomEventReceived, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const GameEventContainer & )>(_a, &AbstractClient::gameEventContainerReceived, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_ServerIdentification & )>(_a, &AbstractClient::serverIdentificationEventReceived, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_ConnectionClosed & )>(_a, &AbstractClient::connectionClosedEventReceived, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_ServerShutdown & )>(_a, &AbstractClient::serverShutdownEventReceived, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_AddToList & )>(_a, &AbstractClient::addToListEventReceived, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_RemoveFromList & )>(_a, &AbstractClient::removeFromListEventReceived, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_UserJoined & )>(_a, &AbstractClient::userJoinedEventReceived, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_UserLeft & )>(_a, &AbstractClient::userLeftEventReceived, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_ServerMessage & )>(_a, &AbstractClient::serverMessageEventReceived, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_ListRooms & )>(_a, &AbstractClient::listRoomsEventReceived, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_GameJoined & )>(_a, &AbstractClient::gameJoinedEventReceived, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_UserMessage & )>(_a, &AbstractClient::userMessageEventReceived, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_NotifyUser & )>(_a, &AbstractClient::notifyUserEventReceived, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const ServerInfo_User & )>(_a, &AbstractClient::userInfoChanged, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const QList<ServerInfo_User> & )>(_a, &AbstractClient::buddyListReceived, 17))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const QList<ServerInfo_User> & )>(_a, &AbstractClient::ignoreListReceived, 18))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(const Event_ReplayAdded & )>(_a, &AbstractClient::replayAddedEventReceived, 19))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)()>(_a, &AbstractClient::registerAccepted, 20))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)()>(_a, &AbstractClient::registerAcceptedNeedsActivate, 21))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)()>(_a, &AbstractClient::activateAccepted, 22))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractClient::*)(PendingCommand * )>(_a, &AbstractClient::sigQueuePendingCommand, 23))
            return;
    }
}

const QMetaObject *AbstractClient::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *AbstractClient::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14AbstractClientE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int AbstractClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 26;
    }
    return _id;
}

// SIGNAL 0
void AbstractClient::statusChanged(ClientStatus _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void AbstractClient::maxPingTime(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void AbstractClient::roomEventReceived(const RoomEvent & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void AbstractClient::gameEventContainerReceived(const GameEventContainer & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void AbstractClient::serverIdentificationEventReceived(const Event_ServerIdentification & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void AbstractClient::connectionClosedEventReceived(const Event_ConnectionClosed & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void AbstractClient::serverShutdownEventReceived(const Event_ServerShutdown & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void AbstractClient::addToListEventReceived(const Event_AddToList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void AbstractClient::removeFromListEventReceived(const Event_RemoveFromList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void AbstractClient::userJoinedEventReceived(const Event_UserJoined & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void AbstractClient::userLeftEventReceived(const Event_UserLeft & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void AbstractClient::serverMessageEventReceived(const Event_ServerMessage & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void AbstractClient::listRoomsEventReceived(const Event_ListRooms & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void AbstractClient::gameJoinedEventReceived(const Event_GameJoined & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void AbstractClient::userMessageEventReceived(const Event_UserMessage & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void AbstractClient::notifyUserEventReceived(const Event_NotifyUser & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}

// SIGNAL 16
void AbstractClient::userInfoChanged(const ServerInfo_User & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 16, nullptr, _t1);
}

// SIGNAL 17
void AbstractClient::buddyListReceived(const QList<ServerInfo_User> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 17, nullptr, _t1);
}

// SIGNAL 18
void AbstractClient::ignoreListReceived(const QList<ServerInfo_User> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 18, nullptr, _t1);
}

// SIGNAL 19
void AbstractClient::replayAddedEventReceived(const Event_ReplayAdded & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 19, nullptr, _t1);
}

// SIGNAL 20
void AbstractClient::registerAccepted()
{
    QMetaObject::activate(this, &staticMetaObject, 20, nullptr);
}

// SIGNAL 21
void AbstractClient::registerAcceptedNeedsActivate()
{
    QMetaObject::activate(this, &staticMetaObject, 21, nullptr);
}

// SIGNAL 22
void AbstractClient::activateAccepted()
{
    QMetaObject::activate(this, &staticMetaObject, 22, nullptr);
}

// SIGNAL 23
void AbstractClient::sigQueuePendingCommand(PendingCommand * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 23, nullptr, _t1);
}
QT_WARNING_POP
