Cyrus Mod Loader
Loading...
Searching...
No Matches
PetDerbyRacerState.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4#include <Cyrus/Enums/PetDerbyTrackTerrain.h>
5
7public:
8 gid getPlayerOID() { // Property Generated Getter
9 return *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x58);
10 }
11
12 void setPlayerOID(gid val) { // Property Generated Setter
13 *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x58) = val;
14 }
15
16 PetDerbyTrackTerrain getCurrentTerrain() { // Property Generated Getter
17 return *reinterpret_cast<PetDerbyTrackTerrain*>(reinterpret_cast<uintptr_t>(this) + 0x64);
18 }
19
20 void setCurrentTerrain(PetDerbyTrackTerrain val) { // Property Generated Setter
21 *reinterpret_cast<PetDerbyTrackTerrain*>(reinterpret_cast<uintptr_t>(this) + 0x64) = val;
22 }
23
24 int getCurrentLane() { // Property Generated Getter
25 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x68);
26 }
27
28 void setCurrentLane(int val) { // Property Generated Setter
29 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
30 }
31
32 unsigned int getCurrentLap() { // Property Generated Getter
33 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x78);
34 }
35
36 void setCurrentLap(unsigned int val) { // Property Generated Setter
37 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
38 }
39
40 unsigned char getIndexIntoArray() { // Property Generated Getter
41 return *reinterpret_cast<unsigned char*>(reinterpret_cast<uintptr_t>(this) + 0x60);
42 }
43
44 void setIndexIntoArray(unsigned char val) { // Property Generated Setter
45 *reinterpret_cast<unsigned char*>(reinterpret_cast<uintptr_t>(this) + 0x60) = val;
46 }
47
48};
Definition PetDerbyRacerState.h:6
void setCurrentLane(int val)
Definition PetDerbyRacerState.h:28
unsigned char getIndexIntoArray()
Definition PetDerbyRacerState.h:40
void setIndexIntoArray(unsigned char val)
Definition PetDerbyRacerState.h:44
int getCurrentLane()
Definition PetDerbyRacerState.h:24
void setCurrentTerrain(PetDerbyTrackTerrain val)
Definition PetDerbyRacerState.h:20
unsigned int getCurrentLap()
Definition PetDerbyRacerState.h:32
void setCurrentLap(unsigned int val)
Definition PetDerbyRacerState.h:36
void setPlayerOID(gid val)
Definition PetDerbyRacerState.h:12
gid getPlayerOID()
Definition PetDerbyRacerState.h:8
PetDerbyTrackTerrain getCurrentTerrain()
Definition PetDerbyRacerState.h:16
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86