30 void process_oos(
const std::string& err_msg)
const override;
43 void play_slice(
bool is_delay_enabled =
true)
override;
64 virtual bool is_host()
const override;
A config object defines a single node in a WML file, with access to child nodes.
void process_network_data(bool chat_only=false)
virtual ~playmp_controller()
void process_oos(const std::string &err_msg) const override
Asks the user whether to continue on an OOS error.
mp_game_metadata * mp_info_
virtual bool is_host() const override
virtual void do_idle_notification() override
Will handle sending a networked notification in descendent classes.
void maybe_linger() override
bool receive_from_wesnothd(config &cfg) const override
virtual void play_idle_loop() override
virtual void handle_generic_event(const std::string &name) override
bool network_processing_stopped_
virtual void play_human_turn() override
void send_to_wesnothd(const config &cfg, const std::string &packet_type="unknown") const override
virtual void play_linger_turn()
void send_user_choice() override
void pull_remote_choice() override
virtual void on_not_observer() override
virtual void after_human_turn() override
bool is_networked_mp() const override
virtual void play_network_turn() override
Will handle networked turns in descendent classes.
void surrender(int side_number)
void wait_for_upload()
Wait for the host to upload the next scenario.
playmp_controller(const config &level, saved_game &state_of_game, mp_game_metadata *mp_info)
void play_slice(bool is_delay_enabled=true) override
TODO: rename this class since it isn't that much related to turns.