This commit is contained in:
Nav
2022-09-06 17:17:43 +01:00
parent 46d8ce1854
commit 7d07a9cf6c
9 changed files with 38 additions and 31 deletions

View File

@@ -13,7 +13,9 @@ namespace Bloom::Events
static constexpr EventType type = EventType::DEBUG_SERVER_THREAD_STATE_CHANGED;
static inline const std::string name = "DebugServerThreadStateChanged";
explicit DebugServerThreadStateChanged(ThreadState state): state(state) {};
explicit DebugServerThreadStateChanged(ThreadState state)
: state(state)
{};
[[nodiscard]] EventType getType() const override {
return DebugServerThreadStateChanged::type;

View File

@@ -13,7 +13,9 @@ namespace Bloom::Events
static constexpr EventType type = EventType::TARGET_CONTROLLER_THREAD_STATE_CHANGED;
static inline const std::string name = "TargetControllerThreadStateChanged";
explicit TargetControllerThreadStateChanged(ThreadState state): state(state) {};
explicit TargetControllerThreadStateChanged(ThreadState state)
: state(state)
{};
[[nodiscard]] EventType getType() const override {
return TargetControllerThreadStateChanged::type;