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

#include <EventTypes.hpp>

Static Public Member Functions

static FlashbangDetonate 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 = "flashbang_detonate"
 

Detailed Description

Definition at line 702 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 669 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ Entityid

int VoltMod::FlashbangDetonate::Entityid = 0

Definition at line 706 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::FlashbangDetonate::EventName = "flashbang_detonate"
staticconstexpr

Definition at line 704 of file EventTypes.hpp.

◆ Slot

int VoltMod::FlashbangDetonate::Slot = -1

Definition at line 705 of file EventTypes.hpp.

Referenced by From().

◆ X

float VoltMod::FlashbangDetonate::X = 0.0f

Definition at line 707 of file EventTypes.hpp.

◆ Y

float VoltMod::FlashbangDetonate::Y = 0.0f

Definition at line 708 of file EventTypes.hpp.

◆ Z

float VoltMod::FlashbangDetonate::Z = 0.0f

Definition at line 709 of file EventTypes.hpp.


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