#include <synced_context.hpp>
Public Member Functions | |
virtual | ~server_choice () |
virtual config | local_choice () const =0 |
We are in a game with no mp server and need to do this choice locally. More... | |
virtual config | request () const =0 |
The request which is sent to the mp server. More... | |
virtual const char * | name () const =0 |
void | send_request () const |
Definition at line 171 of file synced_context.hpp.
|
inlinevirtual |
Definition at line 174 of file synced_context.hpp.
References synced_context::ask_server_choice(), local_choice(), name(), request(), and send_request().
|
pure virtual |
We are in a game with no mp server and need to do this choice locally.
Referenced by synced_context::ask_server_choice(), and ~server_choice().
|
pure virtual |
Referenced by synced_context::ask_server_choice(), and ~server_choice().
|
pure virtual |
The request which is sent to the mp server.
Referenced by ~server_choice().
void synced_context::server_choice::send_request | ( | ) | const |
Definition at line 239 of file synced_context.cpp.
References resources::controller, play_controller::get_server_request_number(), and play_controller::send_to_wesnothd().
Referenced by synced_context::ask_server_choice(), and ~server_choice().