Cyrus Mod Loader
Loading...
Searching...
No Matches
SpellEffect.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4#include <Cyrus/Enums/SpellEffect__kEffectTarget.h>
5#include <Cyrus/Enums/SpellEffect__kHangingDisposition.h>
6#include <Cyrus/Enums/SpellEffect__kSpellEffects.h>
7
8class SpellEffect : public PropertyClass {
9public:
10 SpellEffect__kSpellEffects getEffectType() { // Property Generated Getter
11 return *reinterpret_cast<SpellEffect__kSpellEffects*>(reinterpret_cast<uintptr_t>(this) + 0x48);
12 }
13
14 void setEffectType(SpellEffect__kSpellEffects val) { // Property Generated Setter
15 *reinterpret_cast<SpellEffect__kSpellEffects*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
16 }
17
18 int getEffectParam() { // Property Generated Getter
19 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x4C);
20 }
21
22 void setEffectParam(int val) { // Property Generated Setter
23 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x4C) = val;
24 }
25
26 SpellEffect__kHangingDisposition getDisposition() { // Property Generated Getter
27 return *reinterpret_cast<SpellEffect__kHangingDisposition*>(reinterpret_cast<uintptr_t>(this) + 0x50);
28 }
29
30 void setDisposition(SpellEffect__kHangingDisposition val) { // Property Generated Setter
31 *reinterpret_cast<SpellEffect__kHangingDisposition*>(reinterpret_cast<uintptr_t>(this) + 0x50) = val;
32 }
33
34 std::string getSDamageType() { // Property Generated Getter
35 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x58);
36 }
37
38 void setSDamageType(std::string val) { // Property Generated Setter
39 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x58) = val;
40 }
41
42 unsigned int getDamageType() { // Property Generated Getter
43 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x54);
44 }
45
46 void setDamageType(unsigned int val) { // Property Generated Setter
47 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x54) = val;
48 }
49
50 int getPipNum() { // Property Generated Getter
51 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x80);
52 }
53
54 void setPipNum(int val) { // Property Generated Setter
55 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x80) = val;
56 }
57
58 int getActNum() { // Property Generated Getter
59 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x84);
60 }
61
62 void setActNum(int val) { // Property Generated Setter
63 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x84) = val;
64 }
65
66 SpellEffect__kEffectTarget getEffectTarget() { // Property Generated Getter
67 return *reinterpret_cast<SpellEffect__kEffectTarget*>(reinterpret_cast<uintptr_t>(this) + 0x8C);
68 }
69
70 void setEffectTarget(SpellEffect__kEffectTarget val) { // Property Generated Setter
71 *reinterpret_cast<SpellEffect__kEffectTarget*>(reinterpret_cast<uintptr_t>(this) + 0x8C) = val;
72 }
73
74 int getNumRounds() { // Property Generated Getter
75 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x90);
76 }
77
78 void setNumRounds(int val) { // Property Generated Setter
79 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x90) = val;
80 }
81
82 int getParamPerRound() { // Property Generated Getter
83 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x94);
84 }
85
86 void setParamPerRound(int val) { // Property Generated Setter
87 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x94) = val;
88 }
89
90 float getHealModifier() { // Property Generated Getter
91 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x98);
92 }
93
94 void setHealModifier(float val) { // Property Generated Setter
95 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x98) = val;
96 }
97
98 unsigned int getSpellTemplateID() { // Property Generated Getter
99 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x78);
100 }
101
102 void setSpellTemplateID(unsigned int val) { // Property Generated Setter
103 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
104 }
105
106 unsigned int getEnchantmentSpellTemplateID() { // Property Generated Getter
107 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x7C);
108 }
109
110 void setEnchantmentSpellTemplateID(unsigned int val) { // Property Generated Setter
111 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x7C) = val;
112 }
113
114 bool getAct() { // Property Generated Getter
115 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x88);
116 }
117
118 void setAct(bool val) { // Property Generated Setter
119 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x88) = val;
120 }
121
122 bool getCloaked() { // Property Generated Getter
123 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x9D);
124 }
125
126 void setCloaked(bool val) { // Property Generated Setter
127 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x9D) = val;
128 }
129
130 bool getBypassProtection() { // Property Generated Getter
131 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x9F);
132 }
133
134 void setBypassProtection(bool val) { // Property Generated Setter
135 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x9F) = val;
136 }
137
138 int getArmorPiercingParam() { // Property Generated Getter
139 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xA0);
140 }
141
142 void setArmorPiercingParam(int val) { // Property Generated Setter
143 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xA0) = val;
144 }
145
146 int getChancePerTarget() { // Property Generated Getter
147 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xA4);
148 }
149
150 void setChancePerTarget(int val) { // Property Generated Setter
151 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xA4) = val;
152 }
153
154 bool getProtected() { // Property Generated Getter
155 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xA8);
156 }
157
158 void setProtected(bool val) { // Property Generated Setter
159 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xA8) = val;
160 }
161
162 bool getConverted() { // Property Generated Getter
163 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xA9);
164 }
165
166 void setConverted(bool val) { // Property Generated Setter
167 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xA9) = val;
168 }
169
170 int getRank() { // Property Generated Getter
171 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xD0);
172 }
173
174 void setRank(int val) { // Property Generated Setter
175 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xD0) = val;
176 }
177
178};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition SpellEffect.h:8
void setRank(int val)
Definition SpellEffect.h:174
void setCloaked(bool val)
Definition SpellEffect.h:126
void setArmorPiercingParam(int val)
Definition SpellEffect.h:142
void setNumRounds(int val)
Definition SpellEffect.h:78
void setDisposition(SpellEffect__kHangingDisposition val)
Definition SpellEffect.h:30
int getRank()
Definition SpellEffect.h:170
void setPipNum(int val)
Definition SpellEffect.h:54
int getArmorPiercingParam()
Definition SpellEffect.h:138
void setEffectType(SpellEffect__kSpellEffects val)
Definition SpellEffect.h:14
int getChancePerTarget()
Definition SpellEffect.h:146
unsigned int getDamageType()
Definition SpellEffect.h:42
void setEnchantmentSpellTemplateID(unsigned int val)
Definition SpellEffect.h:110
void setEffectParam(int val)
Definition SpellEffect.h:22
float getHealModifier()
Definition SpellEffect.h:90
void setChancePerTarget(int val)
Definition SpellEffect.h:150
bool getConverted()
Definition SpellEffect.h:162
int getActNum()
Definition SpellEffect.h:58
SpellEffect__kSpellEffects getEffectType()
Definition SpellEffect.h:10
void setActNum(int val)
Definition SpellEffect.h:62
void setAct(bool val)
Definition SpellEffect.h:118
int getPipNum()
Definition SpellEffect.h:50
SpellEffect__kEffectTarget getEffectTarget()
Definition SpellEffect.h:66
void setSpellTemplateID(unsigned int val)
Definition SpellEffect.h:102
bool getProtected()
Definition SpellEffect.h:154
unsigned int getSpellTemplateID()
Definition SpellEffect.h:98
SpellEffect__kHangingDisposition getDisposition()
Definition SpellEffect.h:26
unsigned int getEnchantmentSpellTemplateID()
Definition SpellEffect.h:106
int getNumRounds()
Definition SpellEffect.h:74
void setSDamageType(std::string val)
Definition SpellEffect.h:38
void setParamPerRound(int val)
Definition SpellEffect.h:86
void setEffectTarget(SpellEffect__kEffectTarget val)
Definition SpellEffect.h:70
void setProtected(bool val)
Definition SpellEffect.h:158
int getParamPerRound()
Definition SpellEffect.h:82
void setDamageType(unsigned int val)
Definition SpellEffect.h:46
bool getBypassProtection()
Definition SpellEffect.h:130
bool getAct()
Definition SpellEffect.h:114
std::string getSDamageType()
Definition SpellEffect.h:34
bool getCloaked()
Definition SpellEffect.h:122
int getEffectParam()
Definition SpellEffect.h:18
void setConverted(bool val)
Definition SpellEffect.h:166
void setHealModifier(float val)
Definition SpellEffect.h:94
void setBypassProtection(bool val)
Definition SpellEffect.h:134