Cyrus Mod Loader
Loading...
Searching...
No Matches
StateAssetInfo.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
6public:
7 std::string getAssetName() { // Property Generated Getter
8 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48);
9 }
10
11 void setAssetName(std::string val) { // Property Generated Setter
12 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
13 }
14
15 std::string getAttachmentNode() { // Property Generated Getter
16 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x68);
17 }
18
19 void setAttachmentNode(std::string val) { // Property Generated Setter
20 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
21 }
22
23 unsigned int getSoundTemplate() { // Property Generated Getter
24 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x88);
25 }
26
27 void setSoundTemplate(unsigned int val) { // Property Generated Setter
28 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x88) = val;
29 }
30
31 bool getLoop() { // Property Generated Getter
32 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8C);
33 }
34
35 void setLoop(bool val) { // Property Generated Setter
36 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8C) = val;
37 }
38
39 bool getFireAndForget() { // Property Generated Getter
40 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8D);
41 }
42
43 void setFireAndForget(bool val) { // Property Generated Setter
44 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8D) = val;
45 }
46
47};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition StateAssetInfo.h:5
void setLoop(bool val)
Definition StateAssetInfo.h:35
unsigned int getSoundTemplate()
Definition StateAssetInfo.h:23
bool getFireAndForget()
Definition StateAssetInfo.h:39
void setFireAndForget(bool val)
Definition StateAssetInfo.h:43
std::string getAssetName()
Definition StateAssetInfo.h:7
std::string getAttachmentNode()
Definition StateAssetInfo.h:15
void setAttachmentNode(std::string val)
Definition StateAssetInfo.h:19
void setSoundTemplate(unsigned int val)
Definition StateAssetInfo.h:27
bool getLoop()
Definition StateAssetInfo.h:31
void setAssetName(std::string val)
Definition StateAssetInfo.h:11