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/Notify.hpp
"
4
5
#include <
VoltMod/Engine/Memory/MemoryAccess.hpp
>
6
#include <
VoltMod/Schema/Generated/CInButtonState.hpp
>
7
8
namespace
VoltMod::Schema
9
{
10
11
// ---- CInButtonState, 32 bytes ------------------------------------
12
static
constexpr
int32_t
kCInButtonState_ButtonStates
= 8;
// uint64[3]
13
14
uint64_t
CInButtonState::ButtonStates
(
size_t
index)
const
15
{
16
if
(!
_base
|| index >= 3)
17
{
18
return
{};
19
}
20
21
return
MemberPtr<uint64_t>
(
_base
,
kCInButtonState_ButtonStates
)[index];
22
}
23
24
}
// namespace VoltMod::Schema
CInButtonState.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:14
VoltMod::Schema::View::_base
void * _base
Definition
View.hpp:36
VoltMod::Schema
Definition
CBaseAnimGraph.hpp:10
VoltMod::Schema::kCInButtonState_ButtonStates
static constexpr int32_t kCInButtonState_ButtonStates
Definition
CInButtonState.cpp:12
VoltMod::ReadFile
static std::string ReadFile(const std::filesystem::path &path)
Definition
Loader.cpp:56
src
Schema
Generated
windows
CInButtonState.cpp
Generated by
1.9.8