Cyrus Mod Loader
Loading...
Searching...
No Matches
CrownShopItem.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
6public:
7 gid getItemTemplateId() { // Property Generated Getter
8 return *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x48);
9 }
10
11 void setItemTemplateId(gid val) { // Property Generated Setter
12 *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
13 }
14
15 int getItemFlags() { // Property Generated Getter
16 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x68);
17 }
18
19 void setItemFlags(int val) { // Property Generated Setter
20 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
21 }
22
23 int getGoldCost() { // Property Generated Getter
24 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x5C);
25 }
26
27 void setGoldCost(int val) { // Property Generated Setter
28 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x5C) = val;
29 }
30
31 int getCrownsCost() { // Property Generated Getter
32 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x60);
33 }
34
35 void setCrownsCost(int val) { // Property Generated Setter
36 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x60) = val;
37 }
38
39 int getTicketCost() { // Property Generated Getter
40 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x64);
41 }
42
43 void setTicketCost(int val) { // Property Generated Setter
44 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x64) = val;
45 }
46
47 std::string getDisplayPriority() { // Property Generated Getter
48 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x70);
49 }
50
51 void setDisplayPriority(std::string val) { // Property Generated Setter
52 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x70) = val;
53 }
54
55 int getStrikethruCrowns() { // Property Generated Getter
56 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x90);
57 }
58
59 void setStrikethruCrowns(int val) { // Property Generated Setter
60 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x90) = val;
61 }
62
63 int getStrikethruGold() { // Property Generated Getter
64 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x94);
65 }
66
67 void setStrikethruGold(int val) { // Property Generated Setter
68 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x94) = val;
69 }
70
71 std::string getDescription() { // Property Generated Getter
72 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xD0);
73 }
74
75 void setDescription(std::string val) { // Property Generated Setter
76 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xD0) = val;
77 }
78
79 unsigned int getSaleID() { // Property Generated Getter
80 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0xF0);
81 }
82
83 void setSaleID(unsigned int val) { // Property Generated Setter
84 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0xF0) = val;
85 }
86
87 bool getRecommendIfOwned() { // Property Generated Getter
88 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x98);
89 }
90
91 void setRecommendIfOwned(bool val) { // Property Generated Setter
92 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x98) = val;
93 }
94
95 bool getCombatOnly() { // Property Generated Getter
96 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x99);
97 }
98
99 void setCombatOnly(bool val) { // Property Generated Setter
100 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x99) = val;
101 }
102
103 bool getNoGift() { // Property Generated Getter
104 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x9A);
105 }
106
107 void setNoGift(bool val) { // Property Generated Setter
108 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x9A) = val;
109 }
110
111 std::string getSegReqsStatement() { // Property Generated Getter
112 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xA0);
113 }
114
115 void setSegReqsStatement(std::string val) { // Property Generated Setter
116 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xA0) = val;
117 }
118
119 List<std::string> getSegReqsPoolsStatements() { // Property Generated Getter
120 return *reinterpret_cast<List<std::string>*>(reinterpret_cast<uintptr_t>(this) + 0xC0);
121 }
122
123 void setSegReqsPoolsStatements(List<std::string> val) { // Property Generated Setter
124 *reinterpret_cast<List<std::string>*>(reinterpret_cast<uintptr_t>(this) + 0xC0) = val;
125 }
126
127};
Definition CrownShopItem.h:5
void setSaleID(unsigned int val)
Definition CrownShopItem.h:83
void setDisplayPriority(std::string val)
Definition CrownShopItem.h:51
List< std::string > getSegReqsPoolsStatements()
Definition CrownShopItem.h:119
std::string getDisplayPriority()
Definition CrownShopItem.h:47
std::string getSegReqsStatement()
Definition CrownShopItem.h:111
void setSegReqsStatement(std::string val)
Definition CrownShopItem.h:115
int getCrownsCost()
Definition CrownShopItem.h:31
bool getRecommendIfOwned()
Definition CrownShopItem.h:87
void setDescription(std::string val)
Definition CrownShopItem.h:75
void setItemTemplateId(gid val)
Definition CrownShopItem.h:11
void setItemFlags(int val)
Definition CrownShopItem.h:19
bool getCombatOnly()
Definition CrownShopItem.h:95
void setSegReqsPoolsStatements(List< std::string > val)
Definition CrownShopItem.h:123
void setGoldCost(int val)
Definition CrownShopItem.h:27
std::string getDescription()
Definition CrownShopItem.h:71
int getGoldCost()
Definition CrownShopItem.h:23
void setStrikethruGold(int val)
Definition CrownShopItem.h:67
unsigned int getSaleID()
Definition CrownShopItem.h:79
int getItemFlags()
Definition CrownShopItem.h:15
void setCrownsCost(int val)
Definition CrownShopItem.h:35
void setNoGift(bool val)
Definition CrownShopItem.h:107
void setRecommendIfOwned(bool val)
Definition CrownShopItem.h:91
bool getNoGift()
Definition CrownShopItem.h:103
void setCombatOnly(bool val)
Definition CrownShopItem.h:99
void setTicketCost(int val)
Definition CrownShopItem.h:43
int getStrikethruGold()
Definition CrownShopItem.h:63
int getStrikethruCrowns()
Definition CrownShopItem.h:55
void setStrikethruCrowns(int val)
Definition CrownShopItem.h:59
gid getItemTemplateId()
Definition CrownShopItem.h:7
int getTicketCost()
Definition CrownShopItem.h:39
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86