The Battle for Wesnoth  1.15.0-dev
Classes | Public Member Functions | Public Attributes | List of all members
about::credits_group Struct Reference

#include <about.hpp>

Classes

struct  about_group
 

Public Member Functions

 credits_group (const config &cfg, bool is_campaign_credits)
 

Public Attributes

std::vector< about_groupsections
 The group's sub-groups. More...
 
std::string id
 Optional group ID. More...
 
t_string header
 Optional group tite. More...
 

Detailed Description

Definition at line 26 of file about.hpp.

Constructor & Destructor Documentation

◆ credits_group()

about::credits_group::credits_group ( const config cfg,
bool  is_campaign_credits 
)

Definition at line 45 of file about.cpp.

References config::child_count(), config::child_range(), header, sections, and sort().

Member Data Documentation

◆ header

t_string about::credits_group::header

Optional group tite.

Currently only used for identifying campaigns.

Definition at line 50 of file about.hpp.

Referenced by credits_group().

◆ id

std::string about::credits_group::id

Optional group ID.

Currently only used for identifying campaigns.

Definition at line 47 of file about.hpp.

◆ sections

std::vector<about_group> about::credits_group::sections

The group's sub-groups.

Corresponds to each [about] tag .

Definition at line 44 of file about.hpp.

Referenced by credits_group().


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