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

#include <EventTypes.hpp>

Static Public Member Functions

static BombDefused From (IGameEvent &e)
 

Public Attributes

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

Static Public Attributes

static constexpr std::string_view EventName = "bomb_defused"
 

Detailed Description

Definition at line 152 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 152 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ C4

int VoltMod::BombDefused::C4 = 0

Definition at line 157 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::BombDefused::EventName = "bomb_defused"
staticconstexpr

Definition at line 154 of file EventTypes.hpp.

◆ Site

int VoltMod::BombDefused::Site = 0

bombsite index

Definition at line 156 of file EventTypes.hpp.

◆ Slot

int VoltMod::BombDefused::Slot = -1

player who defused the bomb

Definition at line 155 of file EventTypes.hpp.

Referenced by From().


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