The Battle for Wesnoth  1.15.0+dev
Public Member Functions | Public Attributes | List of all members
unit_type::ability_metadata Struct Reference

#include <types.hpp>

Public Member Functions

 ability_metadata (const config &cfg)
 

Public Attributes

std::string id
 
t_string name
 
t_string name_inactive
 
t_string female_name
 
t_string female_name_inactive
 
t_string description
 
t_string description_inactive
 
bool affect_self
 
bool affect_allies
 
bool affect_enemies
 
bool cumulative
 

Detailed Description

Definition at line 187 of file types.hpp.

Constructor & Destructor Documentation

◆ ability_metadata()

unit_type::ability_metadata::ability_metadata ( const config cfg)
explicit

Definition at line 157 of file types.cpp.

Member Data Documentation

◆ affect_allies

bool unit_type::ability_metadata::affect_allies

Definition at line 203 of file types.hpp.

◆ affect_enemies

bool unit_type::ability_metadata::affect_enemies

Definition at line 204 of file types.hpp.

◆ affect_self

bool unit_type::ability_metadata::affect_self

Definition at line 202 of file types.hpp.

◆ cumulative

bool unit_type::ability_metadata::cumulative

Definition at line 205 of file types.hpp.

◆ description

t_string unit_type::ability_metadata::description

Definition at line 199 of file types.hpp.

◆ description_inactive

t_string unit_type::ability_metadata::description_inactive

Definition at line 200 of file types.hpp.

◆ female_name

t_string unit_type::ability_metadata::female_name

Definition at line 196 of file types.hpp.

◆ female_name_inactive

t_string unit_type::ability_metadata::female_name_inactive

Definition at line 197 of file types.hpp.

◆ id

std::string unit_type::ability_metadata::id

Definition at line 191 of file types.hpp.

◆ name

t_string unit_type::ability_metadata::name

Definition at line 193 of file types.hpp.

◆ name_inactive

t_string unit_type::ability_metadata::name_inactive

Definition at line 194 of file types.hpp.


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