#include <mp_game_settings.hpp>
Public Member Functions | |
addon_version_info (const config &) | |
void | write (config &) const |
Public Attributes | |
utils::optional< version_info > | version |
utils::optional< version_info > | min_version |
std::string | name |
bool | required |
std::vector< addon_content > | content |
Definition at line 76 of file mp_game_settings.hpp.
|
explicit |
Definition at line 140 of file mp_game_settings.cpp.
References config::child_range(), content, min_version, and version.
void mp_game_settings::addon_version_info::write | ( | config & | cfg | ) | const |
Definition at line 158 of file mp_game_settings.cpp.
References config::add_child(), c, and mp_game_settings::name.
std::vector<addon_content> mp_game_settings::addon_version_info::content |
Definition at line 82 of file mp_game_settings.hpp.
Referenced by addon_version_info(), and mp_game_settings::update_addon_requirements().
utils::optional<version_info> mp_game_settings::addon_version_info::min_version |
Definition at line 79 of file mp_game_settings.hpp.
Referenced by addon_version_info(), and mp_game_settings::update_addon_requirements().
std::string mp_game_settings::addon_version_info::name |
Definition at line 80 of file mp_game_settings.hpp.
bool mp_game_settings::addon_version_info::required |
Definition at line 81 of file mp_game_settings.hpp.
Referenced by mp_game_settings::update_addon_requirements().
utils::optional<version_info> mp_game_settings::addon_version_info::version |
Definition at line 78 of file mp_game_settings.hpp.
Referenced by addon_version_info(), and mp_game_settings::update_addon_requirements().