Cyrus Mod Loader
Loading...
Searching...
No Matches
TextComponent.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
6public:
7 bool getUseDropShadow() { // Property Generated Getter
8 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x60);
9 }
10
11 void setUseDropShadow(bool val) { // Property Generated Setter
12 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x60) = val;
13 }
14
15 bool getUseOutline() { // Property Generated Getter
16 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x61);
17 }
18
19 void setUseOutline(bool val) { // Property Generated Setter
20 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x61) = val;
21 }
22
23 int AddText(int a0, int a1, std::wstring a2) { // Function Generated
24 using FunctionPointerType = int (*)(TextComponent *self, int a0, int a1, std::wstring a2);
25 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E3D80);
26 return inner(this, a0, a1, a2);
27 }
28
29 void ClearText() { // Function Generated
30 using FunctionPointerType = void (*)(TextComponent *self);
31 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x15E4070);
32 return inner(this);
33 }
34
35};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition TextComponent.h:5
bool getUseDropShadow()
Definition TextComponent.h:7
void setUseOutline(bool val)
Definition TextComponent.h:19
int AddText(int a0, int a1, std::wstring a2)
Definition TextComponent.h:23
void setUseDropShadow(bool val)
Definition TextComponent.h:11
void ClearText()
Definition TextComponent.h:29
bool getUseOutline()
Definition TextComponent.h:15