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

#include <connection.h>

Data Fields

int id
 
int sock
 
bool used
 
bool established
 
struct packet_header packet_header
 
char * closing_reason
 
bool observer
 
struct playerplaying
 
struct socket_packet_bufferbuffer
 
struct socket_packet_buffersend_buffer
 
struct timerlast_write
 
double ping_time
 
struct conn_list * self
 
char username [MAX_LEN_NAME]
 
char addr [MAX_LEN_ADDR]
 
char capability [MAX_LEN_CAPSTR]
 
enum cmdlevel access_level
 
enum gui_type client_gui
 
void(* notify_of_writable_data )(struct connection *pc, bool data_available_and_socket_full)
 
union { 
 
   struct { 
 
      int   last_request_id_used 
 
      int   last_processed_request_id_seen 
 
      int   request_id_of_currently_handled_packet 
 
   }   client 
 
   struct { 
 
      int   currently_processed_request_id 
 
      int   last_request_id_seen 
 
      struct timer_list *   ping_timers 
 
      int   auth_tries 
 
      time_t   auth_settime 
 
      enum auth_status   status 
 
      char   password [MAX_LEN_PASSWORD
 
      char   ipaddr [MAX_LEN_ADDR
 
      enum cmdlevel   granted_access_level 
 
      struct conn_pattern_list *   ignore_list 
 
      bool   is_closing 
 
      struct { 
 
         bool   status 
 
         struct player *   playing 
 
         bool   observer 
 
      }   delegation 
 
   }   server 
 
};  
 
void(* incoming_packet_notify )(struct connection *pc, int packet_type, int size)
 
void(* outgoing_packet_notify )(struct connection *pc, int packet_type, int size, int request_id)
 
struct { 
 
   struct genhash **   sent 
 
   struct genhash **   received 
 
   const struct packet_handlers *   handlers 
 
phs 
 
struct { 
 
   int   frozen_level 
 
   struct byte_vector   queue 
 
compression 
 
struct { 
 
