VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CCSGameRulesProxy.cpp
Go to the documentation of this file.
1
// Generated by `voltmod framework schemagen`. Do not edit.
2
3
#include "
Schema/Layout.hpp
"
4
#include "
Schema/Notify.hpp
"
5
6
#include <
VoltMod/Engine/Memory/MemoryAccess.hpp
>
7
#include <
VoltMod/Schema/Generated/CCSGameRules.hpp
>
8
#include <
VoltMod/Schema/Generated/CCSGameRulesProxy.hpp
>
9
10
namespace
VoltMod::Schema
11
{
12
13
// ---- CCSGameRulesProxy -------------------------------------------
14
static
const
int32_t&
kCCSGameRulesProxy_GameRules
=
GeneratedFields
[44].Offset;
// CCSGameRules*
15
16
CCSGameRules
CCSGameRulesProxy::GameRules
()
const
17
{
18
if
(!
_base
)
19
{
20
return
{};
21
}
22
23
return
CCSGameRules
{*
MemberPtr<void*>
(
_base
,
kCCSGameRulesProxy_GameRules
)};
24
}
25
26
}
// namespace VoltMod::Schema
CCSGameRulesProxy.hpp
CCSGameRules.hpp
Layout.hpp
MemoryAccess.hpp
Typed read/write of engine fields at a base pointer + byte offset.
Notify.hpp
VoltMod::Schema::CCSGameRulesProxy::GameRules
CCSGameRules GameRules() const
Definition
CCSGameRulesProxy.cpp:16
VoltMod::Schema::CCSGameRules
Definition
CCSGameRules.hpp:14
VoltMod::Schema::View::_base
void * _base
Definition
View.hpp:36
VoltMod::Schema
Definition
CBaseAnimGraph.hpp:10
VoltMod::Schema::kCCSGameRulesProxy_GameRules
static const int32_t & kCCSGameRulesProxy_GameRules
Definition
CCSGameRulesProxy.cpp:14
VoltMod::Schema::GeneratedFields
FieldLayout GeneratedFields[]
Definition
Layout.cpp:8
VoltMod::MemberPtr
T * MemberPtr(void *base, std::ptrdiff_t offset) noexcept
Definition
MemoryAccess.hpp:21
src
Schema
Generated
CCSGameRulesProxy.cpp
Generated by
1.15.0