#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 |
int | request_id () const |
void | send_request () const |
Definition at line 134 of file synced_context.hpp.
|
inlinevirtual |
Definition at line 137 of file synced_context.hpp.
|
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().
|
pure virtual |
Referenced by synced_context::ask_server_choice().
|
pure virtual |
The request which is sent to the mp server.
int synced_context::server_choice::request_id | ( | ) | const |
Definition at line 247 of file synced_context.cpp.
References resources::controller, and play_controller::get_server_request_number().
Referenced by synced_context::ask_server_choice().
void synced_context::server_choice::send_request | ( | ) | const |
Definition at line 252 of file synced_context.cpp.
References resources::controller, and play_controller::send_to_wesnothd().
Referenced by synced_context::ask_server_choice().