Cyrus Mod Loader
Loading...
Searching...
No Matches
ControlList.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/ControlText.h>
4#include <Cyrus/Classes/PropertyClass.h>
5#include <Cyrus/Classes/Window.h>
6
7class ControlList : public ControlText {
8public:
9 Color getTextColor() { // Property Generated Getter
10 return *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x2B8);
11 }
12
13 void setTextColor(Color val) { // Property Generated Setter
14 *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x2B8) = val;
15 }
16
17 Color getSelectColor() { // Property Generated Getter
18 return *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x2BC);
19 }
20
21 void setSelectColor(Color val) { // Property Generated Setter
22 *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x2BC) = val;
23 }
24
25 Color getHighlightColor() { // Property Generated Getter
26 return *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x2C0);
27 }
28
29 void setHighlightColor(Color val) { // Property Generated Setter
30 *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x2C0) = val;
31 }
32
33 bool getBSortEnable() { // Property Generated Getter
34 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x310);
35 }
36
37 void setBSortEnable(bool val) { // Property Generated Setter
38 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x310) = val;
39 }
40
41 int getNSortByColumn() { // Property Generated Getter
42 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x314);
43 }
44
45 void setNSortByColumn(int val) { // Property Generated Setter
46 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x314) = val;
47 }
48
49 bool getBSortAscending() { // Property Generated Getter
50 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x318);
51 }
52
53 void setBSortAscending(bool val) { // Property Generated Setter
54 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x318) = val;
55 }
56
57 int getNHighlighted() { // Property Generated Getter
58 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x31C);
59 }
60
61 void setNHighlighted(int val) { // Property Generated Setter
62 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x31C) = val;
63 }
64
65 int getNSelected() { // Property Generated Getter
66 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x320);
67 }
68
69 void setNSelected(int val) { // Property Generated Setter
70 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x320) = val;
71 }
72
73 bool getBListInvalid() { // Property Generated Getter
74 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x324);
75 }
76
77 void setBListInvalid(bool val) { // Property Generated Setter
78 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x324) = val;
79 }
80
81 bool getBSortInvalid() { // Property Generated Getter
82 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x325);
83 }
84
85 void setBSortInvalid(bool val) { // Property Generated Setter
86 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x325) = val;
87 }
88
89 SharedPointer<Window> * getPScrollWin() { // Property Generated Getter
90 return reinterpret_cast<SharedPointer<Window> *>(reinterpret_cast<uintptr_t>(this) + 0x328);
91 }
92
93 void setPScrollWin(SharedPointer<Window> * val) { // Property Generated Setter
94 *reinterpret_cast<SharedPointer<Window> **>(reinterpret_cast<uintptr_t>(this) + 0x328) = val;
95 }
96
97 int getItemHeight() { // Property Generated Getter
98 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x338);
99 }
100
101 void setItemHeight(int val) { // Property Generated Setter
102 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x338) = val;
103 }
104
105 ControlList__ListItemState* * getItemNormalState() { // Property Generated Getter
106 return reinterpret_cast<ControlList__ListItemState* *>(reinterpret_cast<uintptr_t>(this) + 0x340);
107 }
108
109 void setItemNormalState(ControlList__ListItemState* * val) { // Property Generated Setter
110 *reinterpret_cast<ControlList__ListItemState* **>(reinterpret_cast<uintptr_t>(this) + 0x340) = val;
111 }
112
113 ControlList__ListItemState* * getItemHighlightedState() { // Property Generated Getter
114 return reinterpret_cast<ControlList__ListItemState* *>(reinterpret_cast<uintptr_t>(this) + 0x348);
115 }
116
117 void setItemHighlightedState(ControlList__ListItemState* * val) { // Property Generated Setter
118 *reinterpret_cast<ControlList__ListItemState* **>(reinterpret_cast<uintptr_t>(this) + 0x348) = val;
119 }
120
121 ControlList__ListItemState* * getItemSelectedState() { // Property Generated Getter
122 return reinterpret_cast<ControlList__ListItemState* *>(reinterpret_cast<uintptr_t>(this) + 0x350);
123 }
124
125 void setItemSelectedState(ControlList__ListItemState* * val) { // Property Generated Setter
126 *reinterpret_cast<ControlList__ListItemState* **>(reinterpret_cast<uintptr_t>(this) + 0x350) = val;
127 }
128
129 ControlList__ListItemState* * getItemDisabledState() { // Property Generated Getter
130 return reinterpret_cast<ControlList__ListItemState* *>(reinterpret_cast<uintptr_t>(this) + 0x358);
131 }
132
133 void setItemDisabledState(ControlList__ListItemState* * val) { // Property Generated Setter
134 *reinterpret_cast<ControlList__ListItemState* **>(reinterpret_cast<uintptr_t>(this) + 0x358) = val;
135 }
136
137 int ColumnCount() { // Function Generated
138 using FunctionPointerType = int (*)(ControlList *self);
139 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x16158E0);
140 return inner(this);
141 }
142
143 struct ControlList::Column* ColumnByIndex(int a0) { // Function Generated
144 using FunctionPointerType = struct ControlList::Column* (*)(ControlList *self, int a0);
145 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x16158D0);
146 return inner(this, a0);
147 }
148
149 int AddColumn(int a0, Color a1, int a2, int a3) { // Function Generated
150 using FunctionPointerType = int (*)(ControlList *self, int a0, Color a1, int a2, int a3);
151 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160CF50);
152 return inner(this, a0, a1, a2, a3);
153 }
154
155 int AddExistingColumn(struct ControlList::Column a0) { // Function Generated
156 using FunctionPointerType = int (*)(ControlList *self, struct ControlList::Column a0);
157 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160D000);
158 return inner(this, a0);
159 }
160
161 void SetColumn(int a0, struct ControlList::Column a1) { // Function Generated
162 using FunctionPointerType = void (*)(ControlList *self, int a0, struct ControlList::Column a1);
163 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160D120);
164 return inner(this, a0, a1);
165 }
166
167 void RemoveColumn(int a0) { // Function Generated
168 using FunctionPointerType = void (*)(ControlList *self, int a0);
169 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160D210);
170 return inner(this, a0);
171 }
172
173 int ItemCount() { // Function Generated
174 using FunctionPointerType = int (*)(ControlList *self);
175 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x4BE530);
176 return inner(this);
177 }
178
179 std::wstring ItemByIndex(int a0, int a1) { // Function Generated
180 using FunctionPointerType = std::wstring (*)(ControlList *self, int a0, int a1);
181 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1617660);
182 return inner(this, a0, a1);
183 }
184
185 int AddItem(std::wstring a0, int a1) { // Function Generated
186 using FunctionPointerType = int (*)(ControlList *self, std::wstring a0, int a1);
187 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160D3E0);
188 return inner(this, a0, a1);
189 }
190
191 int AddSeperatedItems(std::wstring a0, std::wstring a1, int a2) { // Function Generated
192 using FunctionPointerType = int (*)(ControlList *self, std::wstring a0, std::wstring a1, int a2);
193 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160D9A0);
194 return inner(this, a0, a1, a2);
195 }
196
197 int SetItem(int a0, int a1, std::wstring a2) { // Function Generated
198 using FunctionPointerType = int (*)(ControlList *self, int a0, int a1, std::wstring a2);
199 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160DAD0);
200 return inner(this, a0, a1, a2);
201 }
202
203 void RemoveItem(int a0) { // Function Generated
204 using FunctionPointerType = void (*)(ControlList *self, int a0);
205 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160DBF0);
206 return inner(this, a0);
207 }
208
209 void SwapItems(int a0, int a1) { // Function Generated
210 using FunctionPointerType = void (*)(ControlList *self, int a0, int a1);
211 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160DD60);
212 return inner(this, a0, a1);
213 }
214
215 void MoveItem(int a0, int a1) { // Function Generated
216 using FunctionPointerType = void (*)(ControlList *self, int a0, int a1);
217 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160DF70);
218 return inner(this, a0, a1);
219 }
220
221 void RemoveAllItems() { // Function Generated
222 using FunctionPointerType = void (*)(ControlList *self);
223 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160E150);
224 return inner(this);
225 }
226
227 void RemoveAll() { // Function Generated
228 using FunctionPointerType = void (*)(ControlList *self);
229 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160E460);
230 return inner(this);
231 }
232
233 int Selected() { // Function Generated
234 using FunctionPointerType = int (*)(ControlList *self);
235 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x16176A0);
236 return inner(this);
237 }
238
239 int SortedItem(int a0) { // Function Generated
240 using FunctionPointerType = int (*)(ControlList *self, int a0);
241 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x16176B0);
242 return inner(this, a0);
243 }
244
245 void SetSelected(int a0) { // Function Generated
246 using FunctionPointerType = void (*)(ControlList *self, int a0);
247 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160E400);
248 return inner(this, a0);
249 }
250
251 void SetSortEnable(bool a0, bool a1) { // Function Generated
252 using FunctionPointerType = void (*)(ControlList *self, bool a0, bool a1);
253 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160E230);
254 return inner(this, a0, a1);
255 }
256
257 void SetSort(int a0, bool a1) { // Function Generated
258 using FunctionPointerType = void (*)(ControlList *self, int a0, bool a1);
259 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x160E250);
260 return inner(this, a0, a1);
261 }
262
263};
Definition ControlList__ListItemState.h:6
Definition ControlList.h:7
void setHighlightColor(Color val)
Definition ControlList.h:29
int getItemHeight()
Definition ControlList.h:97
void setSelectColor(Color val)
Definition ControlList.h:21
void RemoveAllItems()
Definition ControlList.h:221
void setItemSelectedState(ControlList__ListItemState **val)
Definition ControlList.h:125
Color getSelectColor()
Definition ControlList.h:17
void setItemHeight(int val)
Definition ControlList.h:101
void setNHighlighted(int val)
Definition ControlList.h:61
void setTextColor(Color val)
Definition ControlList.h:13
Color getTextColor()
Definition ControlList.h:9
int AddItem(std::wstring a0, int a1)
Definition ControlList.h:185
void setBSortAscending(bool val)
Definition ControlList.h:53
bool getBSortAscending()
Definition ControlList.h:49
std::wstring ItemByIndex(int a0, int a1)
Definition ControlList.h:179
void setItemNormalState(ControlList__ListItemState **val)
Definition ControlList.h:109
int ColumnCount()
Definition ControlList.h:137
int AddSeperatedItems(std::wstring a0, std::wstring a1, int a2)
Definition ControlList.h:191
ControlList__ListItemState ** getItemSelectedState()
Definition ControlList.h:121
bool getBListInvalid()
Definition ControlList.h:73
int AddColumn(int a0, Color a1, int a2, int a3)
Definition ControlList.h:149
int getNSortByColumn()
Definition ControlList.h:41
void setNSortByColumn(int val)
Definition ControlList.h:45
ControlList__ListItemState ** getItemDisabledState()
Definition ControlList.h:129
int ItemCount()
Definition ControlList.h:173
void SwapItems(int a0, int a1)
Definition ControlList.h:209
bool getBSortEnable()
Definition ControlList.h:33
void SetColumn(int a0, struct ControlList::Column a1)
Definition ControlList.h:161
bool getBSortInvalid()
Definition ControlList.h:81
int AddExistingColumn(struct ControlList::Column a0)
Definition ControlList.h:155
ControlList__ListItemState ** getItemNormalState()
Definition ControlList.h:105
int getNSelected()
Definition ControlList.h:65
void setBListInvalid(bool val)
Definition ControlList.h:77
int getNHighlighted()
Definition ControlList.h:57
void setPScrollWin(SharedPointer< Window > *val)
Definition ControlList.h:93
ControlList__ListItemState ** getItemHighlightedState()
Definition ControlList.h:113
int SortedItem(int a0)
Definition ControlList.h:239
void SetSort(int a0, bool a1)
Definition ControlList.h:257
struct ControlList::Column * ColumnByIndex(int a0)
Definition ControlList.h:143
void SetSelected(int a0)
Definition ControlList.h:245
void MoveItem(int a0, int a1)
Definition ControlList.h:215
void RemoveAll()
Definition ControlList.h:227
void setBSortInvalid(bool val)
Definition ControlList.h:85
Color getHighlightColor()
Definition ControlList.h:25
void SetSortEnable(bool a0, bool a1)
Definition ControlList.h:251
int SetItem(int a0, int a1, std::wstring a2)
Definition ControlList.h:197
void RemoveItem(int a0)
Definition ControlList.h:203
void setBSortEnable(bool val)
Definition ControlList.h:37
void setItemDisabledState(ControlList__ListItemState **val)
Definition ControlList.h:133
void setNSelected(int val)
Definition ControlList.h:69
SharedPointer< Window > * getPScrollWin()
Definition ControlList.h:89
int Selected()
Definition ControlList.h:233
void RemoveColumn(int a0)
Definition ControlList.h:167
void setItemHighlightedState(ControlList__ListItemState **val)
Definition ControlList.h:117
A class that represents a text-based control element in a window.
Definition ControlText.h:22
Definition shared.h:35