The Battle for Wesnoth  1.13.11+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
mp_game_settings::addon_version_info Struct Reference

#include <mp_game_settings.hpp>

Public Member Functions

 addon_version_info (const config &)
void write (config &) const

Public Attributes

boost::optional< version_infoversion
boost::optional< version_infomin_version
std::string name

Detailed Description

Definition at line 75 of file mp_game_settings.hpp.

Constructor & Destructor Documentation

mp_game_settings::addon_version_info::addon_version_info ( const config cfg)

Definition at line 145 of file mp_game_settings.cpp.

References min_version, and version.

Member Function Documentation

void mp_game_settings::addon_version_info::write ( config cfg) const

Definition at line 158 of file mp_game_settings.cpp.

References mp_game_settings::name, and game_config::version.

Member Data Documentation

boost::optional<version_info> mp_game_settings::addon_version_info::min_version
std::string mp_game_settings::addon_version_info::name

Definition at line 80 of file mp_game_settings.hpp.

boost::optional<version_info> mp_game_settings::addon_version_info::version

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