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

#include <EventTypes.hpp>

Static Public Member Functions

static BombPlanted 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_planted"
 

Detailed Description

Definition at line 185 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 183 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ C4

int VoltMod::BombPlanted::C4 = 0

Definition at line 190 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::BombPlanted::EventName = "bomb_planted"
staticconstexpr

Definition at line 187 of file EventTypes.hpp.

◆ Site

int VoltMod::BombPlanted::Site = 0

bombsite index

Definition at line 189 of file EventTypes.hpp.

◆ Slot

int VoltMod::BombPlanted::Slot = -1

player who planted the bomb

Definition at line 188 of file EventTypes.hpp.

Referenced by From().


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