Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
packet_ruleset_unit Struct Reference

#include <packets_gen.h>

Data Fields

Unit_type_id id
 
char name [MAX_LEN_NAME]
 
char rule_name [MAX_LEN_NAME]
 
char graphic_str [MAX_LEN_NAME]
 
char graphic_alt [MAX_LEN_NAME]
 
char graphic_alt2 [MAX_LEN_NAME]
 
char sound_move [MAX_LEN_NAME]
 
char sound_move_alt [MAX_LEN_NAME]
 
char sound_fight [MAX_LEN_NAME]
 
char sound_fight_alt [MAX_LEN_NAME]
 
int unit_class_id
 
int build_cost
 
int pop_cost
 
int attack_strength
 
int defense_strength
 
int move_rate
 
int build_reqs_count
 
struct requirement build_reqs [MAX_NUM_REQS]
 
int vision_radius_sq
 
int transport_capacity
 
int hp
 
int firepower
 
int obsoleted_by
 
int converted_to
 
int convert_time
 
int fuel
 
int happy_cost
 
int upkeep [O_LAST]
 
int paratroopers_range
 
int veteran_levels
 
char veteran_name [MAX_VET_LEVELS][MAX_LEN_NAME]
 
int power_fact [MAX_VET_LEVELS]
 
int move_bonus [MAX_VET_LEVELS]
 
int base_raise_chance [MAX_VET_LEVELS]
 
int work_raise_chance [MAX_VET_LEVELS]
 
int bombard_rate
 
int city_size
 
int city_slots
 
enum transp_def_type tp_defense
 
bv_unit_classes cargo
 
bv_unit_classes targets
 
bv_unit_classes embarks
 
bv_unit_classes disembarks
 
enum vision_layer vlayer
 
char helptext [MAX_LEN_PACKET]
 
bv_unit_type_flags flags
 
bv_unit_type_roles roles
 
bool worker
 

Detailed Description

Definition at line 946 of file packets_gen.h.

Field Documentation

◆ attack_strength

int packet_ruleset_unit::attack_strength

◆ base_raise_chance

int packet_ruleset_unit::base_raise_chance[MAX_VET_LEVELS]

◆ bombard_rate

int packet_ruleset_unit::bombard_rate

◆ build_cost

int packet_ruleset_unit::build_cost

◆ build_reqs

struct requirement packet_ruleset_unit::build_reqs[MAX_NUM_REQS]

◆ build_reqs_count

int packet_ruleset_unit::build_reqs_count

◆ cargo

bv_unit_classes packet_ruleset_unit::cargo

◆ city_size

int packet_ruleset_unit::city_size

◆ city_slots

int packet_ruleset_unit::city_slots

◆ convert_time

int packet_ruleset_unit::convert_time

◆ converted_to

int packet_ruleset_unit::converted_to

◆ defense_strength

int packet_ruleset_unit::defense_strength

◆ disembarks

bv_unit_classes packet_ruleset_unit::disembarks

◆ embarks

bv_unit_classes packet_ruleset_unit::embarks

◆ firepower

int packet_ruleset_unit::firepower

◆ flags

bv_unit_type_flags packet_ruleset_unit::flags

◆ fuel

int packet_ruleset_unit::fuel

◆ graphic_alt

char packet_ruleset_unit::graphic_alt[MAX_LEN_NAME]

◆ graphic_alt2

char packet_ruleset_unit::graphic_alt2[MAX_LEN_NAME]

◆ graphic_str

char packet_ruleset_unit::graphic_str[MAX_LEN_NAME]

◆ happy_cost

int packet_ruleset_unit::happy_cost

◆ helptext

char packet_ruleset_unit::helptext[MAX_LEN_PACKET]

◆ hp

int packet_ruleset_unit::hp

◆ id

Unit_type_id packet_ruleset_unit::id

◆ move_bonus

int packet_ruleset_unit::move_bonus[MAX_VET_LEVELS]

◆ move_rate

int packet_ruleset_unit::move_rate

◆ name

char packet_ruleset_unit::name[MAX_LEN_NAME]

◆ obsoleted_by

int packet_ruleset_unit::obsoleted_by

◆ paratroopers_range

int packet_ruleset_unit::paratroopers_range

◆ pop_cost

int packet_ruleset_unit::pop_cost

◆ power_fact

int packet_ruleset_unit::power_fact[MAX_VET_LEVELS]

◆ roles

bv_unit_type_roles packet_ruleset_unit::roles

◆ rule_name

char packet_ruleset_unit::rule_name[MAX_LEN_NAME]

◆ sound_fight

char packet_ruleset_unit::sound_fight[MAX_LEN_NAME]

◆ sound_fight_alt

char packet_ruleset_unit::sound_fight_alt[MAX_LEN_NAME]

◆ sound_move

char packet_ruleset_unit::sound_move[MAX_LEN_NAME]

◆ sound_move_alt

char packet_ruleset_unit::sound_move_alt[MAX_LEN_NAME]

◆ targets

bv_unit_classes packet_ruleset_unit::targets

◆ tp_defense

enum transp_def_type packet_ruleset_unit::tp_defense

◆ transport_capacity

int packet_ruleset_unit::transport_capacity

◆ unit_class_id

int packet_ruleset_unit::unit_class_id

◆ upkeep

int packet_ruleset_unit::upkeep[O_LAST]

◆ veteran_levels

int packet_ruleset_unit::veteran_levels

◆ veteran_name

char packet_ruleset_unit::veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME]

◆ vision_radius_sq

int packet_ruleset_unit::vision_radius_sq

◆ vlayer

enum vision_layer packet_ruleset_unit::vlayer

◆ work_raise_chance

int packet_ruleset_unit::work_raise_chance[MAX_VET_LEVELS]

◆ worker

bool packet_ruleset_unit::worker