The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Public Attributes | List of all members
mp_game_metadata Struct Reference

#include <playcampaign.hpp>

Public Member Functions

 mp_game_metadata (wesnothd_connection &wdc)
 

Public Attributes

std::set< std::string > connected_players
 players and observers More...
 
bool is_host
 
unsigned current_turn
 
bool skip_replay
 
bool skip_replay_blindfolded
 
wesnothd_connectionconnection
 

Detailed Description

Definition at line 27 of file playcampaign.hpp.

Constructor & Destructor Documentation

◆ mp_game_metadata()

mp_game_metadata::mp_game_metadata ( wesnothd_connection wdc)
inline

Definition at line 29 of file playcampaign.hpp.

Member Data Documentation

◆ connected_players

std::set<std::string> mp_game_metadata::connected_players

players and observers

Definition at line 40 of file playcampaign.hpp.

Referenced by campaign_controller::playmp_scenario().

◆ connection

wesnothd_connection& mp_game_metadata::connection

◆ current_turn

unsigned mp_game_metadata::current_turn

◆ is_host

bool mp_game_metadata::is_host

◆ skip_replay

bool mp_game_metadata::skip_replay

Definition at line 43 of file playcampaign.hpp.

Referenced by campaign_controller::playmp_scenario().

◆ skip_replay_blindfolded

bool mp_game_metadata::skip_replay_blindfolded

Definition at line 44 of file playcampaign.hpp.

Referenced by campaign_controller::playmp_scenario().


The documentation for this struct was generated from the following file: