Cyrus Mod Loader
Loading...
Searching...
No Matches
PetStat.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
5class PetStat : public PropertyClass {
6public:
7 std::string getName() { // Property Generated Getter
8 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48);
9 }
10
11 void setName(std::string val) { // Property Generated Setter
12 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
13 }
14
15 unsigned int getStatID() { // Property Generated Getter
16 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x68);
17 }
18
19 void setStatID(unsigned int val) { // Property Generated Setter
20 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
21 }
22
23 int getValue() { // Property Generated Getter
24 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x6C);
25 }
26
27 void setValue(int val) { // Property Generated Setter
28 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x6C) = val;
29 }
30
31};
Definition PetStat.h:5
unsigned int getStatID()
Definition PetStat.h:15
int getValue()
Definition PetStat.h:23
void setName(std::string val)
Definition PetStat.h:11
std::string getName()
Definition PetStat.h:7
void setValue(int val)
Definition PetStat.h:27
void setStatID(unsigned int val)
Definition PetStat.h:19
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86