Cyrus Mod Loader
Loading...
Searching...
No Matches
SpawnObject.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
5class SpawnObject : public PropertyClass {
6public:
7 std::string getName() { // Property Generated Getter
8 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48);
9 }
10
11 void setName(std::string val) { // Property Generated Setter
12 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
13 }
14
15 gid getId() { // Property Generated Getter
16 return *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x68);
17 }
18
19 void setId(gid val) { // Property Generated Setter
20 *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
21 }
22
23 bool getActive() { // Property Generated Getter
24 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x70);
25 }
26
27 void setActive(bool val) { // Property Generated Setter
28 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x70) = val;
29 }
30
31 bool getPopSensitive() { // Property Generated Getter
32 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x71);
33 }
34
35 void setPopSensitive(bool val) { // Property Generated Setter
36 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x71) = val;
37 }
38
39 unsigned int getMaxNumberOfSpawns() { // Property Generated Getter
40 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x74);
41 }
42
43 void setMaxNumberOfSpawns(unsigned int val) { // Property Generated Setter
44 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x74) = val;
45 }
46
47 bool getAtLeastOneSpawn() { // Property Generated Getter
48 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x78);
49 }
50
51 void setAtLeastOneSpawn(bool val) { // Property Generated Setter
52 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
53 }
54
55 bool getActivateAtMax() { // Property Generated Getter
56 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x79);
57 }
58
59 void setActivateAtMax(bool val) { // Property Generated Setter
60 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x79) = val;
61 }
62
63 int getSpawnTime() { // Property Generated Getter
64 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x7C);
65 }
66
67 void setSpawnTime(int val) { // Property Generated Setter
68 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x7C) = val;
69 }
70
71 unsigned int getRespawnRate() { // Property Generated Getter
72 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x80);
73 }
74
75 void setRespawnRate(unsigned int val) { // Property Generated Setter
76 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x80) = val;
77 }
78
79 List<SpawnItem*> * getSpawnList() { // Property Generated Getter
80 return reinterpret_cast<List<SpawnItem*> *>(reinterpret_cast<uintptr_t>(this) + 0xA0);
81 }
82
83 void setSpawnList(List<SpawnItem*> * val) { // Property Generated Setter
84 *reinterpret_cast<List<SpawnItem*> **>(reinterpret_cast<uintptr_t>(this) + 0xA0) = val;
85 }
86
87 RequirementList* * getGlobalDynamicReqs() { // Property Generated Getter
88 return reinterpret_cast<RequirementList* *>(reinterpret_cast<uintptr_t>(this) + 0x98);
89 }
90
91 void setGlobalDynamicReqs(RequirementList* * val) { // Property Generated Setter
92 *reinterpret_cast<RequirementList* **>(reinterpret_cast<uintptr_t>(this) + 0x98) = val;
93 }
94
95 bool getGlobalDynamic() { // Property Generated Getter
96 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x90);
97 }
98
99 void setGlobalDynamic(bool val) { // Property Generated Setter
100 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x90) = val;
101 }
102
103 bool getWaitForTimer() { // Property Generated Getter
104 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x7A);
105 }
106
107 void setWaitForTimer(bool val) { // Property Generated Setter
108 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x7A) = val;
109 }
110
111 unsigned int getZoneLevelMin() { // Property Generated Getter
112 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x84);
113 }
114
115 void setZoneLevelMin(unsigned int val) { // Property Generated Setter
116 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x84) = val;
117 }
118
119 unsigned int getZoneLevelMax() { // Property Generated Getter
120 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x88);
121 }
122
123 void setZoneLevelMax(unsigned int val) { // Property Generated Setter
124 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x88) = val;
125 }
126
127 unsigned int getZoneLevelUp() { // Property Generated Getter
128 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x8C);
129 }
130
131 void setZoneLevelUp(unsigned int val) { // Property Generated Setter
132 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x8C) = val;
133 }
134
135};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition RequirementList.h:6
Definition SpawnObject.h:5
void setSpawnList(List< SpawnItem * > *val)
Definition SpawnObject.h:83
int getSpawnTime()
Definition SpawnObject.h:63
std::string getName()
Definition SpawnObject.h:7
RequirementList ** getGlobalDynamicReqs()
Definition SpawnObject.h:87
void setRespawnRate(unsigned int val)
Definition SpawnObject.h:75
unsigned int getZoneLevelMax()
Definition SpawnObject.h:119
bool getPopSensitive()
Definition SpawnObject.h:31
void setPopSensitive(bool val)
Definition SpawnObject.h:35
unsigned int getMaxNumberOfSpawns()
Definition SpawnObject.h:39
void setSpawnTime(int val)
Definition SpawnObject.h:67
void setZoneLevelUp(unsigned int val)
Definition SpawnObject.h:131
bool getActivateAtMax()
Definition SpawnObject.h:55
void setWaitForTimer(bool val)
Definition SpawnObject.h:107
bool getWaitForTimer()
Definition SpawnObject.h:103
bool getAtLeastOneSpawn()
Definition SpawnObject.h:47
unsigned int getZoneLevelUp()
Definition SpawnObject.h:127
void setZoneLevelMax(unsigned int val)
Definition SpawnObject.h:123
void setZoneLevelMin(unsigned int val)
Definition SpawnObject.h:115
bool getActive()
Definition SpawnObject.h:23
bool getGlobalDynamic()
Definition SpawnObject.h:95
gid getId()
Definition SpawnObject.h:15
void setId(gid val)
Definition SpawnObject.h:19
unsigned int getZoneLevelMin()
Definition SpawnObject.h:111
List< SpawnItem * > * getSpawnList()
Definition SpawnObject.h:79
unsigned int getRespawnRate()
Definition SpawnObject.h:71
void setActivateAtMax(bool val)
Definition SpawnObject.h:59
void setGlobalDynamicReqs(RequirementList **val)
Definition SpawnObject.h:91
void setName(std::string val)
Definition SpawnObject.h:11
void setMaxNumberOfSpawns(unsigned int val)
Definition SpawnObject.h:43
void setAtLeastOneSpawn(bool val)
Definition SpawnObject.h:51
void setGlobalDynamic(bool val)
Definition SpawnObject.h:99
void setActive(bool val)
Definition SpawnObject.h:27