Cyrus Mod Loader
Loading...
Searching...
No Matches
Ingredient.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4#include <Cyrus/Enums/Ingredient__INGREDIENT_TYPE.h>
5
6class Ingredient : public PropertyClass {
7public:
8 gid getItemID() { // Property Generated Getter
9 return *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x50);
10 }
11
12 void setItemID(gid val) { // Property Generated Setter
13 *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x50) = val;
14 }
15
16 std::string getAdjective() { // Property Generated Getter
17 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x58);
18 }
19
20 void setAdjective(std::string val) { // Property Generated Setter
21 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x58) = val;
22 }
23
24 int getQuantity() { // Property Generated Getter
25 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x78);
26 }
27
28 void setQuantity(int val) { // Property Generated Setter
29 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
30 }
31
32 std::string getSpellTemplate() { // Property Generated Getter
33 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x80);
34 }
35
36 void setSpellTemplate(std::string val) { // Property Generated Setter
37 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x80) = val;
38 }
39
40 Ingredient__INGREDIENT_TYPE getIngredientType() { // Property Generated Getter
41 return *reinterpret_cast<Ingredient__INGREDIENT_TYPE*>(reinterpret_cast<uintptr_t>(this) + 0x48);
42 }
43
44 void setIngredientType(Ingredient__INGREDIENT_TYPE val) { // Property Generated Setter
45 *reinterpret_cast<Ingredient__INGREDIENT_TYPE*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
46 }
47
48};
Definition Ingredient.h:6
gid getItemID()
Definition Ingredient.h:8
void setIngredientType(Ingredient__INGREDIENT_TYPE val)
Definition Ingredient.h:44
void setSpellTemplate(std::string val)
Definition Ingredient.h:36
Ingredient__INGREDIENT_TYPE getIngredientType()
Definition Ingredient.h:40
std::string getAdjective()
Definition Ingredient.h:16
std::string getSpellTemplate()
Definition Ingredient.h:32
void setItemID(gid val)
Definition Ingredient.h:12
int getQuantity()
Definition Ingredient.h:24
void setAdjective(std::string val)
Definition Ingredient.h:20
void setQuantity(int val)
Definition Ingredient.h:28
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86