void handle_city_rally_point(struct player *pplayer, const struct packet_city_rally_point *packet)
void handle_ruleset_choices(const struct packet_ruleset_choices *packet)
void handle_single_want_hack_reply(bool you_have_hack)
const char const char * headline
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int cost
void handle_edit_startpos_full(struct connection *pconn, const struct packet_edit_startpos_full *packet)
void handle_edit_startpos(struct connection *pconn, const struct packet_edit_startpos *packet)
void handle_game_load(bool load_successful, const char *filename)
static void load_filename(const char *filename)
void handle_authentication_req(enum authentication_type type, const char *message)
void handle_worker_task(struct player *pplayer, const struct packet_worker_task *packet)
void handle_player_attribute_chunk(struct player *pplayer, const struct packet_player_attribute_chunk *packet)
void handle_server_setting_const(const struct packet_server_setting_const *packet)
void handle_server_setting_int(const struct packet_server_setting_int *packet)
void handle_server_setting_bitwise(const struct packet_server_setting_bitwise *packet)
void handle_server_setting_bool(const struct packet_server_setting_bool *packet)
void handle_server_setting_str(const struct packet_server_setting_str *packet)
void handle_server_setting_control(const struct packet_server_setting_control *packet)
void handle_server_setting_enum(const struct packet_server_setting_enum *packet)
@ PACKET_DIPLOMACY_ACCEPT_TREATY
@ PACKET_RULESET_MULTIPLIER
@ PACKET_UNIT_ACTION_ANSWER
@ PACKET_SERVER_SETTING_ENUM
@ PACKET_CITY_NAME_SUGGESTION_INFO
@ PACKET_PROCESSING_STARTED
@ PACKET_SERVER_SETTING_INT
@ PACKET_RULESET_ACTION_AUTO
@ PACKET_UNIT_COMBAT_INFO
@ PACKET_RULESET_UNIT_CLASS_FLAG
@ PACKET_RULESET_TECH_CLASS
@ PACKET_SINGLE_WANT_HACK_REPLY
@ PACKET_PROCESSING_FINISHED
@ PACKET_UNKNOWN_RESEARCH
@ PACKET_PLAYER_DIPLSTATE
@ PACKET_RULESET_IMPR_FLAG
@ PACKET_RULESET_NATION_SETS
@ PACKET_CITY_SABOTAGE_LIST
@ PACKET_SERVER_SETTING_CONST
@ PACKET_RULESET_TERRAIN_CONTROL
@ PACKET_CITY_UPDATE_COUNTERS
@ PACKET_DIPLOMACY_CANCEL_MEETING
@ PACKET_PLAYER_ATTRIBUTE_CHUNK
@ PACKET_RULESET_TERRAIN_FLAG
@ PACKET_RULESET_ACHIEVEMENT
@ PACKET_RULESET_DISASTER
@ PACKET_AUTHENTICATION_REQ
@ PACKET_SERVER_SETTING_BITWISE
@ PACKET_DIPLOMACY_INIT_MEETING
@ PACKET_TRADE_ROUTE_INFO
@ PACKET_CITY_NATIONALITIES
@ PACKET_RULESET_UNIT_FLAG
@ PACKET_EDIT_FOGOFWAR_STATE
@ PACKET_DIPLOMACY_REMOVE_CLAUSE
@ PACKET_EDIT_OBJECT_CREATED
@ PACKET_SYNC_SERIAL_REPLY
@ PACKET_SERVER_JOIN_REPLY
@ PACKET_SERVER_SETTING_STR
@ PACKET_RULESET_SPECIALIST
@ PACKET_RULESET_NATION_GROUPS
@ PACKET_RULESET_UNIT_CLASS
@ PACKET_RULESET_EXTRA_FLAG
@ PACKET_RULESET_DESCRIPTION_PART
@ PACKET_SERVER_SETTING_BOOL
@ PACKET_INVESTIGATE_FINISHED
@ PACKET_RULESET_ACTION_ENABLER
@ PACKET_INVESTIGATE_STARTED
@ PACKET_CITY_RALLY_POINT
@ PACKET_RULESET_UNIT_BONUS
@ PACKET_RULESET_BUILDING
@ PACKET_RULESET_GOVERNMENT_RULER_TITLE
@ PACKET_DIPLOMACY_CREATE_CLAUSE
@ PACKET_RULESET_GOVERNMENT
@ PACKET_SCENARIO_DESCRIPTION
@ PACKET_SERVER_SETTING_CONTROL
@ PACKET_ACHIEVEMENT_INFO
@ PACKET_RULESET_TECH_FLAG
@ PACKET_RULESET_RESOURCE
@ PACKET_EDIT_STARTPOS_FULL
@ PACKET_NATION_AVAILABILITY
void handle_ruleset_game(const struct packet_ruleset_game *packet)
void handle_player_diplstate(const struct packet_player_diplstate *packet)
void handle_ruleset_nation_sets(const struct packet_ruleset_nation_sets *packet)
void handle_ruleset_nation(const struct packet_ruleset_nation *packet)
void handle_city_name_suggestion_info(int unit_id, const char *name)
void handle_sync_serial_reply(int serial)
void handle_nuke_tile_info(int tile)
void handle_unknown_research(int id)
void handle_ruleset_government_ruler_title(const struct packet_ruleset_government_ruler_title *packet)
void handle_city_info(const struct packet_city_info *packet)
void handle_end_turn(void)
void handle_conn_info(const struct packet_conn_info *pinfo)
void handle_vote_remove(int vote_no)
void handle_investigate_finished(const struct packet_investigate_finished *packet)
void handle_page_msg_part(const char *lines)
void handle_unit_combat_info(const struct packet_unit_combat_info *packet)
void handle_ruleset_style(const struct packet_ruleset_style *p)
void handle_unit_remove(int unit_id)
void handle_vote_update(int vote_no, int yes, int no, int abstain, int num_voters)
void handle_ruleset_multiplier(const struct packet_ruleset_multiplier *p)
void handle_player_info(const struct packet_player_info *pinfo)
void handle_ruleset_extra(const struct packet_ruleset_extra *p)
void handle_ruleset_action_auto(const struct packet_ruleset_action_auto *p)
void handle_map_info(const struct packet_map_info *packet)
void handle_ruleset_unit_bonus(const struct packet_ruleset_unit_bonus *p)
void handle_start_phase(int phase)
void handle_timeout_info(float seconds_to_phasedone, float last_turn_change_time)
void handle_ruleset_terrain_control(const struct packet_ruleset_terrain_control *p)
void handle_play_music(const char *tag)
void handle_investigate_started(const struct packet_investigate_started *packet)
void handle_edit_object_created(int tag, int id)
void handle_conn_ping(void)
void handle_ruleset_tech_class(const struct packet_ruleset_tech_class *p)
void handle_diplomacy_init_meeting(int counterpart, int initiated_from)
void handle_ruleset_control(const struct packet_ruleset_control *packet)
void handle_end_phase(void)
void handle_ruleset_counter(const struct packet_ruleset_counter *packet)
void handle_server_info(const char *version_label, int major_version, int minor_version, int patch_version, int emerg_version)
void handle_ruleset_nation_groups(const struct packet_ruleset_nation_groups *packet)
void handle_ruleset_effect(const struct packet_ruleset_effect *packet)
void handle_new_year(int year, int fragments, int turn)
void handle_research_info(const struct packet_research_info *packet)
void handle_ruleset_goods(const struct packet_ruleset_goods *p)
void handle_unit_info(const struct packet_unit_info *packet)
void handle_ruleset_city(const struct packet_ruleset_city *packet)
void handle_ruleset_unit_class(const struct packet_ruleset_unit_class *p)
void handle_ruleset_government(const struct packet_ruleset_government *p)
void handle_ruleset_terrain_flag(const struct packet_ruleset_terrain_flag *p)
void handle_connect_msg(const char *message)
void handle_rulesets_ready(void)
void handle_tile_info(const struct packet_tile_info *packet)
void handle_ruleset_action(const struct packet_ruleset_action *p)
void handle_achievement_info(int id, bool gained, bool first)
void handle_scenario_description(const char *description)
void handle_processing_finished(void)
void handle_diplomacy_cancel_meeting(int counterpart, int initiated_from)
void handle_city_short_info(const struct packet_city_short_info *packet)
void handle_edit_fogofwar_state(bool enabled)
void handle_popup_image(const char *tag)
void handle_diplomacy_create_clause(int counterpart, int giver, enum clause_type type, int value)
void handle_endgame_player(const struct packet_endgame_player *packet)
void handle_ruleset_resource(const struct packet_ruleset_resource *p)
void handle_unit_action_answer(int actor_id, int target_id, int cost, action_id action_type, int request_kind)
void handle_ruleset_tech(const struct packet_ruleset_tech *p)
void handle_team_name_info(int team_id, const char *team_name)
void handle_thaw_client(void)
void handle_calendar_info(const struct packet_calendar_info *pcalendar)
void handle_ruleset_disaster(const struct packet_ruleset_disaster *p)
void handle_ruleset_unit_class_flag(const struct packet_ruleset_unit_class_flag *p)
void handle_server_join_reply(bool you_can_join, const char *message, const char *capability, const char *challenge_file, int conn_id)
void handle_ruleset_summary(const struct packet_ruleset_summary *packet)
void handle_set_topology(int topology_id, int wrap_id)
void handle_ruleset_impr_flag(const struct packet_ruleset_impr_flag *p)
void handle_page_msg(const char *caption, const char *headline, enum event_type event, int len, int parts)
void handle_city_update_counters(const struct packet_city_update_counters *packet)
void handle_conn_ping_info(int connections, const int *conn_id, const float *ping_time)
void handle_diplomacy_remove_clause(int counterpart, int giver, enum clause_type type, int value)
void handle_player_remove(int playerno)
void handle_processing_started(void)
void handle_begin_turn(void)
void handle_endgame_report(const struct packet_endgame_report *packet)
void handle_early_chat_msg(const struct packet_early_chat_msg *packet)
void handle_ruleset_clause(const struct packet_ruleset_clause *p)
void handle_ruleset_road(const struct packet_ruleset_road *p)
void handle_unit_actions(const struct packet_unit_actions *packet)
void handle_ruleset_music(const struct packet_ruleset_music *packet)
void handle_ruleset_base(const struct packet_ruleset_base *p)
void handle_freeze_client(void)
void handle_city_remove(int city_id)
void handle_chat_msg(const struct packet_chat_msg *packet)
void handle_trade_route_info(const struct packet_trade_route_info *packet)
void handle_vote_new(const struct packet_vote_new *packet)
void handle_scenario_info(const struct packet_scenario_info *packet)
void handle_ruleset_extra_flag(const struct packet_ruleset_extra_flag *p)
void handle_ruleset_tech_flag(const struct packet_ruleset_tech_flag *p)
void handle_nation_availability(int ncount, const bool *is_pickable, bool nationset_change)
void handle_spaceship_info(const struct packet_spaceship_info *p)
void handle_ruleset_specialist(const struct packet_ruleset_specialist *p)
void handle_unit_short_info(const struct packet_unit_short_info *packet)
void handle_diplomacy_accept_treaty(int counterpart, bool I_accepted, bool other_accepted)
void handle_ruleset_unit_flag(const struct packet_ruleset_unit_flag *p)
void handle_city_nationalities(const struct packet_city_nationalities *packet)
void handle_server_shutdown(void)
void handle_ruleset_building(const struct packet_ruleset_building *p)
void handle_ruleset_unit(const struct packet_ruleset_unit *p)
void handle_ruleset_terrain(const struct packet_ruleset_terrain *p)
void handle_city_sabotage_list(int actor_id, int city_id, bv_imprs improvements, action_id act_id, int request_kind)
void handle_ruleset_action_enabler(const struct packet_ruleset_action_enabler *p)
void handle_ruleset_achievement(const struct packet_ruleset_achievement *p)
void handle_game_info(const struct packet_game_info *pinfo)
void handle_vote_resolve(int vote_no, bool passed)
void handle_ruleset_description_part(const struct packet_ruleset_description_part *packet)
void handle_ruleset_trade(const struct packet_ruleset_trade *p)
bool client_handle_packet(enum packet_type type, const void *packet)
static struct connection connections[MAX_NUM_CONNECTIONS]