Cyrus Mod Loader
Loading...
Searching...
No Matches
TileMaterial.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/Material.h>
4#include <Cyrus/Classes/PropertyClass.h>
5
6class TileMaterial : public Material {
7public:
8 int getTilesX() { // Property Generated Getter
9 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xF0);
10 }
11
12 void setTilesX(int val) { // Property Generated Setter
13 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xF0) = val;
14 }
15
16 int getTilesY() { // Property Generated Getter
17 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xF4);
18 }
19
20 void setTilesY(int val) { // Property Generated Setter
21 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0xF4) = val;
22 }
23
24 bool CalculateFrames() { // Function Generated
25 using FunctionPointerType = bool (*)(TileMaterial *self);
26 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x11E75E4);
27 return inner(this);
28 }
29
30 int GetTilesX() { // Function Generated
31 using FunctionPointerType = int (*)(TileMaterial *self);
32 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1673640);
33 return inner(this);
34 }
35
36 void SetTilesX(int a0) { // Function Generated
37 using FunctionPointerType = void (*)(TileMaterial *self, int a0);
38 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x16737F0);
39 return inner(this, a0);
40 }
41
42 int GetTilesY() { // Function Generated
43 using FunctionPointerType = int (*)(TileMaterial *self);
44 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1673650);
45 return inner(this);
46 }
47
48 void SetTilesY(int a0) { // Function Generated
49 using FunctionPointerType = void (*)(TileMaterial *self, int a0);
50 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1673800);
51 return inner(this, a0);
52 }
53
54};
Definition Material.h:8
Definition TileMaterial.h:6
void setTilesY(int val)
Definition TileMaterial.h:20
int getTilesY()
Definition TileMaterial.h:16
int GetTilesX()
Definition TileMaterial.h:30
bool CalculateFrames()
Definition TileMaterial.h:24
void setTilesX(int val)
Definition TileMaterial.h:12
void SetTilesX(int a0)
Definition TileMaterial.h:36
int getTilesX()
Definition TileMaterial.h:8
void SetTilesY(int a0)
Definition TileMaterial.h:48
int GetTilesY()
Definition TileMaterial.h:42