VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CBodyComponent.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// ---- CBodyComponent ----------------------------------------------
14static const int32_t& CBodyComponent_kOwnerLinkOffset = GeneratedFields[33].Offset;
15static const int32_t& kCBodyComponent_SceneNode = GeneratedFields[32].Offset; // CGameSceneNode*
16
21
23{
24 if (!_base)
25 {
26 return {};
27 }
28
30}
31
32} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
CGameSceneNode SceneNode() const
::CEntityInstance * OwnerEntity() const
static const int32_t & CBodyComponent_kOwnerLinkOffset
static const int32_t & kCBodyComponent_SceneNode
FieldLayout GeneratedFields[]
Definition Layout.cpp:8
CEntityInstance * ComponentOwner(const void *component, int32_t ownerLinkOffset)
Definition Notify.cpp:32
T * MemberPtr(void *base, std::ptrdiff_t offset) noexcept