Cyrus Mod Loader
Loading...
Searching...
No Matches
NodeObject.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/NodeDescriptor.h>
4#include <Cyrus/Classes/PropertyClass.h>
5
6class NodeObject : public PropertyClass {
7public:
8 Vector3D getLocation() { // Property Generated Getter
9 return *reinterpret_cast<Vector3D*>(reinterpret_cast<uintptr_t>(this) + 0x48);
10 }
11
12 void setLocation(Vector3D val) { // Property Generated Setter
13 *reinterpret_cast<Vector3D*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
14 }
15
16 float getFRadius() { // Property Generated Getter
17 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x54);
18 }
19
20 void setFRadius(float val) { // Property Generated Setter
21 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x54) = val;
22 }
23
24 gid getId() { // Property Generated Getter
25 return *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x68);
26 }
27
28 void setId(gid val) { // Property Generated Setter
29 *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
30 }
31
32 float getDirection() { // Property Generated Getter
33 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x58);
34 }
35
36 void setDirection(float val) { // Property Generated Setter
37 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x58) = val;
38 }
39
40 float getRoll() { // Property Generated Getter
41 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x5C);
42 }
43
44 void setRoll(float val) { // Property Generated Setter
45 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x5C) = val;
46 }
47
48 SharedPointer<NodeDescriptor> * getDescriptor() { // Property Generated Getter
49 return reinterpret_cast<SharedPointer<NodeDescriptor> *>(reinterpret_cast<uintptr_t>(this) + 0x78);
50 }
51
52 void setDescriptor(SharedPointer<NodeDescriptor> * val) { // Property Generated Setter
53 *reinterpret_cast<SharedPointer<NodeDescriptor> **>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
54 }
55
56 Vector3D GetLocation() { // Function Generated
57 using FunctionPointerType = Vector3D (*)(NodeObject *self);
58 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1435180);
59 return inner(this);
60 }
61
62 float GetRadius() { // Function Generated
63 using FunctionPointerType = float (*)(NodeObject *self);
64 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0xC41F60);
65 return inner(this);
66 }
67
68 float GetDirection() { // Function Generated
69 using FunctionPointerType = float (*)(NodeObject *self);
70 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x146C550);
71 return inner(this);
72 }
73
74};
Definition NodeObject.h:6
gid getId()
Definition NodeObject.h:24
Vector3D getLocation()
Definition NodeObject.h:8
void setDirection(float val)
Definition NodeObject.h:36
float GetDirection()
Definition NodeObject.h:68
float getFRadius()
Definition NodeObject.h:16
void setDescriptor(SharedPointer< NodeDescriptor > *val)
Definition NodeObject.h:52
Vector3D GetLocation()
Definition NodeObject.h:56
void setFRadius(float val)
Definition NodeObject.h:20
void setId(gid val)
Definition NodeObject.h:28
SharedPointer< NodeDescriptor > * getDescriptor()
Definition NodeObject.h:48
float getDirection()
Definition NodeObject.h:32
void setLocation(Vector3D val)
Definition NodeObject.h:12
float GetRadius()
Definition NodeObject.h:62
void setRoll(float val)
Definition NodeObject.h:44
float getRoll()
Definition NodeObject.h:40
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86
Definition shared.h:12