#pragma once

#include <string>

#include "Event.hpp"
#include "src/Targets/TargetRegister.hpp"

namespace Bloom::Events
{
    class RegistersWrittenToTarget: public Event
    {
    public:
        static constexpr EventType type = EventType::REGISTERS_WRITTEN_TO_TARGET;
        static inline const std::string name = "RegistersWrittenToTarget";

        Targets::TargetRegisters registers;

        [[nodiscard]] EventType getType() const override {
            return RegistersWrittenToTarget::type;
        }

        [[nodiscard]] std::string getName() const override {
            return RegistersWrittenToTarget::name;
        }
    };
}
