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

28 lines
773 B
C++
Raw Normal View History

2021-05-30 16:52:32 +01:00
#pragma once
#include <string>
#include "Event.hpp"
#include "src/TargetController/TargetControllerState.hpp"
namespace Bloom::Events
{
class TargetControllerStateReported: public Event
{
public:
2021-12-25 21:01:58 +00:00
static constexpr EventType type = EventType::TARGET_CONTROLLER_STATE_REPORTED;
static inline const std::string name = "TargetControllerStateReported";
2021-05-30 16:52:32 +01:00
TargetControllerState state;
explicit TargetControllerStateReported(TargetControllerState state): state(state) {};
2021-05-30 16:52:32 +01:00
[[nodiscard]] EventType getType() const override {
return TargetControllerStateReported::type;
}
2021-05-30 16:52:32 +01:00
[[nodiscard]] std::string getName() const override {
2021-05-30 16:52:32 +01:00
return TargetControllerStateReported::name;
}
};
}