VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CPlayer_WeaponServices.hpp
Go to the documentation of this file.
1
// Generated by `voltmod framework schemagen`. Do not edit.
2
3
#pragma once
4
5
#include <
VoltMod/Engine/EntityRef.hpp
>
6
#include <
VoltMod/Schema/Generated/CPlayerPawnComponent.hpp
>
7
#include <
VoltMod/Schema/View.hpp
>
8
#include <cstdint>
9
10
namespace
VoltMod::Schema
11
{
12
13
/** Frame-local view over an engine CPlayer_WeaponServices; never store one. */
14
class
CPlayer_WeaponServices
:
public
CPlayerPawnComponent
15
{
16
public
:
17
using
CPlayerPawnComponent::CPlayerPawnComponent;
18
19
/** The entity that owns this component, or nullptr. */
20
::CEntityInstance
*
OwnerEntity
()
const
;
21
22
void
*
MyWeapons
()
const
;
23
24
EntityRef
ActiveWeapon
()
const
;
25
void
SetActiveWeapon
(
EntityRef
value)
const
;
26
27
EntityRef
LastWeapon
()
const
;
28
void
SetLastWeapon
(
EntityRef
value)
const
;
29
};
30
31
}
// namespace VoltMod::Schema
CPlayerPawnComponent.hpp
EntityRef.hpp
View.hpp
VoltMod::Schema::CEntityInstance
Definition
CEntityInstance.hpp:13
VoltMod::Schema::CPlayerPawnComponent
Definition
CPlayerPawnComponent.hpp:13
VoltMod::Schema::CPlayer_WeaponServices
Definition
CPlayer_WeaponServices.hpp:15
VoltMod::Schema::CPlayer_WeaponServices::SetLastWeapon
void SetLastWeapon(EntityRef value) const
Definition
CPlayer_WeaponServices.cpp:61
VoltMod::Schema::CPlayer_WeaponServices::LastWeapon
EntityRef LastWeapon() const
Definition
CPlayer_WeaponServices.cpp:51
VoltMod::Schema::CPlayer_WeaponServices::ActiveWeapon
EntityRef ActiveWeapon() const
Definition
CPlayer_WeaponServices.cpp:30
VoltMod::Schema::CPlayer_WeaponServices::SetActiveWeapon
void SetActiveWeapon(EntityRef value) const
Definition
CPlayer_WeaponServices.cpp:40
VoltMod::Schema::CPlayer_WeaponServices::MyWeapons
void * MyWeapons() const
Definition
CPlayer_WeaponServices.cpp:25
VoltMod::Schema::CPlayer_WeaponServices::OwnerEntity
::CEntityInstance * OwnerEntity() const
Definition
CPlayer_WeaponServices.cpp:20
VoltMod::Schema
Definition
CBaseAnimGraph.hpp:10
VoltMod::EntityRef
Definition
EntityRef.hpp:11
include
VoltMod
Schema
Generated
CPlayer_WeaponServices.hpp
Generated by
1.15.0