Cyrus Mod Loader
Loading...
Searching...
No Matches
SG_GameEvent.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4#include <Cyrus/Classes/SG_GameAction.h>
5
6class SG_GameEvent : public PropertyClass {
7public:
8 std::string getEventName() { // Property Generated Getter
9 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48);
10 }
11
12 void setEventName(std::string val) { // Property Generated Setter
13 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
14 }
15
16 List<SharedPointer<SG_GameAction>> * getActions() { // Property Generated Getter
17 return reinterpret_cast<List<SharedPointer<SG_GameAction>> *>(reinterpret_cast<uintptr_t>(this) + 0x68);
18 }
19
20 void setActions(List<SharedPointer<SG_GameAction>> * val) { // Property Generated Setter
21 *reinterpret_cast<List<SharedPointer<SG_GameAction>> **>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
22 }
23
24};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition SG_GameEvent.h:6
void setActions(List< SharedPointer< SG_GameAction > > *val)
Definition SG_GameEvent.h:20
List< SharedPointer< SG_GameAction > > * getActions()
Definition SG_GameEvent.h:16
void setEventName(std::string val)
Definition SG_GameEvent.h:12
std::string getEventName()
Definition SG_GameEvent.h:8