The Battle for Wesnoth  1.15.2+dev
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 sent to the mp server. More...
 
virtual const char * name () const =0
 
void send_request () const
 

Detailed Description

Definition at line 137 of file synced_context.hpp.

Constructor & Destructor Documentation

◆ ~server_choice()

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

Member Function Documentation

◆ local_choice()

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(), and ~server_choice().

◆ name()

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

◆ request()

virtual config synced_context::server_choice::request ( ) const
pure virtual

the request which is sent to the mp server.

Referenced by ~server_choice().

◆ send_request()

void synced_context::server_choice::send_request ( ) const

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