Project Alice
|
#include <military.hpp>
Public Member Functions | |
unit_definition () | |
Public Member Functions inherited from sys::unit_variable_stats | |
void | operator+= (unit_variable_stats const &other) |
void | operator-= (unit_variable_stats const &other) |
Public Attributes | |
economy::commodity_set | build_cost |
economy::commodity_set | supply_cost |
float | maneuver = 0.0f |
int32_t | colonial_points = 0 |
int32_t | min_port_level = 0 |
int32_t | supply_consumption_score = 0 |
int32_t | icon = 0 |
int32_t | naval_icon = 0 |
dcon::text_key | name |
bool | is_land = true |
bool | capital = false |
bool | can_build_overseas = true |
bool | primary_culture = false |
bool | active = true |
unit_type | type = unit_type::infantry |
uint16_t | padding = 0 |
Public Attributes inherited from sys::unit_variable_stats | |
int32_t | build_time = 0 |
int32_t | default_organisation = 0 |
float | maximum_speed = 0.0f |
float | defence_or_hull = 0.0f |
float | attack_or_gun_power = 0.0f |
float | supply_consumption = 0.0f |
float | support = 0.0f |
float | siege_or_torpedo_attack = 0.0f |
float | reconnaissance_or_fire_range = 0.0f |
float | discipline_or_evasion = 0.0f |
Definition at line 95 of file military.hpp.
|
inline |
Definition at line 118 of file military.hpp.
bool military::unit_definition::active = true |
Definition at line 113 of file military.hpp.
economy::commodity_set military::unit_definition::build_cost |
Definition at line 96 of file military.hpp.
bool military::unit_definition::can_build_overseas = true |
Definition at line 111 of file military.hpp.
bool military::unit_definition::capital = false |
Definition at line 110 of file military.hpp.
int32_t military::unit_definition::colonial_points = 0 |
Definition at line 100 of file military.hpp.
int32_t military::unit_definition::icon = 0 |
Definition at line 104 of file military.hpp.
bool military::unit_definition::is_land = true |
Definition at line 109 of file military.hpp.
float military::unit_definition::maneuver = 0.0f |
Definition at line 99 of file military.hpp.
int32_t military::unit_definition::min_port_level = 0 |
Definition at line 101 of file military.hpp.
dcon::text_key military::unit_definition::name |
Definition at line 107 of file military.hpp.
int32_t military::unit_definition::naval_icon = 0 |
Definition at line 105 of file military.hpp.
uint16_t military::unit_definition::padding = 0 |
Definition at line 116 of file military.hpp.
bool military::unit_definition::primary_culture = false |
Definition at line 112 of file military.hpp.
int32_t military::unit_definition::supply_consumption_score = 0 |
Definition at line 102 of file military.hpp.
economy::commodity_set military::unit_definition::supply_cost |
Definition at line 97 of file military.hpp.
unit_type military::unit_definition::type = unit_type::infantry |
Definition at line 115 of file military.hpp.