   int   bytes_send 
 
statistics 
 

Detailed Description

Definition at line 141 of file connection.h.

Field Documentation

◆ [union]

union { ... } connection

◆ access_level

enum cmdlevel connection::access_level

◆ addr

char connection::addr[MAX_LEN_ADDR]

◆ auth_settime

time_t connection::auth_settime

◆ auth_tries

int connection::auth_tries

Definition at line 213 of file connection.h.

Referenced by auth_handle_reply(), auth_process_status(), and server_make_connection().

◆ buffer

struct socket_packet_buffer* connection::buffer

◆ bytes_send

int connection::bytes_send

Definition at line 278 of file connection.h.

Referenced by connection_common_init(), connection_send_data(), and send_packet_data().

◆ capability

char connection::capability[MAX_LEN_CAPSTR]

◆ [struct]

struct { ... } connection::client

◆ client_gui

enum gui_type connection::client_gui

◆ closing_reason

char* connection::closing_reason

◆ [struct]

struct { ... } connection::compression

◆ currently_processed_request_id

int connection::currently_processed_request_id

◆ [struct]

struct { ... } connection::delegation

◆ established

bool connection::established

◆ frozen_level

int connection::frozen_level

◆ granted_access_level

enum cmdlevel connection::granted_access_level

Definition at line 229 of file connection.h.

Referenced by conn_set_access(), restore_access_level(), and server_make_connection().

◆ handlers

const struct packet_handlers* connection::handlers

Definition at line 267 of file connection.h.

Referenced by conn_set_capability(), get_packet_from_connection_raw(), init_packet_hashes(), send_packet_achievement_info(), send_packet_authentication_reply(), send_packet_authentication_req(), send_packet_begin_turn(), send_packet_calendar_info(), send_packet_chat_msg(), send_packet_chat_msg_req(), send_packet_city_buy(), send_packet_city_change(), send_packet_city_change_specialist(), send_packet_city_info(), send_packet_city_make_specialist(), send_packet_city_make_worker(), send_packet_city_name_suggestion_info(), send_packet_city_name_suggestion_req(), send_packet_city_nationalities(), send_packet_city_options_req(), send_packet_city_rally_point(), send_packet_city_refresh(), send_packet_city_remove(), send_packet_city_rename(), send_packet_city_sabotage_list(), send_packet_city_sell(), send_packet_city_short_info(), send_packet_city_worklist(), send_packet_client_heartbeat(), send_packet_client_info(), send_packet_conn_info(), send_packet_conn_ping(), send_packet_conn_ping_info(), send_packet_conn_pong(), send_packet_connect_msg(), send_packet_diplomacy_accept_treaty(), send_packet_diplomacy_accept_treaty_req(), send_packet_diplomacy_cancel_meeting(), send_packet_diplomacy_cancel_meeting_req(), send_packet_diplomacy_cancel_pact(), send_packet_diplomacy_create_clause(), send_packet_diplomacy_create_clause_req(), send_packet_diplomacy_init_meeting(), send_packet_diplomacy_init_meeting_req(), send_packet_diplomacy_remove_clause(), send_packet_diplomacy_remove_clause_req(), send_packet_early_chat_msg(), send_packet_edit_check_tiles(), send_packet_edit_city(), send_packet_edit_city_create(), send_packet_edit_city_remove(), send_packet_edit_game(), send_packet_edit_mode(), send_packet_edit_object_created(), send_packet_edit_player(), send_packet_edit_player_create(), send_packet_edit_player_remove(), send_packet_edit_player_vision(), send_packet_edit_recalculate_borders(), send_packet_edit_scenario_desc(), send_packet_edit_startpos(), send_packet_edit_startpos_full(), send_packet_edit_tile(), send_packet_edit_tile_extra(), send_packet_edit_tile_terrain(), send_packet_edit_toggle_fogofwar(), send_packet_edit_unit(), send_packet_edit_unit_create(), send_packet_edit_unit_remove(), send_packet_edit_unit_remove_by_id(), send_packet_end_phase(), send_packet_end_turn(), send_packet_endgame_player(), send_packet_endgame_report(), send_packet_freeze_client(), send_packet_game_info(), send_packet_game_load(), send_packet_investigate_finished(), send_packet_investigate_started(), send_packet_map_info(), send_packet_nation_availability(), send_packet_nation_select_req(), send_packet_new_year(), send_packet_nuke_tile_info(), send_packet_page_msg(), send_packet_page_msg_part(), send_packet_play_music(), send_packet_player_attribute_block(), send_packet_player_attribute_chunk(), send_packet_player_change_government(), send_packet_player_diplstate(), send_packet_player_info(), send_packet_player_multiplier(), send_packet_player_phase_done(), send_packet_player_place_infra(), send_packet_player_rates(), send_packet_player_ready(), send_packet_player_remove(), send_packet_player_research(), send_packet_player_tech_goal(), send_packet_processing_finished(), send_packet_processing_started(), send_packet_report_req(), send_packet_research_info(), send_packet_ruleset_achievement(), send_packet_ruleset_action(), send_packet_ruleset_action_auto(), send_packet_ruleset_action_enabler(), send_packet_ruleset_base(), send_packet_ruleset_building(), send_packet_ruleset_choices(), send_packet_ruleset_city(), send_packet_ruleset_clause(), send_packet_ruleset_control(), send_packet_ruleset_description_part(), send_packet_ruleset_disaster(), send_packet_ruleset_effect(), send_packet_ruleset_extra(), send_packet_ruleset_extra_flag(), send_packet_ruleset_game(), send_packet_ruleset_goods(), send_packet_ruleset_government(), send_packet_ruleset_government_ruler_title(), send_packet_ruleset_multiplier(), send_packet_ruleset_music(), send_packet_ruleset_nation(), send_packet_ruleset_nation_groups(), send_packet_ruleset_nation_sets(), send_packet_ruleset_resource(), send_packet_ruleset_road(), send_packet_ruleset_specialist(), send_packet_ruleset_style(), send_packet_ruleset_summary(), send_packet_ruleset_tech(), send_packet_ruleset_tech_class(), send_packet_ruleset_tech_flag(), send_packet_ruleset_terrain(), send_packet_ruleset_terrain_control(), send_packet_ruleset_terrain_flag(), send_packet_ruleset_trade(), send_packet_ruleset_unit(), send_packet_ruleset_unit_bonus(), send_packet_ruleset_unit_class(), send_packet_ruleset_unit_class_flag(), send_packet_ruleset_unit_flag(), send_packet_rulesets_ready(), send_packet_save_scenario(), send_packet_scenario_description(), send_packet_scenario_info(), send_packet_server_info(), send_packet_server_join_reply(), send_packet_server_join_req(), send_packet_server_setting_bitwise(), send_packet_server_setting_bool(), send_packet_server_setting_const(), send_packet_server_setting_control(), send_packet_server_setting_enum(), send_packet_server_setting_int(), send_packet_server_setting_str(), send_packet_server_shutdown(), send_packet_set_topology(), send_packet_single_want_hack_reply(), send_packet_single_want_hack_req(), send_packet_spaceship_info(), send_packet_spaceship_launch(), send_packet_spaceship_place(), send_packet_start_phase(), send_packet_team_name_info(), send_packet_thaw_client(), send_packet_tile_info(), send_packet_timeout_info(), send_packet_trade_route_info(), send_packet_unit_action_answer(), send_packet_unit_action_query(), send_packet_unit_actions(), send_packet_unit_change_activity(), send_packet_unit_combat_info(), send_packet_unit_do_action(), send_packet_unit_get_actions(), send_packet_unit_info(), send_packet_unit_orders(), send_packet_unit_remove(), send_packet_unit_server_side_agent_set(), send_packet_unit_short_info(), send_packet_unit_sscs_set(), send_packet_unit_type_upgrade(), send_packet_unknown_research(), send_packet_vote_new(), send_packet_vote_remove(), send_packet_vote_resolve(), send_packet_vote_submit(), send_packet_vote_update(), send_packet_web_city_info_addition(), send_packet_web_player_info_addition(), send_packet_web_ruleset_unit_addition(), and send_packet_worker_task().

◆ id

int connection::id

◆ ignore_list

struct conn_pattern_list* connection::ignore_list

◆ incoming_packet_notify

void(* connection::incoming_packet_notify) (struct connection *pc, int packet_type, int size)

◆ ipaddr

char connection::ipaddr[MAX_LEN_ADDR]

◆ is_closing

bool connection::is_closing

◆ last_processed_request_id_seen

int connection::last_processed_request_id_seen

◆ last_request_id_seen

int connection::last_request_id_seen

Definition at line 206 of file connection.h.

Referenced by incoming_client_packets(), and server_make_connection().

◆ last_request_id_used

int connection::last_request_id_used

◆ last_write

struct timer* connection::last_write

◆ notify_of_writable_data

void(* connection::notify_of_writable_data) (struct connection *pc, bool data_available_and_socket_full)

◆ observer

bool connection::observer

◆ outgoing_packet_notify

void(* connection::outgoing_packet_notify) (struct connection *pc, int packet_type, int size, int request_id)

Definition at line 261 of file connection.h.

Referenced by make_connection(), send_packet_data(), and server_make_connection().

◆ packet_header

struct packet_header connection::packet_header

◆ password

char connection::password[MAX_LEN_PASSWORD]

Definition at line 223 of file connection.h.

Referenced by establish_new_connection(), and reject_new_connection().

◆ [struct]

struct { ... } connection::phs

Referenced by conn_reset_delta_state(), conn_set_capability(), free_packet_hashes(), get_packet_from_connection_raw(), init_packet_hashes(), receive_packet_achievement_info_100(), receive_packet_authentication_reply_100(), receive_packet_authentication_req_100(), receive_packet_calendar_info_100(), receive_packet_chat_msg_100(), receive_packet_chat_msg_req_100(), receive_packet_city_buy_100(), receive_packet_city_buy_101(), receive_packet_city_change_100(), receive_packet_city_change_101(), receive_packet_city_change_specialist_100(), receive_packet_city_change_specialist_101(), receive_packet_city_info_100(), receive_packet_city_info_101(), receive_packet_city_info_102(), receive_packet_city_info_103(), receive_packet_city_make_specialist_100(), receive_packet_city_make_specialist_101(), receive_packet_city_make_worker_100(), receive_packet_city_make_worker_101(), receive_packet_city_name_suggestion_info_100(), receive_packet_city_name_suggestion_info_101(), receive_packet_city_name_suggestion_req_100(), receive_packet_city_name_suggestion_req_101(), receive_packet_city_nationalities_100(), receive_packet_city_nationalities_101(), receive_packet_city_options_req_100(), receive_packet_city_options_req_101(), receive_packet_city_rally_point_100(), receive_packet_city_rally_point_101(), receive_packet_city_refresh_100(), receive_packet_city_refresh_101(), receive_packet_city_remove_100(), receive_packet_city_remove_101(), receive_packet_city_rename_100(), receive_packet_city_rename_101(), receive_packet_city_sabotage_list_100(), receive_packet_city_sabotage_list_101(), receive_packet_city_sell_100(), receive_packet_city_sell_101(), receive_packet_city_short_info_100(), receive_packet_city_short_info_101(), receive_packet_city_worklist_100(), receive_packet_city_worklist_101(), receive_packet_client_info_100(), receive_packet_conn_info_100(), receive_packet_conn_ping_info_100(), receive_packet_connect_msg_100(), receive_packet_diplomacy_accept_treaty_100(), receive_packet_diplomacy_accept_treaty_req_100(), receive_packet_diplomacy_cancel_meeting_100(), receive_packet_diplomacy_cancel_meeting_req_100(), receive_packet_diplomacy_cancel_pact_100(), receive_packet_diplomacy_create_clause_100(), receive_packet_diplomacy_create_clause_req_100(), receive_packet_diplomacy_init_meeting_100(), receive_packet_diplomacy_init_meeting_req_100(), receive_packet_diplomacy_remove_clause_100(), receive_packet_diplomacy_remove_clause_req_100(), receive_packet_early_chat_msg_100(), receive_packet_edit_city_100(), receive_packet_edit_city_101(), receive_packet_edit_city_create_100(), receive_packet_edit_city_remove_100(), receive_packet_edit_city_remove_101(), receive_packet_edit_game_100(), receive_packet_edit_mode_100(), receive_packet_edit_object_created_100(), receive_packet_edit_player_100(), receive_packet_edit_player_create_100(), receive_packet_edit_player_remove_100(), receive_packet_edit_player_vision_100(), receive_packet_edit_scenario_desc_100(), receive_packet_edit_tile_100(), receive_packet_edit_tile_extra_100(), receive_packet_edit_tile_terrain_100(), receive_packet_edit_toggle_fogofwar_100(), receive_packet_edit_unit_100(), receive_packet_edit_unit_101(), receive_packet_edit_unit_create_100(), receive_packet_edit_unit_remove_100(), receive_packet_edit_unit_remove_by_id_100(), receive_packet_edit_unit_remove_by_id_101(), receive_packet_game_info_100(), receive_packet_game_load_100(), receive_packet_investigate_finished_100(), receive_packet_investigate_finished_101(), receive_packet_investigate_started_100(), receive_packet_investigate_started_101(), receive_packet_map_info_100(), receive_packet_nation_availability_100(), receive_packet_nation_select_req_100(), receive_packet_new_year_100(), receive_packet_nuke_tile_info_100(), receive_packet_page_msg_100(), receive_packet_page_msg_part_100(), receive_packet_play_music_100(), receive_packet_player_attribute_chunk_100(), receive_packet_player_change_government_100(), receive_packet_player_diplstate_100(), receive_packet_player_info_100(), receive_packet_player_multiplier_100(), receive_packet_player_phase_done_100(), receive_packet_player_place_infra_100(), receive_packet_player_rates_100(), receive_packet_player_ready_100(), receive_packet_player_remove_100(), receive_packet_player_research_100(), receive_packet_player_tech_goal_100(), receive_packet_report_req_100(), receive_packet_research_info_100(), receive_packet_ruleset_achievement_100(), receive_packet_ruleset_action_100(), receive_packet_ruleset_action_auto_100(), receive_packet_ruleset_action_enabler_100(), receive_packet_ruleset_base_100(), receive_packet_ruleset_building_100(), receive_packet_ruleset_choices_100(), receive_packet_ruleset_city_100(), receive_packet_ruleset_clause_100(), receive_packet_ruleset_control_100(), receive_packet_ruleset_control_101(), receive_packet_ruleset_description_part_100(), receive_packet_ruleset_disaster_100(), receive_packet_ruleset_effect_100(), receive_packet_ruleset_extra_100(), receive_packet_ruleset_extra_flag_100(), receive_packet_ruleset_game_100(), receive_packet_ruleset_goods_100(), receive_packet_ruleset_government_100(), receive_packet_ruleset_government_ruler_title_100(), receive_packet_ruleset_multiplier_100(), receive_packet_ruleset_music_100(), receive_packet_ruleset_nation_100(), receive_packet_ruleset_nation_groups_100(), receive_packet_ruleset_nation_sets_100(), receive_packet_ruleset_resource_100(), receive_packet_ruleset_road_100(), receive_packet_ruleset_specialist_100(), receive_packet_ruleset_style_100(), receive_packet_ruleset_summary_100(), receive_packet_ruleset_tech_100(), receive_packet_ruleset_tech_class_100(), receive_packet_ruleset_tech_flag_100(), receive_packet_ruleset_terrain_100(), receive_packet_ruleset_terrain_control_100(), receive_packet_ruleset_terrain_flag_100(), receive_packet_ruleset_trade_100(), receive_packet_ruleset_unit_100(), receive_packet_ruleset_unit_bonus_100(), receive_packet_ruleset_unit_class_100(), receive_packet_ruleset_unit_class_flag_100(), receive_packet_ruleset_unit_flag_100(), receive_packet_save_scenario_100(), receive_packet_scenario_description_100(), receive_packet_scenario_info_100(), receive_packet_server_info_100(), receive_packet_server_setting_bitwise_100(), receive_packet_server_setting_bool_100(), receive_packet_server_setting_const_100(), receive_packet_server_setting_control_100(), receive_packet_server_setting_enum_100(), receive_packet_server_setting_int_100(), receive_packet_server_setting_str_100(), receive_packet_set_topology_100(), receive_packet_single_want_hack_reply_100(), receive_packet_single_want_hack_req_100(), receive_packet_spaceship_info_100(), receive_packet_spaceship_place_100(), receive_packet_start_phase_100(), receive_packet_team_name_info_100(), receive_packet_tile_info_100(), receive_packet_tile_info_101(), receive_packet_timeout_info_100(), receive_packet_trade_route_info_100(), receive_packet_trade_route_info_101(), receive_packet_unit_action_answer_100(), receive_packet_unit_action_answer_101(), receive_packet_unit_action_query_100(), receive_packet_unit_action_query_101(), receive_packet_unit_actions_100(), receive_packet_unit_actions_101(), receive_packet_unit_change_activity_100(), receive_packet_unit_change_activity_101(), receive_packet_unit_combat_info_100(), receive_packet_unit_combat_info_101(), receive_packet_unit_do_action_100(), receive_packet_unit_do_action_101(), receive_packet_unit_get_actions_100(), receive_packet_unit_get_actions_101(), receive_packet_unit_info_100(), receive_packet_unit_info_101(), receive_packet_unit_orders_100(), receive_packet_unit_orders_101(), receive_packet_unit_remove_100(), receive_packet_unit_remove_101(), receive_packet_unit_server_side_agent_set_100(), receive_packet_unit_server_side_agent_set_101(), receive_packet_unit_short_info_100(), receive_packet_unit_short_info_101(), receive_packet_unit_sscs_set_100(), receive_packet_unit_sscs_set_101(), receive_packet_unit_type_upgrade_100(), receive_packet_unknown_research_100(), receive_packet_vote_new_100(), receive_packet_vote_remove_100(), receive_packet_vote_resolve_100(), receive_packet_vote_update_100(), receive_packet_web_city_info_addition_100(), receive_packet_web_city_info_addition_101(), receive_packet_web_player_info_addition_100(), receive_packet_web_ruleset_unit_addition_100(), receive_packet_worker_task_100(), receive_packet_worker_task_101(), send_packet_achievement_info(), send_packet_achievement_info_100(), send_packet_authentication_reply(), send_packet_authentication_reply_100(), send_packet_authentication_req(), send_packet_authentication_req_100(), send_packet_begin_turn(), send_packet_calendar_info(), send_packet_calendar_info_100(), send_packet_chat_msg(), send_packet_chat_msg_100(), send_packet_chat_msg_req(), send_packet_chat_msg_req_100(), send_packet_city_buy(), send_packet_city_buy_100(), send_packet_city_buy_101(), send_packet_city_change(), send_packet_city_change_100(), send_packet_city_change_101(), send_packet_city_change_specialist(), send_packet_city_change_specialist_100(), send_packet_city_change_specialist_101(), send_packet_city_info(), send_packet_city_info_100(), send_packet_city_info_101(), send_packet_city_info_102(), send_packet_city_info_103(), send_packet_city_make_specialist(), send_packet_city_make_specialist_100(), send_packet_city_make_specialist_101(), send_packet_city_make_worker(), send_packet_city_make_worker_100(), send_packet_city_make_worker_101(), send_packet_city_name_suggestion_info(), send_packet_city_name_suggestion_info_100(), send_packet_city_name_suggestion_info_101(), send_packet_city_name_suggestion_req(), send_packet_city_name_suggestion_req_100(), send_packet_city_name_suggestion_req_101(), send_packet_city_nationalities(), send_packet_city_nationalities_100(), send_packet_city_nationalities_101(), send_packet_city_options_req(), send_packet_city_options_req_100(), send_packet_city_options_req_101(), send_packet_city_rally_point(), send_packet_city_rally_point_100(), send_packet_city_rally_point_101(), send_packet_city_refresh(), send_packet_city_refresh_100(), send_packet_city_refresh_101(), send_packet_city_remove(), send_packet_city_remove_100(), send_packet_city_remove_101(), send_packet_city_rename(), send_packet_city_rename_100(), send_packet_city_rename_101(), send_packet_city_sabotage_list(), send_packet_city_sabotage_list_100(), send_packet_city_sabotage_list_101(), send_packet_city_sell(), send_packet_city_sell_100(), send_packet_city_sell_101(), send_packet_city_short_info(), send_packet_city_short_info_100(), send_packet_city_short_info_101(), send_packet_city_worklist(), send_packet_city_worklist_100(), send_packet_city_worklist_101(), send_packet_client_heartbeat(), send_packet_client_info(), send_packet_client_info_100(), send_packet_conn_info(), send_packet_conn_info_100(), send_packet_conn_ping(), send_packet_conn_ping_info(), send_packet_conn_ping_info_100(), send_packet_conn_pong(), send_packet_connect_msg(), send_packet_connect_msg_100(), send_packet_diplomacy_accept_treaty(), send_packet_diplomacy_accept_treaty_100(), send_packet_diplomacy_accept_treaty_req(), send_packet_diplomacy_accept_treaty_req_100(), send_packet_diplomacy_cancel_meeting(), send_packet_diplomacy_cancel_meeting_100(), send_packet_diplomacy_cancel_meeting_req(), send_packet_diplomacy_cancel_meeting_req_100(), send_packet_diplomacy_cancel_pact(), send_packet_diplomacy_cancel_pact_100(), send_packet_diplomacy_create_clause(), send_packet_diplomacy_create_clause_100(), send_packet_diplomacy_create_clause_req(), send_packet_diplomacy_create_clause_req_100(), send_packet_diplomacy_init_meeting(), send_packet_diplomacy_init_meeting_100(), send_packet_diplomacy_init_meeting_req(), send_packet_diplomacy_init_meeting_req_100(), send_packet_diplomacy_remove_clause(), send_packet_diplomacy_remove_clause_100(), send_packet_diplomacy_remove_clause_req(), send_packet_diplomacy_remove_clause_req_100(), send_packet_early_chat_msg(), send_packet_early_chat_msg_100(), send_packet_edit_check_tiles(), send_packet_edit_city(), send_packet_edit_city_100(), send_packet_edit_city_101(), send_packet_edit_city_create(), send_packet_edit_city_create_100(), send_packet_edit_city_remove(), send_packet_edit_city_remove_100(), send_packet_edit_city_remove_101(), send_packet_edit_game(), send_packet_edit_game_100(), send_packet_edit_mode(), send_packet_edit_mode_100(), send_packet_edit_object_created(), send_packet_edit_object_created_100(), send_packet_edit_player(), send_packet_edit_player_100(), send_packet_edit_player_create(), send_packet_edit_player_create_100(), send_packet_edit_player_remove(), send_packet_edit_player_remove_100(), send_packet_edit_player_vision(), send_packet_edit_player_vision_100(), send_packet_edit_recalculate_borders(), send_packet_edit_scenario_desc(), send_packet_edit_scenario_desc_100(), send_packet_edit_startpos(), send_packet_edit_startpos_full(), send_packet_edit_tile(), send_packet_edit_tile_100(), send_packet_edit_tile_extra(), send_packet_edit_tile_extra_100(), send_packet_edit_tile_terrain(), send_packet_edit_tile_terrain_100(), send_packet_edit_toggle_fogofwar(), send_packet_edit_toggle_fogofwar_100(), send_packet_edit_unit(), send_packet_edit_unit_100(), send_packet_edit_unit_101(), send_packet_edit_unit_create(), send_packet_edit_unit_create_100(), send_packet_edit_unit_remove(), send_packet_edit_unit_remove_100(), send_packet_edit_unit_remove_by_id(), send_packet_edit_unit_remove_by_id_100(), send_packet_edit_unit_remove_by_id_101(), send_packet_end_phase(), send_packet_end_turn(), send_packet_endgame_player(), send_packet_endgame_report(), send_packet_freeze_client(), send_packet_game_info(), send_packet_game_info_100(), send_packet_game_load(), send_packet_game_load_100(), send_packet_investigate_finished(), send_packet_investigate_finished_100(), send_packet_investigate_finished_101(), send_packet_investigate_started(), send_packet_investigate_started_100(), send_packet_investigate_started_101(), send_packet_map_info(), send_packet_map_info_100(), send_packet_nation_availability(), send_packet_nation_availability_100(), send_packet_nation_select_req(), send_packet_nation_select_req_100(), send_packet_new_year(), send_packet_new_year_100(), send_packet_nuke_tile_info(), send_packet_nuke_tile_info_100(), send_packet_page_msg(), send_packet_page_msg_100(), send_packet_page_msg_part(), send_packet_page_msg_part_100(), send_packet_play_music(), send_packet_play_music_100(), send_packet_player_attribute_block(), send_packet_player_attribute_chunk(), send_packet_player_attribute_chunk_100(), send_packet_player_change_government(), send_packet_player_change_government_100(), send_packet_player_diplstate(), send_packet_player_diplstate_100(), send_packet_player_info(), send_packet_player_info_100(), send_packet_player_multiplier(), send_packet_player_multiplier_100(), send_packet_player_phase_done(), send_packet_player_phase_done_100(), send_packet_player_place_infra(), send_packet_player_place_infra_100(), send_packet_player_rates(), send_packet_player_rates_100(), send_packet_player_ready(), send_packet_player_ready_100(), send_packet_player_remove(), send_packet_player_remove_100(), send_packet_player_research(), send_packet_player_research_100(), send_packet_player_tech_goal(), send_packet_player_tech_goal_100(), send_packet_processing_finished(), send_packet_processing_started(), send_packet_report_req(), send_packet_report_req_100(), send_packet_research_info(), send_packet_research_info_100(), send_packet_ruleset_achievement(), send_packet_ruleset_achievement_100(), send_packet_ruleset_action(), send_packet_ruleset_action_100(), send_packet_ruleset_action_auto(), send_packet_ruleset_action_auto_100(), send_packet_ruleset_action_enabler(), send_packet_ruleset_action_enabler_100(), send_packet_ruleset_base(), send_packet_ruleset_base_100(), send_packet_ruleset_building(), send_packet_ruleset_building_100(), send_packet_ruleset_choices(), send_packet_ruleset_choices_100(), send_packet_ruleset_city(), send_packet_ruleset_city_100(), send_packet_ruleset_clause(), send_packet_ruleset_clause_100(), send_packet_ruleset_control(), send_packet_ruleset_control_100(), send_packet_ruleset_control_101(), send_packet_ruleset_description_part(), send_packet_ruleset_description_part_100(), send_packet_ruleset_disaster(), send_packet_ruleset_disaster_100(), send_packet_ruleset_effect(), send_packet_ruleset_effect_100(), send_packet_ruleset_extra(), send_packet_ruleset_extra_100(), send_packet_ruleset_extra_flag(), send_packet_ruleset_extra_flag_100(), send_packet_ruleset_game(), send_packet_ruleset_game_100(), send_packet_ruleset_goods(), send_packet_ruleset_goods_100(), send_packet_ruleset_government(), send_packet_ruleset_government_100(), send_packet_ruleset_government_ruler_title(), send_packet_ruleset_government_ruler_title_100(), send_packet_ruleset_multiplier(), send_packet_ruleset_multiplier_100(), send_packet_ruleset_music(), send_packet_ruleset_music_100(), send_packet_ruleset_nation(), send_packet_ruleset_nation_100(), send_packet_ruleset_nation_groups(), send_packet_ruleset_nation_groups_100(), send_packet_ruleset_nation_sets(), send_packet_ruleset_nation_sets_100(), send_packet_ruleset_resource(), send_packet_ruleset_resource_100(), send_packet_ruleset_road(), send_packet_ruleset_road_100(), send_packet_ruleset_specialist(), send_packet_ruleset_specialist_100(), send_packet_ruleset_style(), send_packet_ruleset_style_100(), send_packet_ruleset_summary(), send_packet_ruleset_summary_100(), send_packet_ruleset_tech(), send_packet_ruleset_tech_100(), send_packet_ruleset_tech_class(), send_packet_ruleset_tech_class_100(), send_packet_ruleset_tech_flag(), send_packet_ruleset_tech_flag_100(), send_packet_ruleset_terrain(), send_packet_ruleset_terrain_100(), send_packet_ruleset_terrain_control(), send_packet_ruleset_terrain_control_100(), send_packet_ruleset_terrain_flag(), send_packet_ruleset_terrain_flag_100(), send_packet_ruleset_trade(), send_packet_ruleset_trade_100(), send_packet_ruleset_unit(), send_packet_ruleset_unit_100(), send_packet_ruleset_unit_bonus(), send_packet_ruleset_unit_bonus_100(), send_packet_ruleset_unit_class(), send_packet_ruleset_unit_class_100(), send_packet_ruleset_unit_class_flag(), send_packet_ruleset_unit_class_flag_100(), send_packet_ruleset_unit_flag(), send_packet_ruleset_unit_flag_100(), send_packet_rulesets_ready(), send_packet_save_scenario(), send_packet_save_scenario_100(), send_packet_scenario_description(), send_packet_scenario_description_100(), send_packet_scenario_info(), send_packet_scenario_info_100(), send_packet_server_info(), send_packet_server_info_100(), send_packet_server_join_reply(), send_packet_server_join_req(), send_packet_server_setting_bitwise(), send_packet_server_setting_bitwise_100(), send_packet_server_setting_bool(), send_packet_server_setting_bool_100(), send_packet_server_setting_const(), send_packet_server_setting_const_100(), send_packet_server_setting_control(), send_packet_server_setting_control_100(), send_packet_server_setting_enum(), send_packet_server_setting_enum_100(), send_packet_server_setting_int(), send_packet_server_setting_int_100(), send_packet_server_setting_str(), send_packet_server_setting_str_100(), send_packet_server_shutdown(), send_packet_set_topology(), send_packet_set_topology_100(), send_packet_single_want_hack_reply(), send_packet_single_want_hack_reply_100(), send_packet_single_want_hack_req(), send_packet_single_want_hack_req_100(), send_packet_spaceship_info(), send_packet_spaceship_info_100(), send_packet_spaceship_launch(), send_packet_spaceship_place(), send_packet_spaceship_place_100(), send_packet_start_phase(), send_packet_start_phase_100(), send_packet_team_name_info(), send_packet_team_name_info_100(), send_packet_thaw_client(), send_packet_tile_info(), send_packet_tile_info_100(), send_packet_tile_info_101(), send_packet_timeout_info(), send_packet_timeout_info_100(), send_packet_trade_route_info(), send_packet_trade_route_info_100(), send_packet_trade_route_info_101(), send_packet_unit_action_answer(), send_packet_unit_action_answer_100(), send_packet_unit_action_answer_101(), send_packet_unit_action_query(), send_packet_unit_action_query_100(), send_packet_unit_action_query_101(), send_packet_unit_actions(), send_packet_unit_actions_100(), send_packet_unit_actions_101(), send_packet_unit_change_activity(), send_packet_unit_change_activity_100(), send_packet_unit_change_activity_101(), send_packet_unit_combat_info(), send_packet_unit_combat_info_100(), send_packet_unit_combat_info_101(), send_packet_unit_do_action(), send_packet_unit_do_action_100(), send_packet_unit_do_action_101(), send_packet_unit_get_actions(), send_packet_unit_get_actions_100(), send_packet_unit_get_actions_101(), send_packet_unit_info(), send_packet_unit_info_100(), send_packet_unit_info_101(), send_packet_unit_orders(), send_packet_unit_orders_100(), send_packet_unit_orders_101(), send_packet_unit_remove(), send_packet_unit_remove_100(), send_packet_unit_remove_101(), send_packet_unit_server_side_agent_set(), send_packet_unit_server_side_agent_set_100(), send_packet_unit_server_side_agent_set_101(), send_packet_unit_short_info(), send_packet_unit_short_info_100(), send_packet_unit_short_info_101(), send_packet_unit_sscs_set(), send_packet_unit_sscs_set_100(), send_packet_unit_sscs_set_101(), send_packet_unit_type_upgrade(), send_packet_unit_type_upgrade_100(), send_packet_unknown_research(), send_packet_unknown_research_100(), send_packet_vote_new(), send_packet_vote_new_100(), send_packet_vote_remove(), send_packet_vote_remove_100(), send_packet_vote_resolve(), send_packet_vote_resolve_100(), send_packet_vote_submit(), send_packet_vote_update(), send_packet_vote_update_100(), send_packet_web_city_info_addition(), send_packet_web_city_info_addition_100(), send_packet_web_city_info_addition_101(), send_packet_web_player_info_addition(), send_packet_web_player_info_addition_100(), send_packet_web_ruleset_unit_addition(), send_packet_web_ruleset_unit_addition_100(), send_packet_worker_task(), send_packet_worker_task_100(), and send_packet_worker_task_101().

◆ ping_time

double connection::ping_time

◆ ping_timers

struct timer_list* connection::ping_timers

◆ playing

struct player* connection::playing

Definition at line 156 of file connection.h.

Referenced by activate_all_units(), trade_generator::add_all_cities(), adv_unit_sentry_idle_callback(), append_cma_to_menu_item(), apply_taxrates_callback(), away_command(), blink_turn_done_button(), button_up_on_map(), can_client_change_view(), can_client_control(), can_conn_edit(), can_conn_edit_players_nation(), can_end_turn(), can_intel_with_player(), can_meet_with_player(), center_on_something(), chat_msg_to_allies(), chat_msg_to_player(), check_city(), city_can_buy(), city_dialog_update_present_units(), city_dialog_update_prev_next(), city_dialog_update_supported_units(), city_dlg_callback(), city_packet_common(), client_change_all(), client_game_free(), client_game_init(), client_government_sprite(), client_has_player(), client_is_global_observer(), client_player_maps_reset(), client_player_number(), client_remove_cli_conn(), client_research_sprite(), client_tile_get_known(), clipboard_copy_production(), clipboard_paste_production(), close_connection(), cma_put_city_under_agent(), cmp_love(), col_diplstate(), col_embassy(), col_love(), col_vision(), collect_buildable_targets(), collect_currently_building_targets(), common_taxrates_callback(), conn_controls_player(), conn_description(), conn_get_player(), conn_is_global_observer(), connection_attach_real(), connection_delegate_restore(), connection_delegate_take(), connection_detach(), control_mouse_cursor(), create_conn_menu(), create_governor_menu(), units_select::create_pixmap(), create_present_supported_units_widget_list(), create_races_dialog(), create_rates_dialog(), create_tech_info(), cut_client_connection(), define_tiles_within_rectangle(), delegate_command(), detach_command(), diplomacy_dialog_city_callback(), diplstate_value(), disband_all_units(), do_map_click(), do_move_unit(), do_unit_patrol_to(), economy_report_dialog_popup(), enable_city_dlg_widgets(), establish_new_connection(), fc_double_edge::fc_double_edge(), fill_grid_sprite_array(), find_best_focus_candidate(), find_city_or_settler_near_tile(), find_diplomacy_dialog(), find_visible_unit(), form_chat_name(), city_widget::gen_production_labels(), get_act_sel_action_custom_text(), get_bulb_tooltip(), get_city_mapview_name_and_growth(), get_diplomacy_dialog(), get_economy_report_data(), get_economy_report_units_data(), get_government_tooltip(), get_info_label_text(), get_info_label_text_popup(), get_tile_output_text(), get_tooltip(), get_tooltip_improvement(), get_tooltip_unit(), get_turn_done_button_state(), get_units_report_data(), get_units_upgrade_info(), handle_chat_msg_req(), handle_city_info(), handle_conn_info(), handle_diplomacy_init_meeting(), handle_event(), handle_new_year(), handle_player_info(), handle_player_remove(), handle_report_req(), handle_start_phase(), handle_tile_info(), handle_unit_action_answer(), handle_unit_action_query(), handle_unit_combat_info(), handle_unit_get_actions(), handle_unit_packet_common(), handle_unit_short_info(), handle_worker_task(), has_player_unit_type(), have_diplomat_info_about(), help_update_extra(), help_update_goods(), help_update_government(), help_update_improvement(), help_update_specialist(), help_update_tech(), help_update_terrain(), help_update_unit_type(), help_update_wonder(), horiz_taxrate_callback(), infra_placement_set_tile(), diplo_dlg::init(), key_unit_assign_battlegroup(), key_unit_select_battlegroup(), main_key_down_handler(), mapimg_client_define(), menu_item_callback(), menu_item_callback(), meswin_dialog_update(), meswin_popup_city(), research_diagram::mouseMoveEvent(), multiairlift(), races_dialog::nation_selected(), nationset_changed(), city_dialog::next_city(), next_prev_city_dlg_callback(), notify_goto::notify_goto(), num_present_units_in_city(), num_supported_units_in_city(), observe_command(), ok_sell_impr_callback(), overview_tile_color(), package_conn_info(), popup_advanced_terrain_dialog(), popup_airlift_dialog(), popup_diplomacy_dialog(), popup_diplomacy_dialog(), popup_goto_airlift_dialog(), popup_goto_dialog(), popup_government_dialog(), popup_impr_info(), popup_info_text(), popup_notify_goto_dialog(), popup_players_nations_dialog(), popup_rates_dialog(), popup_revolution_dialog(), popup_revolution_dialog(), popup_sabotage_dialog(), popup_sell_impr_callback(), popup_unit_info(), popup_upgrade_unit_callback(), popup_worklist_editor(), present_unit_callback(), city_dialog::prev_city(), quickselect(), races_dialog::races_dialog(), races_update_pickable(), rates_set_values(), real_activeunits_report_dialog_update(), real_city_dialog_popup(), real_city_dialog_refresh(), real_city_report_dialog_update(), real_economy_report_dialog_update(), real_info_city_report_dialog_update(), real_menus_update(), real_units_report_dialog_update(), rebuild_imprm_list(), redraw_army_city_dialog(), redraw_supported_units_city_dialog(), redraw_unit_info_label(), refresh_spaceship_dialog(), refresh_worklist(), report_achievements(), report_demographics(), report_spaceship_callback(), report_spaceship_callback(), request_unit_unload(), restore_access_level(), science_dialog_text(), score_tooltip(), select_nation_callback(), select_unit_image_callback(), sell_all_improvements(), sell_callback(), send_delegation_info(), send_diplomatic_meetings(), server_make_connection(), server_packet_input(), set_government_choice(), set_indicator_icons(), help_widget::set_topic_building(), help_widget::set_topic_extra(), help_widget::set_topic_goods(), help_widget::set_topic_government(), help_widget::set_topic_specialist(), help_widget::set_topic_tech(), help_widget::set_topic_terrain(), help_widget::set_topic_unit(), show_full_citybar(), show_new_turn_info(), side_right_click_diplomacy(), mr_menu::slot_spaceship(), spy_steal_popup_shared(), src_selection_callback(), start_command(), start_style_music(), switch_city_callback(), take_command(), target_drag_data_received(), target_drag_data_received(), tax_rates_dialog::tax_rates_dialog(), toggle_tile_hilite(), unit_focus_add(), unit_focus_advance(), unit_focus_remove(), unit_focus_set(), unit_focus_update(), unit_select_dialog_popup(), units_orders_city_dlg_callback(), gov_menu::update(), mr_menu::update_airlift_menu(), city_dialog::update_buy_button(), update_clauses_list(), city_dialog::update_disabled(), fc_sidewidget::update_final_pixmap(), fc_client::update_info_label(), update_info_label(), update_infra_dialog(), update_players_menu(), city_dialog::update_prod_buttons(), ss_report::update_report(), plr_report::update_report(), fc_client::update_sidebar_tooltips(), city_dialog::update_units(), upgrade_canvas_clipboard(), and wakeup_sentried_units().

◆ queue

struct byte_vector connection::queue

◆ received

struct genhash** connection::received

Definition at line 266 of file connection.h.

Referenced by conn_reset_delta_state(), free_packet_hashes(), init_packet_hashes(), receive_packet_achievement_info_100(), receive_packet_authentication_reply_100(), receive_packet_authentication_req_100(), receive_packet_calendar_info_100(), receive_packet_chat_msg_100(), receive_packet_chat_msg_req_100(), receive_packet_city_buy_100(), receive_packet_city_buy_101(), receive_packet_city_change_100(), receive_packet_city_change_101(), receive_packet_city_change_specialist_100(), receive_packet_city_change_specialist_101(), receive_packet_city_info_100(), receive_packet_city_info_101(), receive_packet_city_info_102(), receive_packet_city_info_103(), receive_packet_city_make_specialist_100(), receive_packet_city_make_specialist_101(), receive_packet_city_make_worker_100(), receive_packet_city_make_worker_101(), receive_packet_city_name_suggestion_info_100(), receive_packet_city_name_suggestion_info_101(), receive_packet_city_name_suggestion_req_100(), receive_packet_city_name_suggestion_req_101(), receive_packet_city_nationalities_100(), receive_packet_city_nationalities_101(), receive_packet_city_options_req_100(), receive_packet_city_options_req_101(), receive_packet_city_rally_point_100(), receive_packet_city_rally_point_101(), receive_packet_city_refresh_100(), receive_packet_city_refresh_101(), receive_packet_city_remove_100(), receive_packet_city_remove_101(), receive_packet_city_rename_100(), receive_packet_city_rename_101(), receive_packet_city_sabotage_list_100(), receive_packet_city_sabotage_list_101(), receive_packet_city_sell_100(), receive_packet_city_sell_101(), receive_packet_city_short_info_100(), receive_packet_city_short_info_101(), receive_packet_city_worklist_100(), receive_packet_city_worklist_101(), receive_packet_client_info_100(), receive_packet_conn_info_100(), receive_packet_conn_ping_info_100(), receive_packet_connect_msg_100(), receive_packet_diplomacy_accept_treaty_100(), receive_packet_diplomacy_accept_treaty_req_100(), receive_packet_diplomacy_cancel_meeting_100(), receive_packet_diplomacy_cancel_meeting_req_100(), receive_packet_diplomacy_cancel_pact_100(), receive_packet_diplomacy_create_clause_100(), receive_packet_diplomacy_create_clause_req_100(), receive_packet_diplomacy_init_meeting_100(), receive_packet_diplomacy_init_meeting_req_100(), receive_packet_diplomacy_remove_clause_100(), receive_packet_diplomacy_remove_clause_req_100(), receive_packet_early_chat_msg_100(), receive_packet_edit_city_100(), receive_packet_edit_city_101(), receive_packet_edit_city_create_100(), receive_packet_edit_city_remove_100(), receive_packet_edit_city_remove_101(), receive_packet_edit_game_100(), receive_packet_edit_mode_100(), receive_packet_edit_object_created_100(), receive_packet_edit_player_100(), receive_packet_edit_player_create_100(), receive_packet_edit_player_remove_100(), receive_packet_edit_player_vision_100(), receive_packet_edit_scenario_desc_100(), receive_packet_edit_tile_100(), receive_packet_edit_tile_extra_100(), receive_packet_edit_tile_terrain_100(), receive_packet_edit_toggle_fogofwar_100(), receive_packet_edit_unit_100(), receive_packet_edit_unit_101(), receive_packet_edit_unit_create_100(), receive_packet_edit_unit_remove_100(), receive_packet_edit_unit_remove_by_id_100(), receive_packet_edit_unit_remove_by_id_101(), receive_packet_game_info_100(), receive_packet_game_load_100(), receive_packet_investigate_finished_100(), receive_packet_investigate_finished_101(), receive_packet_investigate_started_100(), receive_packet_investigate_started_101(), receive_packet_map_info_100(), receive_packet_nation_availability_100(), receive_packet_nation_select_req_100(), receive_packet_new_year_100(), receive_packet_nuke_tile_info_100(), receive_packet_page_msg_100(), receive_packet_page_msg_part_100(), receive_packet_play_music_100(), receive_packet_player_attribute_chunk_100(), receive_packet_player_change_government_100(), receive_packet_player_diplstate_100(), receive_packet_player_info_100(), receive_packet_player_multiplier_100(), receive_packet_player_phase_done_100(), receive_packet_player_place_infra_100(), receive_packet_player_rates_100(), receive_packet_player_ready_100(), receive_packet_player_remove_100(), receive_packet_player_research_100(), receive_packet_player_tech_goal_100(), receive_packet_report_req_100(), receive_packet_research_info_100(), receive_packet_ruleset_achievement_100(), receive_packet_ruleset_action_100(), receive_packet_ruleset_action_auto_100(), receive_packet_ruleset_action_enabler_100(), receive_packet_ruleset_base_100(), receive_packet_ruleset_building_100(), receive_packet_ruleset_choices_100(), receive_packet_ruleset_city_100(), receive_packet_ruleset_clause_100(), receive_packet_ruleset_control_100(), receive_packet_ruleset_control_101(), receive_packet_ruleset_description_part_100(), receive_packet_ruleset_disaster_100(), receive_packet_ruleset_effect_100(), receive_packet_ruleset_extra_100(), receive_packet_ruleset_extra_flag_100(), receive_packet_ruleset_game_100(), receive_packet_ruleset_goods_100(), receive_packet_ruleset_government_100(), receive_packet_ruleset_government_ruler_title_100(), receive_packet_ruleset_multiplier_100(), receive_packet_ruleset_music_100(), receive_packet_ruleset_nation_100(), receive_packet_ruleset_nation_groups_100(), receive_packet_ruleset_nation_sets_100(), receive_packet_ruleset_resource_100(), receive_packet_ruleset_road_100(), receive_packet_ruleset_specialist_100(), receive_packet_ruleset_style_100(), receive_packet_ruleset_summary_100(), receive_packet_ruleset_tech_100(), receive_packet_ruleset_tech_class_100(), receive_packet_ruleset_tech_flag_100(), receive_packet_ruleset_terrain_100(), receive_packet_ruleset_terrain_control_100(), receive_packet_ruleset_terrain_flag_100(), receive_packet_ruleset_trade_100(), receive_packet_ruleset_unit_100(), receive_packet_ruleset_unit_bonus_100(), receive_packet_ruleset_unit_class_100(), receive_packet_ruleset_unit_class_flag_100(), receive_packet_ruleset_unit_flag_100(), receive_packet_save_scenario_100(), receive_packet_scenario_description_100(), receive_packet_scenario_info_100(), receive_packet_server_info_100(), receive_packet_server_setting_bitwise_100(), receive_packet_server_setting_bool_100(), receive_packet_server_setting_const_100(), receive_packet_server_setting_control_100(), receive_packet_server_setting_enum_100(), receive_packet_server_setting_int_100(), receive_packet_server_setting_str_100(), receive_packet_set_topology_100(), receive_packet_single_want_hack_reply_100(), receive_packet_single_want_hack_req_100(), receive_packet_spaceship_info_100(), receive_packet_spaceship_place_100(), receive_packet_start_phase_100(), receive_packet_team_name_info_100(), receive_packet_tile_info_100(), receive_packet_tile_info_101(), receive_packet_timeout_info_100(), receive_packet_trade_route_info_100(), receive_packet_trade_route_info_101(), receive_packet_unit_action_answer_100(), receive_packet_unit_action_answer_101(), receive_packet_unit_action_query_100(), receive_packet_unit_action_query_101(), receive_packet_unit_actions_100(), receive_packet_unit_actions_101(), receive_packet_unit_change_activity_100(), receive_packet_unit_change_activity_101(), receive_packet_unit_combat_info_100(), receive_packet_unit_combat_info_101(), receive_packet_unit_do_action_100(), receive_packet_unit_do_action_101(), receive_packet_unit_get_actions_100(), receive_packet_unit_get_actions_101(), receive_packet_unit_info_100(), receive_packet_unit_info_101(), receive_packet_unit_orders_100(), receive_packet_unit_orders_101(), receive_packet_unit_remove_100(), receive_packet_unit_remove_101(), receive_packet_unit_server_side_agent_set_100(), receive_packet_unit_server_side_agent_set_101(), receive_packet_unit_short_info_100(), receive_packet_unit_short_info_101(), receive_packet_unit_sscs_set_100(), receive_packet_unit_sscs_set_101(), receive_packet_unit_type_upgrade_100(), receive_packet_unknown_research_100(), receive_packet_vote_new_100(), receive_packet_vote_remove_100(), receive_packet_vote_resolve_100(), receive_packet_vote_update_100(), receive_packet_web_city_info_addition_100(), receive_packet_web_city_info_addition_101(), receive_packet_web_player_info_addition_100(), receive_packet_web_ruleset_unit_addition_100(), receive_packet_worker_task_100(), and receive_packet_worker_task_101().

◆ request_id_of_currently_handled_packet

int connection::request_id_of_currently_handled_packet

◆ self

struct conn_list* connection::self

◆ send_buffer

struct socket_packet_buffer* connection::send_buffer

◆ sent

struct genhash** connection::sent

Definition at line 265 of file connection.h.

Referenced by conn_reset_delta_state(), free_packet_hashes(), init_packet_hashes(), send_packet_achievement_info_100(), send_packet_authentication_reply_100(), send_packet_authentication_req_100(), send_packet_calendar_info_100(), send_packet_chat_msg_100(), send_packet_chat_msg_req_100(), send_packet_city_buy_100(), send_packet_city_buy_101(), send_packet_city_change_100(), send_packet_city_change_101(), send_packet_city_change_specialist_100(), send_packet_city_change_specialist_101(), send_packet_city_info_100(), send_packet_city_info_101(), send_packet_city_info_102(), send_packet_city_info_103(), send_packet_city_make_specialist_100(), send_packet_city_make_specialist_101(), send_packet_city_make_worker_100(), send_packet_city_make_worker_101(), send_packet_city_name_suggestion_info_100(), send_packet_city_name_suggestion_info_101(), send_packet_city_name_suggestion_req_100(), send_packet_city_name_suggestion_req_101(), send_packet_city_nationalities_100(), send_packet_city_nationalities_101(), send_packet_city_options_req_100(), send_packet_city_options_req_101(), send_packet_city_rally_point_100(), send_packet_city_rally_point_101(), send_packet_city_refresh_100(), send_packet_city_refresh_101(), send_packet_city_remove_100(), send_packet_city_remove_101(), send_packet_city_rename_100(), send_packet_city_rename_101(), send_packet_city_sabotage_list_100(), send_packet_city_sabotage_list_101(), send_packet_city_sell_100(), send_packet_city_sell_101(), send_packet_city_short_info_100(), send_packet_city_short_info_101(), send_packet_city_worklist_100(), send_packet_city_worklist_101(), send_packet_client_info_100(), send_packet_conn_info_100(), send_packet_conn_ping_info_100(), send_packet_connect_msg_100(), send_packet_diplomacy_accept_treaty_100(), send_packet_diplomacy_accept_treaty_req_100(), send_packet_diplomacy_cancel_meeting_100(), send_packet_diplomacy_cancel_meeting_req_100(), send_packet_diplomacy_cancel_pact_100(), send_packet_diplomacy_create_clause_100(), send_packet_diplomacy_create_clause_req_100(), send_packet_diplomacy_init_meeting_100(), send_packet_diplomacy_init_meeting_req_100(), send_packet_diplomacy_remove_clause_100(), send_packet_diplomacy_remove_clause_req_100(), send_packet_early_chat_msg_100(), send_packet_edit_city_100(), send_packet_edit_city_101(), send_packet_edit_city_create_100(), send_packet_edit_city_remove_100(), send_packet_edit_city_remove_101(), send_packet_edit_game_100(), send_packet_edit_mode_100(), send_packet_edit_object_created_100(), send_packet_edit_player_100(), send_packet_edit_player_create_100(), send_packet_edit_player_remove_100(), send_packet_edit_player_vision_100(), send_packet_edit_scenario_desc_100(), send_packet_edit_tile_100(), send_packet_edit_tile_extra_100(), send_packet_edit_tile_terrain_100(), send_packet_edit_toggle_fogofwar_100(), send_packet_edit_unit_100(), send_packet_edit_unit_101(), send_packet_edit_unit_create_100(), send_packet_edit_unit_remove_100(), send_packet_edit_unit_remove_by_id_100(), send_packet_edit_unit_remove_by_id_101(), send_packet_game_info_100(), send_packet_game_load_100(), send_packet_investigate_finished_100(), send_packet_investigate_finished_101(), send_packet_investigate_started_100(), send_packet_investigate_started_101(), send_packet_map_info_100(), send_packet_nation_availability_100(), send_packet_nation_select_req_100(), send_packet_new_year_100(), send_packet_nuke_tile_info_100(), send_packet_page_msg_100(), send_packet_page_msg_part_100(), send_packet_play_music_100(), send_packet_player_attribute_chunk_100(), send_packet_player_change_government_100(), send_packet_player_diplstate_100(), send_packet_player_info_100(), send_packet_player_multiplier_100(), send_packet_player_phase_done_100(), send_packet_player_place_infra_100(), send_packet_player_rates_100(), send_packet_player_ready_100(), send_packet_player_remove_100(), send_packet_player_research_100(), send_packet_player_tech_goal_100(), send_packet_report_req_100(), send_packet_research_info_100(), send_packet_ruleset_achievement_100(), send_packet_ruleset_action_100(), send_packet_ruleset_action_auto_100(), send_packet_ruleset_action_enabler_100(), send_packet_ruleset_base_100(), send_packet_ruleset_building_100(), send_packet_ruleset_choices_100(), send_packet_ruleset_city_100(), send_packet_ruleset_clause_100(), send_packet_ruleset_control_100(), send_packet_ruleset_control_101(), send_packet_ruleset_description_part_100(), send_packet_ruleset_disaster_100(), send_packet_ruleset_effect_100(), send_packet_ruleset_extra_100(), send_packet_ruleset_extra_flag_100(), send_packet_ruleset_game_100(), send_packet_ruleset_goods_100(), send_packet_ruleset_government_100(), send_packet_ruleset_government_ruler_title_100(), send_packet_ruleset_multiplier_100(), send_packet_ruleset_music_100(), send_packet_ruleset_nation_100(), send_packet_ruleset_nation_groups_100(), send_packet_ruleset_nation_sets_100(), send_packet_ruleset_resource_100(), send_packet_ruleset_road_100(), send_packet_ruleset_specialist_100(), send_packet_ruleset_style_100(), send_packet_ruleset_summary_100(), send_packet_ruleset_tech_100(), send_packet_ruleset_tech_class_100(), send_packet_ruleset_tech_flag_100(), send_packet_ruleset_terrain_100(), send_packet_ruleset_terrain_control_100(), send_packet_ruleset_terrain_flag_100(), send_packet_ruleset_trade_100(), send_packet_ruleset_unit_100(), send_packet_ruleset_unit_bonus_100(), send_packet_ruleset_unit_class_100(), send_packet_ruleset_unit_class_flag_100(), send_packet_ruleset_unit_flag_100(), send_packet_save_scenario_100(), send_packet_scenario_description_100(), send_packet_scenario_info_100(), send_packet_server_info_100(), send_packet_server_setting_bitwise_100(), send_packet_server_setting_bool_100(), send_packet_server_setting_const_100(), send_packet_server_setting_control_100(), send_packet_server_setting_enum_100(), send_packet_server_setting_int_100(), send_packet_server_setting_str_100(), send_packet_set_topology_100(), send_packet_single_want_hack_reply_100(), send_packet_single_want_hack_req_100(), send_packet_spaceship_info_100(), send_packet_spaceship_place_100(), send_packet_start_phase_100(), send_packet_team_name_info_100(), send_packet_tile_info_100(), send_packet_tile_info_101(), send_packet_timeout_info_100(), send_packet_trade_route_info_100(), send_packet_trade_route_info_101(), send_packet_unit_action_answer_100(), send_packet_unit_action_answer_101(), send_packet_unit_action_query_100(), send_packet_unit_action_query_101(), send_packet_unit_actions_100(), send_packet_unit_actions_101(), send_packet_unit_change_activity_100(), send_packet_unit_change_activity_101(), send_packet_unit_combat_info_100(), send_packet_unit_combat_info_101(), send_packet_unit_do_action_100(), send_packet_unit_do_action_101(), send_packet_unit_get_actions_100(), send_packet_unit_get_actions_101(), send_packet_unit_info_100(), send_packet_unit_info_101(), send_packet_unit_orders_100(), send_packet_unit_orders_101(), send_packet_unit_remove_100(), send_packet_unit_remove_101(), send_packet_unit_server_side_agent_set_100(), send_packet_unit_server_side_agent_set_101(), send_packet_unit_short_info_100(), send_packet_unit_short_info_101(), send_packet_unit_sscs_set_100(), send_packet_unit_sscs_set_101(), send_packet_unit_type_upgrade_100(), send_packet_unknown_research_100(), send_packet_vote_new_100(), send_packet_vote_remove_100(), send_packet_vote_resolve_100(), send_packet_vote_update_100(), send_packet_web_city_info_addition_100(), send_packet_web_city_info_addition_101(), send_packet_web_player_info_addition_100(), send_packet_web_ruleset_unit_addition_100(), send_packet_worker_task_100(), and send_packet_worker_task_101().

◆ [struct]

struct { ... } connection::server

◆ sock

int connection::sock

◆ [struct]

struct { ... } connection::statistics

◆ status [1/2]

enum auth_status connection::status

◆ status [2/2]

bool connection::status

Definition at line 241 of file connection.h.

◆ used

bool connection::used

Definition at line 144 of file connection.h.

Referenced by add_connection_data(), mr_menu::back_to_menu(), client_kill_server(), client_start_server(), close_connections_and_socket(), conn_compression_flush(), conn_compression_thaw(), conn_is_valid(), connection_common_close(), connection_common_init(), connection_do_buffer(), connection_do_unbuffer(), connection_send_data(), disconnect_from_server(), finish_processing_request(), flush_connection_send_buffer_all(), flush_connection_send_buffer_packets(), flush_packets(), get_packet_from_connection_raw(), init_connections(), input_from_server(), leave_local_game_response(), main_callback(), package_conn_info(), popup_quit_dialog(), quit_dialog_response(), read_from_connection(), really_close_connections(), remove_player_command(), send_packet_achievement_info(), send_packet_authentication_reply(), send_packet_authentication_req(), send_packet_begin_turn(), send_packet_calendar_info(), send_packet_chat_msg(), send_packet_chat_msg_req(), send_packet_city_buy(), send_packet_city_change(), send_packet_city_change_specialist(), send_packet_city_info(), send_packet_city_make_specialist(), send_packet_city_make_worker(), send_packet_city_name_suggestion_info(), send_packet_city_name_suggestion_req(), send_packet_city_nationalities(), send_packet_city_options_req(), send_packet_city_rally_point(), send_packet_city_refresh(), send_packet_city_remove(), send_packet_city_rename(), send_packet_city_sabotage_list(), send_packet_city_sell(), send_packet_city_short_info(), send_packet_city_worklist(), send_packet_client_heartbeat(), send_packet_client_info(), send_packet_conn_info(), send_packet_conn_ping(), send_packet_conn_ping_info(), send_packet_conn_pong(), send_packet_connect_msg(), send_packet_diplomacy_accept_treaty(), send_packet_diplomacy_accept_treaty_req(), send_packet_diplomacy_cancel_meeting(), send_packet_diplomacy_cancel_meeting_req(), send_packet_diplomacy_cancel_pact(), send_packet_diplomacy_create_clause(), send_packet_diplomacy_create_clause_req(), send_packet_diplomacy_init_meeting(), send_packet_diplomacy_init_meeting_req(), send_packet_diplomacy_remove_clause(), send_packet_diplomacy_remove_clause_req(), send_packet_early_chat_msg(), send_packet_edit_check_tiles(), send_packet_edit_city(), send_packet_edit_city_create(), send_packet_edit_city_remove(), send_packet_edit_game(), send_packet_edit_mode(), send_packet_edit_object_created(), send_packet_edit_player(), send_packet_edit_player_create(), send_packet_edit_player_remove(), send_packet_edit_player_vision(), send_packet_edit_recalculate_borders(), send_packet_edit_scenario_desc(), send_packet_edit_startpos(), send_packet_edit_startpos_full(), send_packet_edit_tile(), send_packet_edit_tile_extra(), send_packet_edit_tile_terrain(), send_packet_edit_toggle_fogofwar(), send_packet_edit_unit(), send_packet_edit_unit_create(), send_packet_edit_unit_remove(), send_packet_edit_unit_remove_by_id(), send_packet_end_phase(), send_packet_end_turn(), send_packet_endgame_player(), send_packet_endgame_report(), send_packet_freeze_client(), send_packet_game_info(), send_packet_game_load(), send_packet_investigate_finished(), send_packet_investigate_started(), send_packet_map_info(), send_packet_nation_availability(), send_packet_nation_select_req(), send_packet_new_year(), send_packet_nuke_tile_info(), send_packet_page_msg(), send_packet_page_msg_part(), send_packet_play_music(), send_packet_player_attribute_block(), send_packet_player_attribute_chunk(), send_packet_player_change_government(), send_packet_player_diplstate(), send_packet_player_info(), send_packet_player_multiplier(), send_packet_player_phase_done(), send_packet_player_place_infra(), send_packet_player_rates(), send_packet_player_ready(), send_packet_player_remove(), send_packet_player_research(), send_packet_player_tech_goal(), send_packet_processing_finished(), send_packet_processing_started(), send_packet_report_req(), send_packet_research_info(), send_packet_ruleset_achievement(), send_packet_ruleset_action(), send_packet_ruleset_action_auto(), send_packet_ruleset_action_enabler(), send_packet_ruleset_base(), send_packet_ruleset_building(), send_packet_ruleset_choices(), send_packet_ruleset_city(), send_packet_ruleset_clause(), send_packet_ruleset_control(), send_packet_ruleset_description_part(), send_packet_ruleset_disaster(), send_packet_ruleset_effect(), send_packet_ruleset_extra(), send_packet_ruleset_extra_flag(), send_packet_ruleset_game(), send_packet_ruleset_goods(), send_packet_ruleset_government(), send_packet_ruleset_government_ruler_title(), send_packet_ruleset_multiplier(), send_packet_ruleset_music(), send_packet_ruleset_nation(), send_packet_ruleset_nation_groups(), send_packet_ruleset_nation_sets(), send_packet_ruleset_resource(), send_packet_ruleset_road(), send_packet_ruleset_specialist(), send_packet_ruleset_style(), send_packet_ruleset_summary(), send_packet_ruleset_tech(), send_packet_ruleset_tech_class(), send_packet_ruleset_tech_flag(), send_packet_ruleset_terrain(), send_packet_ruleset_terrain_control(), send_packet_ruleset_terrain_flag(), send_packet_ruleset_trade(), send_packet_ruleset_unit(), send_packet_ruleset_unit_bonus(), send_packet_ruleset_unit_class(), send_packet_ruleset_unit_class_flag(), send_packet_ruleset_unit_flag(), send_packet_rulesets_ready(), send_packet_save_scenario(), send_packet_scenario_description(), send_packet_scenario_info(), send_packet_server_info(), send_packet_server_join_reply(), send_packet_server_join_req(), send_packet_server_setting_bitwise(), send_packet_server_setting_bool(), send_packet_server_setting_const(), send_packet_server_setting_control(), send_packet_server_setting_enum(), send_packet_server_setting_int(), send_packet_server_setting_str(), send_packet_server_shutdown(), send_packet_set_topology(), send_packet_single_want_hack_reply(), send_packet_single_want_hack_req(), send_packet_spaceship_info(), send_packet_spaceship_launch(), send_packet_spaceship_place(), send_packet_start_phase(), send_packet_team_name_info(), send_packet_thaw_client(), send_packet_tile_info(), send_packet_timeout_info(), send_packet_trade_route_info(), send_packet_unit_action_answer(), send_packet_unit_action_query(), send_packet_unit_actions(), send_packet_unit_change_activity(), send_packet_unit_combat_info(), send_packet_unit_do_action(), send_packet_unit_get_actions(), send_packet_unit_info(), send_packet_unit_orders(), send_packet_unit_remove(), send_packet_unit_server_side_agent_set(), send_packet_unit_short_info(), send_packet_unit_sscs_set(), send_packet_unit_type_upgrade(), send_packet_unknown_research(), send_packet_vote_new(), send_packet_vote_remove(), send_packet_vote_resolve(), send_packet_vote_submit(), send_packet_vote_update(), send_packet_web_city_info_addition(), send_packet_web_player_info_addition(), send_packet_web_ruleset_unit_addition(), send_packet_worker_task(), server_make_connection(), server_sniff_all_input(), fc_client::slot_disconnect(), fc_client::switch_page(), and try_to_connect().

◆ username

char connection::username[MAX_LEN_NAME]