void handle_city_change(struct player *pplayer, int city_id, int production_kind, int production_value)
void handle_city_rally_point(struct player *pplayer, const struct packet_city_rally_point *packet)
void handle_city_name_suggestion_req(struct player *pplayer, int unit_id)
void handle_city_worklist(struct player *pplayer, int city_id, const struct worklist *worklist)
void handle_city_buy(struct player *pplayer, int city_id)
void handle_city_change_specialist(struct player *pplayer, int city_id, Specialist_type_id from, Specialist_type_id to)
void handle_web_cma_set(struct player *pplayer, int id, const struct cm_parameter *param)
void handle_city_sell(struct player *pplayer, int city_id, int build_id)
void handle_city_make_worker(struct player *pplayer, int city_id, int tile_id)
void handle_city_options_req(struct player *pplayer, int city_id, bv_city_options options, enum city_wl_cancel_behavior wlcb)
void handle_city_refresh(struct player *pplayer, int city_id)
void handle_city_make_specialist(struct player *pplayer, int city_id, int tile_id)
void handle_city_rename(struct player *pplayer, int city_id, const char *name)
void handle_web_cma_clear(struct player *pplayer, int id)
void handle_sync_serial(struct connection *conn, int serial)
void handle_diplomacy_remove_clause_req(struct player *pplayer, int counterpart, int giver, enum clause_type type, int value)
void handle_diplomacy_create_clause_req(struct player *pplayer, int counterpart, int giver, enum clause_type type, int value)
void handle_diplomacy_init_meeting_req(struct player *pplayer, int counterpart)
void handle_diplomacy_cancel_meeting_req(struct player *pplayer, int counterpart)
void handle_diplomacy_accept_treaty_req(struct player *pplayer, int counterpart)
void handle_edit_unit_remove_by_id(struct connection *pc, Unit_type_id id)
void handle_edit_tile(struct connection *pc, const struct packet_edit_tile *packet)
void handle_edit_scenario_desc(struct connection *pc, const char *scenario_desc)
void handle_edit_check_tiles(struct connection *pc)
void handle_edit_mode(struct connection *pc, bool is_edit_mode)
void handle_edit_tile_terrain(struct connection *pc, int tile, Terrain_type_id terrain, int size)
void handle_edit_player(struct connection *pc, const struct packet_edit_player *packet)
void handle_edit_player_remove(struct connection *pc, int id)
void handle_edit_city_remove(struct connection *pc, int id)
void handle_edit_player_vision(struct connection *pc, int plr_no, int tile, bool known, int size)
void handle_edit_city(struct connection *pc, const struct packet_edit_city *packet)
void handle_edit_city_create(struct connection *pc, int owner, int tile, int size, int tag)
void handle_edit_game(struct connection *pc, const struct packet_edit_game *packet)
void handle_edit_unit_remove(struct connection *pc, int owner, int tile, Unit_type_id utid, int count)
void handle_edit_toggle_fogofwar(struct connection *pc, int plr_no)
void handle_edit_startpos_full(struct connection *pconn, const struct packet_edit_startpos_full *packet)
void handle_edit_player_create(struct connection *pc, int tag)
void handle_edit_recalculate_borders(struct connection *pc)
void handle_save_scenario(struct connection *pc, const char *name)
void handle_edit_tile_extra(struct connection *pc, int tile, int id, bool removal, int eowner, int size)
void handle_edit_unit_create(struct connection *pc, int owner, int tile, Unit_type_id utid, int count, int tag)
void handle_edit_unit(struct connection *pc, const struct packet_edit_unit *packet)
void handle_edit_startpos(struct connection *pconn, const struct packet_edit_startpos *packet)
void handle_single_want_hack_req(struct connection *pc, const struct packet_single_want_hack_req *packet)
void handle_ruleset_select(struct connection *pc, const struct packet_ruleset_select *packet)
static int target_extra_id
bool server_handle_packet(enum packet_type type, const void *packet, struct player *pplayer, struct connection *pconn)
void handle_player_phase_done(struct player *pplayer, int turn)
void handle_player_multiplier(struct player *pplayer, int count, const int *multipliers)
void handle_client_heartbeat(struct connection *pc)
void handle_nation_select_req(struct connection *pc, int player_no, Nation_type_id nation_no, bool is_male, const char *name, int style)
void handle_unit_get_actions(struct connection *pc, int actor_unit_id, int target_unit_id, int target_tile_id, int target_extra_id, int request_kind)
void handle_unit_type_upgrade(struct player *pplayer, Unit_type_id type)
void handle_unit_orders(struct player *pplayer, const struct packet_unit_orders *packet)
void handle_report_req(struct connection *pc, enum report_type type)
void handle_client_info(struct connection *pc, enum gui_type gui, int emerg_version, const char *distribution)
void handle_worker_task(struct player *pplayer, const struct packet_worker_task *packet)
void handle_player_tech_goal(struct player *pplayer, int tech)
void handle_unit_change_activity(struct player *pplayer, int unit_id, enum unit_activity activity, int target)
void handle_player_place_infra(struct player *pplayer, int tile, int extra)
void handle_player_attribute_block(struct player *pplayer)
void handle_unit_action_query(struct connection *pc, int actor_id, int target_id, action_id action_type, int request_kind)
void handle_player_ready(struct player *pplayer, int player_no, bool is_ready)
void handle_chat_msg_req(struct connection *pc, const char *message)
void handle_player_research(struct player *pplayer, int tech)
void handle_unit_server_side_agent_set(struct player *pplayer, int unit_id, enum server_side_agent agent)
void handle_player_change_government(struct player *pplayer, Government_type_id government)
void handle_spaceship_place(struct player *pplayer, enum spaceship_place_type type, int num)
void handle_conn_pong(struct connection *pc)
void handle_unit_do_action(struct player *pplayer, int actor_id, int target_id, int sub_tgt_id, const char *name, action_id action_type)
void handle_diplomacy_cancel_pact(struct player *pplayer, int other_player_id, enum clause_type clause)
void handle_player_attribute_chunk(struct player *pplayer, const struct packet_player_attribute_chunk *packet)
void handle_spaceship_launch(struct player *pplayer)
void handle_player_rates(struct player *pplayer, int tax, int luxury, int science)
void handle_unit_sscs_set(struct player *pplayer, int unit_id, enum unit_ss_data_type type, int value)
void handle_vote_submit(struct connection *pc, int vote_no, int value)
static struct multiplier multipliers[MAX_NUM_MULTIPLIERS]
@ PACKET_PLAYER_MULTIPLIER
@ PACKET_PLAYER_CHANGE_GOVERNMENT
@ PACKET_EDIT_TOGGLE_FOGOFWAR
@ PACKET_DIPLOMACY_CANCEL_MEETING_REQ
@ PACKET_CITY_MAKE_WORKER
@ PACKET_CITY_OPTIONS_REQ
@ PACKET_EDIT_PLAYER_CREATE
@ PACKET_NATION_SELECT_REQ
@ PACKET_EDIT_CITY_CREATE
@ PACKET_DIPLOMACY_INIT_MEETING_REQ
@ PACKET_PLAYER_ATTRIBUTE_BLOCK
@ PACKET_CITY_NAME_SUGGESTION_REQ
@ PACKET_CLIENT_HEARTBEAT
@ PACKET_DIPLOMACY_CREATE_CLAUSE_REQ
@ PACKET_EDIT_CITY_REMOVE
@ PACKET_PLAYER_PHASE_DONE
@ PACKET_UNIT_TYPE_UPGRADE
@ PACKET_UNIT_GET_ACTIONS
@ PACKET_PLAYER_ATTRIBUTE_CHUNK
@ PACKET_CITY_MAKE_SPECIALIST
@ PACKET_SINGLE_WANT_HACK_REQ
@ PACKET_PLAYER_PLACE_INFRA
@ PACKET_EDIT_PLAYER_REMOVE
@ PACKET_EDIT_TILE_TERRAIN
@ PACKET_UNIT_ACTION_QUERY
@ PACKET_EDIT_SCENARIO_DESC
@ PACKET_EDIT_UNIT_CREATE
@ PACKET_UNIT_CHANGE_ACTIVITY
@ PACKET_EDIT_UNIT_REMOVE
@ PACKET_EDIT_PLAYER_VISION
@ PACKET_EDIT_CHECK_TILES
@ PACKET_CITY_CHANGE_SPECIALIST
@ PACKET_EDIT_RECALCULATE_BORDERS
@ PACKET_PLAYER_TECH_GOAL
@ PACKET_CITY_RALLY_POINT
@ PACKET_UNIT_SERVER_SIDE_AGENT_SET
@ PACKET_SPACESHIP_LAUNCH
@ PACKET_DIPLOMACY_REMOVE_CLAUSE_REQ
@ PACKET_DIPLOMACY_ACCEPT_TREATY_REQ
@ PACKET_EDIT_UNIT_REMOVE_BY_ID
@ PACKET_EDIT_STARTPOS_FULL
@ PACKET_DIPLOMACY_CANCEL_PACT