Cyrus Mod Loader
Loading...
Searching...
No Matches
AlchemyBehavior.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/BehaviorInstance.h>
4#include <Cyrus/Classes/ObjectBag.h>
5#include <Cyrus/Classes/PropertyClass.h>
6#include <Cyrus/Classes/RecipeBag.h>
7
9public:
10 RecipeBag getRecipeBag() { // Property Generated Getter
11 return *reinterpret_cast<RecipeBag*>(reinterpret_cast<uintptr_t>(this) + 0x70);
12 }
13
14 void setRecipeBag(RecipeBag val) { // Property Generated Setter
15 *reinterpret_cast<RecipeBag*>(reinterpret_cast<uintptr_t>(this) + 0x70) = val;
16 }
17
18 ObjectBag getCraftingSlotsBag() { // Property Generated Getter
19 return *reinterpret_cast<ObjectBag*>(reinterpret_cast<uintptr_t>(this) + 0x140);
20 }
21
22 void setCraftingSlotsBag(ObjectBag val) { // Property Generated Setter
23 *reinterpret_cast<ObjectBag*>(reinterpret_cast<uintptr_t>(this) + 0x140) = val;
24 }
25
26 ObjectBag getReagentBag() { // Property Generated Getter
27 return *reinterpret_cast<ObjectBag*>(reinterpret_cast<uintptr_t>(this) + 0x200);
28 }
29
30 void setReagentBag(ObjectBag val) { // Property Generated Setter
31 *reinterpret_cast<ObjectBag*>(reinterpret_cast<uintptr_t>(this) + 0x200) = val;
32 }
33
34 int getBonusCrafting() { // Property Generated Getter
35 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x2C0);
36 }
37
38 void setBonusCrafting(int val) { // Property Generated Setter
39 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x2C0) = val;
40 }
41
42 float getTimerMultiplier() { // Property Generated Getter
43 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x2C4);
44 }
45
46 void setTimerMultiplier(float val) { // Property Generated Setter
47 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x2C4) = val;
48 }
49
50 int getMaxReagentStack() { // Property Generated Getter
51 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x2C8);
52 }
53
54 void setMaxReagentStack(int val) { // Property Generated Setter
55 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x2C8) = val;
56 }
57
58 List<unsigned int> getEquippedRecipes() { // Property Generated Getter
59 return *reinterpret_cast<List<unsigned int>*>(reinterpret_cast<uintptr_t>(this) + 0x2D0);
60 }
61
62 void setEquippedRecipes(List<unsigned int> val) { // Property Generated Setter
63 *reinterpret_cast<List<unsigned int>*>(reinterpret_cast<uintptr_t>(this) + 0x2D0) = val;
64 }
65
66 std::string getEquippedRecipeData() { // Property Generated Getter
67 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x2E0);
68 }
69
70 void setEquippedRecipeData(std::string val) { // Property Generated Setter
71 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x2E0) = val;
72 }
73
74 int GetTotalReagentCount() { // Function Generated
75 using FunctionPointerType = int (*)(AlchemyBehavior *self);
76 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1B11300);
77 return inner(this);
78 }
79
80 CoreObject* GetReagent(int a0) { // Function Generated
81 using FunctionPointerType = CoreObject* (*)(AlchemyBehavior *self, int a0);
82 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1B11E50);
83 return inner(this, a0);
84 }
85
86};
Definition AlchemyBehavior.h:8
void setEquippedRecipeData(std::string val)
Definition AlchemyBehavior.h:70
RecipeBag getRecipeBag()
Definition AlchemyBehavior.h:10
int getMaxReagentStack()
Definition AlchemyBehavior.h:50
CoreObject * GetReagent(int a0)
Definition AlchemyBehavior.h:80
void setRecipeBag(RecipeBag val)
Definition AlchemyBehavior.h:14
void setReagentBag(ObjectBag val)
Definition AlchemyBehavior.h:30
void setEquippedRecipes(List< unsigned int > val)
Definition AlchemyBehavior.h:62
ObjectBag getReagentBag()
Definition AlchemyBehavior.h:26
ObjectBag getCraftingSlotsBag()
Definition AlchemyBehavior.h:18
void setTimerMultiplier(float val)
Definition AlchemyBehavior.h:46
float getTimerMultiplier()
Definition AlchemyBehavior.h:42
List< unsigned int > getEquippedRecipes()
Definition AlchemyBehavior.h:58
void setMaxReagentStack(int val)
Definition AlchemyBehavior.h:54
int getBonusCrafting()
Definition AlchemyBehavior.h:34
void setBonusCrafting(int val)
Definition AlchemyBehavior.h:38
std::string getEquippedRecipeData()
Definition AlchemyBehavior.h:66
void setCraftingSlotsBag(ObjectBag val)
Definition AlchemyBehavior.h:22
int GetTotalReagentCount()
Definition AlchemyBehavior.h:74
Definition BehaviorInstance.h:5
Definition CoreObject.h:29
Definition ObjectBag.h:6
Definition RecipeBag.h:6