mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user