Cyrus Mod Loader
Loading...
Searching...
No Matches
ControlTab.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/ControlTab::Page.h>
4#include <Cyrus/Classes/PropertyClass.h>
5#include <Cyrus/Classes/Window.h>
6#include <Cyrus/Enums/ControlTab__TabAlignment.h>
7
8class ControlTab : public Window {
9public:
10 bool getBAutomaticFormatting() { // Property Generated Getter
11 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x298);
12 }
13
14 void setBAutomaticFormatting(bool val) { // Property Generated Setter
15 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x298) = val;
16 }
17
18 Vector<ControlTab__Page> getTabPages() { // Property Generated Getter
19 return *reinterpret_cast<Vector<ControlTab__Page>*>(reinterpret_cast<uintptr_t>(this) + 0x2D0);
20 }
21
22 void setTabPages(Vector<ControlTab__Page> val) { // Property Generated Setter
23 *reinterpret_cast<Vector<ControlTab__Page>*>(reinterpret_cast<uintptr_t>(this) + 0x2D0) = val;
24 }
25
26 Size<int> getTabSize() { // Property Generated Getter
27 return *reinterpret_cast<Size<int>*>(reinterpret_cast<uintptr_t>(this) + 0x2A0);
28 }
29
30 void setTabSize(Size<int> val) { // Property Generated Setter
31 *reinterpret_cast<Size<int>*>(reinterpret_cast<uintptr_t>(this) + 0x2A0) = val;
32 }
33
34 Rect<int> getTabPageRect() { // Property Generated Getter
35 return *reinterpret_cast<Rect<int>*>(reinterpret_cast<uintptr_t>(this) + 0x268);
36 }
37
38 void setTabPageRect(Rect<int> val) { // Property Generated Setter
39 *reinterpret_cast<Rect<int>*>(reinterpret_cast<uintptr_t>(this) + 0x268) = val;
40 }
41
42 Rect<int> getTabButtonsRect() { // Property Generated Getter
43 return *reinterpret_cast<Rect<int>*>(reinterpret_cast<uintptr_t>(this) + 0x278);
44 }
45
46 void setTabButtonsRect(Rect<int> val) { // Property Generated Setter
47 *reinterpret_cast<Rect<int>*>(reinterpret_cast<uintptr_t>(this) + 0x278) = val;
48 }
49
50 ControlTab__TabAlignment getTabAlign() { // Property Generated Getter
51 return *reinterpret_cast<ControlTab__TabAlignment*>(reinterpret_cast<uintptr_t>(this) + 0x29C);
52 }
53
54 void setTabAlign(ControlTab__TabAlignment val) { // Property Generated Setter
55 *reinterpret_cast<ControlTab__TabAlignment*>(reinterpret_cast<uintptr_t>(this) + 0x29C) = val;
56 }
57
58 void AddTab(std::string a0, std::wstring a1, Window a2) { // Function Generated
59 using FunctionPointerType = void (*)(ControlTab *self, std::string a0, std::wstring a1, Window a2);
60 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x164F550);
61 return inner(this, a0, a1, a2);
62 }
63
64 bool RemoveTab(std::string a0) { // Function Generated
65 using FunctionPointerType = bool (*)(ControlTab *self, std::string a0);
66 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x164F9F0);
67 return inner(this, a0);
68 }
69
70 bool SelectTab(std::string a0) { // Function Generated
71 using FunctionPointerType = bool (*)(ControlTab *self, std::string a0);
72 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x164FC60);
73 return inner(this, a0);
74 }
75
76 bool SelectOrdinalTab(int a0) { // Function Generated
77 using FunctionPointerType = bool (*)(ControlTab *self, int a0);
78 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x164FD30);
79 return inner(this, a0);
80 }
81
82 bool DeselectTab() { // Function Generated
83 using FunctionPointerType = bool (*)(ControlTab *self);
84 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x164FD90);
85 return inner(this);
86 }
87
88 std::basic_string<char,struct std::char_traits<char>,std::allocator<char> > GetCurrentTabName() { // Function Generated
89 using FunctionPointerType = std::basic_string<char,struct std::char_traits<char>,std::allocator<char> > (*)(ControlTab *self);
90 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x164FE50);
91 return inner(this);
92 }
93
94};
Definition ControlTab.h:8
void AddTab(std::string a0, std::wstring a1, Window a2)
Definition ControlTab.h:58
bool SelectOrdinalTab(int a0)
Definition ControlTab.h:76
Vector< ControlTab__Page > getTabPages()
Definition ControlTab.h:18
bool getBAutomaticFormatting()
Definition ControlTab.h:10
bool DeselectTab()
Definition ControlTab.h:82
void setTabAlign(ControlTab__TabAlignment val)
Definition ControlTab.h:54
void setTabPages(Vector< ControlTab__Page > val)
Definition ControlTab.h:22
void setBAutomaticFormatting(bool val)
Definition ControlTab.h:14
std::basic_string< char, struct std::char_traits< char >, std::allocator< char > > GetCurrentTabName()
Definition ControlTab.h:88
bool RemoveTab(std::string a0)
Definition ControlTab.h:64
Rect< int > getTabButtonsRect()
Definition ControlTab.h:42
Rect< int > getTabPageRect()
Definition ControlTab.h:34
ControlTab__TabAlignment getTabAlign()
Definition ControlTab.h:50
bool SelectTab(std::string a0)
Definition ControlTab.h:70
void setTabPageRect(Rect< int > val)
Definition ControlTab.h:38
void setTabSize(Size< int > val)
Definition ControlTab.h:30
Size< int > getTabSize()
Definition ControlTab.h:26
void setTabButtonsRect(Rect< int > val)
Definition ControlTab.h:46
Represents a Wizard101 Window, think anything you see on screen that is not a 3D model.
Definition Window.h:45
Definition shared.h:28