The Battle for Wesnoth  1.19.0-dev
Namespaces | Functions
mp_ui_alerts.hpp File Reference
#include <string>
#include <vector>
Include dependency graph for mp_ui_alerts.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mp
 Main entry points of multiplayer mode.
 
 mp::ui_alerts
 This namespace provides handlers which play the sounds / notifications for various mp server events, depending on the preference configuration.
 

Functions

void mp::ui_alerts::player_joins (bool is_lobby)
 
void mp::ui_alerts::player_leaves (bool is_lobby)
 
void mp::ui_alerts::game_created (const std::string &scenario, const std::string &name)
 
void mp::ui_alerts::public_message (bool is_lobby, const std::string &sender, const std::string &message)
 
void mp::ui_alerts::friend_message (bool is_lobby, const std::string &sender, const std::string &message)
 
void mp::ui_alerts::private_message (bool is_lobby, const std::string &sender, const std::string &message)
 
void mp::ui_alerts::server_message (bool is_lobby, const std::string &sender, const std::string &message)
 
void mp::ui_alerts::ready_for_start ()
 
void mp::ui_alerts::game_has_begun ()
 
void mp::ui_alerts::turn_changed (const std::string &player_name)
 
bool mp::ui_alerts::get_def_pref_sound (const std::string &id)
 
bool mp::ui_alerts::get_def_pref_notif (const std::string &id)
 
bool mp::ui_alerts::get_def_pref_lobby (const std::string &id)