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 |
| 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().

| const size_t wesnothd::chat_message::max_message_length = 256 |
Definition at line 28 of file player_network.cpp.
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:26:27 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |