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

#include <EventTypes.hpp>

Static Public Member Functions

static BombExploded From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 player who planted the bomb
 
int Site = 0
 bombsite index
 
int C4 = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "bomb_exploded"
 

Detailed Description

Definition at line 169 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 169 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ C4

int VoltMod::BombExploded::C4 = 0

Definition at line 174 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::BombExploded::EventName = "bomb_exploded"
staticconstexpr

Definition at line 171 of file EventTypes.hpp.

◆ Site

int VoltMod::BombExploded::Site = 0

bombsite index

Definition at line 173 of file EventTypes.hpp.

◆ Slot

int VoltMod::BombExploded::Slot = -1

player who planted the bomb

Definition at line 172 of file EventTypes.hpp.

Referenced by From().


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