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

#include <CPlayer_ObserverServices.hpp>

+ Inheritance diagram for VoltMod::Schema::CPlayer_ObserverServices:

Public Member Functions

::CEntityInstance * OwnerEntity () const
 
uint8_t ObserverMode () const
 
void SetObserverMode (uint8_t value) const
 
EntityRef ObserverTarget () const
 
void SetObserverTarget (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_ObserverServices; never store one.

Definition at line 14 of file CPlayer_ObserverServices.hpp.

Member Function Documentation

◆ ObserverMode()

uint8_t VoltMod::Schema::CPlayer_ObserverServices::ObserverMode ( ) const

◆ ObserverTarget()

EntityRef VoltMod::Schema::CPlayer_ObserverServices::ObserverTarget ( ) const

◆ OwnerEntity()

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

The entity that owns this component, or nullptr.

Definition at line 16 of file CPlayer_ObserverServices.cpp.

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

◆ SetObserverMode()

◆ SetObserverTarget()


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