The Battle for Wesnoth  1.19.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 title. More...
 

Detailed Description

Definition at line 30 of file about.hpp.

Constructor & Destructor Documentation

◆ credits_group()

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

Definition at line 47 of file about.cpp.

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

Member Data Documentation

◆ header

t_string about::credits_group::header

Optional group title.

Currently only used for identifying campaigns.

Definition at line 54 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 51 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 48 of file about.hpp.

Referenced by credits_group().


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