A set of achievements tied to a particular content. More...
#include <achievements.hpp>
Public Member Functions | |
achievement_group (const config &cfg) | |
Public Attributes | |
t_string | display_name_ |
The name of the content to display on the UI. More... | |
std::string | content_for_ |
The internal ID used for this content. More... | |
std::vector< achievement > | achievements_ |
The achievements associated to this content. More... | |
A set of achievements tied to a particular content.
Achievements can be added to any content from any add-on, even if it's entirely unrelated.
Definition at line 82 of file achievements.hpp.
achievement_group::achievement_group | ( | const config & | cfg | ) |
Definition at line 74 of file achievements.cpp.
References achievements_, config::child_range(), content_for_, ERR_CONFIG, utils::find(), and prefs::get().
std::vector<achievement> achievement_group::achievements_ |
The achievements associated to this content.
Definition at line 89 of file achievements.hpp.
Referenced by achievement_group(), and gui2::dialogs::achievements_dialog::set_achievements_row().
std::string achievement_group::content_for_ |
The internal ID used for this content.
Definition at line 87 of file achievements.hpp.
Referenced by achievement_group(), and gui2::dialogs::achievements_dialog::set_achievements_row().
t_string achievement_group::display_name_ |
The name of the content to display on the UI.
Definition at line 85 of file achievements.hpp.