VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CCSPlayerController_ActionTrackingServices.cpp
Go to the documentation of this file.
1
// Generated by `voltmod framework schemagen`. Do not edit.
2
3
#include "
Schema/Notify.hpp
"
4
5
#include <
VoltMod/Engine/Memory/MemoryAccess.hpp
>
6
#include <
VoltMod/Schema/Generated/CCSPlayerController_ActionTrackingServices.hpp
>
7
#include <
VoltMod/Schema/Generated/CSMatchStats_t.hpp
>
8
9
namespace
VoltMod::Schema
10
{
11
12
// ---- CCSPlayerController_ActionTrackingServices, 1120 bytes --------
13
static
constexpr
int32_t
CCSPlayerController_ActionTrackingServices_kOwnerLinkOffset
= 8;
14
static
constexpr
int32_t
kCCSPlayerController_ActionTrackingServices_MatchStats
= 208;
// CSMatchStats_t
15
16
::CEntityInstance*
CCSPlayerController_ActionTrackingServices::OwnerEntity
()
const
17
{
18
return
ComponentOwner
(
_base
,
CCSPlayerController_ActionTrackingServices_kOwnerLinkOffset
);
19
}
20
21
CSMatchStats_t
CCSPlayerController_ActionTrackingServices::MatchStats
()
const
22
{
23
if
(!
_base
)
24
{
25
return
{};
26
}
27
28
return
CSMatchStats_t
{
MemberPtr<void>
(
_base
,
kCCSPlayerController_ActionTrackingServices_MatchStats
),
_owner
,
29
_ownerOffset
+
kCCSPlayerController_ActionTrackingServices_MatchStats
};
30
}
31
32
}
// namespace VoltMod::Schema
CCSPlayerController_ActionTrackingServices.hpp
CSMatchStats_t.hpp
MemoryAccess.hpp
Typed read/write of engine fields at a base pointer + byte offset.
Notify.hpp
VoltMod::Schema::CCSPlayerController_ActionTrackingServices::MatchStats
CSMatchStats_t MatchStats() const
Definition
CCSPlayerController_ActionTrackingServices.cpp:21
VoltMod::Schema::CCSPlayerController_ActionTrackingServices::OwnerEntity
::CEntityInstance * OwnerEntity() const
Definition
CCSPlayerController_ActionTrackingServices.cpp:16
VoltMod::Schema::CSMatchStats_t
Definition
CSMatchStats_t.hpp:14
VoltMod::Schema::View::_base
void * _base
Definition
View.hpp:36
VoltMod::Schema::View::_ownerOffset
int32_t _ownerOffset
Definition
View.hpp:38
VoltMod::Schema::View::_owner
::CEntityInstance * _owner
Definition
View.hpp:37
VoltMod::Schema
Definition
CBaseAnimGraph.hpp:10
VoltMod::Schema::kCCSPlayerController_ActionTrackingServices_MatchStats
static constexpr int32_t kCCSPlayerController_ActionTrackingServices_MatchStats
Definition
CCSPlayerController_ActionTrackingServices.cpp:14
VoltMod::Schema::ComponentOwner
CEntityInstance * ComponentOwner(const void *component, int32_t ownerLinkOffset)
Definition
Notify.cpp:46
VoltMod::Schema::CCSPlayerController_ActionTrackingServices_kOwnerLinkOffset
static constexpr int32_t CCSPlayerController_ActionTrackingServices_kOwnerLinkOffset
Definition
CCSPlayerController_ActionTrackingServices.cpp:13
VoltMod::ReadFile
static std::string ReadFile(const std::filesystem::path &path)
Definition
Loader.cpp:56
src
Schema
Generated
linux
CCSPlayerController_ActionTrackingServices.cpp
Generated by
1.9.8