VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CBaseModelEntity.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// ---- CBaseModelEntity, 2864 bytes ----------------------------------
12static constexpr int32_t kCBaseModelEntity_ViewOffset = 2808; // CNetworkViewOffsetVector
13static constexpr int32_t kCBaseModelEntity_RenderMode = 2096; // RenderMode_t
14static constexpr int32_t kCBaseModelEntity_RenderColor = 2128; // Color
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
59{
60 if (!_base)
61 {
62 return {};
63 }
64
66}
67
78
79} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
void SetRenderMode(RenderMode_t value) const
void SetRenderColor(Color value) const
void SetViewOffset(Vector value) const
int32_t _ownerOffset
Definition View.hpp:38
::CEntityInstance * _owner
Definition View.hpp:37
static constexpr int32_t kCBaseModelEntity_RenderColor
static constexpr int32_t kCBaseModelEntity_RenderMode
void NotifyEntity(CEntityInstance *entity, int32_t offset)
Definition Notify.cpp:20
static constexpr int32_t kCBaseModelEntity_ViewOffset
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56
::Vector Vector
Definition Math.hpp:11
An RGBA color in the engine's byte order, as m_clrRender and glow colors hold it.
Definition Color.hpp:15