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

#include <EventTypes.hpp>

Static Public Member Functions

static SmokegrenadeExpired From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
int Entityid = 0
 
float X = 0.0f
 
float Y = 0.0f
 
float Z = 0.0f
 

Static Public Attributes

static constexpr std::string_view EventName = "smokegrenade_expired"
 

Detailed Description

Definition at line 1927 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1817 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Entityid

int VoltMod::SmokegrenadeExpired::Entityid = 0

Definition at line 1931 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::SmokegrenadeExpired::EventName = "smokegrenade_expired"
staticconstexpr

Definition at line 1929 of file EventTypes.hpp.

◆ Slot

int VoltMod::SmokegrenadeExpired::Slot = -1

Definition at line 1930 of file EventTypes.hpp.

Referenced by From().

◆ X

float VoltMod::SmokegrenadeExpired::X = 0.0f

Definition at line 1932 of file EventTypes.hpp.

◆ Y

float VoltMod::SmokegrenadeExpired::Y = 0.0f

Definition at line 1933 of file EventTypes.hpp.

◆ Z

float VoltMod::SmokegrenadeExpired::Z = 0.0f

Definition at line 1934 of file EventTypes.hpp.


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