Freeciv-3.3: /fast/freeciv/nightly/main/client/packhand_gen.c Source File

Freeciv-3.3

Loading...
Searching...
No Matches
packhand_gen.c
Go to the documentation of this file.
1 /**************************************************************************
2 * THIS FILE WAS GENERATED *
3 * Script: common/generate_packets.py *
4 * Input: common/networking/packets.def *
5 * DO NOT CHANGE THIS FILE *
6 **************************************************************************/
7
8#ifdef HAVE_CONFIG_H
9#include <fc_config.h>
10#endif
11
12/* common */
13#include "packets.h"
14
15#include "packhand_gen.h"
16
17 bool client_handle_packet(enum packet_type type, const void *packet)
18{
19 switch (type) {
20 case PACKET_PROCESSING_STARTED:
21 handle_processing_started();
22 return TRUE;
23
24 case PACKET_PROCESSING_FINISHED:
25 handle_processing_finished();
26 return TRUE;
27
28 case PACKET_INVESTIGATE_STARTED:
29 handle_investigate_started(packet);
30 return TRUE;
31
32 case PACKET_INVESTIGATE_FINISHED:
33 handle_investigate_finished(packet);
34 return TRUE;
35
36 case PACKET_SERVER_JOIN_REPLY:
37 handle_server_join_reply(
38 ((const struct packet_server_join_reply *)packet)->you_can_join,
39 ((const struct packet_server_join_reply *)packet)->message,
40 ((const struct packet_server_join_reply *)packet)->capability,
41 ((const struct packet_server_join_reply *)packet)->challenge_file,
42 ((const struct packet_server_join_reply *)packet)->conn_id);
43 return TRUE;
44
45 case PACKET_AUTHENTICATION_REQ:
46 handle_authentication_req(
47 ((const struct packet_authentication_req *)packet)->type,
48 ((const struct packet_authentication_req *)packet)->message);
49 return TRUE;
50
51 case PACKET_SERVER_SHUTDOWN:
52 handle_server_shutdown();
53 return TRUE;
54
55 case PACKET_ENDGAME_REPORT:
56 handle_endgame_report(packet);
57 return TRUE;
58
59 case PACKET_ENDGAME_PLAYER:
60 handle_endgame_player(packet);
61 return TRUE;
62
63 case PACKET_TILE_INFO:
64 handle_tile_info(packet);
65 return TRUE;
66
67 case PACKET_GAME_INFO:
68 handle_game_info(packet);
69 return TRUE;
70
71 case PACKET_CALENDAR_INFO:
72 handle_calendar_info(packet);
73 return TRUE;
74
75 case PACKET_TIMEOUT_INFO:
76 handle_timeout_info(
77 ((const struct packet_timeout_info *)packet)->seconds_to_phasedone,
78 ((const struct packet_timeout_info *)packet)->last_turn_change_time);
79 return TRUE;
80
81 case PACKET_MAP_INFO:
82 handle_map_info(packet);
83 return TRUE;
84
85 case PACKET_NUKE_TILE_INFO:
86 handle_nuke_tile_info(
87 ((const struct packet_nuke_tile_info *)packet)->tile);
88 return TRUE;
89
90 case PACKET_TEAM_NAME_INFO:
91 handle_team_name_info(
92 ((const struct packet_team_name_info *)packet)->team_id,
93 ((const struct packet_team_name_info *)packet)->team_name);
94 return TRUE;
95
96 case PACKET_ACHIEVEMENT_INFO:
97 handle_achievement_info(
98 ((const struct packet_achievement_info *)packet)->id,
99 ((const struct packet_achievement_info *)packet)->gained,
100 ((const struct packet_achievement_info *)packet)->first);
101 return TRUE;
102
103 case PACKET_CHAT_MSG:
104 handle_chat_msg(packet);
105 return TRUE;
106
107 case PACKET_EARLY_CHAT_MSG:
108 handle_early_chat_msg(packet);
109 return TRUE;
110
111 case PACKET_CONNECT_MSG:
112 handle_connect_msg(
113 ((const struct packet_connect_msg *)packet)->message);
114 return TRUE;
115
116 case PACKET_SERVER_INFO:
117 handle_server_info(
118 ((const struct packet_server_info *)packet)->version_label,
119 ((const struct packet_server_info *)packet)->major_version,
120 ((const struct packet_server_info *)packet)->minor_version,
121 ((const struct packet_server_info *)packet)->patch_version,
122 ((const struct packet_server_info *)packet)->emerg_version);
123 return TRUE;
124
125 case PACKET_CITY_REMOVE:
126 handle_city_remove(
127 ((const struct packet_city_remove *)packet)->city_id);
128 return TRUE;
129
130 case PACKET_CITY_INFO:
131 handle_city_info(packet);
132 return TRUE;
133
134 case PACKET_CITY_NATIONALITIES:
135 handle_city_nationalities(packet);
136 return TRUE;
137
138 case PACKET_CITY_UPDATE_COUNTERS:
139 handle_city_update_counters(packet);
140 return TRUE;
141
142 case PACKET_CITY_SHORT_INFO:
143 handle_city_short_info(packet);
144 return TRUE;
145
146 case PACKET_TRADE_ROUTE_INFO:
147 handle_trade_route_info(packet);
148 return TRUE;
149
150 case PACKET_CITY_NAME_SUGGESTION_INFO:
151 handle_city_name_suggestion_info(
152 ((const struct packet_city_name_suggestion_info *)packet)->unit_id,
153 ((const struct packet_city_name_suggestion_info *)packet)->name);
154 return TRUE;
155
156 case PACKET_CITY_SABOTAGE_LIST:
157 handle_city_sabotage_list(
158 ((const struct packet_city_sabotage_list *)packet)->actor_id,
159 ((const struct packet_city_sabotage_list *)packet)->city_id,
160 ((const struct packet_city_sabotage_list *)packet)->improvements,
161 ((const struct packet_city_sabotage_list *)packet)->act_id,
162 ((const struct packet_city_sabotage_list *)packet)->request_kind);
163 return TRUE;
164
165 case PACKET_CITY_RALLY_POINT:
166 handle_city_rally_point(packet);
167 return TRUE;
168
169 case PACKET_WORKER_TASK:
170 handle_worker_task(packet);
171 return TRUE;
172
173 case PACKET_PLAYER_REMOVE:
174 handle_player_remove(
175 ((const struct packet_player_remove *)packet)->playerno);
176 return TRUE;
177
178 case PACKET_PLAYER_INFO:
179 handle_player_info(packet);
180 return TRUE;
181
182 case PACKET_PLAYER_ATTRIBUTE_CHUNK:
183 handle_player_attribute_chunk(packet);
184 return TRUE;
185
186 case PACKET_PLAYER_DIPLSTATE:
187 handle_player_diplstate(packet);
188 return TRUE;
189
190 case PACKET_RESEARCH_INFO:
191 handle_research_info(packet);
192 return TRUE;
193
194 case PACKET_UNKNOWN_RESEARCH:
195 handle_unknown_research(
196 ((const struct packet_unknown_research *)packet)->id);
197 return TRUE;
198
199 case PACKET_UNIT_REMOVE:
200 handle_unit_remove(
201 ((const struct packet_unit_remove *)packet)->unit_id);
202 return TRUE;
203
204 case PACKET_UNIT_INFO:
205 handle_unit_info(packet);
206 return TRUE;
207
208 case PACKET_UNIT_SHORT_INFO:
209 handle_unit_short_info(packet);
210 return TRUE;
211
212 case PACKET_UNIT_COMBAT_INFO:
213 handle_unit_combat_info(packet);
214 return TRUE;
215
216 case PACKET_UNIT_ACTION_ANSWER:
217 handle_unit_action_answer(
218 ((const struct packet_unit_action_answer *)packet)->actor_id,
219 ((const struct packet_unit_action_answer *)packet)->target_id,
220 ((const struct packet_unit_action_answer *)packet)->cost,
221 ((const struct packet_unit_action_answer *)packet)->action_type,
222 ((const struct packet_unit_action_answer *)packet)->request_kind);
223 return TRUE;
224
225 case PACKET_UNIT_ACTIONS:
226 handle_unit_actions(packet);
227 return TRUE;
228
229 case PACKET_DIPLOMACY_INIT_MEETING:
230 handle_diplomacy_init_meeting(
231 ((const struct packet_diplomacy_init_meeting *)packet)->counterpart,
232 ((const struct packet_diplomacy_init_meeting *)packet)->initiated_from);
233 return TRUE;
234
235 case PACKET_DIPLOMACY_CANCEL_MEETING:
236 handle_diplomacy_cancel_meeting(
237 ((const struct packet_diplomacy_cancel_meeting *)packet)->counterpart,
238 ((const struct packet_diplomacy_cancel_meeting *)packet)->initiated_from);
239 return TRUE;
240
241 case PACKET_DIPLOMACY_CREATE_CLAUSE:
242 handle_diplomacy_create_clause(
243 ((const struct packet_diplomacy_create_clause *)packet)->counterpart,
244 ((const struct packet_diplomacy_create_clause *)packet)->giver,
245 ((const struct packet_diplomacy_create_clause *)packet)->type,
246 ((const struct packet_diplomacy_create_clause *)packet)->value);
247 return TRUE;
248
249 case PACKET_DIPLOMACY_REMOVE_CLAUSE:
250 handle_diplomacy_remove_clause(
251 ((const struct packet_diplomacy_remove_clause *)packet)->counterpart,
252 ((const struct packet_diplomacy_remove_clause *)packet)->giver,
253 ((const struct packet_diplomacy_remove_clause *)packet)->type,
254 ((const struct packet_diplomacy_remove_clause *)packet)->value);
255 return TRUE;
256
257 case PACKET_DIPLOMACY_ACCEPT_TREATY:
258 handle_diplomacy_accept_treaty(
259 ((const struct packet_diplomacy_accept_treaty *)packet)->counterpart,
260 ((const struct packet_diplomacy_accept_treaty *)packet)->I_accepted,
261 ((const struct packet_diplomacy_accept_treaty *)packet)->other_accepted);
262 return TRUE;
263
264 case PACKET_PAGE_MSG:
265 handle_page_msg(
266 ((const struct packet_page_msg *)packet)->caption,
267 ((const struct packet_page_msg *)packet)->headline,
268 ((const struct packet_page_msg *)packet)->event,
269 ((const struct packet_page_msg *)packet)->len,
270 ((const struct packet_page_msg *)packet)->parts);
271 return TRUE;
272
273 case PACKET_PAGE_MSG_PART:
274 handle_page_msg_part(
275 ((const struct packet_page_msg_part *)packet)->lines);
276 return TRUE;
277
278 case PACKET_CONN_INFO:
279 handle_conn_info(packet);
280 return TRUE;
281
282 case PACKET_CONN_PING_INFO:
283 handle_conn_ping_info(
284 ((const struct packet_conn_ping_info *)packet)->connections,
285 ((const struct packet_conn_ping_info *)packet)->conn_id,
286 ((const struct packet_conn_ping_info *)packet)->ping_time);
287 return TRUE;
288
289 case PACKET_CONN_PING:
290 handle_conn_ping();
291 return TRUE;
292
293 case PACKET_END_PHASE:
294 handle_end_phase();
295 return TRUE;
296
297 case PACKET_START_PHASE:
298 handle_start_phase(
299 ((const struct packet_start_phase *)packet)->phase);
300 return TRUE;
301
302 case PACKET_NEW_YEAR:
303 handle_new_year(
304 ((const struct packet_new_year *)packet)->year,
305 ((const struct packet_new_year *)packet)->fragments,
306 ((const struct packet_new_year *)packet)->turn);
307 return TRUE;
308
309 case PACKET_BEGIN_TURN:
310 handle_begin_turn();
311 return TRUE;
312
313 case PACKET_END_TURN:
314 handle_end_turn();
315 return TRUE;
316
317 case PACKET_FREEZE_CLIENT:
318 handle_freeze_client();
319 return TRUE;
320
321 case PACKET_THAW_CLIENT:
322 handle_thaw_client();
323 return TRUE;
324
325 case PACKET_SPACESHIP_INFO:
326 handle_spaceship_info(packet);
327 return TRUE;
328
329 case PACKET_RULESET_UNIT:
330 handle_ruleset_unit(packet);
331 return TRUE;
332
333 case PACKET_RULESET_UNIT_BONUS:
334 handle_ruleset_unit_bonus(packet);
335 return TRUE;
336
337 case PACKET_RULESET_UNIT_FLAG:
338 handle_ruleset_unit_flag(packet);
339 return TRUE;
340
341 case PACKET_RULESET_UNIT_CLASS_FLAG:
342 handle_ruleset_unit_class_flag(packet);
343 return TRUE;
344
345 case PACKET_RULESET_GAME:
346 handle_ruleset_game(packet);
347 return TRUE;
348
349 case PACKET_RULESET_SPECIALIST:
350 handle_ruleset_specialist(packet);
351 return TRUE;
352
353 case PACKET_RULESET_GOVERNMENT_RULER_TITLE:
354 handle_ruleset_government_ruler_title(packet);
355 return TRUE;
356
357 case PACKET_RULESET_TECH:
358 handle_ruleset_tech(packet);
359 return TRUE;
360
361 case PACKET_RULESET_TECH_CLASS:
362 handle_ruleset_tech_class(packet);
363 return TRUE;
364
365 case PACKET_RULESET_TECH_FLAG:
366 handle_ruleset_tech_flag(packet);
367 return TRUE;
368
369 case PACKET_RULESET_GOVERNMENT:
370 handle_ruleset_government(packet);
371 return TRUE;
372
373 case PACKET_RULESET_TERRAIN_CONTROL:
374 handle_ruleset_terrain_control(packet);
375 return TRUE;
376
377 case PACKET_RULESETS_READY:
378 handle_rulesets_ready();
379 return TRUE;
380
381 case PACKET_RULESET_NATION_SETS:
382 handle_ruleset_nation_sets(packet);
383 return TRUE;
384
385 case PACKET_RULESET_NATION_GROUPS:
386 handle_ruleset_nation_groups(packet);
387 return TRUE;
388
389 case PACKET_RULESET_NATION:
390 handle_ruleset_nation(packet);
391 return TRUE;
392
393 case PACKET_NATION_AVAILABILITY:
394 handle_nation_availability(
395 ((const struct packet_nation_availability *)packet)->ncount,
396 ((const struct packet_nation_availability *)packet)->is_pickable,
397 ((const struct packet_nation_availability *)packet)->nationset_change);
398 return TRUE;
399
400 case PACKET_RULESET_STYLE:
401 handle_ruleset_style(packet);
402 return TRUE;
403
404 case PACKET_RULESET_CITY:
405 handle_ruleset_city(packet);
406 return TRUE;
407
408 case PACKET_RULESET_BUILDING:
409 handle_ruleset_building(packet);
410 return TRUE;
411
412 case PACKET_RULESET_IMPR_FLAG:
413 handle_ruleset_impr_flag(packet);
414 return TRUE;
415
416 case PACKET_RULESET_TERRAIN:
417 handle_ruleset_terrain(packet);
418 return TRUE;
419
420 case PACKET_RULESET_TERRAIN_FLAG:
421 handle_ruleset_terrain_flag(packet);
422 return TRUE;
423
424 case PACKET_RULESET_UNIT_CLASS:
425 handle_ruleset_unit_class(packet);
426 return TRUE;
427
428 case PACKET_RULESET_EXTRA:
429 handle_ruleset_extra(packet);
430 return TRUE;
431
432 case PACKET_RULESET_EXTRA_FLAG:
433 handle_ruleset_extra_flag(packet);
434 return TRUE;
435
436 case PACKET_RULESET_BASE:
437 handle_ruleset_base(packet);
438 return TRUE;
439
440 case PACKET_RULESET_ROAD:
441 handle_ruleset_road(packet);
442 return TRUE;
443
444 case PACKET_RULESET_GOODS:
445 handle_ruleset_goods(packet);
446 return TRUE;
447
448 case PACKET_RULESET_DISASTER:
449 handle_ruleset_disaster(packet);
450 return TRUE;
451
452 case PACKET_RULESET_ACHIEVEMENT:
453 handle_ruleset_achievement(packet);
454 return TRUE;
455
456 case PACKET_RULESET_TRADE:
457 handle_ruleset_trade(packet);
458 return TRUE;
459
460 case PACKET_RULESET_ACTION:
461 handle_ruleset_action(packet);
462 return TRUE;
463
464 case PACKET_RULESET_ACTION_ENABLER:
465 handle_ruleset_action_enabler(packet);
466 return TRUE;
467
468 case PACKET_RULESET_ACTION_AUTO:
469 handle_ruleset_action_auto(packet);
470 return TRUE;
471
472 case PACKET_RULESET_COUNTER:
473 handle_ruleset_counter(packet);
474 return TRUE;
475
476 case PACKET_RULESET_MUSIC:
477 handle_ruleset_music(packet);
478 return TRUE;
479
480 case PACKET_RULESET_MULTIPLIER:
481 handle_ruleset_multiplier(packet);
482 return TRUE;
483
484 case PACKET_RULESET_CLAUSE:
485 handle_ruleset_clause(packet);
486 return TRUE;
487
488 case PACKET_RULESET_CONTROL:
489 handle_ruleset_control(packet);
490 return TRUE;
491
492 case PACKET_RULESET_SUMMARY:
493 handle_ruleset_summary(packet);
494 return TRUE;
495
496 case PACKET_RULESET_DESCRIPTION_PART:
497 handle_ruleset_description_part(packet);
498 return TRUE;
499
500 case PACKET_SINGLE_WANT_HACK_REPLY:
501 handle_single_want_hack_reply(
502 ((const struct packet_single_want_hack_reply *)packet)->you_have_hack);
503 return TRUE;
504
505 case PACKET_RULESET_CHOICES:
506 handle_ruleset_choices(packet);
507 return TRUE;
508
509 case PACKET_GAME_LOAD:
510 handle_game_load(
511 ((const struct packet_game_load *)packet)->load_successful,
512 ((const struct packet_game_load *)packet)->load_filename);
513 return TRUE;
514
515 case PACKET_SERVER_SETTING_CONTROL:
516 handle_server_setting_control(packet);
517 return TRUE;
518
519 case PACKET_SERVER_SETTING_CONST:
520 handle_server_setting_const(packet);
521 return TRUE;
522
523 case PACKET_SERVER_SETTING_BOOL:
524 handle_server_setting_bool(packet);
525 return TRUE;
526
527 case PACKET_SERVER_SETTING_INT:
528 handle_server_setting_int(packet);
529 return TRUE;
530
531 case PACKET_SERVER_SETTING_STR:
532 handle_server_setting_str(packet);
533 return TRUE;
534
535 case PACKET_SERVER_SETTING_ENUM:
536 handle_server_setting_enum(packet);
537 return TRUE;
538
539 case PACKET_SERVER_SETTING_BITWISE:
540 handle_server_setting_bitwise(packet);
541 return TRUE;
542
543 case PACKET_SET_TOPOLOGY:
544 handle_set_topology(
545 ((const struct packet_set_topology *)packet)->topology_id,
546 ((const struct packet_set_topology *)packet)->wrap_id);
547 return TRUE;
548
549 case PACKET_RULESET_EFFECT:
550 handle_ruleset_effect(packet);
551 return TRUE;
552
553 case PACKET_RULESET_RESOURCE:
554 handle_ruleset_resource(packet);
555 return TRUE;
556
557 case PACKET_SCENARIO_INFO:
558 handle_scenario_info(packet);
559 return TRUE;
560
561 case PACKET_SCENARIO_DESCRIPTION:
562 handle_scenario_description(
563 ((const struct packet_scenario_description *)packet)->description);
564 return TRUE;
565
566 case PACKET_VOTE_NEW:
567 handle_vote_new(packet);
568 return TRUE;
569
570 case PACKET_VOTE_UPDATE:
571 handle_vote_update(
572 ((const struct packet_vote_update *)packet)->vote_no,
573 ((const struct packet_vote_update *)packet)->yes,
574 ((const struct packet_vote_update *)packet)->no,
575 ((const struct packet_vote_update *)packet)->abstain,
576 ((const struct packet_vote_update *)packet)->num_voters);
577 return TRUE;
578
579 case PACKET_VOTE_REMOVE:
580 handle_vote_remove(
581 ((const struct packet_vote_remove *)packet)->vote_no);
582 return TRUE;
583
584 case PACKET_VOTE_RESOLVE:
585 handle_vote_resolve(
586 ((const struct packet_vote_resolve *)packet)->vote_no,
587 ((const struct packet_vote_resolve *)packet)->passed);
588 return TRUE;
589
590 case PACKET_EDIT_STARTPOS:
591 handle_edit_startpos(packet);
592 return TRUE;
593
594 case PACKET_EDIT_STARTPOS_FULL:
595 handle_edit_startpos_full(packet);
596 return TRUE;
597
598 case PACKET_EDIT_OBJECT_CREATED:
599 handle_edit_object_created(
600 ((const struct packet_edit_object_created *)packet)->tag,
601 ((const struct packet_edit_object_created *)packet)->id);
602 return TRUE;
603
604 case PACKET_PLAY_MUSIC:
605 handle_play_music(
606 ((const struct packet_play_music *)packet)->tag);
607 return TRUE;
608
609 default:
610 return FALSE;
611 }
612}
handle_city_rally_point
void handle_city_rally_point(struct player *pplayer, const struct packet_city_rally_point *packet)
Definition cityhand.c:525
handle_ruleset_choices
void handle_ruleset_choices(const struct packet_ruleset_choices *packet)
Definition connectdlg_common.c:757
handle_single_want_hack_reply
void handle_single_want_hack_reply(bool you_have_hack)
Definition connectdlg_common.c:715
caption
const char * caption
Definition dialogs_g.h:37
headline
const char const char * headline
Definition dialogs_g.h:38
cost
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
Definition dialogs_g.h:74
handle_edit_startpos_full
void handle_edit_startpos_full(struct connection *pconn, const struct packet_edit_startpos_full *packet)
Definition edithand.c:1386
handle_edit_startpos
void handle_edit_startpos(struct connection *pconn, const struct packet_edit_startpos *packet)
Definition edithand.c:1348
event
enum event_type event
Definition events.c:81
handle_game_load
void handle_game_load(bool load_successful, const char *filename)
Definition pages.c:2825
load_filename
static void load_filename(const char *filename)
Definition pages.c:2840
handle_authentication_req
void handle_authentication_req(enum authentication_type type, const char *message)
Definition pages.c:991
type
GType type
Definition repodlgs.c:1313
handle_worker_task
void handle_worker_task(struct player *pplayer, const struct packet_worker_task *packet)
Definition unithand.c:6852
handle_player_attribute_chunk
void handle_player_attribute_chunk(struct player *pplayer, const struct packet_player_attribute_chunk *packet)
Definition plrhand.c:3162
name
const char * name
Definition inputfile.c:127
handle_server_setting_const
void handle_server_setting_const(const struct packet_server_setting_const *packet)
Definition options.c:4560
handle_server_setting_int
void handle_server_setting_int(const struct packet_server_setting_int *packet)
Definition options.c:4653
handle_server_setting_bitwise
void handle_server_setting_bitwise(const struct packet_server_setting_bitwise *packet)
Definition options.c:4824
handle_server_setting_bool
void handle_server_setting_bool(const struct packet_server_setting_bool *packet)
Definition options.c:4618
handle_server_setting_str
void handle_server_setting_str(const struct packet_server_setting_str *packet)
Definition options.c:4690
handle_server_setting_control
void handle_server_setting_control(const struct packet_server_setting_control *packet)
Definition options.c:4526
handle_server_setting_enum
void handle_server_setting_enum(const struct packet_server_setting_enum *packet)
Definition options.c:4735
packets.h
packet_type
packet_type
Definition packets_gen.h:1902
PACKET_DIPLOMACY_ACCEPT_TREATY
@ PACKET_DIPLOMACY_ACCEPT_TREATY
Definition packets_gen.h:1983
PACKET_RULESET_MULTIPLIER
@ PACKET_RULESET_MULTIPLIER
Definition packets_gen.h:2081
PACKET_THAW_CLIENT
@ PACKET_THAW_CLIENT
Definition packets_gen.h:1996
PACKET_RULESET_MUSIC
@ PACKET_RULESET_MUSIC
Definition packets_gen.h:2078
PACKET_RULESET_GOODS
@ PACKET_RULESET_GOODS
Definition packets_gen.h:2086
PACKET_ENDGAME_PLAYER
@ PACKET_ENDGAME_PLAYER
Definition packets_gen.h:2061
PACKET_UNIT_ACTION_ANSWER
@ PACKET_UNIT_ACTION_ANSWER
Definition packets_gen.h:1969
PACKET_SERVER_SETTING_ENUM
@ PACKET_SERVER_SETTING_ENUM
Definition packets_gen.h:2025
PACKET_SET_TOPOLOGY
@ PACKET_SET_TOPOLOGY
Definition packets_gen.h:2091
PACKET_CONN_PING
@ PACKET_CONN_PING
Definition packets_gen.h:1971
PACKET_RULESET_COUNTER
@ PACKET_RULESET_COUNTER
Definition packets_gen.h:2100
PACKET_VOTE_UPDATE
@ PACKET_VOTE_UPDATE
Definition packets_gen.h:2033
PACKET_CITY_NAME_SUGGESTION_INFO
@ PACKET_CITY_NAME_SUGGESTION_INFO
Definition packets_gen.h:1943
PACKET_PROCESSING_STARTED
@ PACKET_PROCESSING_STARTED
Definition packets_gen.h:1903
PACKET_UNIT_REMOVE
@ PACKET_UNIT_REMOVE
Definition packets_gen.h:1958
PACKET_END_PHASE
@ PACKET_END_PHASE
Definition packets_gen.h:1990
PACKET_SERVER_SETTING_INT
@ PACKET_SERVER_SETTING_INT
Definition packets_gen.h:2023
PACKET_RULESET_EXTRA
@ PACKET_RULESET_EXTRA
Definition packets_gen.h:2070
PACKET_CONN_PING_INFO
@ PACKET_CONN_PING_INFO
Definition packets_gen.h:1988
PACKET_END_TURN
@ PACKET_END_TURN
Definition packets_gen.h:1994
PACKET_NEW_YEAR
@ PACKET_NEW_YEAR
Definition packets_gen.h:1992
PACKET_ENDGAME_REPORT
@ PACKET_ENDGAME_REPORT
Definition packets_gen.h:1913
PACKET_RULESET_ACTION_AUTO
@ PACKET_RULESET_ACTION_AUTO
Definition packets_gen.h:2090
PACKET_UNIT_COMBAT_INFO
@ PACKET_UNIT_COMBAT_INFO
Definition packets_gen.h:1961
PACKET_RULESETS_READY
@ PACKET_RULESETS_READY
Definition packets_gen.h:2063
PACKET_UNIT_SHORT_INFO
@ PACKET_UNIT_SHORT_INFO
Definition packets_gen.h:1960
PACKET_RULESET_UNIT_CLASS_FLAG
@ PACKET_RULESET_UNIT_CLASS_FLAG
Definition packets_gen.h:2068
PACKET_RULESET_TECH_CLASS
@ PACKET_RULESET_TECH_CLASS
Definition packets_gen.h:1910
PACKET_SINGLE_WANT_HACK_REPLY
@ PACKET_SINGLE_WANT_HACK_REPLY
Definition packets_gen.h:2017
PACKET_GAME_INFO
@ PACKET_GAME_INFO
Definition packets_gen.h:1917
PACKET_PROCESSING_FINISHED
@ PACKET_PROCESSING_FINISHED
Definition packets_gen.h:1904
PACKET_RULESET_ACTION
@ PACKET_RULESET_ACTION
Definition packets_gen.h:2084
PACKET_UNKNOWN_RESEARCH
@ PACKET_UNKNOWN_RESEARCH
Definition packets_gen.h:1962
PACKET_NUKE_TILE_INFO
@ PACKET_NUKE_TILE_INFO
Definition packets_gen.h:1919
PACKET_PLAYER_DIPLSTATE
@ PACKET_PLAYER_DIPLSTATE
Definition packets_gen.h:1955
PACKET_RULESET_IMPR_FLAG
@ PACKET_RULESET_IMPR_FLAG
Definition packets_gen.h:1921
PACKET_RULESET_TECH
@ PACKET_RULESET_TECH
Definition packets_gen.h:2005
PACKET_RULESET_ROAD
@ PACKET_RULESET_ROAD
Definition packets_gen.h:2059
PACKET_RULESET_NATION_SETS
@ PACKET_RULESET_NATION_SETS
Definition packets_gen.h:2074
PACKET_CITY_SABOTAGE_LIST
@ PACKET_CITY_SABOTAGE_LIST
Definition packets_gen.h:1944
PACKET_MAP_INFO
@ PACKET_MAP_INFO
Definition packets_gen.h:1918
PACKET_RULESET_CLAUSE
@ PACKET_RULESET_CLAUSE
Definition packets_gen.h:2099
PACKET_CHAT_MSG
@ PACKET_CHAT_MSG
Definition packets_gen.h:1924
PACKET_EDIT_STARTPOS
@ PACKET_EDIT_STARTPOS
Definition packets_gen.h:2043
PACKET_SERVER_SETTING_CONST
@ PACKET_SERVER_SETTING_CONST
Definition packets_gen.h:2021
PACKET_BEGIN_TURN
@ PACKET_BEGIN_TURN
Definition packets_gen.h:1993
PACKET_RULESET_TERRAIN_CONTROL
@ PACKET_RULESET_TERRAIN_CONTROL
Definition packets_gen.h:2007
PACKET_GAME_LOAD
@ PACKET_GAME_LOAD
Definition packets_gen.h:2019
PACKET_CITY_UPDATE_COUNTERS
@ PACKET_CITY_UPDATE_COUNTERS
Definition packets_gen.h:2101
PACKET_PLAYER_REMOVE
@ PACKET_PLAYER_REMOVE
Definition packets_gen.h:1946
PACKET_DIPLOMACY_CANCEL_MEETING
@ PACKET_DIPLOMACY_CANCEL_MEETING
Definition packets_gen.h:1977
PACKET_START_PHASE
@ PACKET_START_PHASE
Definition packets_gen.h:1991
PACKET_SPACESHIP_INFO
@ PACKET_SPACESHIP_INFO
Definition packets_gen.h:1999
PACKET_PLAYER_ATTRIBUTE_CHUNK
@ PACKET_PLAYER_ATTRIBUTE_CHUNK
Definition packets_gen.h:1954
PACKET_RULESET_TERRAIN_FLAG
@ PACKET_RULESET_TERRAIN_FLAG
Definition packets_gen.h:2069
PACKET_RULESET_ACHIEVEMENT
@ PACKET_RULESET_ACHIEVEMENT
Definition packets_gen.h:2071
PACKET_RULESET_EFFECT
@ PACKET_RULESET_EFFECT
Definition packets_gen.h:2028
PACKET_RULESET_DISASTER
@ PACKET_RULESET_DISASTER
Definition packets_gen.h:2062
PACKET_RULESET_CONTROL
@ PACKET_RULESET_CONTROL
Definition packets_gen.h:2015
PACKET_VOTE_NEW
@ PACKET_VOTE_NEW
Definition packets_gen.h:2032
PACKET_AUTHENTICATION_REQ
@ PACKET_AUTHENTICATION_REQ
Definition packets_gen.h:1907
PACKET_RULESET_TRADE
@ PACKET_RULESET_TRADE
Definition packets_gen.h:2065
PACKET_CONN_INFO
@ PACKET_CONN_INFO
Definition packets_gen.h:1987
PACKET_SERVER_SETTING_BITWISE
@ PACKET_SERVER_SETTING_BITWISE
Definition packets_gen.h:2026
PACKET_DIPLOMACY_INIT_MEETING
@ PACKET_DIPLOMACY_INIT_MEETING
Definition packets_gen.h:1975
PACKET_RULESET_SUMMARY
@ PACKET_RULESET_SUMMARY
Definition packets_gen.h:2089
PACKET_PLAY_MUSIC
@ PACKET_PLAY_MUSIC
Definition packets_gen.h:2083
PACKET_TRADE_ROUTE_INFO
@ PACKET_TRADE_ROUTE_INFO
Definition packets_gen.h:2087
PACKET_RULESET_STYLE
@ PACKET_RULESET_STYLE
Definition packets_gen.h:2077
PACKET_RULESET_CITY
@ PACKET_RULESET_CITY
Definition packets_gen.h:2010
PACKET_CITY_NATIONALITIES
@ PACKET_CITY_NATIONALITIES
Definition packets_gen.h:1945
PACKET_FREEZE_CLIENT
@ PACKET_FREEZE_CLIENT
Definition packets_gen.h:1995
PACKET_VOTE_RESOLVE
@ PACKET_VOTE_RESOLVE
Definition packets_gen.h:2035
PACKET_TIMEOUT_INFO
@ PACKET_TIMEOUT_INFO
Definition packets_gen.h:2082
PACKET_RULESET_GAME
@ PACKET_RULESET_GAME
Definition packets_gen.h:2002
PACKET_RULESET_UNIT_FLAG
@ PACKET_RULESET_UNIT_FLAG
Definition packets_gen.h:2067
PACKET_DIPLOMACY_REMOVE_CLAUSE
@ PACKET_DIPLOMACY_REMOVE_CLAUSE
Definition packets_gen.h:1981
PACKET_TILE_INFO
@ PACKET_TILE_INFO
Definition packets_gen.h:1916
PACKET_EDIT_OBJECT_CREATED
@ PACKET_EDIT_OBJECT_CREATED
Definition packets_gen.h:2058
PACKET_CITY_SHORT_INFO
@ PACKET_CITY_SHORT_INFO
Definition packets_gen.h:1931
PACKET_CALENDAR_INFO
@ PACKET_CALENDAR_INFO
Definition packets_gen.h:2093
PACKET_SERVER_JOIN_REPLY
@ PACKET_SERVER_JOIN_REPLY
Definition packets_gen.h:1906
PACKET_SERVER_SETTING_STR
@ PACKET_SERVER_SETTING_STR
Definition packets_gen.h:2024
PACKET_SCENARIO_INFO
@ PACKET_SCENARIO_INFO
Definition packets_gen.h:2030
PACKET_RULESET_CHOICES
@ PACKET_RULESET_CHOICES
Definition packets_gen.h:2018
PACKET_RULESET_SPECIALIST
@ PACKET_RULESET_SPECIALIST
Definition packets_gen.h:2003
PACKET_CITY_REMOVE
@ PACKET_CITY_REMOVE
Definition packets_gen.h:1929
PACKET_UNIT_INFO
@ PACKET_UNIT_INFO
Definition packets_gen.h:1959
PACKET_RULESET_NATION_GROUPS
@ PACKET_RULESET_NATION_GROUPS
Definition packets_gen.h:2008
PACKET_CONNECT_MSG
@ PACKET_CONNECT_MSG
Definition packets_gen.h:1926
PACKET_EARLY_CHAT_MSG
@ PACKET_EARLY_CHAT_MSG
Definition packets_gen.h:1927
PACKET_RULESET_UNIT_CLASS
@ PACKET_RULESET_UNIT_CLASS
Definition packets_gen.h:2013
PACKET_PLAYER_INFO
@ PACKET_PLAYER_INFO
Definition packets_gen.h:1947
PACKET_SERVER_SHUTDOWN
@ PACKET_SERVER_SHUTDOWN
Definition packets_gen.h:1909
PACKET_RULESET_TERRAIN
@ PACKET_RULESET_TERRAIN
Definition packets_gen.h:2012
PACKET_RULESET_EXTRA_FLAG
@ PACKET_RULESET_EXTRA_FLAG
Definition packets_gen.h:2064
PACKET_RULESET_DESCRIPTION_PART
@ PACKET_RULESET_DESCRIPTION_PART
Definition packets_gen.h:2085
PACKET_RULESET_BASE
@ PACKET_RULESET_BASE
Definition packets_gen.h:2014
PACKET_SERVER_SETTING_BOOL
@ PACKET_SERVER_SETTING_BOOL
Definition packets_gen.h:2022
PACKET_RESEARCH_INFO
@ PACKET_RESEARCH_INFO
Definition packets_gen.h:1956
PACKET_PAGE_MSG_PART
@ PACKET_PAGE_MSG_PART
Definition packets_gen.h:2088
PACKET_RULESET_UNIT
@ PACKET_RULESET_UNIT
Definition packets_gen.h:2001
PACKET_UNIT_ACTIONS
@ PACKET_UNIT_ACTIONS
Definition packets_gen.h:1973
PACKET_INVESTIGATE_FINISHED
@ PACKET_INVESTIGATE_FINISHED
Definition packets_gen.h:1923
PACKET_RULESET_ACTION_ENABLER
@ PACKET_RULESET_ACTION_ENABLER
Definition packets_gen.h:2073
PACKET_INVESTIGATE_STARTED
@ PACKET_INVESTIGATE_STARTED
Definition packets_gen.h:1922
PACKET_CITY_RALLY_POINT
@ PACKET_CITY_RALLY_POINT
Definition packets_gen.h:2000
PACKET_RULESET_UNIT_BONUS
@ PACKET_RULESET_UNIT_BONUS
Definition packets_gen.h:2066
PACKET_RULESET_BUILDING
@ PACKET_RULESET_BUILDING
Definition packets_gen.h:2011
PACKET_RULESET_NATION
@ PACKET_RULESET_NATION
Definition packets_gen.h:2009
PACKET_SERVER_INFO
@ PACKET_SERVER_INFO
Definition packets_gen.h:1928
PACKET_RULESET_GOVERNMENT_RULER_TITLE
@ PACKET_RULESET_GOVERNMENT_RULER_TITLE
Definition packets_gen.h:2004
PACKET_DIPLOMACY_CREATE_CLAUSE
@ PACKET_DIPLOMACY_CREATE_CLAUSE
Definition packets_gen.h:1979
PACKET_RULESET_GOVERNMENT
@ PACKET_RULESET_GOVERNMENT
Definition packets_gen.h:2006
PACKET_SCENARIO_DESCRIPTION
@ PACKET_SCENARIO_DESCRIPTION
Definition packets_gen.h:1914
PACKET_SERVER_SETTING_CONTROL
@ PACKET_SERVER_SETTING_CONTROL
Definition packets_gen.h:2020
PACKET_ACHIEVEMENT_INFO
@ PACKET_ACHIEVEMENT_INFO
Definition packets_gen.h:2076
PACKET_PAGE_MSG
@ PACKET_PAGE_MSG
Definition packets_gen.h:1985
PACKET_RULESET_TECH_FLAG
@ PACKET_RULESET_TECH_FLAG
Definition packets_gen.h:2072
PACKET_RULESET_RESOURCE
@ PACKET_RULESET_RESOURCE
Definition packets_gen.h:2029
PACKET_EDIT_STARTPOS_FULL
@ PACKET_EDIT_STARTPOS_FULL
Definition packets_gen.h:2044
PACKET_TEAM_NAME_INFO
@ PACKET_TEAM_NAME_INFO
Definition packets_gen.h:1920
PACKET_CITY_INFO
@ PACKET_CITY_INFO
Definition packets_gen.h:1930
PACKET_NATION_AVAILABILITY
@ PACKET_NATION_AVAILABILITY
Definition packets_gen.h:2075
PACKET_VOTE_REMOVE
@ PACKET_VOTE_REMOVE
Definition packets_gen.h:2034
PACKET_WORKER_TASK
@ PACKET_WORKER_TASK
Definition packets_gen.h:2079
handle_ruleset_game
void handle_ruleset_game(const struct packet_ruleset_game *packet)
Definition packhand.c:4797
handle_player_diplstate
void handle_player_diplstate(const struct packet_player_diplstate *packet)
Definition packhand.c:2788
handle_ruleset_nation_sets
void handle_ruleset_nation_sets(const struct packet_ruleset_nation_sets *packet)
Definition packhand.c:4558
handle_ruleset_nation
void handle_ruleset_nation(const struct packet_ruleset_nation *packet)
Definition packhand.c:4600
handle_city_name_suggestion_info
void handle_city_name_suggestion_info(int unit_id, const char *name)
Definition packhand.c:4868
handle_nuke_tile_info
void handle_nuke_tile_info(int tile)
Definition packhand.c:553
handle_unknown_research
void handle_unknown_research(int id)
Definition packhand.c:2758
handle_ruleset_government_ruler_title
void handle_ruleset_government_ruler_title(const struct packet_ruleset_government_ruler_title *packet)
Definition packhand.c:4020
handle_city_info
void handle_city_info(const struct packet_city_info *packet)
Definition packhand.c:658
handle_end_turn
void handle_end_turn(void)
Definition packhand.c:1492
handle_conn_info
void handle_conn_info(const struct packet_conn_info *pinfo)
Definition packhand.c:2889
handle_vote_remove
void handle_vote_remove(int vote_no)
Definition packhand.c:5480
handle_investigate_finished
void handle_investigate_finished(const struct packet_investigate_finished *packet)
Definition packhand.c:2156
handle_page_msg_part
void handle_page_msg_part(const char *lines)
Definition packhand.c:1622
handle_unit_combat_info
void handle_unit_combat_info(const struct packet_unit_combat_info *packet)
Definition packhand.c:576
handle_ruleset_style
void handle_ruleset_style(const struct packet_ruleset_style *p)
Definition packhand.c:4708
handle_unit_remove
void handle_unit_remove(int unit_id)
Definition packhand.c:499
handle_vote_update
void handle_vote_update(int vote_no, int yes, int no, int abstain, int num_voters)
Definition packhand.c:5489
handle_ruleset_multiplier
void handle_ruleset_multiplier(const struct packet_ruleset_multiplier *p)
Definition packhand.c:3965
handle_player_info
void handle_player_info(const struct packet_player_info *pinfo)
Definition packhand.c:2448
handle_ruleset_extra
void handle_ruleset_extra(const struct packet_ruleset_extra *p)
Definition packhand.c:4161
handle_ruleset_action_auto
void handle_ruleset_action_auto(const struct packet_ruleset_action_auto *p)
Definition packhand.c:4470
handle_map_info
void handle_map_info(const struct packet_map_info *packet)
Definition packhand.c:2236
handle_ruleset_unit_bonus
void handle_ruleset_unit_bonus(const struct packet_ruleset_unit_bonus *p)
Definition packhand.c:3678
handle_start_phase
void handle_start_phase(int phase)
Definition packhand.c:1419
handle_timeout_info
void handle_timeout_info(float seconds_to_phasedone, float last_turn_change_time)
Definition packhand.c:2362
handle_ruleset_terrain_control
void handle_ruleset_terrain_control(const struct packet_ruleset_terrain_control *p)
Definition packhand.c:4545
handle_play_music
void handle_play_music(const char *tag)
Definition packhand.c:5545
handle_investigate_started
void handle_investigate_started(const struct packet_investigate_started *packet)
Definition packhand.c:2132
handle_edit_object_created
void handle_edit_object_created(int tag, int id)
Definition packhand.c:5403
parts
int parts
Definition packhand.c:132
handle_conn_ping
void handle_conn_ping(void)
Definition packhand.c:5376
handle_ruleset_tech_class
void handle_ruleset_tech_class(const struct packet_ruleset_tech_class *p)
Definition packhand.c:3850
handle_diplomacy_init_meeting
void handle_diplomacy_init_meeting(int counterpart, int initiated_from)
Definition packhand.c:5553
handle_ruleset_control
void handle_ruleset_control(const struct packet_ruleset_control *packet)
Definition packhand.c:3409
handle_end_phase
void handle_end_phase(void)
Definition packhand.c:1408
handle_ruleset_counter
void handle_ruleset_counter(const struct packet_ruleset_counter *packet)
Definition packhand.c:5597
handle_server_info
void handle_server_info(const char *version_label, int major_version, int minor_version, int patch_version, int emerg_version)
Definition packhand.c:1575
handle_ruleset_nation_groups
void handle_ruleset_nation_groups(const struct packet_ruleset_nation_groups *packet)
Definition packhand.c:4579
handle_ruleset_effect
void handle_ruleset_effect(const struct packet_ruleset_effect *packet)
Definition packhand.c:5392
handle_new_year
void handle_new_year(int year, int fragments, int turn)
Definition packhand.c:1359
handle_research_info
void handle_research_info(const struct packet_research_info *packet)
Definition packhand.c:2674
handle_ruleset_goods
void handle_ruleset_goods(const struct packet_ruleset_goods *p)
Definition packhand.c:4377
handle_unit_info
void handle_unit_info(const struct packet_unit_info *packet)
Definition packhand.c:1648
handle_ruleset_city
void handle_ruleset_city(const struct packet_ruleset_city *packet)
Definition packhand.c:4748
handle_ruleset_unit_class
void handle_ruleset_unit_class(const struct packet_ruleset_unit_class *p)
Definition packhand.c:3587
handle_ruleset_government
void handle_ruleset_government(const struct packet_ruleset_government *p)
Definition packhand.c:3993
handle_ruleset_terrain_flag
void handle_ruleset_terrain_flag(const struct packet_ruleset_terrain_flag *p)
Definition packhand.c:4117
handle_connect_msg
void handle_connect_msg(const char *message)
Definition packhand.c:1566
handle_rulesets_ready
void handle_rulesets_ready(void)
Definition packhand.c:3533
handle_tile_info
void handle_tile_info(const struct packet_tile_info *packet)
Definition packhand.c:3119
handle_ruleset_action
void handle_ruleset_action(const struct packet_ruleset_action *p)
Definition packhand.c:4402
handle_achievement_info
void handle_achievement_info(int id, bool gained, bool first)
Definition packhand.c:3018
handle_scenario_description
void handle_scenario_description(const char *description)
Definition packhand.c:3397
handle_processing_finished
void handle_processing_finished(void)
Definition packhand.c:5311
handle_diplomacy_cancel_meeting
void handle_diplomacy_cancel_meeting(int counterpart, int initiated_from)
Definition packhand.c:5570
handle_city_short_info
void handle_city_short_info(const struct packet_city_short_info *packet)
Definition packhand.c:1162
handle_diplomacy_create_clause
void handle_diplomacy_create_clause(int counterpart, int giver, enum clause_type type, int value)
Definition packhand.c:5578
handle_endgame_player
void handle_endgame_player(const struct packet_endgame_player *packet)
Definition packhand.c:5258
handle_ruleset_resource
void handle_ruleset_resource(const struct packet_ruleset_resource *p)
Definition packhand.c:4142
handle_unit_action_answer
void handle_unit_action_answer(int actor_id, int target_id, int cost, action_id action_type, int request_kind)
Definition packhand.c:4904
handle_ruleset_tech
void handle_ruleset_tech(const struct packet_ruleset_tech *p)
Definition packhand.c:3785
handle_team_name_info
void handle_team_name_info(int team_id, const char *team_name)
Definition packhand.c:561
handle_thaw_client
void handle_thaw_client(void)
Definition packhand.c:5365
handle_calendar_info
void handle_calendar_info(const struct packet_calendar_info *pcalendar)
Definition packhand.c:2354
handle_ruleset_disaster
void handle_ruleset_disaster(const struct packet_ruleset_disaster *p)
Definition packhand.c:4492
handle_ruleset_unit_class_flag
void handle_ruleset_unit_class_flag(const struct packet_ruleset_unit_class_flag *p)
Definition packhand.c:3723
handle_server_join_reply
void handle_server_join_reply(bool you_can_join, const char *message, const char *capability, const char *challenge_file, int conn_id)
Definition packhand.c:408
handle_ruleset_summary
void handle_ruleset_summary(const struct packet_ruleset_summary *packet)
Definition packhand.c:3505
handle_set_topology
void handle_set_topology(int topology_id, int wrap_id)
Definition packhand.c:2213
handle_ruleset_impr_flag
void handle_ruleset_impr_flag(const struct packet_ruleset_impr_flag *p)
Definition packhand.c:3939
handle_page_msg
void handle_page_msg(const char *caption, const char *headline, enum event_type event, int len, int parts)
Definition packhand.c:1591
handle_city_update_counters
void handle_city_update_counters(const struct packet_city_update_counters *packet)
Definition packhand.c:5620
handle_conn_ping_info
void handle_conn_ping_info(int connections, const int *conn_id, const float *ping_time)
Definition packhand.c:2995
handle_diplomacy_remove_clause
void handle_diplomacy_remove_clause(int counterpart, int giver, enum clause_type type, int value)
Definition packhand.c:5587
handle_player_remove
void handle_player_remove(int playerno)
Definition packhand.c:2403
handle_processing_started
void handle_processing_started(void)
Definition packhand.c:5293
handle_begin_turn
void handle_begin_turn(void)
Definition packhand.c:1478
handle_endgame_report
void handle_endgame_report(const struct packet_endgame_report *packet)
Definition packhand.c:5249
handle_early_chat_msg
void handle_early_chat_msg(const struct packet_early_chat_msg *packet)
Definition packhand.c:1552
handle_ruleset_clause
void handle_ruleset_clause(const struct packet_ruleset_clause *p)
Definition packhand.c:4720
handle_ruleset_road
void handle_ruleset_road(const struct packet_ruleset_road *p)
Definition packhand.c:4346
handle_unit_actions
void handle_unit_actions(const struct packet_unit_actions *packet)
Definition packhand.c:5118
handle_ruleset_music
void handle_ruleset_music(const struct packet_ruleset_music *packet)
Definition packhand.c:4774
handle_ruleset_base
void handle_ruleset_base(const struct packet_ruleset_base *p)
Definition packhand.c:4325
handle_freeze_client
void handle_freeze_client(void)
Definition packhand.c:5355
handle_city_remove
void handle_city_remove(int city_id)
Definition packhand.c:476
handle_chat_msg
void handle_chat_msg(const struct packet_chat_msg *packet)
Definition packhand.c:1532
handle_trade_route_info
void handle_trade_route_info(const struct packet_trade_route_info *packet)
Definition packhand.c:1127
handle_vote_new
void handle_vote_new(const struct packet_vote_new *packet)
Definition packhand.c:5510
handle_scenario_info
void handle_scenario_info(const struct packet_scenario_info *packet)
Definition packhand.c:3376
handle_ruleset_extra_flag
void handle_ruleset_extra_flag(const struct packet_ruleset_extra_flag *p)
Definition packhand.c:4299
lines
char * lines
Definition packhand.c:131
handle_ruleset_tech_flag
void handle_ruleset_tech_flag(const struct packet_ruleset_tech_flag *p)
Definition packhand.c:3863
handle_nation_availability
void handle_nation_availability(int ncount, const bool *is_pickable, bool nationset_change)
Definition packhand.c:4690
handle_spaceship_info
void handle_spaceship_info(const struct packet_spaceship_info *p)
Definition packhand.c:3074
handle_ruleset_specialist
void handle_ruleset_specialist(const struct packet_ruleset_specialist *p)
Definition packhand.c:4842
handle_unit_short_info
void handle_unit_short_info(const struct packet_unit_short_info *packet)
Definition packhand.c:2163
handle_diplomacy_accept_treaty
void handle_diplomacy_accept_treaty(int counterpart, bool I_accepted, bool other_accepted)
Definition packhand.c:5561
handle_ruleset_unit_flag
void handle_ruleset_unit_flag(const struct packet_ruleset_unit_flag *p)
Definition packhand.c:3698
handle_city_nationalities
void handle_city_nationalities(const struct packet_city_nationalities *packet)
Definition packhand.c:991
handle_server_shutdown
void handle_server_shutdown(void)
Definition packhand.c:5384
handle_ruleset_building
void handle_ruleset_building(const struct packet_ruleset_building *p)
Definition packhand.c:3888
handle_ruleset_unit
void handle_ruleset_unit(const struct packet_ruleset_unit *p)
Definition packhand.c:3605
handle_ruleset_terrain
void handle_ruleset_terrain(const struct packet_ruleset_terrain *p)
Definition packhand.c:4034
handle_city_sabotage_list
void handle_city_sabotage_list(int actor_id, int city_id, bv_imprs improvements, action_id act_id, int request_kind)
Definition packhand.c:5188
handle_ruleset_action_enabler
void handle_ruleset_action_enabler(const struct packet_ruleset_action_enabler *p)
Definition packhand.c:4436
handle_ruleset_achievement
void handle_ruleset_achievement(const struct packet_ruleset_achievement *p)
Definition packhand.c:4514
handle_game_info
void handle_game_info(const struct packet_game_info *pinfo)
Definition packhand.c:2278
handle_vote_resolve
void handle_vote_resolve(int vote_no, bool passed)
Definition packhand.c:5527
handle_ruleset_description_part
void handle_ruleset_description_part(const struct packet_ruleset_description_part *packet)
Definition packhand.c:3523
handle_ruleset_trade
void handle_ruleset_trade(const struct packet_ruleset_trade *p)
Definition packhand.c:4530
len
int len
Definition packhand.c:127
client_handle_packet
bool client_handle_packet(enum packet_type type, const void *packet)
Definition packhand_gen.c:17
packhand_gen.h
connections
static struct connection connections[MAX_NUM_CONNECTIONS]
Definition sernet.c:94
message
Definition messagewin_common.h:29
packet_achievement_info
Definition packets_gen.h:292
packet_authentication_req
Definition packets_gen.h:63
packet_city_name_suggestion_info
Definition packets_gen.h:482
packet_city_remove
Definition packets_gen.h:332
packet_city_sabotage_list
Definition packets_gen.h:487
packet_conn_ping_info
Definition packets_gen.h:867
packet_connect_msg
Definition packets_gen.h:320
packet_diplomacy_accept_treaty
Definition packets_gen.h:828
packet_diplomacy_cancel_meeting
Definition packets_gen.h:791
packet_diplomacy_create_clause
Definition packets_gen.h:803
packet_diplomacy_init_meeting
Definition packets_gen.h:782
packet_diplomacy_remove_clause
Definition packets_gen.h:817
packet_edit_object_created
Definition packets_gen.h:1861
packet_game_load
Definition packets_gen.h:1516
packet_nation_availability
Definition packets_gen.h:1159
packet_new_year
Definition packets_gen.h:899
packet_nuke_tile_info
Definition packets_gen.h:283
packet_page_msg_part
Definition packets_gen.h:847
packet_page_msg
Definition packets_gen.h:839
packet_play_music
Definition packets_gen.h:1866
packet_player_remove
Definition packets_gen.h:511
packet_scenario_description
Definition packets_gen.h:1629
packet_server_info
Definition packets_gen.h:324
packet_server_join_reply
Definition packets_gen.h:55
packet_set_topology
Definition packets_gen.h:1593
packet_single_want_hack_reply
Definition packets_gen.h:1503
packet_start_phase
Definition packets_gen.h:895
packet_team_name_info
Definition packets_gen.h:287
packet_timeout_info
Definition packets_gen.h:268
packet_unit_action_answer
Definition packets_gen.h:746
packet_unit_remove
Definition packets_gen.h:635
packet_unknown_research
Definition packets_gen.h:623
packet_vote_remove
Definition packets_gen.h:1653
packet_vote_resolve
Definition packets_gen.h:1657
packet_vote_update
Definition packets_gen.h:1645
tile
Definition tile.h:50
TRUE
#define TRUE
Definition support.h:46
FALSE
#define FALSE
Definition support.h:47