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

#include <EventTypes.hpp>

Static Public Member Functions

static ItemPickup 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'
bool Silent = false
int Defindex = 0

Static Public Attributes

static constexpr std::string_view EventName = "item_pickup"

Detailed Description

Definition at line 1141 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1081 of file EventTypes.cpp.

Member Data Documentation

◆ Defindex

int VoltMod::ItemPickup::Defindex = 0

Definition at line 1147 of file EventTypes.hpp.

◆ EventName

std::string_view VoltMod::ItemPickup::EventName = "item_pickup"
staticconstexpr

Definition at line 1143 of file EventTypes.hpp.

◆ Item

std::string VoltMod::ItemPickup::Item

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

Definition at line 1145 of file EventTypes.hpp.

◆ Silent

bool VoltMod::ItemPickup::Silent = false

Definition at line 1146 of file EventTypes.hpp.

◆ Slot

int VoltMod::ItemPickup::Slot = -1

Definition at line 1144 of file EventTypes.hpp.


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