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

#include <display_context.hpp>

Public Member Functions

 team_data (const display_context &dc, const team &tm)
 

Public Attributes

int side = 0
 
int units = 0
 
int upkeep = 0
 
int expenses = 0
 
int net_income = 0
 

Detailed Description

Definition at line 96 of file display_context.hpp.

Constructor & Destructor Documentation

◆ team_data()

team_data::team_data ( const display_context dc,
const team tm 
)

Definition at line 158 of file display_context.cpp.

Member Data Documentation

◆ expenses

int team_data::expenses = 0

Definition at line 100 of file display_context.hpp.

Referenced by REPORT_GENERATOR().

◆ net_income

int team_data::net_income = 0

Definition at line 100 of file display_context.hpp.

Referenced by gui2::dialogs::game_stats::pre_show().

◆ side

int team_data::side = 0

Definition at line 100 of file display_context.hpp.

◆ units

int team_data::units = 0

Definition at line 100 of file display_context.hpp.

Referenced by gui2::dialogs::game_stats::pre_show().

◆ upkeep

int team_data::upkeep = 0

Definition at line 100 of file display_context.hpp.

Referenced by gui2::dialogs::game_stats::pre_show().


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