Cyrus Mod Loader
Loading...
Searching...
No Matches
ServiceOptionBase.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
6public:
7 std::string getServiceName() { // Property Generated Getter
8 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48);
9 }
10
11 void setServiceName(std::string val) { // Property Generated Setter
12 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
13 }
14
15 std::string getIconKey() { // Property Generated Getter
16 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xA8);
17 }
18
19 void setIconKey(std::string val) { // Property Generated Setter
20 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xA8) = val;
21 }
22
23 std::string getDisplayKey() { // Property Generated Getter
24 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x68);
25 }
26
27 void setDisplayKey(std::string val) { // Property Generated Setter
28 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
29 }
30
31 unsigned int getServiceIndex() { // Property Generated Getter
32 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0xCC);
33 }
34
35 void setServiceIndex(unsigned int val) { // Property Generated Setter
36 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0xCC) = val;
37 }
38
39 bool getForceInteract() { // Property Generated Getter
40 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC8);
41 }
42
43 void setForceInteract(bool val) { // Property Generated Setter
44 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xC8) = val;
45 }
46
47};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition ServiceOptionBase.h:5
void setIconKey(std::string val)
Definition ServiceOptionBase.h:19
unsigned int getServiceIndex()
Definition ServiceOptionBase.h:31
std::string getServiceName()
Definition ServiceOptionBase.h:7
void setServiceIndex(unsigned int val)
Definition ServiceOptionBase.h:35
std::string getIconKey()
Definition ServiceOptionBase.h:15
void setDisplayKey(std::string val)
Definition ServiceOptionBase.h:27
bool getForceInteract()
Definition ServiceOptionBase.h:39
void setForceInteract(bool val)
Definition ServiceOptionBase.h:43
void setServiceName(std::string val)
Definition ServiceOptionBase.h:11
std::string getDisplayKey()
Definition ServiceOptionBase.h:23