VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CCSPlayerPawn.cpp
Go to the documentation of this file.
1// Generated by `voltmod framework schemagen`. Do not edit.
2
3#include "Schema/Notify.hpp"
4
9
10namespace VoltMod::Schema
11{
12
13// ---- CCSPlayerPawn, 6304 bytes -------------------------------------
14static constexpr int32_t kCCSPlayerPawn_ArmorValue = 6124; // int32
15static constexpr int32_t kCCSPlayerPawn_EyeAngles = 6280; // QAngle
16static constexpr int32_t kCCSPlayerPawn_VelocityModifier = 6072; // float32
17static constexpr int32_t kCCSPlayerPawn_OnGroundLastTick = 4772; // bool
18static constexpr int32_t kCCSPlayerPawn_AimPunchServices = 4368; // CCSPlayer_AimPunchServices*
19static constexpr int32_t kCCSPlayerPawn_IsScoped = 6036; // bool
20static constexpr int32_t kCCSPlayerPawn_ShotsFired = 6064; // int32
21static constexpr int32_t kCCSPlayerPawn_LastWeaponFireUsercmd = 6136; // int32
22static constexpr int32_t kCCSPlayerPawn_EntitySpottedState = 6008; // EntitySpottedState_t
23
25{
26 if (!_base)
27 {
28 return {};
29 }
30
32}
33
44
46{
47 if (!_base)
48 {
49 return {};
50 }
51
53}
54
65
67{
68 if (!_base)
69 {
70 return {};
71 }
72
74}
75
86
88{
89 if (!_base)
90 {
91 return {};
92 }
93
95}
96
98{
99 if (!_base)
100 {
101 return;
102 }
103
105}
106
116
118{
119 if (!_base)
120 {
121 return {};
122 }
123
125}
126
127void CCSPlayerPawn::SetIsScoped(bool value) const
128{
129 if (!_base)
130 {
131 return;
132 }
133
136}
137
139{
140 if (!_base)
141 {
142 return {};
143 }
144
146}
147
149{
150 if (!_base)
151 {
152 return;
153 }
154
157}
158
160{
161 if (!_base)
162 {
163 return {};
164 }
165
167}
168
170{
171 if (!_base)
172 {
173 return;
174 }
175
177}
178
189
190} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
void SetOnGroundLastTick(bool value) const
EntitySpottedState_t EntitySpottedState() const
void SetIsScoped(bool value) const
void SetShotsFired(int32_t value) const
void SetEyeAngles(QAngle value) const
void SetLastWeaponFireUsercmd(int32_t value) const
CCSPlayer_AimPunchServices AimPunchServices() const
void SetArmorValue(int32_t value) const
void SetVelocityModifier(float value) const
int32_t _ownerOffset
Definition View.hpp:38
::CEntityInstance * _owner
Definition View.hpp:37
static constexpr int32_t kCCSPlayerPawn_ShotsFired
static constexpr int32_t kCCSPlayerPawn_OnGroundLastTick
static constexpr int32_t kCCSPlayerPawn_AimPunchServices
void NotifyEntity(CEntityInstance *entity, int32_t offset)
Definition Notify.cpp:20
static constexpr int32_t kCCSPlayerPawn_VelocityModifier
static constexpr int32_t kCCSPlayerPawn_EyeAngles
static constexpr int32_t kCCSPlayerPawn_ArmorValue
static constexpr int32_t kCCSPlayerPawn_EntitySpottedState
static constexpr int32_t kCCSPlayerPawn_IsScoped
static constexpr int32_t kCCSPlayerPawn_LastWeaponFireUsercmd
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56
::QAngle QAngle
Definition Math.hpp:14