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

#include <CPlayer_WeaponServices.hpp>

+ Inheritance diagram for VoltMod::Schema::CPlayer_WeaponServices:

Public Member Functions

::CEntityInstance * OwnerEntity () const
 
void * MyWeapons () const
 
EntityRef ActiveWeapon () const
 
void SetActiveWeapon (EntityRef value) const
 
EntityRef LastWeapon () const
 
void SetLastWeapon (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_WeaponServices; never store one.

Definition at line 14 of file CPlayer_WeaponServices.hpp.

Member Function Documentation

◆ ActiveWeapon()

EntityRef VoltMod::Schema::CPlayer_WeaponServices::ActiveWeapon ( ) const

◆ LastWeapon()

EntityRef VoltMod::Schema::CPlayer_WeaponServices::LastWeapon ( ) const

◆ MyWeapons()

void * VoltMod::Schema::CPlayer_WeaponServices::MyWeapons ( ) const

◆ OwnerEntity()

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

The entity that owns this component, or nullptr.

Definition at line 18 of file CPlayer_WeaponServices.cpp.

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

◆ SetActiveWeapon()

◆ SetLastWeapon()


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