VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CPlayer_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
8
9namespace VoltMod::Schema
10{
11
12// ---- CPlayer_MovementServices, 600 bytes --------------------------
14static constexpr int32_t kCPlayer_MovementServices_Buttons = 80; // CInButtonState
15static constexpr int32_t kCPlayer_MovementServices_Maxspeed = 428; // float32
16
17::CEntityInstance* CPlayer_MovementServices::OwnerEntity() const
18{
20}
21
22CInButtonState CPlayer_MovementServices::Buttons() const
23{
24 if (!_base)
25 {
26 return {};
27 }
28
31}
32
34{
35 if (!_base)
36 {
37 return {};
38 }
39
41}
42
43void CPlayer_MovementServices::SetMaxspeed(float value) const
44{
45 if (!_base)
46 {
47 return;
48 }
49
52}
53
54} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
int32_t _ownerOffset
Definition View.hpp:38
::CEntityInstance * _owner
Definition View.hpp:37
void NotifyComponentOwner(void *component, int32_t ownerLinkOffset, int32_t offset)
Definition Notify.cpp:30
static constexpr int32_t kCPlayer_MovementServices_Maxspeed
static constexpr int32_t CPlayer_MovementServices_kOwnerLinkOffset
CEntityInstance * ComponentOwner(const void *component, int32_t ownerLinkOffset)
Definition Notify.cpp:46
static constexpr int32_t kCPlayer_MovementServices_Buttons
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56