|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static PlayerChat | From (IGameEvent &e) |
Public Attributes | |
| bool | Teamonly = false |
| true if team only chat | |
| int | Userid = 0 |
| chatting player | |
| std::string | Text |
| chat text | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "player_chat" |
a public player chat
Definition at line 1395 of file EventTypes.hpp.
|
static |
Definition at line 1321 of file EventTypes.cpp.
References VoltMod::ReadFile(), and Teamonly.
|
staticconstexpr |
Definition at line 1397 of file EventTypes.hpp.
| std::string VoltMod::PlayerChat::Text |
chat text
Definition at line 1400 of file EventTypes.hpp.
| int VoltMod::PlayerChat::Userid = 0 |
chatting player
Definition at line 1399 of file EventTypes.hpp.