Cyrus Mod Loader
Loading...
Searching...
No Matches
GoldLootInfo.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/LootInfo.h>
4#include <Cyrus/Classes/LootInfoBase.h>
5#include <Cyrus/Classes/PropertyClass.h>
6
7class GoldLootInfo : public LootInfo {
8public:
9 int getGoldAmount() { // Property Generated Getter
10 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x50);
11 }
12
13 void setGoldAmount(int val) { // Property Generated Setter
14 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x50) = val;
15 }
16
17};
Definition GoldLootInfo.h:7
void setGoldAmount(int val)
Definition GoldLootInfo.h:13
int getGoldAmount()
Definition GoldLootInfo.h:9
Definition LootInfo.h:7