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

#include <EventTypes.hpp>

Static Public Member Functions

static GrenadeThrown From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
std::string Weapon
 weapon name used
 

Static Public Attributes

static constexpr std::string_view EventName = "grenade_thrown"
 

Detailed Description

Definition at line 805 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 762 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::GrenadeThrown::EventName = "grenade_thrown"
staticconstexpr

Definition at line 807 of file EventTypes.hpp.

◆ Slot

int VoltMod::GrenadeThrown::Slot = -1

Definition at line 808 of file EventTypes.hpp.

Referenced by From().

◆ Weapon

std::string VoltMod::GrenadeThrown::Weapon

weapon name used

Definition at line 809 of file EventTypes.hpp.


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