VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CSPerRoundStats_t.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/CSPerRoundStats_t.hpp
>
7
8
namespace
VoltMod::Schema
9
{
10
11
// ---- CSPerRoundStats_t, 104 bytes ---------------------------------
12
static
constexpr
int32_t
kCSPerRoundStats_t_Kills
= 48;
// int32
13
14
int32_t
CSPerRoundStats_t::Kills
()
const
15
{
16
if
(!
_base
)
17
{
18
return
{};
19
}
20
21
return
*
MemberPtr<int32_t>
(
_base
,
kCSPerRoundStats_t_Kills
);
22
}
23
24
}
// namespace VoltMod::Schema
CSPerRoundStats_t.hpp
MemoryAccess.hpp
Typed read/write of engine fields at a base pointer + byte offset.
Notify.hpp
VoltMod::Schema::CSPerRoundStats_t::Kills
int32_t Kills() const
Definition
CSPerRoundStats_t.cpp:14
VoltMod::Schema::View::_base
void * _base
Definition
View.hpp:36
VoltMod::Schema
Definition
CBaseAnimGraph.hpp:10
VoltMod::Schema::kCSPerRoundStats_t_Kills
static constexpr int32_t kCSPerRoundStats_t_Kills
Definition
CSPerRoundStats_t.cpp:12
VoltMod::ReadFile
static std::string ReadFile(const std::filesystem::path &path)
Definition
Loader.cpp:56
src
Schema
Generated
linux
CSPerRoundStats_t.cpp
Generated by
1.9.8