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

#include <EventTypes.hpp>

Static Public Member Functions

static HltvVersioninfo From (IGameEvent &e)
 

Public Attributes

int Version = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "hltv_versioninfo"
 

Detailed Description

Definition at line 958 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 904 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Version.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HltvVersioninfo::EventName = "hltv_versioninfo"
staticconstexpr

Definition at line 960 of file EventTypes.hpp.

◆ Version

int VoltMod::HltvVersioninfo::Version = 0

Definition at line 961 of file EventTypes.hpp.

Referenced by From().


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