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

#include <packets_gen.h>

Data Fields

int id
 
int owner
 
int nationality
 
int tile
 
enum direction8 facing
 
int homecity
 
int upkeep [O_LAST]
 
int veteran
 
enum server_side_agent ssa_controller
 
bool paradropped
 
bool occupied
 
bool transported
 
bool done_moving
 
bool stay
 
int birth_turn
 
int current_form_turn
 
Unit_type_id type
 
int transported_by
 
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 638 of file packets_gen.h.

Field Documentation

◆ action_decision_tile

int packet_unit_info::action_decision_tile

Definition at line 676 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ action_decision_want

enum action_decision packet_unit_info::action_decision_want

Definition at line 675 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ activity

enum unit_activity packet_unit_info::activity

Definition at line 664 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ activity_count

int packet_unit_info::activity_count

Definition at line 661 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ activity_tgt

int packet_unit_info::activity_tgt

Definition at line 665 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ battlegroup

int packet_unit_info::battlegroup

Definition at line 668 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ birth_turn

int packet_unit_info::birth_turn

Definition at line 653 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ carrying

int packet_unit_info::carrying

Definition at line 657 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ changed_from

enum unit_activity packet_unit_info::changed_from

Definition at line 666 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ changed_from_count

int packet_unit_info::changed_from_count

Definition at line 662 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ changed_from_tgt

int packet_unit_info::changed_from_tgt

Definition at line 667 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ current_form_turn

int packet_unit_info::current_form_turn

Definition at line 654 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ done_moving

bool packet_unit_info::done_moving

Definition at line 651 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ facing

enum direction8 packet_unit_info::facing

Definition at line 643 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ fuel

int packet_unit_info::fuel

Definition at line 660 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ goto_tile

int packet_unit_info::goto_tile

Definition at line 663 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ has_orders

bool packet_unit_info::has_orders

Definition at line 669 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ homecity

int packet_unit_info::homecity

Definition at line 644 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ hp

int packet_unit_info::hp

Definition at line 659 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ id

int packet_unit_info::id

Definition at line 639 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ movesleft

int packet_unit_info::movesleft

Definition at line 658 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ nationality

int packet_unit_info::nationality

Definition at line 641 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ occupied

bool packet_unit_info::occupied

Definition at line 649 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ orders

struct unit_order packet_unit_info::orders[MAX_LEN_ROUTE]

Definition at line 674 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ orders_index

int packet_unit_info::orders_index

Definition at line 671 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ orders_length

int packet_unit_info::orders_length

Definition at line 670 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ orders_repeat

bool packet_unit_info::orders_repeat

Definition at line 672 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ orders_vigilant

bool packet_unit_info::orders_vigilant

Definition at line 673 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ owner

int packet_unit_info::owner

Definition at line 640 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ paradropped

bool packet_unit_info::paradropped

Definition at line 648 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ ssa_controller

enum server_side_agent packet_unit_info::ssa_controller

Definition at line 647 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ stay

bool packet_unit_info::stay

Definition at line 652 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ tile

int packet_unit_info::tile

Definition at line 642 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ transported

bool packet_unit_info::transported

Definition at line 650 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ transported_by

int packet_unit_info::transported_by

Definition at line 656 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ type

Unit_type_id packet_unit_info::type

Definition at line 655 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ upkeep

int packet_unit_info::upkeep[O_LAST]

Definition at line 645 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().

◆ veteran

int packet_unit_info::veteran

Definition at line 646 of file packets_gen.h.

Referenced by package_unit(), and unpackage_unit().