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/Notify.hpp
"
4
5
#include <
VoltMod/Engine/Memory/MemoryAccess.hpp
>
6
#include <
VoltMod/Schema/Generated/CCSGameRules.hpp
>
7
#include <
VoltMod/Schema/Generated/CCSGameRulesProxy.hpp
>
8
9
namespace
VoltMod::Schema
10
{
11
12
// ---- CCSGameRulesProxy, 1936 bytes ---------------------------------
13
static
constexpr
int32_t
kCCSGameRulesProxy_GameRules
= 1928;
// CCSGameRules*
14
15
CCSGameRules
CCSGameRulesProxy::GameRules
()
const
16
{
17
if
(!
_base
)
18
{
19
return
{};
20
}
21
22
return
CCSGameRules
{*
MemberPtr<void*>
(
_base
,
kCCSGameRulesProxy_GameRules
)};
23
}
24
25
}
// namespace VoltMod::Schema
CCSGameRulesProxy.hpp
CCSGameRules.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:15
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 constexpr int32_t kCCSGameRulesProxy_GameRules
Definition
CCSGameRulesProxy.cpp:13
VoltMod::ReadFile
static std::string ReadFile(const std::filesystem::path &path)
Definition
Loader.cpp:56
src
Schema
Generated
linux
CCSGameRulesProxy.cpp
Generated by
1.9.8