Freeciv21
Develop your civilization from humble roots to a global empire
unit_view_entry Struct Reference

Structure of data for the Units View. More...

#include <view_units.h>

+ Collaboration diagram for unit_view_entry:

Public Attributes

const struct unit_typetype
 
int count
 
int in_prod
 
int total_cost
 
int food_cost
 
int gold_cost
 
int shield_cost
 
bool upg
 

Detailed Description

Structure of data for the Units View.

See get_units_view_data()

Definition at line 25 of file view_units.h.

Member Data Documentation

◆ count

int unit_view_entry::count

Definition at line 27 of file view_units.h.

◆ food_cost

int unit_view_entry::food_cost

Definition at line 27 of file view_units.h.

◆ gold_cost

int unit_view_entry::gold_cost

Definition at line 27 of file view_units.h.

◆ in_prod

int unit_view_entry::in_prod

Definition at line 27 of file view_units.h.

◆ shield_cost

int unit_view_entry::shield_cost

Definition at line 27 of file view_units.h.

◆ total_cost

int unit_view_entry::total_cost

Definition at line 27 of file view_units.h.

◆ type

const struct unit_type* unit_view_entry::type

Definition at line 26 of file view_units.h.

◆ upg

bool unit_view_entry::upg

Definition at line 28 of file view_units.h.