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

#include <EventTypes.hpp>

Static Public Member Functions

static HostageCallForHelp From (IGameEvent &e)
 

Public Attributes

int Hostage = 0
 hostage entity index
 

Static Public Attributes

static constexpr std::string_view EventName = "hostage_call_for_help"
 

Detailed Description

Definition at line 965 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 911 of file EventTypes.cpp.

References Hostage, and VoltMod::ReadFile().

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HostageCallForHelp::EventName = "hostage_call_for_help"
staticconstexpr

Definition at line 967 of file EventTypes.hpp.

◆ Hostage

int VoltMod::HostageCallForHelp::Hostage = 0

hostage entity index

Definition at line 968 of file EventTypes.hpp.

Referenced by From().


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