Functions | |
static void | truncate_message (const simple_wml::string_span &str, simple_wml::node &message) |
Variables | |
const size_t | max_message_length = 256 |
static void chat_message::truncate_message | ( | const simple_wml::string_span & | str, | |
simple_wml::node & | message | |||
) | [static] |
Definition at line 38 of file server/game.cpp.
References simple_wml::string_span::begin(), simple_wml::string_span::end(), max_message_length, simple_wml::node::set_attr_dup(), simple_wml::string_span::size(), and utils::truncate_as_wstring().
Referenced by game::process_message(), and game::process_turn().
const size_t chat_message::max_message_length = 256 |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |