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
8
9namespace VoltMod::Schema
10{
11
12// ---- CInButtonState ----------------------------------------------
13static const int32_t& kCInButtonState_ButtonStates = GeneratedFields[86].Offset; // uint64[3]
14
15uint64_t CInButtonState::ButtonStates(size_t index) const
16{
17 if (!_base || index >= 3)
18 {
19 return {};
20 }
21
23}
24
25} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
uint64_t ButtonStates(size_t index) const
static const int32_t & kCInButtonState_ButtonStates
FieldLayout GeneratedFields[]
Definition Layout.cpp:8
T * MemberPtr(void *base, std::ptrdiff_t offset) noexcept