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

#include <EventTypes.hpp>

Static Public Member Functions

static HostageKilled From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 player who killed the hostage
 
int Hostage = 0
 hostage entity index
 

Static Public Attributes

static constexpr std::string_view EventName = "hostage_killed"
 

Detailed Description

Definition at line 988 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 934 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HostageKilled::EventName = "hostage_killed"
staticconstexpr

Definition at line 990 of file EventTypes.hpp.

◆ Hostage

int VoltMod::HostageKilled::Hostage = 0

hostage entity index

Definition at line 992 of file EventTypes.hpp.

◆ Slot

int VoltMod::HostageKilled::Slot = -1

player who killed the hostage

Definition at line 991 of file EventTypes.hpp.

Referenced by From().


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