Cyrus Mod Loader
Loading...
Searching...
No Matches
ServiceMementoBase.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/MadlibBlock.h>
4#include <Cyrus/Classes/PropertyClass.h>
5#include <Cyrus/Classes/ServiceOptionBase.h>
6
8public:
9 List<SharedPointer<ServiceOptionBase>> * getServiceOptions() { // Property Generated Getter
10 return reinterpret_cast<List<SharedPointer<ServiceOptionBase>> *>(reinterpret_cast<uintptr_t>(this) + 0x48);
11 }
12
13 void setServiceOptions(List<SharedPointer<ServiceOptionBase>> * val) { // Property Generated Setter
14 *reinterpret_cast<List<SharedPointer<ServiceOptionBase>> **>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
15 }
16
17 SharedPointer<MadlibBlock> * getPersonaMadlibs() { // Property Generated Getter
18 return reinterpret_cast<SharedPointer<MadlibBlock> *>(reinterpret_cast<uintptr_t>(this) + 0x60);
19 }
20
21 void setPersonaMadlibs(SharedPointer<MadlibBlock> * val) { // Property Generated Setter
22 *reinterpret_cast<SharedPointer<MadlibBlock> **>(reinterpret_cast<uintptr_t>(this) + 0x60) = val;
23 }
24
25 std::string getNpcNameKey() { // Property Generated Getter
26 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x70);
27 }
28
29 void setNpcNameKey(std::string val) { // Property Generated Setter
30 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x70) = val;
31 }
32
33 std::string getNpcTextKey() { // Property Generated Getter
34 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x90);
35 }
36
37 void setNpcTextKey(std::string val) { // Property Generated Setter
38 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x90) = val;
39 }
40
41 std::string getNpcIcon() { // Property Generated Getter
42 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xB0);
43 }
44
45 void setNpcIcon(std::string val) { // Property Generated Setter
46 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xB0) = val;
47 }
48
49 std::string getNpcGreetingSound() { // Property Generated Getter
50 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xD0);
51 }
52
53 void setNpcGreetingSound(std::string val) { // Property Generated Setter
54 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xD0) = val;
55 }
56
57 std::string getNpcFarewellSound() { // Property Generated Getter
58 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xF0);
59 }
60
61 void setNpcFarewellSound(std::string val) { // Property Generated Setter
62 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xF0) = val;
63 }
64
65 bool getBTurnPlayerToFace() { // Property Generated Getter
66 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x110);
67 }
68
69 void setBTurnPlayerToFace(bool val) { // Property Generated Setter
70 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x110) = val;
71 }
72
73 bool getClickToInteractOnly() { // Property Generated Getter
74 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x111);
75 }
76
77 void setClickToInteractOnly(bool val) { // Property Generated Setter
78 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x111) = val;
79 }
80
81};
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition ServiceMementoBase.h:7
std::string getNpcTextKey()
Definition ServiceMementoBase.h:33
void setBTurnPlayerToFace(bool val)
Definition ServiceMementoBase.h:69
SharedPointer< MadlibBlock > * getPersonaMadlibs()
Definition ServiceMementoBase.h:17
void setNpcGreetingSound(std::string val)
Definition ServiceMementoBase.h:53
void setServiceOptions(List< SharedPointer< ServiceOptionBase > > *val)
Definition ServiceMementoBase.h:13
std::string getNpcIcon()
Definition ServiceMementoBase.h:41
std::string getNpcNameKey()
Definition ServiceMementoBase.h:25
void setNpcIcon(std::string val)
Definition ServiceMementoBase.h:45
std::string getNpcFarewellSound()
Definition ServiceMementoBase.h:57
List< SharedPointer< ServiceOptionBase > > * getServiceOptions()
Definition ServiceMementoBase.h:9
void setNpcTextKey(std::string val)
Definition ServiceMementoBase.h:37
void setNpcNameKey(std::string val)
Definition ServiceMementoBase.h:29
bool getClickToInteractOnly()
Definition ServiceMementoBase.h:73
void setNpcFarewellSound(std::string val)
Definition ServiceMementoBase.h:61
std::string getNpcGreetingSound()
Definition ServiceMementoBase.h:49
bool getBTurnPlayerToFace()
Definition ServiceMementoBase.h:65
void setClickToInteractOnly(bool val)
Definition ServiceMementoBase.h:77
void setPersonaMadlibs(SharedPointer< MadlibBlock > *val)
Definition ServiceMementoBase.h:21