Cyrus Mod Loader
Loading...
Searching...
No Matches
ClassInfo.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
5class ClassInfo : public PropertyClass {
6public:
7 std::string getClassName() { // Property Generated Getter
8 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48);
9 }
10
11 void setClassName(std::string val) { // Property Generated Setter
12 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
13 }
14
15 List<MagicLevelInfo*> * getClassLevelInfo() { // Property Generated Getter
16 return reinterpret_cast<List<MagicLevelInfo*> *>(reinterpret_cast<uintptr_t>(this) + 0x70);
17 }
18
19 void setClassLevelInfo(List<MagicLevelInfo*> * val) { // Property Generated Setter
20 *reinterpret_cast<List<MagicLevelInfo*> **>(reinterpret_cast<uintptr_t>(this) + 0x70) = val;
21 }
22
23};
Definition ClassInfo.h:5
List< MagicLevelInfo * > * getClassLevelInfo()
Definition ClassInfo.h:15
std::string getClassName()
Gets the class name of the derived class in the format class T[*].
Definition ClassInfo.h:7
void setClassName(std::string val)
Definition ClassInfo.h:11
void setClassLevelInfo(List< MagicLevelInfo * > *val)
Definition ClassInfo.h:19
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86