24 , playmp_controller_(pc)
42 playmp_controller_.start_network();
46 playmp_controller_.stop_network();
59 return playmp_controller_.is_host() || !has_next_scenario;
68 res = playmp_controller_.is_networked_mp();
hotkey_handler(playmp_controller &, saved_game &)
Stores all information related to functions that can be bound to hotkeys.
events::menu_handler menu_handler_
An extension of playsingle_controller::hotkey_handler, which has support for MP wesnoth features like...
const std::string & next_scenario() const
virtual bool can_execute_command(const hotkey::hotkey_command &command, int index=-1) const
Check if a command can be executed.
virtual bool can_execute_command(const hotkey::hotkey_command &command, int index=-1) const
Check if a command can be executed.
virtual void start_network()
const hotkey::HOTKEY_COMMAND id
the names are strange: the "hotkey::HOTKEY_COMMAND" is named id, and the string to identify the objec...
virtual void stop_network()