Cyrus Mod Loader
Loading...
Searching...
No Matches
LoyaltyStoreItem.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4
6public:
7 unsigned int getSaleID() { // Property Generated Getter
8 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x48);
9 }
10
11 void setSaleID(unsigned int val) { // Property Generated Setter
12 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
13 }
14
15 gid getTemplateId() { // Property Generated Getter
16 return *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x50);
17 }
18
19 void setTemplateId(gid val) { // Property Generated Setter
20 *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x50) = val;
21 }
22
23 int getLoyaltyTokensPrice() { // Property Generated Getter
24 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x58);
25 }
26
27 void setLoyaltyTokensPrice(int val) { // Property Generated Setter
28 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x58) = val;
29 }
30
31 int getPurchaseLimit() { // Property Generated Getter
32 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x5C);
33 }
34
35 void setPurchaseLimit(int val) { // Property Generated Setter
36 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x5C) = val;
37 }
38
39};
Definition LoyaltyStoreItem.h:5
void setLoyaltyTokensPrice(int val)
Definition LoyaltyStoreItem.h:27
void setPurchaseLimit(int val)
Definition LoyaltyStoreItem.h:35
void setSaleID(unsigned int val)
Definition LoyaltyStoreItem.h:11
int getLoyaltyTokensPrice()
Definition LoyaltyStoreItem.h:23
int getPurchaseLimit()
Definition LoyaltyStoreItem.h:31
void setTemplateId(gid val)
Definition LoyaltyStoreItem.h:19
gid getTemplateId()
Definition LoyaltyStoreItem.h:15
unsigned int getSaleID()
Definition LoyaltyStoreItem.h:7
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86