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

#include <EventTypes.hpp>

Static Public Member Functions

static ItemRemove 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
 

Static Public Attributes

static constexpr std::string_view EventName = "item_remove"
 

Detailed Description

Definition at line 1180 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1120 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Defindex

int VoltMod::ItemRemove::Defindex = 0

Definition at line 1185 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::ItemRemove::EventName = "item_remove"
staticconstexpr

Definition at line 1182 of file EventTypes.hpp.

◆ Item

std::string VoltMod::ItemRemove::Item

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

Definition at line 1184 of file EventTypes.hpp.

◆ Slot

int VoltMod::ItemRemove::Slot = -1

Definition at line 1183 of file EventTypes.hpp.

Referenced by From().


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