The Battle for Wesnoth  1.19.7+dev
Public Member Functions | Public Attributes | List of all members
achievement_group Struct Reference

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< achievementachievements_
 The achievements associated to this content. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ achievement_group()

achievement_group::achievement_group ( const config cfg)

Member Data Documentation

◆ achievements_

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

◆ content_for_

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

◆ display_name_

t_string achievement_group::display_name_

The name of the content to display on the UI.

Definition at line 85 of file achievements.hpp.


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