Cyrus Mod Loader
Loading...
Searching...
No Matches
DuelModifier.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/GameEffectInfo.h>
4#include <Cyrus/Classes/PropertyClass.h>
5#include <Cyrus/Classes/SpellEffect.h>
6
7class DuelModifier : public PropertyClass {
8public:
9 List<std::string> getCombatTriggers() { // Property Generated Getter
10 return *reinterpret_cast<List<std::string>*>(reinterpret_cast<uintptr_t>(this) + 0x68);
11 }
12
13 void setCombatTriggers(List<std::string> val) { // Property Generated Setter
14 *reinterpret_cast<List<std::string>*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
15 }
16
17 bool getNoTreasureCards() { // Property Generated Getter
18 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x89);
19 }
20
21 void setNoTreasureCards(bool val) { // Property Generated Setter
22 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x89) = val;
23 }
24
25 List<SharedPointer<SpellEffect>> * getBattlefieldEffects() { // Property Generated Getter
26 return reinterpret_cast<List<SharedPointer<SpellEffect>> *>(reinterpret_cast<uintptr_t>(this) + 0x48);
27 }
28
29 void setBattlefieldEffects(List<SharedPointer<SpellEffect>> * val) { // Property Generated Setter
30 *reinterpret_cast<List<SharedPointer<SpellEffect>> **>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
31 }
32
33 List<SharedPointer<GameEffectInfo>> * getGameEffects() { // Property Generated Getter
34 return reinterpret_cast<List<SharedPointer<GameEffectInfo>> *>(reinterpret_cast<uintptr_t>(this) + 0x58);
35 }
36
37 void setGameEffects(List<SharedPointer<GameEffectInfo>> * val) { // Property Generated Setter
38 *reinterpret_cast<List<SharedPointer<GameEffectInfo>> **>(reinterpret_cast<uintptr_t>(this) + 0x58) = val;
39 }
40
41 bool getOnlyTreasureCards() { // Property Generated Getter
42 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8A);
43 }
44
45 void setOnlyTreasureCards(bool val) { // Property Generated Setter
46 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8A) = val;
47 }
48
49 bool getNoShadowSpells() { // Property Generated Getter
50 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8B);
51 }
52
53 void setNoShadowSpells(bool val) { // Property Generated Setter
54 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8B) = val;
55 }
56
57 bool getNoCrits() { // Property Generated Getter
58 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x88);
59 }
60
61 void setNoCrits(bool val) { // Property Generated Setter
62 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x88) = val;
63 }
64
65 bool getNoEnchantedTreasureCards() { // Property Generated Getter
66 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8C);
67 }
68
69 void setNoEnchantedTreasureCards(bool val) { // Property Generated Setter
70 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8C) = val;
71 }
72
73 bool getNoEnchantmentSpells() { // Property Generated Getter
74 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8D);
75 }
76
77 void setNoEnchantmentSpells(bool val) { // Property Generated Setter
78 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8D) = val;
79 }
80
81 bool getNoMaycastSpells() { // Property Generated Getter
82 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8E);
83 }
84
85 void setNoMaycastSpells(bool val) { // Property Generated Setter
86 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8E) = val;
87 }
88
89 bool getEnableSpellLevelRestrictions() { // Property Generated Getter
90 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8F);
91 }
92
93 void setEnableSpellLevelRestrictions(bool val) { // Property Generated Setter
94 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8F) = val;
95 }
96
97 bool getIgnoreSpellsPvPOnlyFlag() { // Property Generated Getter
98 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x90);
99 }
100
101 void setIgnoreSpellsPvPOnlyFlag(bool val) { // Property Generated Setter
102 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x90) = val;
103 }
104
105 bool getIgnoreSpellsPvEOnlyFlag() { // Property Generated Getter
106 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x91);
107 }
108
109 void setIgnoreSpellsPvEOnlyFlag(bool val) { // Property Generated Setter
110 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x91) = val;
111 }
112
113 List<int> getRequiredSpellsAdjectives() { // Property Generated Getter
114 return *reinterpret_cast<List<int>*>(reinterpret_cast<uintptr_t>(this) + 0x98);
115 }
116
117 void setRequiredSpellsAdjectives(List<int> val) { // Property Generated Setter
118 *reinterpret_cast<List<int>*>(reinterpret_cast<uintptr_t>(this) + 0x98) = val;
119 }
120
121 List<int> getBannedSpellsAdjectives() { // Property Generated Getter
122 return *reinterpret_cast<List<int>*>(reinterpret_cast<uintptr_t>(this) + 0xA8);
123 }
124
125 void setBannedSpellsAdjectives(List<int> val) { // Property Generated Setter
126 *reinterpret_cast<List<int>*>(reinterpret_cast<uintptr_t>(this) + 0xA8) = val;
127 }
128
129};
Definition DuelModifier.h:7
bool getNoCrits()
Definition DuelModifier.h:57
void setGameEffects(List< SharedPointer< GameEffectInfo > > *val)
Definition DuelModifier.h:37
void setIgnoreSpellsPvEOnlyFlag(bool val)
Definition DuelModifier.h:109
void setNoEnchantedTreasureCards(bool val)
Definition DuelModifier.h:69
bool getNoShadowSpells()
Definition DuelModifier.h:49
List< SharedPointer< SpellEffect > > * getBattlefieldEffects()
Definition DuelModifier.h:25
void setNoTreasureCards(bool val)
Definition DuelModifier.h:21
void setNoShadowSpells(bool val)
Definition DuelModifier.h:53
bool getNoEnchantedTreasureCards()
Definition DuelModifier.h:65
bool getIgnoreSpellsPvPOnlyFlag()
Definition DuelModifier.h:97
void setBannedSpellsAdjectives(List< int > val)
Definition DuelModifier.h:125
List< int > getRequiredSpellsAdjectives()
Definition DuelModifier.h:113
void setNoMaycastSpells(bool val)
Definition DuelModifier.h:85
List< SharedPointer< GameEffectInfo > > * getGameEffects()
Definition DuelModifier.h:33
void setOnlyTreasureCards(bool val)
Definition DuelModifier.h:45
bool getNoMaycastSpells()
Definition DuelModifier.h:81
bool getEnableSpellLevelRestrictions()
Definition DuelModifier.h:89
void setBattlefieldEffects(List< SharedPointer< SpellEffect > > *val)
Definition DuelModifier.h:29
List< std::string > getCombatTriggers()
Definition DuelModifier.h:9
void setIgnoreSpellsPvPOnlyFlag(bool val)
Definition DuelModifier.h:101
void setNoEnchantmentSpells(bool val)
Definition DuelModifier.h:77
bool getIgnoreSpellsPvEOnlyFlag()
Definition DuelModifier.h:105
void setCombatTriggers(List< std::string > val)
Definition DuelModifier.h:13
bool getOnlyTreasureCards()
Definition DuelModifier.h:41
bool getNoTreasureCards()
Definition DuelModifier.h:17
bool getNoEnchantmentSpells()
Definition DuelModifier.h:73
void setNoCrits(bool val)
Definition DuelModifier.h:61
List< int > getBannedSpellsAdjectives()
Definition DuelModifier.h:121
void setEnableSpellLevelRestrictions(bool val)
Definition DuelModifier.h:93
void setRequiredSpellsAdjectives(List< int > val)
Definition DuelModifier.h:117
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86