Cyrus Mod Loader
Loading...
Searching...
No Matches
LootInfoList.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/GoldLootInfo.h>
4#include <Cyrus/Classes/LootInfo.h>
5#include <Cyrus/Classes/PropertyClass.h>
6
7class LootInfoList : public PropertyClass {
8public:
9 List<SharedPointer<LootInfo>> * getLoot() { // Property Generated Getter
10 return reinterpret_cast<List<SharedPointer<LootInfo>> *>(reinterpret_cast<uintptr_t>(this) + 0x48);
11 }
12
13 void setLoot(List<SharedPointer<LootInfo>> * val) { // Property Generated Setter
14 *reinterpret_cast<List<SharedPointer<LootInfo>> **>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
15 }
16
17 SharedPointer<GoldLootInfo> * getGoldInfo() { // Property Generated Getter
18 return reinterpret_cast<SharedPointer<GoldLootInfo> *>(reinterpret_cast<uintptr_t>(this) + 0x58);
19 }
20
21 void setGoldInfo(SharedPointer<GoldLootInfo> * val) { // Property Generated Setter
22 *reinterpret_cast<SharedPointer<GoldLootInfo> **>(reinterpret_cast<uintptr_t>(this) + 0x58) = val;
23 }
24
25};
Definition LootInfoList.h:7
List< SharedPointer< LootInfo > > * getLoot()
Definition LootInfoList.h:9
void setLoot(List< SharedPointer< LootInfo > > *val)
Definition LootInfoList.h:13
void setGoldInfo(SharedPointer< GoldLootInfo > *val)
Definition LootInfoList.h:21
SharedPointer< GoldLootInfo > * getGoldInfo()
Definition LootInfoList.h:17
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86