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

#include <EventTypes.hpp>

Static Public Member Functions

static PlayerBlind From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
int AttackerSlot = -1
 user ID who threw the flash
 
int Entityid = 0
 the flashbang going off
 
float BlindDuration = 0.0f
 

Static Public Attributes

static constexpr std::string_view EventName = "player_blind"
 

Detailed Description

Definition at line 1375 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1302 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ AttackerSlot

int VoltMod::PlayerBlind::AttackerSlot = -1

user ID who threw the flash

Definition at line 1379 of file EventTypes.hpp.

◆ BlindDuration

float VoltMod::PlayerBlind::BlindDuration = 0.0f

Definition at line 1381 of file EventTypes.hpp.

◆ Entityid

int VoltMod::PlayerBlind::Entityid = 0

the flashbang going off

Definition at line 1380 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::PlayerBlind::EventName = "player_blind"
staticconstexpr

Definition at line 1377 of file EventTypes.hpp.

◆ Slot

int VoltMod::PlayerBlind::Slot = -1

Definition at line 1378 of file EventTypes.hpp.

Referenced by From().


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