VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CCSPlayerPawnBase.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// ---- CCSPlayerPawnBase, 4336 bytes ---------------------------------
12static constexpr int32_t kCCSPlayerPawnBase_FlashDuration = 4308; // float32
13static constexpr int32_t kCCSPlayerPawnBase_FlashMaxAlpha = 4312; // float32
14
16{
17 if (!_base)
18 {
19 return {};
20 }
21
23}
24
35
37{
38 if (!_base)
39 {
40 return {};
41 }
42
44}
45
56
57} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
void SetFlashMaxAlpha(float value) const
void SetFlashDuration(float value) const
int32_t _ownerOffset
Definition View.hpp:38
::CEntityInstance * _owner
Definition View.hpp:37
static constexpr int32_t kCCSPlayerPawnBase_FlashMaxAlpha
void NotifyEntity(CEntityInstance *entity, int32_t offset)
Definition Notify.cpp:20
static constexpr int32_t kCCSPlayerPawnBase_FlashDuration
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56