mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-25 23:13:35 +00:00
31 lines
445 B
C
31 lines
445 B
C
|
#ifndef __LUTRIGGERS__H__
|
||
|
#define __LUTRIGGERS__H__
|
||
|
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
class Command;
|
||
|
class Event;
|
||
|
|
||
|
namespace LUTriggers {
|
||
|
struct Command {
|
||
|
std::string id;
|
||
|
std::string target;
|
||
|
std::string targetName;
|
||
|
std::string args;
|
||
|
};
|
||
|
|
||
|
struct Event {
|
||
|
std::string eventID;
|
||
|
std::vector<Command*> commands;
|
||
|
};
|
||
|
|
||
|
struct Trigger {
|
||
|
uint32_t id;
|
||
|
bool enabled;
|
||
|
std::vector<Event*> events;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
#endif //!__LUTRIGGERS__H__
|