Cyrus Mod Loader
Loading...
Searching...
No Matches
PestBehaviorTemplate.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/BehaviorTemplate.h>
4#include <Cyrus/Classes/PropertyClass.h>
5
7public:
8 int getPestRank() { // Property Generated Getter
9 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x78);
10 }
11
12 void setPestRank(int val) { // Property Generated Setter
13 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
14 }
15
16 std::string getWiltMinRate() { // Property Generated Getter
17 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x80);
18 }
19
20 void setWiltMinRate(std::string val) { // Property Generated Setter
21 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x80) = val;
22 }
23
24 std::string getWiltMaxRate() { // Property Generated Getter
25 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xA0);
26 }
27
28 void setWiltMaxRate(std::string val) { // Property Generated Setter
29 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xA0) = val;
30 }
31
32 bool getGoodPest() { // Property Generated Getter
33 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC0);
34 }
35
36 void setGoodPest(bool val) { // Property Generated Setter
37 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC0) = val;
38 }
39
40 bool getUseSizeAnimations() { // Property Generated Getter
41 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC1);
42 }
43
44 void setUseSizeAnimations(bool val) { // Property Generated Setter
45 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC1) = val;
46 }
47
48 bool getProvidesWater() { // Property Generated Getter
49 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC2);
50 }
51
52 void setProvidesWater(bool val) { // Property Generated Setter
53 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC2) = val;
54 }
55
56 bool getProvidesSun() { // Property Generated Getter
57 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC3);
58 }
59
60 void setProvidesSun(bool val) { // Property Generated Setter
61 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC3) = val;
62 }
63
64 bool getProvidesPollination() { // Property Generated Getter
65 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC4);
66 }
67
68 void setProvidesPollination(bool val) { // Property Generated Setter
69 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC4) = val;
70 }
71
72 bool getProvidesMagic() { // Property Generated Getter
73 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC5);
74 }
75
76 void setProvidesMagic(bool val) { // Property Generated Setter
77 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC5) = val;
78 }
79
80 bool getProvidesMusic() { // Property Generated Getter
81 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC6);
82 }
83
84 void setProvidesMusic(bool val) { // Property Generated Setter
85 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC6) = val;
86 }
87
88};
Definition BehaviorTemplate.h:13
Definition PestBehaviorTemplate.h:6
bool getProvidesPollination()
Definition PestBehaviorTemplate.h:64
bool getProvidesMagic()
Definition PestBehaviorTemplate.h:72
std::string getWiltMinRate()
Definition PestBehaviorTemplate.h:16
void setPestRank(int val)
Definition PestBehaviorTemplate.h:12
int getPestRank()
Definition PestBehaviorTemplate.h:8
bool getGoodPest()
Definition PestBehaviorTemplate.h:32
void setGoodPest(bool val)
Definition PestBehaviorTemplate.h:36
void setProvidesMagic(bool val)
Definition PestBehaviorTemplate.h:76
bool getUseSizeAnimations()
Definition PestBehaviorTemplate.h:40
void setProvidesMusic(bool val)
Definition PestBehaviorTemplate.h:84
void setUseSizeAnimations(bool val)
Definition PestBehaviorTemplate.h:44
void setWiltMaxRate(std::string val)
Definition PestBehaviorTemplate.h:28
std::string getWiltMaxRate()
Definition PestBehaviorTemplate.h:24
void setWiltMinRate(std::string val)
Definition PestBehaviorTemplate.h:20
void setProvidesSun(bool val)
Definition PestBehaviorTemplate.h:60
void setProvidesPollination(bool val)
Definition PestBehaviorTemplate.h:68
bool getProvidesMusic()
Definition PestBehaviorTemplate.h:80
void setProvidesWater(bool val)
Definition PestBehaviorTemplate.h:52
bool getProvidesSun()
Definition PestBehaviorTemplate.h:56
bool getProvidesWater()
Definition PestBehaviorTemplate.h:48