Functions | Variables

wesnothd::chat_message Namespace Reference

Functions

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

Variables

const size_t max_message_length = 256

Function Documentation

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.

Referenced by wesnothd::room_manager::process_message(), wesnothd::game::process_message(), and wesnothd::game::process_turn().

Here is the caller graph for this function:


Variable Documentation

Definition at line 28 of file player_network.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:26:27 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs