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

#include <EventTypes.hpp>

Static Public Member Functions

static HostageRescued From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 player who rescued the hostage
 
int Hostage = 0
 hostage entity index
 
int Site = 0
 rescue site index
 

Static Public Attributes

static constexpr std::string_view EventName = "hostage_rescued"
 

Detailed Description

Definition at line 996 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 942 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HostageRescued::EventName = "hostage_rescued"
staticconstexpr

Definition at line 998 of file EventTypes.hpp.

◆ Hostage

int VoltMod::HostageRescued::Hostage = 0

hostage entity index

Definition at line 1000 of file EventTypes.hpp.

◆ Site

int VoltMod::HostageRescued::Site = 0

rescue site index

Definition at line 1001 of file EventTypes.hpp.

◆ Slot

int VoltMod::HostageRescued::Slot = -1

player who rescued the hostage

Definition at line 999 of file EventTypes.hpp.

Referenced by From().


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