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

#include <EventTypes.hpp>

Static Public Member Functions

static ItemEquip From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
std::string Item
 either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'
 
int Defindex = 0
 
bool Canzoom = false
 
bool Hassilencer = false
 
bool Issilenced = false
 
bool Hastracers = false
 
int Weptype = 0
 
bool Ispainted = false
 

Static Public Attributes

static constexpr std::string_view EventName = "item_equip"
 

Detailed Description

Definition at line 1126 of file EventTypes.hpp.

Member Function Documentation

◆ From()

ItemEquip VoltMod::ItemEquip::From ( IGameEvent &  e)
static

Definition at line 1066 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Canzoom

bool VoltMod::ItemEquip::Canzoom = false

Definition at line 1132 of file EventTypes.hpp.

◆ Defindex

int VoltMod::ItemEquip::Defindex = 0

Definition at line 1131 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::ItemEquip::EventName = "item_equip"
staticconstexpr

Definition at line 1128 of file EventTypes.hpp.

◆ Hassilencer

bool VoltMod::ItemEquip::Hassilencer = false

Definition at line 1133 of file EventTypes.hpp.

◆ Hastracers

bool VoltMod::ItemEquip::Hastracers = false

Definition at line 1135 of file EventTypes.hpp.

◆ Ispainted

bool VoltMod::ItemEquip::Ispainted = false

Definition at line 1137 of file EventTypes.hpp.

◆ Issilenced

bool VoltMod::ItemEquip::Issilenced = false

Definition at line 1134 of file EventTypes.hpp.

◆ Item

std::string VoltMod::ItemEquip::Item

either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'

Definition at line 1130 of file EventTypes.hpp.

◆ Slot

int VoltMod::ItemEquip::Slot = -1

Definition at line 1129 of file EventTypes.hpp.

Referenced by From().

◆ Weptype

int VoltMod::ItemEquip::Weptype = 0

Definition at line 1136 of file EventTypes.hpp.


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