Cyrus Mod Loader
Loading...
Searching...
No Matches
ControlSprite.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/Material.h>
4#include <Cyrus/Classes/PropertyClass.h>
5#include <Cyrus/Classes/TextComponent.h>
6#include <Cyrus/Classes/Window.h>
7
8class ControlSprite : public Window {
9public:
10 SharedPointer<Material> * getPMaterial() { // Property Generated Getter
11 return reinterpret_cast<SharedPointer<Material> *>(reinterpret_cast<uintptr_t>(this) + 0x250);
12 }
13
14 void setPMaterial(SharedPointer<Material> * val) { // Property Generated Setter
15 *reinterpret_cast<SharedPointer<Material> **>(reinterpret_cast<uintptr_t>(this) + 0x250) = val;
16 }
17
18 float getFRotation() { // Property Generated Getter
19 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x260);
20 }
21
22 void setFRotation(float val) { // Property Generated Setter
23 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x260) = val;
24 }
25
26 Color getColor() { // Property Generated Getter
27 return *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x248);
28 }
29
30 void setColor(Color val) { // Property Generated Setter
31 *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x248) = val;
32 }
33
34 Color getTextColor() { // Property Generated Getter
35 return *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x264);
36 }
37
38 void setTextColor(Color val) { // Property Generated Setter
39 *reinterpret_cast<Color*>(reinterpret_cast<uintptr_t>(this) + 0x264) = val;
40 }
41
42 TextComponent getTextComponent() { // Property Generated Getter
43 return *reinterpret_cast<TextComponent*>(reinterpret_cast<uintptr_t>(this) + 0x268);
44 }
45
46 void setTextComponent(TextComponent val) { // Property Generated Setter
47 *reinterpret_cast<TextComponent*>(reinterpret_cast<uintptr_t>(this) + 0x268) = val;
48 }
49
50 bool SetMaterialByName(std::string a0) { // Function Generated
51 using FunctionPointerType = bool (*)(ControlSprite *self, std::string a0);
52 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E71F0);
53 return inner(this, a0);
54 }
55
56 bool SetDiffuseTextureByName(std::string a0) { // Function Generated
57 using FunctionPointerType = bool (*)(ControlSprite *self, std::string a0);
58 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E77B0);
59 return inner(this, a0);
60 }
61
62 void SetRotation(float a0) { // Function Generated
63 using FunctionPointerType = void (*)(ControlSprite *self, float a0);
64 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E79A0);
65 return inner(this, a0);
66 }
67
68 float GetRotation() { // Function Generated
69 using FunctionPointerType = float (*)(ControlSprite *self);
70 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E79B0);
71 return inner(this);
72 }
73
74 int AddText(int a0, int a1, std::wstring a2) { // Function Generated
75 using FunctionPointerType = int (*)(ControlSprite *self, int a0, int a1, std::wstring a2);
76 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E7A70);
77 return inner(this, a0, a1, a2);
78 }
79
80 void ClearText() { // Function Generated
81 using FunctionPointerType = void (*)(ControlSprite *self);
82 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E93E0);
83 return inner(this);
84 }
85
86 void SetTextColor(Color a0) { // Function Generated
87 using FunctionPointerType = void (*)(ControlSprite *self, Color a0);
88 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15EA290);
89 return inner(this, a0);
90 }
91
92 void FlipHorizontal(bool a0) { // Function Generated
93 using FunctionPointerType = void (*)(ControlSprite *self, bool a0);
94 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E79C0);
95 return inner(this, a0);
96 }
97
98 void FlipVertical(bool a0) { // Function Generated
99 using FunctionPointerType = void (*)(ControlSprite *self, bool a0);
100 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E79D0);
101 return inner(this, a0);
102 }
103
104 bool GetFlippedHorizontal() { // Function Generated
105 using FunctionPointerType = bool (*)(ControlSprite *self);
106 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E79E0);
107 return inner(this);
108 }
109
110 bool GetFlippedVertical() { // Function Generated
111 using FunctionPointerType = bool (*)(ControlSprite *self);
112 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E79F0);
113 return inner(this);
114 }
115
116 void SetMaterial(Material a0) { // Function Generated
117 using FunctionPointerType = void (*)(ControlSprite *self, Material a0);
118 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x3B1FF0);
119 return inner(this, a0);
120 }
121
122 Material* GetMaterial() { // Function Generated
123 using FunctionPointerType = Material* (*)(ControlSprite *self);
124 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E97A0);
125 return inner(this);
126 }
127
128 Color GetColor() { // Function Generated
129 using FunctionPointerType = Color (*)(ControlSprite *self);
130 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E9790);
131 return inner(this);
132 }
133
134 void SetColor(Color a0) { // Function Generated
135 using FunctionPointerType = void (*)(ControlSprite *self, Color a0);
136 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15EA280);
137 return inner(this, a0);
138 }
139
140 TextComponent GetTextComponent() { // Function Generated
141 using FunctionPointerType = TextComponent (*)(ControlSprite *self);
142 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E7AF0);
143 return inner(this);
144 }
145
146 void SetTextComponent(TextComponent a0) { // Function Generated
147 using FunctionPointerType = void (*)(ControlSprite *self, TextComponent a0);
148 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E7A90);
149 return inner(this, a0);
150 }
151
152};
Definition ControlSprite.h:8
bool SetDiffuseTextureByName(std::string a0)
Definition ControlSprite.h:56
void SetRotation(float a0)
Definition ControlSprite.h:62
SharedPointer< Material > * getPMaterial()
Definition ControlSprite.h:10
int AddText(int a0, int a1, std::wstring a2)
Definition ControlSprite.h:74
float GetRotation()
Definition ControlSprite.h:68
void setTextColor(Color val)
Definition ControlSprite.h:38
void SetTextComponent(TextComponent a0)
Definition ControlSprite.h:146
bool GetFlippedVertical()
Definition ControlSprite.h:110
void setColor(Color val)
Definition ControlSprite.h:30
void SetColor(Color a0)
Definition ControlSprite.h:134
bool SetMaterialByName(std::string a0)
Definition ControlSprite.h:50
void setFRotation(float val)
Definition ControlSprite.h:22
float getFRotation()
Definition ControlSprite.h:18
Color GetColor()
Definition ControlSprite.h:128
TextComponent getTextComponent()
Definition ControlSprite.h:42
void setTextComponent(TextComponent val)
Definition ControlSprite.h:46
Color getColor()
Definition ControlSprite.h:26
Material * GetMaterial()
Definition ControlSprite.h:122
void FlipVertical(bool a0)
Definition ControlSprite.h:98
Color getTextColor()
Definition ControlSprite.h:34
bool GetFlippedHorizontal()
Definition ControlSprite.h:104
void ClearText()
Definition ControlSprite.h:80
void FlipHorizontal(bool a0)
Definition ControlSprite.h:92
void setPMaterial(SharedPointer< Material > *val)
Definition ControlSprite.h:14
void SetMaterial(Material a0)
Definition ControlSprite.h:116
TextComponent GetTextComponent()
Definition ControlSprite.h:140
void SetTextColor(Color a0)
Definition ControlSprite.h:86
Definition Material.h:8
Definition TextComponent.h:5
Represents a Wizard101 Window, think anything you see on screen that is not a 3D model.
Definition Window.h:45
Definition shared.h:35