Cyrus Mod Loader
Loading...
Searching...
No Matches
PermanentShop.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/ClientWizEquipmentBehavior.h>
4#include <Cyrus/Classes/ClientWizInventoryBehavior.h>
5#include <Cyrus/Classes/CrownShopLayout.h>
6#include <Cyrus/Classes/PermShopItemData.h>
7#include <Cyrus/Classes/PropertyClass.h>
8#include <Cyrus/Classes/Window.h>
9
10class PermanentShop : public Window {
11public:
12 int getCurrentTab() { // Property Generated Getter
13 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x3B0);
14 }
15
16 void setCurrentTab(int val) { // Property Generated Setter
17 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x3B0) = val;
18 }
19
20 int getTotalCrowns() { // Property Generated Getter
21 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x300);
22 }
23
24 void setTotalCrowns(int val) { // Property Generated Setter
25 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x300) = val;
26 }
27
28 SharedPointer<ClientWizInventoryBehavior> * getPInventory() { // Property Generated Getter
29 return reinterpret_cast<SharedPointer<ClientWizInventoryBehavior> *>(reinterpret_cast<uintptr_t>(this) + 0x5A8);
30 }
31
32 void setPInventory(SharedPointer<ClientWizInventoryBehavior> * val) { // Property Generated Setter
33 *reinterpret_cast<SharedPointer<ClientWizInventoryBehavior> **>(reinterpret_cast<uintptr_t>(this) + 0x5A8) = val;
34 }
35
36 SharedPointer<ClientWizEquipmentBehavior> * getPEquipment() { // Property Generated Getter
37 return reinterpret_cast<SharedPointer<ClientWizEquipmentBehavior> *>(reinterpret_cast<uintptr_t>(this) + 0x5B8);
38 }
39
40 void setPEquipment(SharedPointer<ClientWizEquipmentBehavior> * val) { // Property Generated Setter
41 *reinterpret_cast<SharedPointer<ClientWizEquipmentBehavior> **>(reinterpret_cast<uintptr_t>(this) + 0x5B8) = val;
42 }
43
44 std::string getBuyBtnDisableReason() { // Property Generated Getter
45 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x588);
46 }
47
48 void setBuyBtnDisableReason(std::string val) { // Property Generated Setter
49 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x588) = val;
50 }
51
52 SharedPointer<PermShopItemData> LuaGetSelectedCurrentDisplayedListItem(int a0) { // Function Generated
53 using FunctionPointerType = SharedPointer<PermShopItemData> (*)(PermanentShop *self, int a0);
54 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x987610);
55 return inner(this, a0);
56 }
57
58 SharedPointer<PermShopItemData> LuaGetSelectedCurrentRecoListItem(int a0) { // Function Generated
59 using FunctionPointerType = SharedPointer<PermShopItemData> (*)(PermanentShop *self, int a0);
60 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x9876F0);
61 return inner(this, a0);
62 }
63
64 int LuaGetCurrentDisplayedListItemSize() { // Function Generated
65 using FunctionPointerType = int (*)(PermanentShop *self);
66 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x9877D0);
67 return inner(this);
68 }
69
70 int LuaGetCurrentRecoListItemSize() { // Function Generated
71 using FunctionPointerType = int (*)(PermanentShop *self);
72 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x9877F0);
73 return inner(this);
74 }
75
76 void HandleCategoryChange(int a0) { // Function Generated
77 using FunctionPointerType = void (*)(PermanentShop *self, int a0);
78 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x97E950);
79 return inner(this, a0);
80 }
81
82 void HandleMenuChange(int a0) { // Function Generated
83 using FunctionPointerType = void (*)(PermanentShop *self, int a0);
84 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x97E940);
85 return inner(this, a0);
86 }
87
88 int LuaGetLayoutCategoryListSize() { // Function Generated
89 using FunctionPointerType = int (*)(PermanentShop *self);
90 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x987810);
91 return inner(this);
92 }
93
94 SharedPointer<CrownShopLayout> LuaGetLayout() { // Function Generated
95 using FunctionPointerType = SharedPointer<CrownShopLayout> (*)(PermanentShop *self);
96 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x987A80);
97 return inner(this);
98 }
99
100 void ChangeCurrencyTab(bool a0) { // Function Generated
101 using FunctionPointerType = void (*)(PermanentShop *self, bool a0);
102 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x97BA50);
103 return inner(this, a0);
104 }
105
106 void ClickBuyButton(bool a0) { // Function Generated
107 using FunctionPointerType = void (*)(PermanentShop *self, bool a0);
108 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x97A6F0);
109 return inner(this, a0);
110 }
111
112 void OnSelect(struct CrownShopViews::OnSelectCallbackArg a0) { // Function Generated
113 using FunctionPointerType = void (*)(PermanentShop *self, struct CrownShopViews::OnSelectCallbackArg a0);
114 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x9850C0);
115 return inner(this, a0);
116 }
117
118};
Definition PermanentShop.h:10
int getCurrentTab()
Definition PermanentShop.h:12
void HandleMenuChange(int a0)
Definition PermanentShop.h:82
SharedPointer< CrownShopLayout > LuaGetLayout()
Definition PermanentShop.h:94
void OnSelect(struct CrownShopViews::OnSelectCallbackArg a0)
Definition PermanentShop.h:112
int LuaGetCurrentDisplayedListItemSize()
Definition PermanentShop.h:64
void setBuyBtnDisableReason(std::string val)
Definition PermanentShop.h:48
void setTotalCrowns(int val)
Definition PermanentShop.h:24
int LuaGetCurrentRecoListItemSize()
Definition PermanentShop.h:70
SharedPointer< PermShopItemData > LuaGetSelectedCurrentDisplayedListItem(int a0)
Definition PermanentShop.h:52
void setCurrentTab(int val)
Definition PermanentShop.h:16
SharedPointer< ClientWizEquipmentBehavior > * getPEquipment()
Definition PermanentShop.h:36
SharedPointer< PermShopItemData > LuaGetSelectedCurrentRecoListItem(int a0)
Definition PermanentShop.h:58
int LuaGetLayoutCategoryListSize()
Definition PermanentShop.h:88
SharedPointer< ClientWizInventoryBehavior > * getPInventory()
Definition PermanentShop.h:28
void setPEquipment(SharedPointer< ClientWizEquipmentBehavior > *val)
Definition PermanentShop.h:40
void ClickBuyButton(bool a0)
Definition PermanentShop.h:106
int getTotalCrowns()
Definition PermanentShop.h:20
void HandleCategoryChange(int a0)
Definition PermanentShop.h:76
void setPInventory(SharedPointer< ClientWizInventoryBehavior > *val)
Definition PermanentShop.h:32
std::string getBuyBtnDisableReason()
Definition PermanentShop.h:44
void ChangeCurrencyTab(bool a0)
Definition PermanentShop.h:100
Represents a Wizard101 Window, think anything you see on screen that is not a 3D model.
Definition Window.h:45