Cyrus Mod Loader
Loading...
Searching...
No Matches
LeashBehaviorTemplate.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/BehaviorTemplate.h>
4#include <Cyrus/Classes/PropertyClass.h>
5#include <Cyrus/Enums/LeashType.h>
6
8public:
9 float getRadius() { // Property Generated Getter
10 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x78);
11 }
12
13 void setRadius(float val) { // Property Generated Setter
14 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
15 }
16
17 float getAngle() { // Property Generated Getter
18 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x7C);
19 }
20
21 void setAngle(float val) { // Property Generated Setter
22 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x7C) = val;
23 }
24
25 LeashType getLeashType() { // Property Generated Getter
26 return *reinterpret_cast<LeashType*>(reinterpret_cast<uintptr_t>(this) + 0x80);
27 }
28
29 void setLeashType(LeashType val) { // Property Generated Setter
30 *reinterpret_cast<LeashType*>(reinterpret_cast<uintptr_t>(this) + 0x80) = val;
31 }
32
33 bool getAlwaysDisplay() { // Property Generated Getter
34 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x84);
35 }
36
37 void setAlwaysDisplay(bool val) { // Property Generated Setter
38 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x84) = val;
39 }
40
41 bool getDespawnOnUnleash() { // Property Generated Getter
42 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x85);
43 }
44
45 void setDespawnOnUnleash(bool val) { // Property Generated Setter
46 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x85) = val;
47 }
48
49};
Definition BehaviorTemplate.h:13
Definition LeashBehaviorTemplate.h:7
void setRadius(float val)
Definition LeashBehaviorTemplate.h:13
bool getDespawnOnUnleash()
Definition LeashBehaviorTemplate.h:41
float getAngle()
Definition LeashBehaviorTemplate.h:17
void setLeashType(LeashType val)
Definition LeashBehaviorTemplate.h:29
float getRadius()
Definition LeashBehaviorTemplate.h:9
LeashType getLeashType()
Definition LeashBehaviorTemplate.h:25
bool getAlwaysDisplay()
Definition LeashBehaviorTemplate.h:33
void setAngle(float val)
Definition LeashBehaviorTemplate.h:21
void setAlwaysDisplay(bool val)
Definition LeashBehaviorTemplate.h:37
void setDespawnOnUnleash(bool val)
Definition LeashBehaviorTemplate.h:45