The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
gui2::dialogs::attack_predictions::combatant_data Struct Reference

Public Member Functions

 combatant_data (unit_const_ptr unit, const combatant &combatant, const battle_context_unit_stats &stats)
 

Public Attributes

const battle_context_unit_statsstats_
 
const combatantcombatant_
 
unit_const_ptr unit_
 never null More...
 

Detailed Description

Definition at line 47 of file attack_predictions.hpp.

Constructor & Destructor Documentation

◆ combatant_data()

gui2::dialogs::attack_predictions::combatant_data::combatant_data ( unit_const_ptr  unit,
const combatant combatant,
const battle_context_unit_stats stats 
)
inline

Definition at line 49 of file attack_predictions.hpp.

Member Data Documentation

◆ combatant_

const combatant& gui2::dialogs::attack_predictions::combatant_data::combatant_

◆ stats_

const battle_context_unit_stats& gui2::dialogs::attack_predictions::combatant_data::stats_

◆ unit_

unit_const_ptr gui2::dialogs::attack_predictions::combatant_data::unit_

never null

Definition at line 58 of file attack_predictions.hpp.

Referenced by gui2::dialogs::attack_predictions::set_data().


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