The Battle for Wesnoth  1.19.5+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 122 of file display_context.hpp.

Constructor & Destructor Documentation

◆ team_data()

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

Definition at line 202 of file display_context.cpp.

Member Data Documentation

◆ expenses

int team_data::expenses = 0

Definition at line 126 of file display_context.hpp.

Referenced by REPORT_GENERATOR(), and SIDE_GETTER().

◆ net_income

int team_data::net_income = 0

Definition at line 126 of file display_context.hpp.

Referenced by REPORT_GENERATOR(), and SIDE_GETTER().

◆ side

int team_data::side = 0

Definition at line 126 of file display_context.hpp.

◆ units

int team_data::units = 0

Definition at line 126 of file display_context.hpp.

Referenced by SIDE_GETTER().

◆ upkeep

int team_data::upkeep = 0

Definition at line 126 of file display_context.hpp.

Referenced by REPORT_GENERATOR(), and SIDE_GETTER().


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