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

#include "../../../../killbots-26.04.3/src/engine.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'engine.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN8Killbots6EngineE_t {};
} // unnamed namespace

template <> constexpr inline auto Killbots::Engine::qt_create_metaobjectdata<qt_meta_tag_ZN8Killbots6EngineE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Killbots::Engine",
        "roundChanged",
        "",
        "round",
        "scoreChanged",
        "score",
        "enemyCountChanged",
        "enemyCount",
        "energyChanged",
        "energy",
        "gameOver",
        "showNewGameMessage",
        "showRoundCompleteMessage",
        "showBoardFullMessage",
        "showGameOverMessage",
        "teleportAllowed",
        "allowed",
        "teleportSafelyAllowed",
        "vaporizerAllowed",
        "waitOutRoundAllowed"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'roundChanged'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'scoreChanged'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 5 },
        }}),
        // Signal 'enemyCountChanged'
        QtMocHelpers::SignalData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 7 },
        }}),
        // Signal 'energyChanged'
        QtMocHelpers::SignalData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'gameOver'
        QtMocHelpers::SignalData<void(int, int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 5 }, { QMetaType::Int, 3 },
        }}),
        // Signal 'showNewGameMessage'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showRoundCompleteMessage'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showBoardFullMessage'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showGameOverMessage'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'teleportAllowed'
        QtMocHelpers::SignalData<void(bool)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 16 },
        }}),
        // Signal 'teleportSafelyAllowed'
        QtMocHelpers::SignalData<void(bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 16 },
        }}),
        // Signal 'vaporizerAllowed'
        QtMocHelpers::SignalData<void(bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 16 },
        }}),
        // Signal 'waitOutRoundAllowed'
        QtMocHelpers::SignalData<void(bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 16 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Engine, qt_meta_tag_ZN8Killbots6EngineE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Killbots::Engine::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Killbots6EngineE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Killbots6EngineE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8Killbots6EngineE_t>.metaTypes,
    nullptr
} };

void Killbots::Engine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Engine *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->roundChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->scoreChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->enemyCountChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->energyChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->gameOver((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 5: _t->showNewGameMessage(); break;
        case 6: _t->showRoundCompleteMessage(); break;
        case 7: _t->showBoardFullMessage(); break;
        case 8: _t->showGameOverMessage(); break;
        case 9: _t->teleportAllowed((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->teleportSafelyAllowed((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 11: _t->vaporizerAllowed((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->waitOutRoundAllowed((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Engine::*)(int )>(_a, &Engine::roundChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)(int )>(_a, &Engine::scoreChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)(int )>(_a, &Engine::enemyCountChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)(int )>(_a, &Engine::energyChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)(int , int )>(_a, &Engine::gameOver, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)()>(_a, &Engine::showNewGameMessage, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)()>(_a, &Engine::showRoundCompleteMessage, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)()>(_a, &Engine::showBoardFullMessage, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)()>(_a, &Engine::showGameOverMessage, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)(bool )>(_a, &Engine::teleportAllowed, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)(bool )>(_a, &Engine::teleportSafelyAllowed, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)(bool )>(_a, &Engine::vaporizerAllowed, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (Engine::*)(bool )>(_a, &Engine::waitOutRoundAllowed, 12))
            return;
    }
}

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

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

int Killbots::Engine::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void Killbots::Engine::roundChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Killbots::Engine::scoreChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Killbots::Engine::enemyCountChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Killbots::Engine::energyChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Killbots::Engine::gameOver(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}

// SIGNAL 5
void Killbots::Engine::showNewGameMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Killbots::Engine::showRoundCompleteMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void Killbots::Engine::showBoardFullMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void Killbots::Engine::showGameOverMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Killbots::Engine::teleportAllowed(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void Killbots::Engine::teleportSafelyAllowed(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void Killbots::Engine::vaporizerAllowed(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void Killbots::Engine::waitOutRoundAllowed(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}
QT_WARNING_POP
