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

#include <EventTypes.hpp>

Static Public Member Functions

static ShowDeathpanel From (IGameEvent &e)
 

Public Attributes

int VictimSlot = -1
 endindex of the one who was killed
 
int KillerControllerSlot = -1
 
int HitsTaken = 0
 
int DamageTaken = 0
 
int HitsGiven = 0
 
int DamageGiven = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "show_deathpanel"
 

Detailed Description

Definition at line 1865 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1756 of file EventTypes.cpp.

References VoltMod::ReadFile(), and VictimSlot.

Member Data Documentation

◆ DamageGiven

int VoltMod::ShowDeathpanel::DamageGiven = 0

Definition at line 1873 of file EventTypes.hpp.

◆ DamageTaken

int VoltMod::ShowDeathpanel::DamageTaken = 0

Definition at line 1871 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::ShowDeathpanel::EventName = "show_deathpanel"
staticconstexpr

Definition at line 1867 of file EventTypes.hpp.

◆ HitsGiven

int VoltMod::ShowDeathpanel::HitsGiven = 0

Definition at line 1872 of file EventTypes.hpp.

◆ HitsTaken

int VoltMod::ShowDeathpanel::HitsTaken = 0

Definition at line 1870 of file EventTypes.hpp.

◆ KillerControllerSlot

int VoltMod::ShowDeathpanel::KillerControllerSlot = -1

Definition at line 1869 of file EventTypes.hpp.

◆ VictimSlot

int VoltMod::ShowDeathpanel::VictimSlot = -1

endindex of the one who was killed

Definition at line 1868 of file EventTypes.hpp.

Referenced by From().


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