Cyrus Mod Loader
Loading...
Searching...
No Matches
BGPlayerInfo.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
5class BGPlayerInfo : public PropertyClass {
6public:
7 gid getPlayerID() { // Property Generated Getter
8 return *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x48);
9 }
10
11 void setPlayerID(gid val) { // Property Generated Setter
12 *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
13 }
14
15 std::string getTeam() { // Property Generated Getter
16 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x50);
17 }
18
19 void setTeam(std::string val) { // Property Generated Setter
20 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x50) = val;
21 }
22
23};
Definition BGPlayerInfo.h:5
void setPlayerID(gid val)
Definition BGPlayerInfo.h:11
void setTeam(std::string val)
Definition BGPlayerInfo.h:19
std::string getTeam()
Definition BGPlayerInfo.h:15
gid getPlayerID()
Definition BGPlayerInfo.h:7
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86