Cyrus Mod Loader
Loading...
Searching...
No Matches
PetStat.h
1
#pragma once
2
#include <Cyrus/Shared.h>
3
#include <Cyrus/Classes/PropertyClass.h>
4
5
class
PetStat
:
public
PropertyClass
{
6
public
:
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
};
PetStat
Definition
PetStat.h:5
PetStat::getStatID
unsigned int getStatID()
Definition
PetStat.h:15
PetStat::getValue
int getValue()
Definition
PetStat.h:23
PetStat::setName
void setName(std::string val)
Definition
PetStat.h:11
PetStat::getName
std::string getName()
Definition
PetStat.h:7
PetStat::setValue
void setValue(int val)
Definition
PetStat.h:27
PetStat::setStatID
void setStatID(unsigned int val)
Definition
PetStat.h:19
PropertyClass
Base class for all property classes, providing reflection and serialization functionality.
Definition
PropertyClass.h:86
src
Cyrus
Classes
PetStat.h
Generated by
1.11.0