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/TargetPinDescriptor.hpp"
|
|
|
|
|
|
|
|
|
|
namespace Bloom::Events
|
|
|
|
|
{
|
|
|
|
|
class SetTargetPinState: public Event
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
static inline const std::string name = "SetTargetPinState";
|
|
|
|
|
int variantId;
|
|
|
|
|
Targets::TargetPinDescriptor pinDescriptor;
|
|
|
|
|
Targets::TargetPinState pinState;
|
|
|
|
|
|
|
|
|
|
std::string getName() const override {
|
|
|
|
|
return SetTargetPinState::name;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|