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

#include <EventTypes.hpp>

Static Public Member Functions

static HostageFollows From (IGameEvent &e)
 

Public Attributes

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

Static Public Attributes

static constexpr std::string_view EventName = "hostage_follows"
 

Detailed Description

Definition at line 972 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 918 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HostageFollows::EventName = "hostage_follows"
staticconstexpr

Definition at line 974 of file EventTypes.hpp.

◆ Hostage

int VoltMod::HostageFollows::Hostage = 0

hostage entity index

Definition at line 976 of file EventTypes.hpp.

◆ Slot

int VoltMod::HostageFollows::Slot = -1

player who touched the hostage

Definition at line 975 of file EventTypes.hpp.

Referenced by From().


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