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

#include <EventTypes.hpp>

Static Public Member Functions

static HltvReplay From (IGameEvent &e)
 

Public Attributes

int Delay = 0
 number of seconds in killer replay delay
 
int Reason = 0
 reason for replay (ReplayEventType_t)
 

Static Public Attributes

static constexpr std::string_view EventName = "hltv_replay"
 

Detailed Description

Definition at line 925 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 872 of file EventTypes.cpp.

References Delay, and VoltMod::ReadFile().

Member Data Documentation

◆ Delay

int VoltMod::HltvReplay::Delay = 0

number of seconds in killer replay delay

Definition at line 928 of file EventTypes.hpp.

Referenced by From().

◆ EventName

constexpr std::string_view VoltMod::HltvReplay::EventName = "hltv_replay"
staticconstexpr

Definition at line 927 of file EventTypes.hpp.

◆ Reason

int VoltMod::HltvReplay::Reason = 0

reason for replay (ReplayEventType_t)

Definition at line 929 of file EventTypes.hpp.


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