Freeciv-3.1
|
#include <connection.h>
Definition at line 141 of file connection.h.
union { ... } connection |
enum cmdlevel connection::access_level |
Definition at line 182 of file connection.h.
Referenced by can_conn_edit_players_nation(), can_conn_enable_editing(), close_connection(), conn_get_access(), conn_set_access(), create_conn_menu(), cut_lagging_connection(), detach_command(), first_timeout_callback(), firstlevel_command(), handle_conn_info(), handle_observer_ready(), handle_save_scenario(), is_allowed_city_name(), is_restricted(), manual_command(), may_use(), observe_command(), package_conn_info(), real_conn_list_dialog_update(), remove_player_command(), server_make_connection(), server_player_name_is_allowed(), set_cmdlevel(), setting_is_changeable(), setting_is_visible(), show_players(), fc_client::start_page_menu(), take_command(), and timeout_callback().
char connection::addr[MAX_LEN_ADDR] |
Definition at line 170 of file connection.h.
Referenced by conn_description(), conn_pattern_match(), establish_new_connection(), handle_conn_info(), handle_login_request(), package_conn_info(), server_make_connection(), and show_conn_popup().
time_t connection::auth_settime |
Definition at line 218 of file connection.h.
Referenced by auth_handle_reply(), auth_process_status(), auth_user(), and server_make_connection().
int connection::auth_tries |
Definition at line 213 of file connection.h.
Referenced by auth_handle_reply(), auth_process_status(), and server_make_connection().
struct socket_packet_buffer* connection::buffer |
Definition at line 158 of file connection.h.
Referenced by connection_common_close(), connection_common_init(), get_packet_from_connection_raw(), handle_conn_info(), read_from_connection(), and server_sniff_all_input().
int connection::bytes_send |
Definition at line 278 of file connection.h.
Referenced by connection_common_init(), connection_send_data(), and send_packet_data().
char connection::capability[MAX_LEN_CAPSTR] |
Definition at line 176 of file connection.h.
Referenced by conn_set_capability(), handle_city_buy(), handle_city_change(), handle_city_change_specialist(), handle_city_info(), handle_city_make_specialist(), handle_city_make_worker(), handle_city_name_suggestion_info(), handle_city_name_suggestion_req(), handle_city_nationalities(), handle_city_options_req(), handle_city_rally_point(), handle_city_rally_point(), handle_city_refresh(), handle_city_remove(), handle_city_rename(), handle_city_sabotage_list(), handle_city_sell(), handle_city_short_info(), handle_city_worklist(), handle_conn_info(), handle_edit_city(), handle_edit_city_remove(), handle_edit_unit(), handle_edit_unit_remove_by_id(), handle_investigate_started(), handle_ruleset_control(), handle_server_join_reply(), handle_tile_info(), handle_trade_route_info(), handle_unit_action_answer(), handle_unit_action_query(), handle_unit_actions(), handle_unit_change_activity(), handle_unit_combat_info(), handle_unit_do_action(), handle_unit_get_actions(), handle_unit_orders(), handle_unit_remove(), handle_unit_server_side_agent_set(), handle_unit_short_info(), handle_unit_sscs_set(), handle_worker_task(), handle_worker_task(), package_conn_info(), packet_handlers_fill_capability(), server_make_connection(), unpackage_short_unit(), and unpackage_unit().
struct { ... } connection::client |
enum gui_type connection::client_gui |
Definition at line 184 of file connection.h.
Referenced by api_methods_player_controlling_gui(), close_connection(), and handle_client_info().
char* connection::closing_reason |
Definition at line 147 of file connection.h.
Referenced by client_conn_close_callback(), conn_description(), connection_close(), connection_common_close(), and connection_common_init().
struct { ... } connection::compression |
int connection::currently_processed_request_id |
Definition at line 203 of file connection.h.
Referenced by finish_processing_request(), server_make_connection(), and start_processing_request().
struct { ... } connection::delegation |
Referenced by connection_delegate_restore(), connection_delegate_take(), delegate_command(), and establish_new_connection().
bool connection::established |
Definition at line 145 of file connection.h.
Referenced by back_callback(), client_is_observer(), client_packet_input(), conn_description(), connection_common_close(), connection_common_init(), establish_new_connection(), handle_conn_info(), handle_login_request(), handle_server_join_reply(), option_dialog_new(), package_conn_info(), popup_conn_list_dialog(), real_menus_init(), real_menus_update(), server_packet_input(), and tilespec_reread_callback().
int connection::frozen_level |
Definition at line 272 of file connection.h.
Referenced by conn_compression_freeze(), conn_compression_frozen(), conn_compression_thaw(), and connection_common_init().
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().
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().
int connection::id |
Definition at line 142 of file connection.h.
Referenced by cancel_connection_votes(), cancelvote_command(), conn_list_select_conn(), connection_vote(), create_conn_menu(), establish_new_connection(), finish_processing_request(), get_challenge_filename(), get_vote_by_caller(), handle_conn_info(), handle_conn_ping_info(), handle_event(), handle_server_join_reply(), model_get_conn_iter(), object_put(), package_conn_info(), package_event_full(), request_unit_unload_all(), server_make_connection(), start_processing_request(), vote_new(), and vote_would_pass_immediately().
struct conn_pattern_list* connection::ignore_list |
Definition at line 232 of file connection.h.
Referenced by close_connection(), ignore_command(), server_make_connection(), show_ignore(), and unignore_command().
void(* connection::incoming_packet_notify) (struct connection *pc, int packet_type, int size) |
Definition at line 253 of file connection.h.
Referenced by get_packet_from_connection_raw(), make_connection(), and server_make_connection().
char connection::ipaddr[MAX_LEN_ADDR] |
Definition at line 226 of file connection.h.
Referenced by auth_get_ipaddr(), conn_is_kicked(), conn_pattern_match(), kick_command(), and server_make_connection().
bool connection::is_closing |
Definition at line 236 of file connection.h.
Referenced by add_connection_data(), conn_is_valid(), connection_do_unbuffer(), connection_send_data(), cut_lagging_connection(), flush_packets(), lost_connection_to_client(), really_close_connections(), server_conn_close_callback(), server_make_connection(), server_sniff_all_input(), and write_socket_data().
int connection::last_processed_request_id_seen |
Definition at line 195 of file connection.h.
Referenced by handle_processing_finished(), input_from_server_till_request_got_processed(), and make_connection().
int connection::last_request_id_seen |
Definition at line 206 of file connection.h.
Referenced by incoming_client_packets(), and server_make_connection().
int connection::last_request_id_used |
Definition at line 192 of file connection.h.
Referenced by client_start_server_and_set_page(), do_disband_alternative(), make_connection(), and send_packet_data().
struct timer* connection::last_write |
Definition at line 160 of file connection.h.
Referenced by connection_common_close(), connection_common_init(), cut_lagging_connection(), and write_socket_data().
void(* connection::notify_of_writable_data) (struct connection *pc, bool data_available_and_socket_full) |
Definition at line 186 of file connection.h.
Referenced by add_net_input(), flush_connection_send_buffer_all(), flush_connection_send_buffer_packets(), and server_make_connection().
bool connection::observer |
Definition at line 152 of file connection.h.
Referenced by can_conn_edit(), can_conn_edit_players_nation(), chat_msg_to_player(), client_game_free(), client_game_init(), client_is_global_observer(), client_is_observer(), conn_controls_player(), conn_description(), conn_is_global_observer(), connection_attach_real(), connection_delegate_restore(), connection_delegate_take(), connection_detach(), delegate_command(), detach_command(), establish_new_connection(), form_chat_name(), handle_chat_msg_req(), handle_conn_info(), handle_report_req(), observe_command(), package_conn_info(), report_demographics(), restore_access_level(), send_delegation_info(), server_make_connection(), server_packet_input(), start_command(), take_command(), fc_client::update_buttons(), and update_info_label().
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().
struct packet_header connection::packet_header |
Definition at line 146 of file connection.h.
Referenced by conn_compression_flush(), connection_common_init(), get_packet_from_connection_raw(), packet_check(), post_receive_packet_server_join_reply(), and post_send_packet_server_join_reply().
char connection::password[MAX_LEN_PASSWORD] |
Definition at line 223 of file connection.h.
Referenced by establish_new_connection(), and reject_new_connection().
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().
double connection::ping_time |
Definition at line 166 of file connection.h.
Referenced by handle_conn_info(), handle_conn_ping_info(), handle_conn_pong(), and server_make_connection().
struct timer_list* connection::ping_timers |
Definition at line 210 of file connection.h.
Referenced by close_connection(), connection_ping(), handle_conn_pong(), handle_login_request(), and server_make_connection().
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().
struct byte_vector connection::queue |
Definition at line 274 of file connection.h.
Referenced by conn_compression_flush(), conn_compression_freeze(), connection_common_init(), free_compression_queue(), and send_packet_data().
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().
int connection::request_id_of_currently_handled_packet |
Definition at line 198 of file connection.h.
Referenced by handle_processing_finished(), handle_processing_started(), handle_unit_short_info(), is_outstanding_request(), and make_connection().
struct conn_list* connection::self |
Definition at line 168 of file connection.h.
Referenced by auth_handle_reply(), auth_user(), cmd_reply_line(), complain_ambiguous(), conn_set_access(), connection_attach_real(), connection_detach(), delegate_command(), establish_new_connection(), handle_chat_msg_req(), handle_edit_city(), handle_edit_city_create(), handle_edit_city_remove(), handle_edit_player(), handle_edit_player_create(), handle_edit_player_remove(), handle_edit_player_vision(), handle_edit_startpos(), handle_edit_startpos_full(), handle_edit_tile(), handle_edit_tile_extra(), handle_edit_tile_terrain(), handle_edit_toggle_fogofwar(), handle_edit_unit(), handle_edit_unit_create(), handle_edit_unit_remove(), handle_edit_unit_remove_by_id(), handle_report_req(), handle_save_scenario(), handle_single_want_hack_req(), init_connections(), lost_connection_to_client(), player_reply_dest(), report_achievements(), report_demographics(), send_city_turn_notifications(), send_delegation_info(), send_pending_events(), send_remove_team_votes(), send_running_votes(), and server_packet_input().
struct socket_packet_buffer* connection::send_buffer |
Definition at line 159 of file connection.h.
Referenced by add_connection_data(), connection_common_close(), connection_common_init(), connection_do_buffer(), connection_do_unbuffer(), connection_send_data(), flush_connection_send_buffer_all(), flush_connection_send_buffer_packets(), flush_packets(), handle_conn_info(), read_from_connection(), and server_sniff_all_input().
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 { ... } connection::server |
Referenced by add_connection_data(), auth_get_ipaddr(), auth_handle_reply(), auth_process_status(), auth_user(), close_connection(), conn_is_kicked(), conn_is_valid(), conn_pattern_match(), conn_set_access(), connection_delegate_restore(), connection_delegate_take(), connection_do_unbuffer(), connection_ping(), connection_send_data(), cut_lagging_connection(), delegate_command(), establish_new_connection(), finish_processing_request(), flush_packets(), handle_conn_pong(), handle_login_request(), ignore_command(), incoming_client_packets(), kick_command(), lost_connection_to_client(), really_close_connections(), reject_new_connection(), restore_access_level(), server_conn_close_callback(), server_make_connection(), server_sniff_all_input(), show_ignore(), start_processing_request(), unignore_command(), and write_socket_data().
int connection::sock |
Definition at line 143 of file connection.h.
Referenced by connection_common_close(), flush_packets(), input_from_server(), input_from_server_till_request_got_processed(), make_connection(), read_from_connection(), server_make_connection(), server_sniff_all_input(), try_to_connect(), wait_till_request_got_processed(), and write_socket_data().
struct { ... } connection::statistics |
Referenced by connection_common_init(), connection_send_data(), and send_packet_data().
enum auth_status connection::status |
Definition at line 222 of file connection.h.
Referenced by auth_handle_reply(), auth_process_status(), auth_user(), connection_delegate_restore(), connection_delegate_take(), delegate_command(), establish_new_connection(), handle_login_request(), init_connections(), script_fcdb_do_string(), script_server_do_file_shared(), script_server_do_string_shared(), and server_make_connection().
bool connection::status |
Definition at line 241 of file connection.h.
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().
char connection::username[MAX_LEN_NAME] |
Definition at line 169 of file connection.h.
Referenced by auth_get_username(), auth_handle_reply(), auth_process_status(), auth_user(), cancelvote_command(), check_vote(), cmdlevel_command(), conn_description(), conn_is_kicked(), conn_menu_connection_command(), conn_menu_connection_command(), conn_pattern_match(), connection_accessor(), connection_attach_real(), connection_delegate_restore(), connection_do_unbuffer(), connection_vote(), create_conn_menu(), cut_client_connection(), delegate_command(), detach_command(), establish_new_connection(), firstlevel_command(), form_chat_name(), get_packet_from_connection_raw(), handle_client_info(), handle_conn_info(), handle_event(), handle_login_request(), handle_stdin_input_real(), lsend_vote_new(), observe_command(), package_conn_info(), qtg_real_output_window_append(), send_delegation_info(), send_packet_data(), server_make_connection(), set_cmdlevel(), show_colors(), show_conn_popup(), fc_client::start_page_menu(), and take_command().