Files
BloomPatched/src/EventManager/Events/MemoryWrittenToTarget.hpp

27 lines
627 B
C++
Raw Normal View History

2021-04-04 21:04:12 +01:00
#pragma once
2021-05-25 21:50:17 +01:00
#include <string>
2021-04-04 21:04:12 +01:00
#include "Event.hpp"
#include "src/Targets/TargetMemory.hpp"
namespace Bloom::Events
{
class MemoryWrittenToTarget: public Event
{
public:
2021-12-25 21:01:58 +00:00
static constexpr EventType type = EventType::MEMORY_WRITTEN_TO_TARGET;
2021-04-04 21:04:12 +01:00
static inline const std::string name = "MemoryWrittenToTarget";
MemoryWrittenToTarget() = default;
[[nodiscard]] EventType getType() const override {
return MemoryWrittenToTarget::type;
}
[[nodiscard]] std::string getName() const override {
2021-04-04 21:04:12 +01:00
return MemoryWrittenToTarget::name;
}
};
}