Cyrus Mod Loader
Loading...
Searching...
No Matches
Texture.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
5class Texture : public PropertyClass {
6public:
7 std::string getSFilename() { // Property Generated Getter
8 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x68);
9 }
10
11 void setSFilename(std::string val) { // Property Generated Setter
12 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
13 }
14
15 bool getBAlphaChannel() { // Property Generated Getter
16 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x89);
17 }
18
19 void setBAlphaChannel(bool val) { // Property Generated Setter
20 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x89) = val;
21 }
22
23 bool getBDoubleSided() { // Property Generated Getter
24 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8A);
25 }
26
27 void setBDoubleSided(bool val) { // Property Generated Setter
28 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8A) = val;
29 }
30
31 bool getBMipMap() { // Property Generated Getter
32 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8B);
33 }
34
35 void setBMipMap(bool val) { // Property Generated Setter
36 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8B) = val;
37 }
38
39 std::basic_string<char,struct std::char_traits<char>,std::allocator<char> > GetFileName() { // Function Generated
40 using FunctionPointerType = std::basic_string<char,struct std::char_traits<char>,std::allocator<char> > (*)(Texture *self);
41 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1316610);
42 return inner(this);
43 }
44
45 void SetFileName(std::string a0) { // Function Generated
46 using FunctionPointerType = void (*)(Texture *self, std::string a0);
47 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1346444);
48 return inner(this, a0);
49 }
50
51};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition Texture.h:5
void setBMipMap(bool val)
Definition Texture.h:35
void setSFilename(std::string val)
Definition Texture.h:11
std::string getSFilename()
Definition Texture.h:7
void setBAlphaChannel(bool val)
Definition Texture.h:19
void setBDoubleSided(bool val)
Definition Texture.h:27
void SetFileName(std::string a0)
Definition Texture.h:45
std::basic_string< char, struct std::char_traits< char >, std::allocator< char > > GetFileName()
Definition Texture.h:39
bool getBAlphaChannel()
Definition Texture.h:15
bool getBMipMap()
Definition Texture.h:31
bool getBDoubleSided()
Definition Texture.h:23