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

#include <EventTypes.hpp>

Static Public Member Functions

static HostageStopsFollowing From (IGameEvent &e)
 

Public Attributes

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

Static Public Attributes

static constexpr std::string_view EventName = "hostage_stops_following"
 

Detailed Description

Definition at line 1011 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 956 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HostageStopsFollowing::EventName = "hostage_stops_following"
staticconstexpr

Definition at line 1013 of file EventTypes.hpp.

◆ Hostage

int VoltMod::HostageStopsFollowing::Hostage = 0

hostage entity index

Definition at line 1015 of file EventTypes.hpp.

◆ Slot

int VoltMod::HostageStopsFollowing::Slot = -1

player who rescued the hostage

Definition at line 1014 of file EventTypes.hpp.

Referenced by From().


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