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

28 lines
539 B
C++
Raw Normal View History

2021-04-04 21:04:12 +01:00
#pragma once
#include "Event.hpp"
#include "src/Helpers/Thread.hpp"
namespace Bloom::Events
{
class InsightStateChanged: public Event
{
private:
ThreadState state;
public:
2021-04-06 02:10:14 +01:00
InsightStateChanged(ThreadState state): state(state) {
2021-04-04 21:04:12 +01:00
};
static inline const std::string name = "InsightStateChanged";
std::string getName() const override {
return InsightStateChanged::name;
}
ThreadState getState() const {
return this->state;
}
};
}