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/Layout.hpp"
4#include "Schema/Notify.hpp"
5
9
10namespace VoltMod::Schema
11{
12
13// ---- CBaseModelEntity --------------------------------------------
14static const int32_t& kCBaseModelEntity_ViewOffset = GeneratedFields[14].Offset; // CNetworkViewOffsetVector
15static const int32_t& kCBaseModelEntity_RenderMode = GeneratedFields[15].Offset; // RenderMode_t
16static const int32_t& kCBaseModelEntity_RenderColor = GeneratedFields[16].Offset; // Color
17static const int32_t& kCBaseModelEntity_Collision = GeneratedFields[17].Offset; // CCollisionProperty
18
20{
21 if (!_base)
22 {
23 return {};
24 }
25
27}
28
39
41{
42 if (!_base)
43 {
44 return {};
45 }
46
48}
49
60
62{
63 if (!_base)
64 {
65 return {};
66 }
67
69}
70
81
92
93} // 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
CCollisionProperty Collision() const
int32_t _ownerOffset
Definition View.hpp:38
::CEntityInstance * _owner
Definition View.hpp:37
static const int32_t & kCBaseModelEntity_Collision
void NotifyEntity(CEntityInstance *entity, int32_t offset)
Definition Notify.cpp:10
FieldLayout GeneratedFields[]
Definition Layout.cpp:8
static const int32_t & kCBaseModelEntity_RenderColor
static const int32_t & kCBaseModelEntity_ViewOffset
static const int32_t & kCBaseModelEntity_RenderMode
T * MemberPtr(void *base, std::ptrdiff_t offset) noexcept
::Vector Vector
Definition Math.hpp:12
An RGBA color in the engine's byte order, as m_clrRender and glow colors hold it.
Definition Color.hpp:15