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