The Battle for Wesnoth  1.19.7+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
 
int request_id () const
 
void send_request () const
 

Detailed Description

Definition at line 134 of file synced_context.hpp.

Constructor & Destructor Documentation

◆ ~server_choice()

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

Definition at line 137 of file synced_context.hpp.

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().

◆ 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.

◆ request_id()

int synced_context::server_choice::request_id ( ) const

◆ send_request()

void synced_context::server_choice::send_request ( ) const

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