Split out LUTriggers into it's own component (#986)

* Split out LUTriggers into it's own component

* some cleanup

* fix debug log

* use emplace and tryParse

* slight refactor to make the work on startup
rather than at runtime
Also TODO's for getting targets via all the possible methods

* address feedback
This commit is contained in:
Aaron Kimbrell
2023-02-10 02:29:53 -06:00
committed by GitHub
parent d17f51183e
commit 91c0c1fcfb
13 changed files with 437 additions and 137 deletions

View File

@@ -6,17 +6,20 @@
class Command;
class Event;
enum class eTriggerCommandType;
enum class eTriggerEventType;
namespace LUTriggers {
struct Command {
std::string id;
eTriggerCommandType id;
std::string target;
std::string targetName;
std::string args;
};
struct Event {
std::string eventID;
eTriggerEventType id;
std::vector<Command*> commands;
};