Cyrus Mod Loader
Loading...
Searching...
No Matches
ControlComboBox.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/ComboItem.h>
4#include <Cyrus/Classes/Material.h>
5#include <Cyrus/Classes/PropertyClass.h>
6#include <Cyrus/Classes/Window.h>
7#include <Cyrus/Classes/WindowStyle.h>
8
9class ControlComboBox : public Window {
10public:
11 Vector<ComboItem> getItems() { // Property Generated Getter
12 return *reinterpret_cast<Vector<ComboItem>*>(reinterpret_cast<uintptr_t>(this) + 0x248);
13 }
14
15 void setItems(Vector<ComboItem> val) { // Property Generated Setter
16 *reinterpret_cast<Vector<ComboItem>*>(reinterpret_cast<uintptr_t>(this) + 0x248) = val;
17 }
18
19 int getNSelected() { // Property Generated Getter
20 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x260);
21 }
22
23 void setNSelected(int val) { // Property Generated Setter
24 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x260) = val;
25 }
26
27 int getNExpandedSize() { // Property Generated Getter
28 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x264);
29 }
30
31 void setNExpandedSize(int val) { // Property Generated Setter
32 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x264) = val;
33 }
34
35 int getNButtonSize() { // Property Generated Getter
36 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x268);
37 }
38
39 void setNButtonSize(int val) { // Property Generated Setter
40 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x268) = val;
41 }
42
43 SharedPointer<Material> * getPButtonMaterial() { // Property Generated Getter
44 return reinterpret_cast<SharedPointer<Material> *>(reinterpret_cast<uintptr_t>(this) + 0x270);
45 }
46
47 void setPButtonMaterial(SharedPointer<Material> * val) { // Property Generated Setter
48 *reinterpret_cast<SharedPointer<Material> **>(reinterpret_cast<uintptr_t>(this) + 0x270) = val;
49 }
50
51 SharedPointer<WindowStyle> * getButtonStyle() { // Property Generated Getter
52 return reinterpret_cast<SharedPointer<WindowStyle> *>(reinterpret_cast<uintptr_t>(this) + 0x2E0);
53 }
54
55 void setButtonStyle(SharedPointer<WindowStyle> * val) { // Property Generated Setter
56 *reinterpret_cast<SharedPointer<WindowStyle> **>(reinterpret_cast<uintptr_t>(this) + 0x2E0) = val;
57 }
58
59 int ItemCount() { // Function Generated
60 using FunctionPointerType = int (*)(ControlComboBox *self);
61 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x165E3D0);
62 return inner(this);
63 }
64
65 ComboItem* ItemAt(int a0) { // Function Generated
66 using FunctionPointerType = ComboItem* (*)(ControlComboBox *self, int a0);
67 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x165E3C0);
68 return inner(this, a0);
69 }
70
71 int Selected() { // Function Generated
72 using FunctionPointerType = int (*)(ControlComboBox *self);
73 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x165E460);
74 return inner(this);
75 }
76
77 std::wstring SelectedText() { // Function Generated
78 using FunctionPointerType = std::wstring (*)(ControlComboBox *self);
79 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x4FCA30);
80 return inner(this);
81 }
82
83 void SetSelected(int a0) { // Function Generated
84 using FunctionPointerType = void (*)(ControlComboBox *self, int a0);
85 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1659650);
86 return inner(this, a0);
87 }
88
89 int SetSelectedText(std::wstring a0) { // Function Generated
90 using FunctionPointerType = int (*)(ControlComboBox *self, std::wstring a0);
91 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x16596B0);
92 return inner(this, a0);
93 }
94
95 void Reset() { // Function Generated
96 using FunctionPointerType = void (*)(ControlComboBox *self);
97 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1659DC0);
98 return inner(this);
99 }
100
101 void Sort() { // Function Generated
102 using FunctionPointerType = void (*)(ControlComboBox *self);
103 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1659E20);
104 return inner(this);
105 }
106
107 void Collapse() { // Function Generated
108 using FunctionPointerType = void (*)(ControlComboBox *self);
109 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1659E70);
110 return inner(this);
111 }
112
113 int AddItem(std::wstring a0, unsigned int a1, unsigned __int64 a2) { // Function Generated
114 using FunctionPointerType = int (*)(ControlComboBox *self, std::wstring a0, unsigned int a1, unsigned __int64 a2);
115 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x16598A0);
116 return inner(this, a0, a1, a2);
117 }
118
119 bool DeleteItem(int a0) { // Function Generated
120 using FunctionPointerType = bool (*)(ControlComboBox *self, int a0);
121 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x16599E0);
122 return inner(this, a0);
123 }
124
125};
Definition ComboItem.h:5
Definition ControlComboBox.h:9
void Reset()
Definition ControlComboBox.h:95
void setItems(Vector< ComboItem > val)
Definition ControlComboBox.h:15
SharedPointer< WindowStyle > * getButtonStyle()
Definition ControlComboBox.h:51
int ItemCount()
Definition ControlComboBox.h:59
void setNButtonSize(int val)
Definition ControlComboBox.h:39
void setNSelected(int val)
Definition ControlComboBox.h:23
SharedPointer< Material > * getPButtonMaterial()
Definition ControlComboBox.h:43
Vector< ComboItem > getItems()
Definition ControlComboBox.h:11
void setNExpandedSize(int val)
Definition ControlComboBox.h:31
void Collapse()
Definition ControlComboBox.h:107
void setButtonStyle(SharedPointer< WindowStyle > *val)
Definition ControlComboBox.h:55
int Selected()
Definition ControlComboBox.h:71
void setPButtonMaterial(SharedPointer< Material > *val)
Definition ControlComboBox.h:47
int AddItem(std::wstring a0, unsigned int a1, unsigned __int64 a2)
Definition ControlComboBox.h:113
ComboItem * ItemAt(int a0)
Definition ControlComboBox.h:65
std::wstring SelectedText()
Definition ControlComboBox.h:77
int SetSelectedText(std::wstring a0)
Definition ControlComboBox.h:89
int getNButtonSize()
Definition ControlComboBox.h:35
bool DeleteItem(int a0)
Definition ControlComboBox.h:119
int getNExpandedSize()
Definition ControlComboBox.h:27
void Sort()
Definition ControlComboBox.h:101
int getNSelected()
Definition ControlComboBox.h:19
void SetSelected(int a0)
Definition ControlComboBox.h:83
Represents a Wizard101 Window, think anything you see on screen that is not a 3D model.
Definition Window.h:45