VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::WeaponData Struct Reference

#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

Detailed Description

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.

Member Data Documentation

◆ BaseName

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.

◆ FullAuto

bool VoltMod::WeaponData::FullAuto = false

Definition at line 24 of file Entity.hpp.

◆ GearSlot

Definition at line 22 of file Entity.hpp.

◆ Type

Definition at line 23 of file Entity.hpp.


The documentation for this struct was generated from the following file: