VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CBasePlayerWeapon.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// ---- CBasePlayerWeapon -------------------------------------------
13static const int32_t& kCBasePlayerWeapon_NextPrimaryAttackTick = GeneratedFields[27].Offset; // GameTick_t
14static const int32_t& kCBasePlayerWeapon_NextSecondaryAttackTick = GeneratedFields[28].Offset; // GameTick_t
15
17{
18 if (!_base)
19 {
20 return {};
21 }
22
24}
25
36
38{
39 if (!_base)
40 {
41 return {};
42 }
43
45}
46
57
58} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
void SetNextPrimaryAttackTick(int32_t value) const
void SetNextSecondaryAttackTick(int32_t value) const
int32_t _ownerOffset
Definition View.hpp:38
::CEntityInstance * _owner
Definition View.hpp:37
void NotifyEntity(CEntityInstance *entity, int32_t offset)
Definition Notify.cpp:10
FieldLayout GeneratedFields[]
Definition Layout.cpp:8
static const int32_t & kCBasePlayerWeapon_NextPrimaryAttackTick
static const int32_t & kCBasePlayerWeapon_NextSecondaryAttackTick
T * MemberPtr(void *base, std::ptrdiff_t offset) noexcept