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

#include <EventTypes.hpp>

Static Public Member Functions

static SmokegrenadeDetonate 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_detonate"
 

Detailed Description

Definition at line 1916 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1806 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Entityid

int VoltMod::SmokegrenadeDetonate::Entityid = 0

Definition at line 1920 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::SmokegrenadeDetonate::EventName = "smokegrenade_detonate"
staticconstexpr

Definition at line 1918 of file EventTypes.hpp.

◆ Slot

int VoltMod::SmokegrenadeDetonate::Slot = -1

Definition at line 1919 of file EventTypes.hpp.

Referenced by From().

◆ X

float VoltMod::SmokegrenadeDetonate::X = 0.0f

Definition at line 1921 of file EventTypes.hpp.

◆ Y

float VoltMod::SmokegrenadeDetonate::Y = 0.0f

Definition at line 1922 of file EventTypes.hpp.

◆ Z

float VoltMod::SmokegrenadeDetonate::Z = 0.0f

Definition at line 1923 of file EventTypes.hpp.


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