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

#include <EventTypes.hpp>

Static Public Member Functions

static EntityKilled From (IGameEvent &e)
 

Public Attributes

int EntindexKilled = 0
 
int EntindexAttacker = 0
 
int EntindexInflictor = 0
 
int Damagebits = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "entity_killed"
 

Detailed Description

Definition at line 631 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 599 of file EventTypes.cpp.

References EntindexKilled, and VoltMod::ReadFile().

Member Data Documentation

◆ Damagebits

int VoltMod::EntityKilled::Damagebits = 0

Definition at line 637 of file EventTypes.hpp.

◆ EntindexAttacker

int VoltMod::EntityKilled::EntindexAttacker = 0

Definition at line 635 of file EventTypes.hpp.

◆ EntindexInflictor

int VoltMod::EntityKilled::EntindexInflictor = 0

Definition at line 636 of file EventTypes.hpp.

◆ EntindexKilled

int VoltMod::EntityKilled::EntindexKilled = 0

Definition at line 634 of file EventTypes.hpp.

Referenced by From().

◆ EventName

constexpr std::string_view VoltMod::EntityKilled::EventName = "entity_killed"
staticconstexpr

Definition at line 633 of file EventTypes.hpp.


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