VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CCSPlayer_MovementServices.cpp
Go to the documentation of this file.
1// Generated by `voltmod framework schemagen`. Do not edit.
2
3#include "Schema/Notify.hpp"
4
7
8namespace VoltMod::Schema
9{
10
11// ---- CCSPlayer_MovementServices, 4064 bytes ------------------------
13static constexpr int32_t kCCSPlayer_MovementServices_Ducked = 1032; // bool
14static constexpr int32_t kCCSPlayer_MovementServices_DuckAmount = 1036; // float32
15static constexpr int32_t kCCSPlayer_MovementServices_DuckOverride = 1044; // bool
16
17::CEntityInstance* CCSPlayer_MovementServices::OwnerEntity() const
18{
20}
21
23{
24 if (!_base)
25 {
26 return {};
27 }
28
30}
31
32void CCSPlayer_MovementServices::SetDucked(bool value) const
33{
34 if (!_base)
35 {
36 return;
37 }
38
41}
42
44{
45 if (!_base)
46 {
47 return {};
48 }
49
51}
52
54{
55 if (!_base)
56 {
57 return;
58 }
59
62}
63
65{
66 if (!_base)
67 {
68 return {};
69 }
70
72}
73
75{
76 if (!_base)
77 {
78 return;
79 }
80
83}
84
85} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
void NotifyComponentOwner(void *component, int32_t ownerLinkOffset, int32_t offset)
Definition Notify.cpp:30
static constexpr int32_t CCSPlayer_MovementServices_kOwnerLinkOffset
CEntityInstance * ComponentOwner(const void *component, int32_t ownerLinkOffset)
Definition Notify.cpp:46
static constexpr int32_t kCCSPlayer_MovementServices_Ducked
static constexpr int32_t kCCSPlayer_MovementServices_DuckOverride
static constexpr int32_t kCCSPlayer_MovementServices_DuckAmount
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56