Cyrus Mod Loader
Loading...
Searching...
No Matches
ScoreTracking.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
6public:
7 gid getGamerID() { // Property Generated Getter
8 return *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x48);
9 }
10
11 void setGamerID(gid val) { // Property Generated Setter
12 *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
13 }
14
15 std::wstring getGamerName() { // Property Generated Getter
16 return *reinterpret_cast<std::wstring*>(reinterpret_cast<uintptr_t>(this) + 0x50);
17 }
18
19 void setGamerName(std::wstring val) { // Property Generated Setter
20 *reinterpret_cast<std::wstring*>(reinterpret_cast<uintptr_t>(this) + 0x50) = val;
21 }
22
23 unsigned int getGamerNameCode() { // Property Generated Getter
24 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x70);
25 }
26
27 void setGamerNameCode(unsigned int val) { // Property Generated Setter
28 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x70) = val;
29 }
30
31 float getGameScore() { // Property Generated Getter
32 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x74);
33 }
34
35 void setGameScore(float val) { // Property Generated Setter
36 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x74) = val;
37 }
38
39 std::string getGamerRace() { // Property Generated Getter
40 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x78);
41 }
42
43 void setGamerRace(std::string val) { // Property Generated Setter
44 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
45 }
46
47 std::string getGamerGender() { // Property Generated Getter
48 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x98);
49 }
50
51 void setGamerGender(std::string val) { // Property Generated Setter
52 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x98) = val;
53 }
54
55};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition ScoreTracking.h:5
void setGamerRace(std::string val)
Definition ScoreTracking.h:43
float getGameScore()
Definition ScoreTracking.h:31
void setGameScore(float val)
Definition ScoreTracking.h:35
void setGamerName(std::wstring val)
Definition ScoreTracking.h:19
void setGamerGender(std::string val)
Definition ScoreTracking.h:51
std::string getGamerGender()
Definition ScoreTracking.h:47
gid getGamerID()
Definition ScoreTracking.h:7
std::wstring getGamerName()
Definition ScoreTracking.h:15
unsigned int getGamerNameCode()
Definition ScoreTracking.h:23
std::string getGamerRace()
Definition ScoreTracking.h:39
void setGamerID(gid val)
Definition ScoreTracking.h:11
void setGamerNameCode(unsigned int val)
Definition ScoreTracking.h:27