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

#include <EventTypes.hpp>

Static Public Member Functions

static HostageHurt From (IGameEvent &e)
 

Public Attributes

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

Static Public Attributes

static constexpr std::string_view EventName = "hostage_hurt"
 

Detailed Description

Definition at line 980 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 926 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HostageHurt::EventName = "hostage_hurt"
staticconstexpr

Definition at line 982 of file EventTypes.hpp.

◆ Hostage

int VoltMod::HostageHurt::Hostage = 0

hostage entity index

Definition at line 984 of file EventTypes.hpp.

◆ Slot

int VoltMod::HostageHurt::Slot = -1

player who hurt the hostage

Definition at line 983 of file EventTypes.hpp.

Referenced by From().


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