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

#include <EventTypes.hpp>

Static Public Member Functions

static BombAbortplant From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 player who is planting the bomb
 
int Site = 0
 bombsite index
 

Static Public Attributes

static constexpr std::string_view EventName = "bomb_abortplant"
 

Detailed Description

Definition at line 121 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 121 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::BombAbortplant::EventName = "bomb_abortplant"
staticconstexpr

Definition at line 123 of file EventTypes.hpp.

◆ Site

int VoltMod::BombAbortplant::Site = 0

bombsite index

Definition at line 125 of file EventTypes.hpp.

◆ Slot

int VoltMod::BombAbortplant::Slot = -1

player who is planting the bomb

Definition at line 124 of file EventTypes.hpp.

Referenced by From().


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