Cyrus Mod Loader
Loading...
Searching...
No Matches
ClientPetOwnerBehavior.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/BehaviorInstance.h>
4#include <Cyrus/Classes/CraftingSlot.h>
5#include <Cyrus/Classes/PropertyClass.h>
6
8public:
9 unsigned char getMaxSlots() { // Property Generated Getter
10 return *reinterpret_cast<unsigned char*>(reinterpret_cast<uintptr_t>(this) + 0x80);
11 }
12
13 void setMaxSlots(unsigned char val) { // Property Generated Setter
14 *reinterpret_cast<unsigned char*>(reinterpret_cast<uintptr_t>(this) + 0x80) = val;
15 }
16
17 List<SharedPointer<CraftingSlot>> * getMorphingSlots() { // Property Generated Getter
18 return reinterpret_cast<List<SharedPointer<CraftingSlot>> *>(reinterpret_cast<uintptr_t>(this) + 0x70);
19 }
20
21 void setMorphingSlots(List<SharedPointer<CraftingSlot>> * val) { // Property Generated Setter
22 *reinterpret_cast<List<SharedPointer<CraftingSlot>> **>(reinterpret_cast<uintptr_t>(this) + 0x70) = val;
23 }
24
25 unsigned int getEnergyTickTimeSecs() { // Property Generated Getter
26 return *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x88);
27 }
28
29 void setEnergyTickTimeSecs(unsigned int val) { // Property Generated Setter
30 *reinterpret_cast<unsigned int*>(reinterpret_cast<uintptr_t>(this) + 0x88) = val;
31 }
32
33 int getEnergy() { // Property Generated Getter
34 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x84);
35 }
36
37 void setEnergy(int val) { // Property Generated Setter
38 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x84) = val;
39 }
40
41 bool getPlayingAsPet() { // Property Generated Getter
42 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8C);
43 }
44
45 void setPlayingAsPet(bool val) { // Property Generated Setter
46 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x8C) = val;
47 }
48
49};
Definition BehaviorInstance.h:5
Definition ClientPetOwnerBehavior.h:7
void setMorphingSlots(List< SharedPointer< CraftingSlot > > *val)
Definition ClientPetOwnerBehavior.h:21
void setPlayingAsPet(bool val)
Definition ClientPetOwnerBehavior.h:45
void setMaxSlots(unsigned char val)
Definition ClientPetOwnerBehavior.h:13
void setEnergy(int val)
Definition ClientPetOwnerBehavior.h:37
void setEnergyTickTimeSecs(unsigned int val)
Definition ClientPetOwnerBehavior.h:29
bool getPlayingAsPet()
Definition ClientPetOwnerBehavior.h:41
unsigned char getMaxSlots()
Definition ClientPetOwnerBehavior.h:9
int getEnergy()
Definition ClientPetOwnerBehavior.h:33
unsigned int getEnergyTickTimeSecs()
Definition ClientPetOwnerBehavior.h:25
List< SharedPointer< CraftingSlot > > * getMorphingSlots()
Definition ClientPetOwnerBehavior.h:17