The Battle for Wesnoth  1.19.0-dev
Namespaces | Macros | Functions | Variables
player_network.cpp File Reference
#include "server/wesnothd/player_network.hpp"
#include "log.hpp"
#include "serialization/unicode.hpp"
Include dependency graph for player_network.cpp:

Go to the source code of this file.

Namespaces

 wesnothd
 
 wesnothd::chat_message
 

Macros

#define WRN_CONFIG   LOG_STREAM(warn, log_config_pn)
 

Functions

void wesnothd::chat_message::truncate_message (const simple_wml::string_span &str, simple_wml::node &message)
 Function to ensure a text message is within the allowed length. More...
 

Variables

lg::log_domain log_config_pn ("config")
 
const std::size_t wesnothd::chat_message::max_message_length = 256
 

Macro Definition Documentation

◆ WRN_CONFIG

#define WRN_CONFIG   LOG_STREAM(warn, log_config_pn)

Definition at line 21 of file player_network.cpp.

Variable Documentation

◆ log_config_pn

lg::log_domain log_config_pn("config") ( "config"  )