VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::Schema::CBodyComponent Class Reference

#include <CBodyComponent.hpp>

Inheritance diagram for VoltMod::Schema::CBodyComponent:

Public Member Functions

::CEntityInstance * OwnerEntity () const
CGameSceneNode SceneNode () const
Public Member Functions inherited from VoltMod::Schema::CEntityComponent
 View ()=default
 View (void *base) noexcept
 View (void *base, ::CEntityInstance *owner, int32_t ownerOffset) noexcept
Public Member Functions inherited from VoltMod::Schema::View
 View ()=default
 View (void *base) noexcept
 View (void *base, ::CEntityInstance *owner, int32_t ownerOffset) noexcept
 operator bool () const noexcept
void * Base () const noexcept

Additional Inherited Members

Protected Attributes inherited from VoltMod::Schema::View
void * _base = nullptr
::CEntityInstance * _owner = nullptr
int32_t _ownerOffset = 0

Detailed Description

Frame-local view over an engine CBodyComponent; never store one.

Definition at line 14 of file CBodyComponent.hpp.

Member Function Documentation

◆ OwnerEntity()

CEntityInstance * VoltMod::Schema::CBodyComponent::OwnerEntity ( ) const

The entity that owns this component, or nullptr.

Definition at line 17 of file CBodyComponent.cpp.

References VoltMod::Schema::View::_base, VoltMod::Schema::CBodyComponent_kOwnerLinkOffset, and VoltMod::Schema::ComponentOwner().

◆ SceneNode()

CGameSceneNode VoltMod::Schema::CBodyComponent::SceneNode ( ) const

The documentation for this class was generated from the following files: