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

#include <EventTypes.hpp>

Static Public Member Functions

static HltvChat From (IGameEvent &e)
 

Public Attributes

std::string Text
 
uint64_t SteamID = 0
 steam id
 

Static Public Attributes

static constexpr std::string_view EventName = "hltv_chat"
 

Detailed Description

a HLTV chat msg sent by spectators

Definition at line 874 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 825 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Text.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HltvChat::EventName = "hltv_chat"
staticconstexpr

Definition at line 876 of file EventTypes.hpp.

◆ SteamID

uint64_t VoltMod::HltvChat::SteamID = 0

steam id

Definition at line 878 of file EventTypes.hpp.

◆ Text

std::string VoltMod::HltvChat::Text

Definition at line 877 of file EventTypes.hpp.

Referenced by From().


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