Cyrus Mod Loader
Loading...
Searching...
No Matches
PhysicsSim.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/BaseZone::BaseSimulation.h>
4#include <Cyrus/Classes/PropertyClass.h>
5
6class PhysicsSim : public BaseZone::BaseSimulation {
7public:
8 PhysicsSimObject* FindSimObject(unsigned int a0) { // Function Generated
9 using FunctionPointerType = PhysicsSimObject* (*)(PhysicsSim *self, unsigned int a0);
10 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD490);
11 return inner(this, a0);
12 }
13
14 float GetUpdateFrequencySeconds() { // Function Generated
15 using FunctionPointerType = float (*)(PhysicsSim *self);
16 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD7A0);
17 return inner(this);
18 }
19
20 bool GetUseDeterministicSolver() { // Function Generated
21 using FunctionPointerType = bool (*)(PhysicsSim *self);
22 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD7B0);
23 return inner(this);
24 }
25
26 bool GetUseLSS() { // Function Generated
27 using FunctionPointerType = bool (*)(PhysicsSim *self);
28 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD7C0);
29 return inner(this);
30 }
31
32 Vector3D GetGravity() { // Function Generated
33 using FunctionPointerType = Vector3D (*)(PhysicsSim *self);
34 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD680);
35 return inner(this);
36 }
37
38 float GetGlobalBounce() { // Function Generated
39 using FunctionPointerType = float (*)(PhysicsSim *self);
40 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD660);
41 return inner(this);
42 }
43
44 float GetGlobalMu() { // Function Generated
45 using FunctionPointerType = float (*)(PhysicsSim *self);
46 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD670);
47 return inner(this);
48 }
49
50 float GetGlobalERP() { // Function Generated
51 using FunctionPointerType = float (*)(PhysicsSim *self);
52 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AB190);
53 return inner(this);
54 }
55
56 float GetGlobalCFM() { // Function Generated
57 using FunctionPointerType = float (*)(PhysicsSim *self);
58 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AB1B0);
59 return inner(this);
60 }
61
62 float GetGlobalContactSurfaceDepth() { // Function Generated
63 using FunctionPointerType = float (*)(PhysicsSim *self);
64 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AB1D0);
65 return inner(this);
66 }
67
68 void SetUpdateFrequencySeconds(float a0) { // Function Generated
69 using FunctionPointerType = void (*)(PhysicsSim *self, float a0);
70 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14ADAB0);
71 return inner(this, a0);
72 }
73
74 void SetUseDeterministicSolver(bool a0) { // Function Generated
75 using FunctionPointerType = void (*)(PhysicsSim *self, bool a0);
76 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14ADAC0);
77 return inner(this, a0);
78 }
79
80 void SetUseLSS(bool a0) { // Function Generated
81 using FunctionPointerType = void (*)(PhysicsSim *self, bool a0);
82 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14ADAD0);
83 return inner(this, a0);
84 }
85
86 void SetGravity(Vector3D a0) { // Function Generated
87 using FunctionPointerType = void (*)(PhysicsSim *self, Vector3D a0);
88 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AB000);
89 return inner(this, a0);
90 }
91
92 void SetGlobalBounce(float a0) { // Function Generated
93 using FunctionPointerType = void (*)(PhysicsSim *self, float a0);
94 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD9C0);
95 return inner(this, a0);
96 }
97
98 void SetGlobalMu(float a0) { // Function Generated
99 using FunctionPointerType = void (*)(PhysicsSim *self, float a0);
100 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD9D0);
101 return inner(this, a0);
102 }
103
104 void SetGlobalERP(float a0) { // Function Generated
105 using FunctionPointerType = void (*)(PhysicsSim *self, float a0);
106 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AB050);
107 return inner(this, a0);
108 }
109
110 void SetGlobalCFM(float a0) { // Function Generated
111 using FunctionPointerType = void (*)(PhysicsSim *self, float a0);
112 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AB070);
113 return inner(this, a0);
114 }
115
116 void SetGlobalContactSurfaceDepth(float a0) { // Function Generated
117 using FunctionPointerType = void (*)(PhysicsSim *self, float a0);
118 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AB090);
119 return inner(this, a0);
120 }
121
122 unsigned int GetSimulationFrame() { // Function Generated
123 using FunctionPointerType = unsigned int (*)(PhysicsSim *self);
124 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x14AD790);
125 return inner(this);
126 }
127
128};
Definition PhysicsSim.h:6
bool GetUseDeterministicSolver()
Definition PhysicsSim.h:20
float GetGlobalERP()
Definition PhysicsSim.h:50
float GetGlobalBounce()
Definition PhysicsSim.h:38
void SetGlobalCFM(float a0)
Definition PhysicsSim.h:110
float GetGlobalMu()
Definition PhysicsSim.h:44
float GetUpdateFrequencySeconds()
Definition PhysicsSim.h:14
void SetUseLSS(bool a0)
Definition PhysicsSim.h:80
void SetUseDeterministicSolver(bool a0)
Definition PhysicsSim.h:74
void SetUpdateFrequencySeconds(float a0)
Definition PhysicsSim.h:68
void SetGlobalContactSurfaceDepth(float a0)
Definition PhysicsSim.h:116
void SetGlobalERP(float a0)
Definition PhysicsSim.h:104
float GetGlobalContactSurfaceDepth()
Definition PhysicsSim.h:62
void SetGlobalBounce(float a0)
Definition PhysicsSim.h:92
unsigned int GetSimulationFrame()
Definition PhysicsSim.h:122
bool GetUseLSS()
Definition PhysicsSim.h:26
void SetGlobalMu(float a0)
Definition PhysicsSim.h:98
PhysicsSimObject * FindSimObject(unsigned int a0)
Definition PhysicsSim.h:8
void SetGravity(Vector3D a0)
Definition PhysicsSim.h:86
float GetGlobalCFM()
Definition PhysicsSim.h:56
Vector3D GetGravity()
Definition PhysicsSim.h:32
Definition PhysicsSimObject.h:5
Definition shared.h:12