The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
player_network.cpp File Reference
#include "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 size_t wesnothd::chat_message::max_message_length = 256
 

Macro Definition Documentation

#define WRN_CONFIG   LOG_STREAM(warn, log_config_pn)

Definition at line 21 of file player_network.cpp.

Variable Documentation

lg::log_domain log_config_pn("config")