Cyrus Mod Loader
Loading...
Searching...
No Matches
SpellEffectPenalty.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4#include <Cyrus/Enums/SpellEffect__kHangingDisposition.h>
5#include <Cyrus/Enums/SpellEffect__kSpellEffects.h>
6
8public:
9 SpellEffect__kSpellEffects getEffectType() { // Property Generated Getter
10 return *reinterpret_cast<SpellEffect__kSpellEffects*>(reinterpret_cast<uintptr_t>(this) + 0x48);
11 }
12
13 void setEffectType(SpellEffect__kSpellEffects val) { // Property Generated Setter
14 *reinterpret_cast<SpellEffect__kSpellEffects*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
15 }
16
17 SpellEffect__kHangingDisposition getDisposition() { // Property Generated Getter
18 return *reinterpret_cast<SpellEffect__kHangingDisposition*>(reinterpret_cast<uintptr_t>(this) + 0x4C);
19 }
20
21 void setDisposition(SpellEffect__kHangingDisposition val) { // Property Generated Setter
22 *reinterpret_cast<SpellEffect__kHangingDisposition*>(reinterpret_cast<uintptr_t>(this) + 0x4C) = val;
23 }
24
25 int getPenaltyTime() { // Property Generated Getter
26 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x50);
27 }
28
29 void setPenaltyTime(int val) { // Property Generated Setter
30 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x50) = val;
31 }
32
33};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition SpellEffectPenalty.h:7
void setPenaltyTime(int val)
Definition SpellEffectPenalty.h:29
void setEffectType(SpellEffect__kSpellEffects val)
Definition SpellEffectPenalty.h:13
void setDisposition(SpellEffect__kHangingDisposition val)
Definition SpellEffectPenalty.h:21
SpellEffect__kHangingDisposition getDisposition()
Definition SpellEffectPenalty.h:17
int getPenaltyTime()
Definition SpellEffectPenalty.h:25
SpellEffect__kSpellEffects getEffectType()
Definition SpellEffectPenalty.h:9