Freeciv-3.3: packet_edit_unit Struct Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Data Fields
packet_edit_unit Struct Reference

`#include <packets_gen.h>`

## Data Fields

int | id
Unit_type_id | utype
int | owner
int | homecity
int | moves_left
int | hp
int | veteran
int | fuel
enum unit_activity | activity
int | activity_count
Base_type_id | activity_base
bool | debug
bool | moved
bool | paradropped
bool | done_moving
int | transported_by
bool | stay

## Detailed Description

Definition at line 1716 of file packets_gen.h.

## Field Documentation

## ◆ activity

enum unit_activity packet_edit_unit::activity

Definition at line 1725 of file packets_gen.h.

## ◆ activity_base

Base_type_id packet_edit_unit::activity_base

Definition at line 1727 of file packets_gen.h.

## ◆ activity_count

int packet_edit_unit::activity_count

Definition at line 1726 of file packets_gen.h.

## ◆ debug

bool packet_edit_unit::debug

Definition at line 1728 of file packets_gen.h.

## ◆ done_moving

bool packet_edit_unit::done_moving

Definition at line 1731 of file packets_gen.h.

Referenced by handle_edit_unit(), objbind_pack_current_values(), and objbind_pack_modified_value().

## ◆ fuel

int packet_edit_unit::fuel

Definition at line 1724 of file packets_gen.h.

Referenced by handle_edit_unit(), objbind_pack_current_values(), and objbind_pack_modified_value().

## ◆ homecity

int packet_edit_unit::homecity

Definition at line 1720 of file packets_gen.h.

## ◆ hp

int packet_edit_unit::hp

Definition at line 1722 of file packets_gen.h.

Referenced by handle_edit_unit(), objbind_pack_current_values(), and objbind_pack_modified_value().

## ◆ id

int packet_edit_unit::id

Definition at line 1717 of file packets_gen.h.

Referenced by handle_edit_unit(), and objbind_pack_current_values().

## ◆ moved

bool packet_edit_unit::moved

Definition at line 1729 of file packets_gen.h.

Referenced by handle_edit_unit(), objbind_pack_current_values(), and objbind_pack_modified_value().

## ◆ moves_left

int packet_edit_unit::moves_left

Definition at line 1721 of file packets_gen.h.

Referenced by handle_edit_unit(), objbind_pack_current_values(), and objbind_pack_modified_value().

## ◆ owner

int packet_edit_unit::owner

Definition at line 1719 of file packets_gen.h.

## ◆ paradropped

bool packet_edit_unit::paradropped

Definition at line 1730 of file packets_gen.h.

## ◆ stay

bool packet_edit_unit::stay

Definition at line 1733 of file packets_gen.h.

Referenced by handle_edit_unit(), objbind_pack_current_values(), and objbind_pack_modified_value().

## ◆ transported_by

int packet_edit_unit::transported_by

Definition at line 1732 of file packets_gen.h.

## ◆ utype

Unit_type_id packet_edit_unit::utype

Definition at line 1718 of file packets_gen.h.

## ◆ veteran

int packet_edit_unit::veteran

Definition at line 1723 of file packets_gen.h.

Referenced by handle_edit_unit(), objbind_pack_current_values(), and objbind_pack_modified_value().