Freeciv-3.1
Loading...
Searching...
No Matches
Data Fields
packet_unit_info Struct Reference

#include <packets_gen.h>

Data Fields

int id16
 
int id32
 
int owner
 
int nationality
 
int tile
 
enum direction8 facing
 
int homecity16
 
int homecity32
 
int upkeep [O_LAST]
 
int veteran
 
enum server_side_agent ssa_controller
 
bool paradropped
 
bool occupied
 
bool transported
 
bool done_moving
 
bool stay
 
Unit_type_id type
 
int transported_by16
 
int transported_by32
 
int carrying
 
int movesleft
 
int hp
 
int fuel
 
int activity_count
 
int changed_from_count
 
int goto_tile
 
enum unit_activity activity
 
int activity_tgt
 
enum unit_activity changed_from
 
int changed_from_tgt
 
int battlegroup
 
bool has_orders
 
int orders_length
 
int orders_index
 
bool orders_repeat
 
bool orders_vigilant
 
struct unit_order orders [MAX_LEN_ROUTE]
 
enum action_decision action_decision_want
 
int action_decision_tile
 

Detailed Description

Definition at line 642 of file packets_gen.h.

Field Documentation

◆ action_decision_tile

int packet_unit_info::action_decision_tile

◆ action_decision_want

enum action_decision packet_unit_info::action_decision_want

◆ activity

enum unit_activity packet_unit_info::activity

◆ activity_count

int packet_unit_info::activity_count

◆ activity_tgt

int packet_unit_info::activity_tgt

◆ battlegroup

int packet_unit_info::battlegroup

◆ carrying

int packet_unit_info::carrying

◆ changed_from

enum unit_activity packet_unit_info::changed_from

◆ changed_from_count

int packet_unit_info::changed_from_count

◆ changed_from_tgt

int packet_unit_info::changed_from_tgt

◆ done_moving

bool packet_unit_info::done_moving

◆ facing

enum direction8 packet_unit_info::facing

◆ fuel

int packet_unit_info::fuel

◆ goto_tile

int packet_unit_info::goto_tile

◆ has_orders

bool packet_unit_info::has_orders

◆ homecity16

int packet_unit_info::homecity16

Definition at line 649 of file packets_gen.h.

Referenced by package_unit(), send_packet_unit_info_101(), and unpackage_unit().

◆ homecity32

int packet_unit_info::homecity32

Definition at line 650 of file packets_gen.h.

Referenced by package_unit(), send_packet_unit_info_100(), and unpackage_unit().

◆ hp

int packet_unit_info::hp

◆ id16

int packet_unit_info::id16

◆ id32

int packet_unit_info::id32

Definition at line 644 of file packets_gen.h.

Referenced by package_unit(), send_packet_unit_info_100(), and unpackage_unit().

◆ movesleft

int packet_unit_info::movesleft

◆ nationality

int packet_unit_info::nationality

◆ occupied

bool packet_unit_info::occupied

◆ orders

struct unit_order packet_unit_info::orders[MAX_LEN_ROUTE]

◆ orders_index

int packet_unit_info::orders_index

◆ orders_length

int packet_unit_info::orders_length

◆ orders_repeat

bool packet_unit_info::orders_repeat

◆ orders_vigilant

bool packet_unit_info::orders_vigilant

◆ owner

int packet_unit_info::owner

◆ paradropped

bool packet_unit_info::paradropped

◆ ssa_controller

enum server_side_agent packet_unit_info::ssa_controller

◆ stay

bool packet_unit_info::stay

◆ tile

int packet_unit_info::tile

◆ transported

bool packet_unit_info::transported

◆ transported_by16

int packet_unit_info::transported_by16

Definition at line 660 of file packets_gen.h.

Referenced by package_unit(), send_packet_unit_info_101(), and unpackage_unit().

◆ transported_by32

int packet_unit_info::transported_by32

Definition at line 661 of file packets_gen.h.

Referenced by package_unit(), send_packet_unit_info_100(), and unpackage_unit().

◆ type

Unit_type_id packet_unit_info::type

◆ upkeep

int packet_unit_info::upkeep[O_LAST]

◆ veteran

int packet_unit_info::veteran