The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
synced_context::server_choice Class Referenceabstract

#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 sended to the mp server. More...
 
virtual const char * name () const =0
 
void send_request () const
 

Detailed Description

Definition at line 135 of file synced_context.hpp.

Constructor & Destructor Documentation

virtual synced_context::server_choice::~server_choice ( )
inlinevirtual

Definition at line 138 of file synced_context.hpp.

Member Function Documentation

virtual config synced_context::server_choice::local_choice ( ) const
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().

virtual const char* synced_context::server_choice::name ( ) const
pure virtual
virtual config synced_context::server_choice::request ( ) const
pure virtual

the request which is sended to the mp server.

Referenced by send_request().

void synced_context::server_choice::send_request ( ) const

The documentation for this class was generated from the following files: