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

26 lines
658 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/TargetDescriptor.hpp"
namespace Bloom::Events
{
class TargetDescriptorExtracted: public Event
{
public:
2021-12-25 21:01:58 +00:00
static constexpr EventType type = EventType::TARGET_DESCRIPTOR_EXTRACTED;
2021-04-04 21:04:12 +01:00
static inline const std::string name = "TargetDescriptorExtracted";
Targets::TargetDescriptor targetDescriptor;
[[nodiscard]] EventType getType() const override {
return TargetDescriptorExtracted::type;
}
[[nodiscard]] std::string getName() const override {
2021-04-04 21:04:12 +01:00
return TargetDescriptorExtracted::name;
}
};
}