40 void add_chat_message(
const std::chrono::system_clock::time_point& time,
const std::string& speaker,
std::set< std::string > whisperers_
void add_chat_message(const std::chrono::system_clock::time_point &time, const std::string &speaker, int side, const std::string &msg, events::chat_handler::MESSAGE_TYPE type, bool bell)
std::set< std::string > observers_
display_chat_manager(display &disp)
void remove_whisperer(const std::string &nick)
void remove_observer(const std::string &name)
void add_observer(const std::string &name)
const std::set< std::string > & whisperers() const
void add_whisperer(const std::string &nick)
void clear_chat_messages()
void prune_chat_messages(bool remove_all=false)
std::vector< chat_message > chat_messages_
const std::set< std::string > & observers() const
Sort-of-Singleton that many classes, both GUI and non-GUI, use to access the game data.
std::chrono::steady_clock::time_point created_at