VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CModelState.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/CModelState.hpp
>
8
9
namespace
VoltMod::Schema
10
{
11
12
// ---- CModelState -------------------------------------------------
13
static
const
int32_t&
kCModelState_ModelName
=
GeneratedFields
[87].Offset;
// CUtlSymbolLarge
14
15
const
char
*
CModelState::ModelName
()
const
16
{
17
if
(!
_base
)
18
{
19
return
{};
20
}
21
22
return
*
MemberPtr<const char*>
(
_base
,
kCModelState_ModelName
);
23
}
24
25
}
// namespace VoltMod::Schema
CModelState.hpp
Layout.hpp
MemoryAccess.hpp
Typed read/write of engine fields at a base pointer + byte offset.
Notify.hpp
VoltMod::Schema::CModelState::ModelName
const char * ModelName() const
Definition
CModelState.cpp:15
VoltMod::Schema::View::_base
void * _base
Definition
View.hpp:36
VoltMod::Schema
Definition
CBaseAnimGraph.hpp:10
VoltMod::Schema::kCModelState_ModelName
static const int32_t & kCModelState_ModelName
Definition
CModelState.cpp:13
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
CModelState.cpp
Generated by
1.15.0