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

#include <TextMessages.hpp>

Public Attributes

std::string_view Text
 
bool Blocked = false
 

Detailed Description

A chat, center or alert line the server is about to send.

Definition at line 13 of file TextMessages.hpp.

Member Data Documentation

◆ Blocked

bool VoltMod::TextMessage::Blocked = false

Set to send the line to nobody.

Definition at line 18 of file TextMessages.hpp.

◆ Text

std::string_view VoltMod::TextMessage::Text

The line, or the #token the client translates, such as #Player_Point_Award_Killed_Enemy.

Definition at line 16 of file TextMessages.hpp.

Referenced by VoltMod::FilterTextMessage().


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