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
7
8namespace VoltMod::Schema
9{
10
11// ---- CInButtonState, 32 bytes ------------------------------------
12static constexpr int32_t kCInButtonState_ButtonStates = 8; // uint64[3]
13
14uint64_t CInButtonState::ButtonStates(size_t index) const
15{
16 if (!_base || index >= 3)
17 {
18 return {};
19 }
20
22}
23
24} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
uint64_t ButtonStates(size_t index) const
static constexpr int32_t kCInButtonState_ButtonStates
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56