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

#include <CPlayer_CameraServices.hpp>

+ Inheritance diagram for VoltMod::Schema::CPlayer_CameraServices:

Public Member Functions

::CEntityInstance * OwnerEntity () const
 
EntityRef ViewEntity () const
 
void SetViewEntity (EntityRef value) const
 
- Public Member Functions inherited from VoltMod::Schema::CPlayerPawnComponent
::CEntityInstance * OwnerEntity () const
 
 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 CPlayer_CameraServices; never store one.

Definition at line 14 of file CPlayer_CameraServices.hpp.

Member Function Documentation

◆ OwnerEntity()

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

The entity that owns this component, or nullptr.

Definition at line 15 of file CPlayer_CameraServices.cpp.

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

◆ SetViewEntity()

◆ ViewEntity()

EntityRef VoltMod::Schema::CPlayer_CameraServices::ViewEntity ( ) const

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