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

#include <EventTypes.hpp>

Static Public Member Functions

static HltvMessage From (IGameEvent &e)
 

Public Attributes

std::string Text
 

Static Public Attributes

static constexpr std::string_view EventName = "hltv_message"
 

Detailed Description

a HLTV message send by moderators

Definition at line 898 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 847 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Text.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HltvMessage::EventName = "hltv_message"
staticconstexpr

Definition at line 900 of file EventTypes.hpp.

◆ Text

std::string VoltMod::HltvMessage::Text

Definition at line 901 of file EventTypes.hpp.

Referenced by From().


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