24 , playmp_controller_(pc)
38 playmp_controller_.start_network();
42 playmp_controller_.stop_network();
66 res =
is_observer() && playmp_controller_.network_processing_stopped_;
69 res =
is_observer() && !playmp_controller_.network_processing_stopped_;
bool has_next_scenario() const
Checks whether this is not the last scenario (usually of a campaign)
events::menu_handler menu_handler_
virtual void whisper() override
hotkey_handler(playmp_controller &, saved_game &)
virtual void start_network() override
virtual void shout() override
virtual bool can_execute_command(const hotkey::ui_command &command) const override
Check if a command can be executed.
virtual void stop_network() override
virtual bool can_execute_command(const hotkey::ui_command &cmd) const override
Check if a command can be executed.
An extension of playsingle_controller::hotkey_handler, which has support for MP wesnoth features like...
Used as the main paramneter for can_execute_command/do_execute_command These functions are used to ex...
hotkey::HOTKEY_COMMAND hotkey_command
The hotkey::HOTKEY_COMMAND associated with this action, HOTKEY_NULL for actions that don't allow hotk...