Merge pull request #696 from GriffinRichards/new-event-button

New event button refactor
This commit is contained in:
GriffinR
2025-03-06 21:21:49 -05:00
committed by GitHub
7 changed files with 99 additions and 167 deletions

View File

@@ -66,7 +66,6 @@ public:
Trigger, WeatherTrigger,
Sign, HiddenItem, SecretBase,
HealLocation,
Generic,
None,
};
@@ -168,7 +167,9 @@ public:
static QString groupToString(Event::Group group);
static QString typeToString(Event::Type type);
static Event::Type typeFromString(QString type);
static QString typeToJsonKey(Event::Type type);
static Event::Type typeFromJsonKey(QString type);
static QList<Event::Type> types();
// protected attributes
protected: