|
VoltMod
C++23 framework for CS2 server plugins
|
#include <Entity.hpp>
Public Attributes | |
| Schema::gear_slot_t | GearSlot = Schema::gear_slot_t::GEAR_SLOT_INVALID |
| Schema::CSWeaponType | Type = Schema::CSWeaponType::WEAPONTYPE_UNKNOWN |
| bool | FullAuto = false |
| std::string_view | BaseName |
What a weapon's own VData says about it; a subclassed weapon reads its subclass's VData.
Definition at line 20 of file Entity.hpp.
| std::string_view VoltMod::WeaponData::BaseName |
The stock weapon it is built on, such as "weapon_taser" for a subclassed Zeus. Points into the game's symbol table, which lasts for the process.
Definition at line 27 of file Entity.hpp.
| bool VoltMod::WeaponData::FullAuto = false |
Definition at line 24 of file Entity.hpp.
| Schema::gear_slot_t VoltMod::WeaponData::GearSlot = Schema::gear_slot_t::GEAR_SLOT_INVALID |
Definition at line 22 of file Entity.hpp.
| Schema::CSWeaponType VoltMod::WeaponData::Type = Schema::CSWeaponType::WEAPONTYPE_UNKNOWN |
Definition at line 23 of file Entity.hpp.