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