|
VoltMod
C++23 framework for CS2 server plugins
|
#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 |
Frame-local view over an engine CPlayer_WeaponServices; never store one.
Definition at line 14 of file CPlayer_WeaponServices.hpp.
| EntityRef VoltMod::Schema::CPlayer_WeaponServices::ActiveWeapon | ( | ) | const |
Definition at line 28 of file CPlayer_WeaponServices.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCPlayer_WeaponServices_ActiveWeapon, and VoltMod::ReadFile().
| EntityRef VoltMod::Schema::CPlayer_WeaponServices::LastWeapon | ( | ) | const |
Definition at line 49 of file CPlayer_WeaponServices.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCPlayer_WeaponServices_LastWeapon, and VoltMod::ReadFile().
| void * VoltMod::Schema::CPlayer_WeaponServices::MyWeapons | ( | ) | const |
Definition at line 23 of file CPlayer_WeaponServices.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCPlayer_WeaponServices_MyWeapons, and VoltMod::ReadFile().
| 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.