Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/packhand_gen.c Source File

Freeciv-3.1

Loading...
Searching...
No Matches
packhand_gen.c
Go to the documentation of this file.
1
2 /****************************************************************************
3 * THIS FILE WAS GENERATED *
4 * Script: common/generate_packets.py *
5 * Input: common/networking/packets.def *
6 * DO NOT CHANGE THIS FILE *
7 ****************************************************************************/
8
9
10
11#ifdef HAVE_CONFIG_H
12#include <fc_config.h>
13#endif
14
15/* common */
16#include "packets.h"
17
18#include "packhand_gen.h"
19
20 bool client_handle_packet(enum packet_type type, const void *packet)
21{
22 switch (type) {
23 case PACKET_PROCESSING_STARTED:
24 handle_processing_started();
25 return TRUE;
26
27 case PACKET_PROCESSING_FINISHED:
28 handle_processing_finished();
29 return TRUE;
30
31 case PACKET_INVESTIGATE_STARTED:
32 handle_investigate_started(
33 ((const struct packet_investigate_started *)packet)->unit_id16,
34 ((const struct packet_investigate_started *)packet)->unit_id32,
35 ((const struct packet_investigate_started *)packet)->city_id16,
36 ((const struct packet_investigate_started *)packet)->city_id32);
37 return TRUE;
38
39 case PACKET_INVESTIGATE_FINISHED:
40 handle_investigate_finished(
41 ((const struct packet_investigate_finished *)packet)->unit_id16,
42 ((const struct packet_investigate_finished *)packet)->unit_id32,
43 ((const struct packet_investigate_finished *)packet)->city_id16,
44 ((const struct packet_investigate_finished *)packet)->city_id32);
45 return TRUE;
46
47 case PACKET_SERVER_JOIN_REPLY:
48 handle_server_join_reply(
49 ((const struct packet_server_join_reply *)packet)->you_can_join,
50 ((const struct packet_server_join_reply *)packet)->message,
51 ((const struct packet_server_join_reply *)packet)->capability,
52 ((const struct packet_server_join_reply *)packet)->challenge_file,
53 ((const struct packet_server_join_reply *)packet)->conn_id);
54 return TRUE;
55
56 case PACKET_AUTHENTICATION_REQ:
57 handle_authentication_req(
58 ((const struct packet_authentication_req *)packet)->type,
59 ((const struct packet_authentication_req *)packet)->message);
60 return TRUE;
61
62 case PACKET_SERVER_SHUTDOWN:
63 handle_server_shutdown();
64 return TRUE;
65
66 case PACKET_ENDGAME_REPORT:
67 handle_endgame_report(packet);
68 return TRUE;
69
70 case PACKET_ENDGAME_PLAYER:
71 handle_endgame_player(packet);
72 return TRUE;
73
74 case PACKET_TILE_INFO:
75 handle_tile_info(packet);
76 return TRUE;
77
78 case PACKET_GAME_INFO:
79 handle_game_info(packet);
80 return TRUE;
81
82 case PACKET_CALENDAR_INFO:
83 handle_calendar_info(packet);
84 return TRUE;
85
86 case PACKET_TIMEOUT_INFO:
87 handle_timeout_info(
88 ((const struct packet_timeout_info *)packet)->seconds_to_phasedone,
89 ((const struct packet_timeout_info *)packet)->last_turn_change_time);
90 return TRUE;
91
92 case PACKET_MAP_INFO:
93 handle_map_info(
94 ((const struct packet_map_info *)packet)->xsize,
95 ((const struct packet_map_info *)packet)->ysize,
96 ((const struct packet_map_info *)packet)->topology_id);
97 return TRUE;
98
99 case PACKET_NUKE_TILE_INFO:
100 handle_nuke_tile_info(
101 ((const struct packet_nuke_tile_info *)packet)->tile);
102 return TRUE;
103
104 case PACKET_TEAM_NAME_INFO:
105 handle_team_name_info(
106 ((const struct packet_team_name_info *)packet)->team_id,
107 ((const struct packet_team_name_info *)packet)->team_name);
108 return TRUE;
109
110 case PACKET_ACHIEVEMENT_INFO:
111 handle_achievement_info(
112 ((const struct packet_achievement_info *)packet)->id,
113 ((const struct packet_achievement_info *)packet)->gained,
114 ((const struct packet_achievement_info *)packet)->first);
115 return TRUE;
116
117 case PACKET_CHAT_MSG:
118 handle_chat_msg(packet);
119 return TRUE;
120
121 case PACKET_EARLY_CHAT_MSG:
122 handle_early_chat_msg(packet);
123 return TRUE;
124
125 case PACKET_CONNECT_MSG:
126 handle_connect_msg(
127 ((const struct packet_connect_msg *)packet)->message);
128 return TRUE;
129
130 case PACKET_SERVER_INFO:
131 handle_server_info(
132 ((const struct packet_server_info *)packet)->version_label,
133 ((const struct packet_server_info *)packet)->major_version,
134 ((const struct packet_server_info *)packet)->minor_version,
135 ((const struct packet_server_info *)packet)->patch_version,
136 ((const struct packet_server_info *)packet)->emerg_version);
137 return TRUE;
138
139 case PACKET_CITY_REMOVE:
140 handle_city_remove(
141 ((const struct packet_city_remove *)packet)->city_id16,
142 ((const struct packet_city_remove *)packet)->city_id32);
143 return TRUE;
144
145 case PACKET_CITY_INFO:
146 handle_city_info(packet);
147 return TRUE;
148
149 case PACKET_CITY_NATIONALITIES:
150 handle_city_nationalities(packet);
151 return TRUE;
152
153 case PACKET_CITY_SHORT_INFO:
154 handle_city_short_info(packet);
155 return TRUE;
156
157 case PACKET_TRADE_ROUTE_INFO:
158 handle_trade_route_info(packet);
159 return TRUE;
160
161 case PACKET_CITY_NAME_SUGGESTION_INFO:
162 handle_city_name_suggestion_info(
163 ((const struct packet_city_name_suggestion_info *)packet)->unit_id16,
164 ((const struct packet_city_name_suggestion_info *)packet)->unit_id32,
165 ((const struct packet_city_name_suggestion_info *)packet)->name);
166 return TRUE;
167
168 case PACKET_CITY_SABOTAGE_LIST:
169 handle_city_sabotage_list(packet);
170 return TRUE;
171
172 case PACKET_CITY_RALLY_POINT:
173 handle_city_rally_point(packet);
174 return TRUE;
175
176 case PACKET_WORKER_TASK:
177 handle_worker_task(packet);
178 return TRUE;
179
180 case PACKET_PLAYER_REMOVE:
181 handle_player_remove(
182 ((const struct packet_player_remove *)packet)->playerno);
183 return TRUE;
184
185 case PACKET_PLAYER_INFO:
186 handle_player_info(packet);
187 return TRUE;
188
189 case PACKET_PLAYER_ATTRIBUTE_CHUNK:
190 handle_player_attribute_chunk(packet);
191 return TRUE;
192
193 case PACKET_PLAYER_DIPLSTATE:
194 handle_player_diplstate(packet);
195 return TRUE;
196
197 case PACKET_RESEARCH_INFO:
198 handle_research_info(packet);
199 return TRUE;
200
201 case PACKET_UNKNOWN_RESEARCH:
202 handle_unknown_research(
203 ((const struct packet_unknown_research *)packet)->id);
204 return TRUE;
205
206 case PACKET_UNIT_REMOVE:
207 handle_unit_remove(
208 ((const struct packet_unit_remove *)packet)->unit_id16,
209 ((const struct packet_unit_remove *)packet)->unit_id32);
210 return TRUE;
211
212 case PACKET_UNIT_INFO:
213 handle_unit_info(packet);
214 return TRUE;
215
216 case PACKET_UNIT_SHORT_INFO:
217 handle_unit_short_info(packet);
218 return TRUE;
219
220 case PACKET_UNIT_COMBAT_INFO:
221 handle_unit_combat_info(packet);
222 return TRUE;
223
224 case PACKET_UNIT_ACTION_ANSWER:
225 handle_unit_action_answer(packet);
226 return TRUE;
227
228 case PACKET_UNIT_ACTIONS:
229 handle_unit_actions(packet);
230 return TRUE;
231
232 case PACKET_DIPLOMACY_INIT_MEETING:
233 handle_diplomacy_init_meeting(
234 ((const struct packet_diplomacy_init_meeting *)packet)->counterpart,
235 ((const struct packet_diplomacy_init_meeting *)packet)->initiated_from);
236 return TRUE;
237
238 case PACKET_DIPLOMACY_CANCEL_MEETING:
239 handle_diplomacy_cancel_meeting(
240 ((const struct packet_diplomacy_cancel_meeting *)packet)->counterpart,
241 ((const struct packet_diplomacy_cancel_meeting *)packet)->initiated_from);
242 return TRUE;
243
244 case PACKET_DIPLOMACY_CREATE_CLAUSE:
245 handle_diplomacy_create_clause(
246 ((const struct packet_diplomacy_create_clause *)packet)->counterpart,
247 ((const struct packet_diplomacy_create_clause *)packet)->giver,
248 ((const struct packet_diplomacy_create_clause *)packet)->type,
249 ((const struct packet_diplomacy_create_clause *)packet)->value);
250 return TRUE;
251
252 case PACKET_DIPLOMACY_REMOVE_CLAUSE:
253 handle_diplomacy_remove_clause(
254 ((const struct packet_diplomacy_remove_clause *)packet)->counterpart,
255 ((const struct packet_diplomacy_remove_clause *)packet)->giver,
256 ((const struct packet_diplomacy_remove_clause *)packet)->type,
257 ((const struct packet_diplomacy_remove_clause *)packet)->value);
258 return TRUE;
259
260 case PACKET_DIPLOMACY_ACCEPT_TREATY:
261 handle_diplomacy_accept_treaty(
262 ((const struct packet_diplomacy_accept_treaty *)packet)->counterpart,
263 ((const struct packet_diplomacy_accept_treaty *)packet)->I_accepted,
264 ((const struct packet_diplomacy_accept_treaty *)packet)->other_accepted);
265 return TRUE;
266
267 case PACKET_PAGE_MSG:
268 handle_page_msg(
269 ((const struct packet_page_msg *)packet)->caption,
270 ((const struct packet_page_msg *)packet)->headline,
271 ((const struct packet_page_msg *)packet)->event,
272 ((const struct packet_page_msg *)packet)->len,
273 ((const struct packet_page_msg *)packet)->parts);
274 return TRUE;
275
276 case PACKET_PAGE_MSG_PART:
277 handle_page_msg_part(
278 ((const struct packet_page_msg_part *)packet)->lines);
279 return TRUE;
280
281 case PACKET_CONN_INFO:
282 handle_conn_info(packet);
283 return TRUE;
284
285 case PACKET_CONN_PING_INFO:
286 handle_conn_ping_info(
287 ((const struct packet_conn_ping_info *)packet)->connections,
288 ((const struct packet_conn_ping_info *)packet)->conn_id,
289 ((const struct packet_conn_ping_info *)packet)->ping_time);
290 return TRUE;
291
292 case PACKET_CONN_PING:
293 handle_conn_ping();
294 return TRUE;
295
296 case PACKET_END_PHASE:
297 handle_end_phase();
298 return TRUE;
299
300 case PACKET_START_PHASE:
301 handle_start_phase(
302 ((const struct packet_start_phase *)packet)->phase);
303 return TRUE;
304
305 case PACKET_NEW_YEAR:
306 handle_new_year(
307 ((const struct packet_new_year *)packet)->year,
308 ((const struct packet_new_year *)packet)->fragments,
309 ((const struct packet_new_year *)packet)->turn);
310 return TRUE;
311
312 case PACKET_BEGIN_TURN:
313 handle_begin_turn();
314 return TRUE;
315
316 case PACKET_END_TURN:
317 handle_end_turn();
318 return TRUE;
319
320 case PACKET_FREEZE_CLIENT:
321 handle_freeze_client();
322 return TRUE;
323
324 case PACKET_THAW_CLIENT:
325 handle_thaw_client();
326 return TRUE;
327
328 case PACKET_SPACESHIP_INFO:
329 handle_spaceship_info(packet);
330 return TRUE;
331
332 case PACKET_RULESET_UNIT:
333 handle_ruleset_unit(packet);
334 return TRUE;
335
336 case PACKET_RULESET_UNIT_BONUS:
337 handle_ruleset_unit_bonus(packet);
338 return TRUE;
339
340 case PACKET_RULESET_UNIT_FLAG:
341 handle_ruleset_unit_flag(packet);
342 return TRUE;
343
344 case PACKET_RULESET_UNIT_CLASS_FLAG:
345 handle_ruleset_unit_class_flag(packet);
346 return TRUE;
347
348 case PACKET_RULESET_GAME:
349 handle_ruleset_game(packet);
350 return TRUE;
351
352 case PACKET_RULESET_SPECIALIST:
353 handle_ruleset_specialist(packet);
354 return TRUE;
355
356 case PACKET_RULESET_GOVERNMENT_RULER_TITLE:
357 handle_ruleset_government_ruler_title(packet);
358 return TRUE;
359
360 case PACKET_RULESET_TECH:
361 handle_ruleset_tech(packet);
362 return TRUE;
363
364 case PACKET_RULESET_TECH_CLASS:
365 handle_ruleset_tech_class(packet);
366 return TRUE;
367
368 case PACKET_RULESET_TECH_FLAG:
369 handle_ruleset_tech_flag(packet);
370 return TRUE;
371
372 case PACKET_RULESET_GOVERNMENT:
373 handle_ruleset_government(packet);
374 return TRUE;
375
376 case PACKET_RULESET_TERRAIN_CONTROL:
377 handle_ruleset_terrain_control(packet);
378 return TRUE;
379
380 case PACKET_RULESETS_READY:
381 handle_rulesets_ready();
382 return TRUE;
383
384 case PACKET_RULESET_NATION_SETS:
385 handle_ruleset_nation_sets(packet);
386 return TRUE;
387
388 case PACKET_RULESET_NATION_GROUPS:
389 handle_ruleset_nation_groups(packet);
390 return TRUE;
391
392 case PACKET_RULESET_NATION:
393 handle_ruleset_nation(packet);
394 return TRUE;
395
396 case PACKET_NATION_AVAILABILITY:
397 handle_nation_availability(
398 ((const struct packet_nation_availability *)packet)->ncount,
399 ((const struct packet_nation_availability *)packet)->is_pickable,
400 ((const struct packet_nation_availability *)packet)->nationset_change);
401 return TRUE;
402
403 case PACKET_RULESET_STYLE:
404 handle_ruleset_style(packet);
405 return TRUE;
406
407 case PACKET_RULESET_CITY:
408 handle_ruleset_city(packet);
409 return TRUE;
410
411 case PACKET_RULESET_BUILDING:
412 handle_ruleset_building(packet);
413 return TRUE;
414
415 case PACKET_RULESET_TERRAIN:
416 handle_ruleset_terrain(packet);
417 return TRUE;
418
419 case PACKET_RULESET_TERRAIN_FLAG:
420 handle_ruleset_terrain_flag(packet);
421 return TRUE;
422
423 case PACKET_RULESET_UNIT_CLASS:
424 handle_ruleset_unit_class(packet);
425 return TRUE;
426
427 case PACKET_RULESET_EXTRA:
428 handle_ruleset_extra(packet);
429 return TRUE;
430
431 case PACKET_RULESET_EXTRA_FLAG:
432 handle_ruleset_extra_flag(packet);
433 return TRUE;
434
435 case PACKET_RULESET_BASE:
436 handle_ruleset_base(packet);
437 return TRUE;
438
439 case PACKET_RULESET_ROAD:
440 handle_ruleset_road(packet);
441 return TRUE;
442
443 case PACKET_RULESET_GOODS:
444 handle_ruleset_goods(packet);
445 return TRUE;
446
447 case PACKET_RULESET_DISASTER:
448 handle_ruleset_disaster(packet);
449 return TRUE;
450
451 case PACKET_RULESET_ACHIEVEMENT:
452 handle_ruleset_achievement(packet);
453 return TRUE;
454
455 case PACKET_RULESET_TRADE:
456 handle_ruleset_trade(packet);
457 return TRUE;
458
459 case PACKET_RULESET_ACTION:
460 handle_ruleset_action(packet);
461 return TRUE;
462
463 case PACKET_RULESET_ACTION_ENABLER:
464 handle_ruleset_action_enabler(packet);
465 return TRUE;
466
467 case PACKET_RULESET_ACTION_AUTO:
468 handle_ruleset_action_auto(packet);
469 return TRUE;
470
471 case PACKET_RULESET_MUSIC:
472 handle_ruleset_music(packet);
473 return TRUE;
474
475 case PACKET_RULESET_MULTIPLIER:
476 handle_ruleset_multiplier(packet);
477 return TRUE;
478
479 case PACKET_RULESET_CLAUSE:
480 handle_ruleset_clause(packet);
481 return TRUE;
482
483 case PACKET_RULESET_CONTROL:
484 handle_ruleset_control(packet);
485 return TRUE;
486
487 case PACKET_RULESET_SUMMARY:
488 handle_ruleset_summary(packet);
489 return TRUE;
490
491 case PACKET_RULESET_DESCRIPTION_PART:
492 handle_ruleset_description_part(packet);
493 return TRUE;
494
495 case PACKET_SINGLE_WANT_HACK_REPLY:
496 handle_single_want_hack_reply(
497 ((const struct packet_single_want_hack_reply *)packet)->you_have_hack);
498 return TRUE;
499
500 case PACKET_RULESET_CHOICES:
501 handle_ruleset_choices(packet);
502 return TRUE;
503
504 case PACKET_GAME_LOAD:
505 handle_game_load(
506 ((const struct packet_game_load *)packet)->load_successful,
507 ((const struct packet_game_load *)packet)->load_filename);
508 return TRUE;
509
510 case PACKET_SERVER_SETTING_CONTROL:
511 handle_server_setting_control(packet);
512 return TRUE;
513
514 case PACKET_SERVER_SETTING_CONST:
515 handle_server_setting_const(packet);
516 return TRUE;
517
518 case PACKET_SERVER_SETTING_BOOL:
519 handle_server_setting_bool(packet);
520 return TRUE;
521
522 case PACKET_SERVER_SETTING_INT:
523 handle_server_setting_int(packet);
524 return TRUE;
525
526 case PACKET_SERVER_SETTING_STR:
527 handle_server_setting_str(packet);
528 return TRUE;
529
530 case PACKET_SERVER_SETTING_ENUM:
531 handle_server_setting_enum(packet);
532 return TRUE;
533
534 case PACKET_SERVER_SETTING_BITWISE:
535 handle_server_setting_bitwise(packet);
536 return TRUE;
537
538 case PACKET_SET_TOPOLOGY:
539 handle_set_topology(
540 ((const struct packet_set_topology *)packet)->topology_id);
541 return TRUE;
542
543 case PACKET_RULESET_EFFECT:
544 handle_ruleset_effect(packet);
545 return TRUE;
546
547 case PACKET_RULESET_RESOURCE:
548 handle_ruleset_resource(packet);
549 return TRUE;
550
551 case PACKET_SCENARIO_INFO:
552 handle_scenario_info(packet);
553 return TRUE;
554
555 case PACKET_SCENARIO_DESCRIPTION:
556 handle_scenario_description(
557 ((const struct packet_scenario_description *)packet)->description);
558 return TRUE;
559
560 case PACKET_VOTE_NEW:
561 handle_vote_new(packet);
562 return TRUE;
563
564 case PACKET_VOTE_UPDATE:
565 handle_vote_update(
566 ((const struct packet_vote_update *)packet)->vote_no,
567 ((const struct packet_vote_update *)packet)->yes,
568 ((const struct packet_vote_update *)packet)->no,
569 ((const struct packet_vote_update *)packet)->abstain,
570 ((const struct packet_vote_update *)packet)->num_voters);
571 return TRUE;
572
573 case PACKET_VOTE_REMOVE:
574 handle_vote_remove(
575 ((const struct packet_vote_remove *)packet)->vote_no);
576 return TRUE;
577
578 case PACKET_VOTE_RESOLVE:
579 handle_vote_resolve(
580 ((const struct packet_vote_resolve *)packet)->vote_no,
581 ((const struct packet_vote_resolve *)packet)->passed);
582 return TRUE;
583
584 case PACKET_EDIT_STARTPOS:
585 handle_edit_startpos(packet);
586 return TRUE;
587
588 case PACKET_EDIT_STARTPOS_FULL:
589 handle_edit_startpos_full(packet);
590 return TRUE;
591
592 case PACKET_EDIT_OBJECT_CREATED:
593 handle_edit_object_created(
594 ((const struct packet_edit_object_created *)packet)->tag,
595 ((const struct packet_edit_object_created *)packet)->id);
596 return TRUE;
597
598 case PACKET_PLAY_MUSIC:
599 handle_play_music(
600 ((const struct packet_play_music *)packet)->tag);
601 return TRUE;
602
603 case PACKET_WEB_CITY_INFO_ADDITION:
604 handle_web_city_info_addition(
605 ((const struct packet_web_city_info_addition *)packet)->id16,
606 ((const struct packet_web_city_info_addition *)packet)->id32,
607 ((const struct packet_web_city_info_addition *)packet)->granary_size,
608 ((const struct packet_web_city_info_addition *)packet)->granary_turns);
609 return TRUE;
610
611 case PACKET_WEB_PLAYER_INFO_ADDITION:
612 handle_web_player_info_addition(
613 ((const struct packet_web_player_info_addition *)packet)->playerno,
614 ((const struct packet_web_player_info_addition *)packet)->expected_income);
615 return TRUE;
616
617 case PACKET_WEB_RULESET_UNIT_ADDITION:
618 handle_web_ruleset_unit_addition(
619 ((const struct packet_web_ruleset_unit_addition *)packet)->id,
620 ((const struct packet_web_ruleset_unit_addition *)packet)->utype_actions);
621 return TRUE;
622
623 default:
624 return FALSE;
625 }
626}
handle_city_rally_point
void handle_city_rally_point(struct player *pplayer, const struct packet_city_rally_point *packet)
Definition cityhand.c:588
handle_ruleset_choices
void handle_ruleset_choices(const struct packet_ruleset_choices *packet)
Definition connectdlg_common.c:755
handle_single_want_hack_reply
void handle_single_want_hack_reply(bool you_have_hack)
Definition connectdlg_common.c:713
caption
const char * caption
Definition dialogs_g.h:36
headline
const char const char * headline
Definition dialogs_g.h:37
giver
int int initiated_from int int giver
Definition diplodlg_g.h:28
handle_diplomacy_remove_clause
int int initiated_from handle_diplomacy_remove_clause
Definition diplodlg_g.h:28
handle_diplomacy_cancel_meeting
handle_diplomacy_cancel_meeting
Definition diplodlg_g.h:24
counterpart
int counterpart
Definition diplodlg_g.h:25
handle_edit_startpos_full
void handle_edit_startpos_full(struct connection *pconn, const struct packet_edit_startpos_full *packet)
Definition edithand.c:1399
handle_edit_startpos
void handle_edit_startpos(struct connection *pconn, const struct packet_edit_startpos *packet)
Definition edithand.c:1361
event
enum event_type event
Definition events.c:81
handle_diplomacy_init_meeting
void handle_diplomacy_init_meeting(int counterpart, int initiated_from)
Definition diplodlg.c:135
handle_diplomacy_create_clause
void handle_diplomacy_create_clause(int counterpart, int giver, enum clause_type type, int value)
Definition diplodlg.c:157
handle_diplomacy_accept_treaty
void handle_diplomacy_accept_treaty(int counterpart, bool I_accepted, bool other_accepted)
Definition diplodlg.c:116
handle_game_load
void handle_game_load(bool load_successful, const char *filename)
Definition pages.c:2837
load_filename
static void load_filename(const char *filename)
Definition pages.c:2852
handle_authentication_req
void handle_authentication_req(enum authentication_type type, const char *message)
Definition pages.c:1004
type
GType type
Definition repodlgs.c:1312
handle_worker_task
void handle_worker_task(struct player *pplayer, const struct packet_worker_task *packet)
Definition unithand.c:6435
handle_player_attribute_chunk
void handle_player_attribute_chunk(struct player *pplayer, const struct packet_player_attribute_chunk *packet)
Definition plrhand.c:2989
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:4288
handle_server_setting_int
void handle_server_setting_int(const struct packet_server_setting_int *packet)
Definition options.c:4380
handle_server_setting_bitwise
void handle_server_setting_bitwise(const struct packet_server_setting_bitwise *packet)
Definition options.c:4551
handle_server_setting_bool
void handle_server_setting_bool(const struct packet_server_setting_bool *packet)
Definition options.c:4345
handle_server_setting_str
void handle_server_setting_str(const struct packet_server_setting_str *packet)
Definition options.c:4417
handle_server_setting_control
void handle_server_setting_control(const struct packet_server_setting_control *packet)
Definition options.c:4254
handle_server_setting_enum
void handle_server_setting_enum(const struct packet_server_setting_enum *packet)
Definition options.c:4462
packets.h
packet_type
packet_type
Definition packets_gen.h:1883
PACKET_DIPLOMACY_ACCEPT_TREATY
@ PACKET_DIPLOMACY_ACCEPT_TREATY
Definition packets_gen.h:1963
PACKET_WEB_PLAYER_INFO_ADDITION
@ PACKET_WEB_PLAYER_INFO_ADDITION
Definition packets_gen.h:2074
PACKET_RULESET_MULTIPLIER
@ PACKET_RULESET_MULTIPLIER
Definition packets_gen.h:2060
PACKET_THAW_CLIENT
@ PACKET_THAW_CLIENT
Definition packets_gen.h:1976
PACKET_RULESET_MUSIC
@ PACKET_RULESET_MUSIC
Definition packets_gen.h:2057
PACKET_RULESET_GOODS
@ PACKET_RULESET_GOODS
Definition packets_gen.h:2065
PACKET_ENDGAME_PLAYER
@ PACKET_ENDGAME_PLAYER
Definition packets_gen.h:2040
PACKET_UNIT_ACTION_ANSWER
@ PACKET_UNIT_ACTION_ANSWER
Definition packets_gen.h:1949
PACKET_SERVER_SETTING_ENUM
@ PACKET_SERVER_SETTING_ENUM
Definition packets_gen.h:2005
PACKET_SET_TOPOLOGY
@ PACKET_SET_TOPOLOGY
Definition packets_gen.h:2070
PACKET_WEB_CITY_INFO_ADDITION
@ PACKET_WEB_CITY_INFO_ADDITION
Definition packets_gen.h:2073
PACKET_CONN_PING
@ PACKET_CONN_PING
Definition packets_gen.h:1951
PACKET_VOTE_UPDATE
@ PACKET_VOTE_UPDATE
Definition packets_gen.h:2012
PACKET_CITY_NAME_SUGGESTION_INFO
@ PACKET_CITY_NAME_SUGGESTION_INFO
Definition packets_gen.h:1923
PACKET_PROCESSING_STARTED
@ PACKET_PROCESSING_STARTED
Definition packets_gen.h:1884
PACKET_UNIT_REMOVE
@ PACKET_UNIT_REMOVE
Definition packets_gen.h:1938
PACKET_END_PHASE
@ PACKET_END_PHASE
Definition packets_gen.h:1970
PACKET_SERVER_SETTING_INT
@ PACKET_SERVER_SETTING_INT
Definition packets_gen.h:2003
PACKET_RULESET_EXTRA
@ PACKET_RULESET_EXTRA
Definition packets_gen.h:2049
PACKET_CONN_PING_INFO
@ PACKET_CONN_PING_INFO
Definition packets_gen.h:1968
PACKET_END_TURN
@ PACKET_END_TURN
Definition packets_gen.h:1974
PACKET_NEW_YEAR
@ PACKET_NEW_YEAR
Definition packets_gen.h:1972
PACKET_ENDGAME_REPORT
@ PACKET_ENDGAME_REPORT
Definition packets_gen.h:1894
PACKET_RULESET_ACTION_AUTO
@ PACKET_RULESET_ACTION_AUTO
Definition packets_gen.h:2069
PACKET_UNIT_COMBAT_INFO
@ PACKET_UNIT_COMBAT_INFO
Definition packets_gen.h:1941
PACKET_RULESETS_READY
@ PACKET_RULESETS_READY
Definition packets_gen.h:2042
PACKET_UNIT_SHORT_INFO
@ PACKET_UNIT_SHORT_INFO
Definition packets_gen.h:1940
PACKET_RULESET_UNIT_CLASS_FLAG
@ PACKET_RULESET_UNIT_CLASS_FLAG
Definition packets_gen.h:2047
PACKET_RULESET_TECH_CLASS
@ PACKET_RULESET_TECH_CLASS
Definition packets_gen.h:1891
PACKET_SINGLE_WANT_HACK_REPLY
@ PACKET_SINGLE_WANT_HACK_REPLY
Definition packets_gen.h:1997
PACKET_GAME_INFO
@ PACKET_GAME_INFO
Definition packets_gen.h:1898
PACKET_PROCESSING_FINISHED
@ PACKET_PROCESSING_FINISHED
Definition packets_gen.h:1885
PACKET_RULESET_ACTION
@ PACKET_RULESET_ACTION
Definition packets_gen.h:2063
PACKET_UNKNOWN_RESEARCH
@ PACKET_UNKNOWN_RESEARCH
Definition packets_gen.h:1942
PACKET_NUKE_TILE_INFO
@ PACKET_NUKE_TILE_INFO
Definition packets_gen.h:1900
PACKET_PLAYER_DIPLSTATE
@ PACKET_PLAYER_DIPLSTATE
Definition packets_gen.h:1935
PACKET_RULESET_TECH
@ PACKET_RULESET_TECH
Definition packets_gen.h:1985
PACKET_RULESET_ROAD
@ PACKET_RULESET_ROAD
Definition packets_gen.h:2038
PACKET_RULESET_NATION_SETS
@ PACKET_RULESET_NATION_SETS
Definition packets_gen.h:2053
PACKET_CITY_SABOTAGE_LIST
@ PACKET_CITY_SABOTAGE_LIST
Definition packets_gen.h:1924
PACKET_MAP_INFO
@ PACKET_MAP_INFO
Definition packets_gen.h:1899
PACKET_RULESET_CLAUSE
@ PACKET_RULESET_CLAUSE
Definition packets_gen.h:2076
PACKET_CHAT_MSG
@ PACKET_CHAT_MSG
Definition packets_gen.h:1904
PACKET_EDIT_STARTPOS
@ PACKET_EDIT_STARTPOS
Definition packets_gen.h:2022
PACKET_SERVER_SETTING_CONST
@ PACKET_SERVER_SETTING_CONST
Definition packets_gen.h:2001
PACKET_BEGIN_TURN
@ PACKET_BEGIN_TURN
Definition packets_gen.h:1973
PACKET_RULESET_TERRAIN_CONTROL
@ PACKET_RULESET_TERRAIN_CONTROL
Definition packets_gen.h:1987
PACKET_GAME_LOAD
@ PACKET_GAME_LOAD
Definition packets_gen.h:1999
PACKET_PLAYER_REMOVE
@ PACKET_PLAYER_REMOVE
Definition packets_gen.h:1926
PACKET_DIPLOMACY_CANCEL_MEETING
@ PACKET_DIPLOMACY_CANCEL_MEETING
Definition packets_gen.h:1957
PACKET_START_PHASE
@ PACKET_START_PHASE
Definition packets_gen.h:1971
PACKET_SPACESHIP_INFO
@ PACKET_SPACESHIP_INFO
Definition packets_gen.h:1979
PACKET_PLAYER_ATTRIBUTE_CHUNK
@ PACKET_PLAYER_ATTRIBUTE_CHUNK
Definition packets_gen.h:1934
PACKET_RULESET_TERRAIN_FLAG
@ PACKET_RULESET_TERRAIN_FLAG
Definition packets_gen.h:2048
PACKET_RULESET_ACHIEVEMENT
@ PACKET_RULESET_ACHIEVEMENT
Definition packets_gen.h:2050
PACKET_RULESET_EFFECT
@ PACKET_RULESET_EFFECT
Definition packets_gen.h:2007
PACKET_RULESET_DISASTER
@ PACKET_RULESET_DISASTER
Definition packets_gen.h:2041
PACKET_RULESET_CONTROL
@ PACKET_RULESET_CONTROL
Definition packets_gen.h:1995
PACKET_VOTE_NEW
@ PACKET_VOTE_NEW
Definition packets_gen.h:2011
PACKET_AUTHENTICATION_REQ
@ PACKET_AUTHENTICATION_REQ
Definition packets_gen.h:1888
PACKET_RULESET_TRADE
@ PACKET_RULESET_TRADE
Definition packets_gen.h:2044
PACKET_CONN_INFO
@ PACKET_CONN_INFO
Definition packets_gen.h:1967
PACKET_SERVER_SETTING_BITWISE
@ PACKET_SERVER_SETTING_BITWISE
Definition packets_gen.h:2006
PACKET_DIPLOMACY_INIT_MEETING
@ PACKET_DIPLOMACY_INIT_MEETING
Definition packets_gen.h:1955
PACKET_RULESET_SUMMARY
@ PACKET_RULESET_SUMMARY
Definition packets_gen.h:2068
PACKET_PLAY_MUSIC
@ PACKET_PLAY_MUSIC
Definition packets_gen.h:2062
PACKET_TRADE_ROUTE_INFO
@ PACKET_TRADE_ROUTE_INFO
Definition packets_gen.h:2066
PACKET_RULESET_STYLE
@ PACKET_RULESET_STYLE
Definition packets_gen.h:2056
PACKET_RULESET_CITY
@ PACKET_RULESET_CITY
Definition packets_gen.h:1990
PACKET_CITY_NATIONALITIES
@ PACKET_CITY_NATIONALITIES
Definition packets_gen.h:1925
PACKET_FREEZE_CLIENT
@ PACKET_FREEZE_CLIENT
Definition packets_gen.h:1975
PACKET_VOTE_RESOLVE
@ PACKET_VOTE_RESOLVE
Definition packets_gen.h:2014
PACKET_TIMEOUT_INFO
@ PACKET_TIMEOUT_INFO
Definition packets_gen.h:2061
PACKET_RULESET_GAME
@ PACKET_RULESET_GAME
Definition packets_gen.h:1982
PACKET_RULESET_UNIT_FLAG
@ PACKET_RULESET_UNIT_FLAG
Definition packets_gen.h:2046
PACKET_DIPLOMACY_REMOVE_CLAUSE
@ PACKET_DIPLOMACY_REMOVE_CLAUSE
Definition packets_gen.h:1961
PACKET_TILE_INFO
@ PACKET_TILE_INFO
Definition packets_gen.h:1897
PACKET_EDIT_OBJECT_CREATED
@ PACKET_EDIT_OBJECT_CREATED
Definition packets_gen.h:2037
PACKET_CITY_SHORT_INFO
@ PACKET_CITY_SHORT_INFO
Definition packets_gen.h:1911
PACKET_CALENDAR_INFO
@ PACKET_CALENDAR_INFO
Definition packets_gen.h:2072
PACKET_SERVER_JOIN_REPLY
@ PACKET_SERVER_JOIN_REPLY
Definition packets_gen.h:1887
PACKET_SERVER_SETTING_STR
@ PACKET_SERVER_SETTING_STR
Definition packets_gen.h:2004
PACKET_SCENARIO_INFO
@ PACKET_SCENARIO_INFO
Definition packets_gen.h:2009
PACKET_RULESET_CHOICES
@ PACKET_RULESET_CHOICES
Definition packets_gen.h:1998
PACKET_RULESET_SPECIALIST
@ PACKET_RULESET_SPECIALIST
Definition packets_gen.h:1983
PACKET_CITY_REMOVE
@ PACKET_CITY_REMOVE
Definition packets_gen.h:1909
PACKET_UNIT_INFO
@ PACKET_UNIT_INFO
Definition packets_gen.h:1939
PACKET_RULESET_NATION_GROUPS
@ PACKET_RULESET_NATION_GROUPS
Definition packets_gen.h:1988
PACKET_CONNECT_MSG
@ PACKET_CONNECT_MSG
Definition packets_gen.h:1906
PACKET_EARLY_CHAT_MSG
@ PACKET_EARLY_CHAT_MSG
Definition packets_gen.h:1907
PACKET_RULESET_UNIT_CLASS
@ PACKET_RULESET_UNIT_CLASS
Definition packets_gen.h:1993
PACKET_PLAYER_INFO
@ PACKET_PLAYER_INFO
Definition packets_gen.h:1927
PACKET_WEB_RULESET_UNIT_ADDITION
@ PACKET_WEB_RULESET_UNIT_ADDITION
Definition packets_gen.h:2075
PACKET_SERVER_SHUTDOWN
@ PACKET_SERVER_SHUTDOWN
Definition packets_gen.h:1890
PACKET_RULESET_TERRAIN
@ PACKET_RULESET_TERRAIN
Definition packets_gen.h:1992
PACKET_RULESET_EXTRA_FLAG
@ PACKET_RULESET_EXTRA_FLAG
Definition packets_gen.h:2043
PACKET_RULESET_DESCRIPTION_PART
@ PACKET_RULESET_DESCRIPTION_PART
Definition packets_gen.h:2064
PACKET_RULESET_BASE
@ PACKET_RULESET_BASE
Definition packets_gen.h:1994
PACKET_SERVER_SETTING_BOOL
@ PACKET_SERVER_SETTING_BOOL
Definition packets_gen.h:2002
PACKET_RESEARCH_INFO
@ PACKET_RESEARCH_INFO
Definition packets_gen.h:1936
PACKET_PAGE_MSG_PART
@ PACKET_PAGE_MSG_PART
Definition packets_gen.h:2067
PACKET_RULESET_UNIT
@ PACKET_RULESET_UNIT
Definition packets_gen.h:1981
PACKET_UNIT_ACTIONS
@ PACKET_UNIT_ACTIONS
Definition packets_gen.h:1953
PACKET_INVESTIGATE_FINISHED
@ PACKET_INVESTIGATE_FINISHED
Definition packets_gen.h:1903
PACKET_RULESET_ACTION_ENABLER
@ PACKET_RULESET_ACTION_ENABLER
Definition packets_gen.h:2052
PACKET_INVESTIGATE_STARTED
@ PACKET_INVESTIGATE_STARTED
Definition packets_gen.h:1902
PACKET_CITY_RALLY_POINT
@ PACKET_CITY_RALLY_POINT
Definition packets_gen.h:1980
PACKET_RULESET_UNIT_BONUS
@ PACKET_RULESET_UNIT_BONUS
Definition packets_gen.h:2045
PACKET_RULESET_BUILDING
@ PACKET_RULESET_BUILDING
Definition packets_gen.h:1991
PACKET_RULESET_NATION
@ PACKET_RULESET_NATION
Definition packets_gen.h:1989
PACKET_SERVER_INFO
@ PACKET_SERVER_INFO
Definition packets_gen.h:1908
PACKET_RULESET_GOVERNMENT_RULER_TITLE
@ PACKET_RULESET_GOVERNMENT_RULER_TITLE
Definition packets_gen.h:1984
PACKET_DIPLOMACY_CREATE_CLAUSE
@ PACKET_DIPLOMACY_CREATE_CLAUSE
Definition packets_gen.h:1959
PACKET_RULESET_GOVERNMENT
@ PACKET_RULESET_GOVERNMENT
Definition packets_gen.h:1986
PACKET_SCENARIO_DESCRIPTION
@ PACKET_SCENARIO_DESCRIPTION
Definition packets_gen.h:1895
PACKET_SERVER_SETTING_CONTROL
@ PACKET_SERVER_SETTING_CONTROL
Definition packets_gen.h:2000
PACKET_ACHIEVEMENT_INFO
@ PACKET_ACHIEVEMENT_INFO
Definition packets_gen.h:2055
PACKET_PAGE_MSG
@ PACKET_PAGE_MSG
Definition packets_gen.h:1965
PACKET_RULESET_TECH_FLAG
@ PACKET_RULESET_TECH_FLAG
Definition packets_gen.h:2051
PACKET_RULESET_RESOURCE
@ PACKET_RULESET_RESOURCE
Definition packets_gen.h:2008
PACKET_EDIT_STARTPOS_FULL
@ PACKET_EDIT_STARTPOS_FULL
Definition packets_gen.h:2023
PACKET_TEAM_NAME_INFO
@ PACKET_TEAM_NAME_INFO
Definition packets_gen.h:1901
PACKET_CITY_INFO
@ PACKET_CITY_INFO
Definition packets_gen.h:1910
PACKET_NATION_AVAILABILITY
@ PACKET_NATION_AVAILABILITY
Definition packets_gen.h:2054
PACKET_VOTE_REMOVE
@ PACKET_VOTE_REMOVE
Definition packets_gen.h:2013
PACKET_WORKER_TASK
@ PACKET_WORKER_TASK
Definition packets_gen.h:2058
handle_ruleset_game
void handle_ruleset_game(const struct packet_ruleset_game *packet)
Definition packhand.c:4908
handle_player_diplstate
void handle_player_diplstate(const struct packet_player_diplstate *packet)
Definition packhand.c:2928
handle_ruleset_nation_sets
void handle_ruleset_nation_sets(const struct packet_ruleset_nation_sets *packet)
Definition packhand.c:4674
handle_ruleset_nation
void handle_ruleset_nation(const struct packet_ruleset_nation *packet)
Definition packhand.c:4716
handle_nuke_tile_info
void handle_nuke_tile_info(int tile)
Definition packhand.c:573
handle_unknown_research
void handle_unknown_research(int id)
Definition packhand.c:2898
handle_city_sabotage_list
void handle_city_sabotage_list(const struct packet_city_sabotage_list *packet)
Definition packhand.c:5325
handle_ruleset_government_ruler_title
void handle_ruleset_government_ruler_title(const struct packet_ruleset_government_ruler_title *packet)
Definition packhand.c:4152
handle_city_info
void handle_city_info(const struct packet_city_info *packet)
Definition packhand.c:689
handle_end_turn
void handle_end_turn(void)
Definition packhand.c:1585
handle_conn_info
void handle_conn_info(const struct packet_conn_info *pinfo)
Definition packhand.c:3032
handle_vote_remove
void handle_vote_remove(int vote_no)
Definition packhand.c:5627
handle_page_msg_part
void handle_page_msg_part(const char *lines)
Definition packhand.c:1715
handle_unit_combat_info
void handle_unit_combat_info(const struct packet_unit_combat_info *packet)
Definition packhand.c:596
handle_ruleset_style
void handle_ruleset_style(const struct packet_ruleset_style *p)
Definition packhand.c:4824
handle_vote_update
void handle_vote_update(int vote_no, int yes, int no, int abstain, int num_voters)
Definition packhand.c:5636
handle_unit_remove
void handle_unit_remove(int unit_id16, int unit_id32)
Definition packhand.c:513
handle_ruleset_multiplier
void handle_ruleset_multiplier(const struct packet_ruleset_multiplier *p)
Definition packhand.c:4097
handle_player_info
void handle_player_info(const struct packet_player_info *pinfo)
Definition packhand.c:2572
handle_ruleset_extra
void handle_ruleset_extra(const struct packet_ruleset_extra *p)
Definition packhand.c:4283
handle_ruleset_action_auto
void handle_ruleset_action_auto(const struct packet_ruleset_action_auto *p)
Definition packhand.c:4586
handle_web_player_info_addition
void handle_web_player_info_addition(int playerno, int expected_income)
Definition packhand.c:2807
handle_ruleset_unit_bonus
void handle_ruleset_unit_bonus(const struct packet_ruleset_unit_bonus *p)
Definition packhand.c:3838
handle_start_phase
void handle_start_phase(int phase)
Definition packhand.c:1512
handle_timeout_info
void handle_timeout_info(float seconds_to_phasedone, float last_turn_change_time)
Definition packhand.c:2486
handle_ruleset_terrain_control
void handle_ruleset_terrain_control(const struct packet_ruleset_terrain_control *p)
Definition packhand.c:4661
handle_play_music
void handle_play_music(const char *tag)
Definition packhand.c:5692
handle_edit_object_created
void handle_edit_object_created(int tag, int id)
Definition packhand.c:5550
parts
int parts
Definition packhand.c:130
handle_conn_ping
void handle_conn_ping(void)
Definition packhand.c:5523
handle_ruleset_tech_class
void handle_ruleset_tech_class(const struct packet_ruleset_tech_class *p)
Definition packhand.c:4010
handle_ruleset_control
void handle_ruleset_control(const struct packet_ruleset_control *packet)
Definition packhand.c:3557
handle_end_phase
void handle_end_phase(void)
Definition packhand.c:1501
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:1668
handle_ruleset_nation_groups
void handle_ruleset_nation_groups(const struct packet_ruleset_nation_groups *packet)
Definition packhand.c:4695
handle_ruleset_effect
void handle_ruleset_effect(const struct packet_ruleset_effect *packet)
Definition packhand.c:5539
handle_new_year
void handle_new_year(int year, int fragments, int turn)
Definition packhand.c:1452
handle_research_info
void handle_research_info(const struct packet_research_info *packet)
Definition packhand.c:2814
handle_ruleset_goods
void handle_ruleset_goods(const struct packet_ruleset_goods *p)
Definition packhand.c:4493
handle_unit_info
void handle_unit_info(const struct packet_unit_info *packet)
Definition packhand.c:1741
handle_ruleset_city
void handle_ruleset_city(const struct packet_ruleset_city *packet)
Definition packhand.c:4859
handle_ruleset_unit_class
void handle_ruleset_unit_class(const struct packet_ruleset_unit_class *p)
Definition packhand.c:3738
handle_ruleset_government
void handle_ruleset_government(const struct packet_ruleset_government *p)
Definition packhand.c:4125
handle_ruleset_terrain_flag
void handle_ruleset_terrain_flag(const struct packet_ruleset_terrain_flag *p)
Definition packhand.c:4239
handle_connect_msg
void handle_connect_msg(const char *message)
Definition packhand.c:1659
handle_rulesets_ready
void handle_rulesets_ready(void)
Definition packhand.c:3684
handle_tile_info
void handle_tile_info(const struct packet_tile_info *packet)
Definition packhand.c:3262
handle_ruleset_action
void handle_ruleset_action(const struct packet_ruleset_action *p)
Definition packhand.c:4518
handle_achievement_info
void handle_achievement_info(int id, bool gained, bool first)
Definition packhand.c:3161
handle_scenario_description
void handle_scenario_description(const char *description)
Definition packhand.c:3545
handle_processing_finished
void handle_processing_finished(void)
Definition packhand.c:5458
handle_city_remove
void handle_city_remove(int city_id16, int city_id32)
Definition packhand.c:484
handle_city_name_suggestion_info
void handle_city_name_suggestion_info(int unit_id16, int unit_id32, const char *name)
Definition packhand.c:4979
handle_city_short_info
void handle_city_short_info(const struct packet_city_short_info *packet)
Definition packhand.c:1239
handle_endgame_player
void handle_endgame_player(const struct packet_endgame_player *packet)
Definition packhand.c:5405
handle_ruleset_resource
void handle_ruleset_resource(const struct packet_ruleset_resource *p)
Definition packhand.c:4264
handle_web_ruleset_unit_addition
void handle_web_ruleset_unit_addition(int id, bv_actions utype_actions)
Definition packhand.c:3831
handle_ruleset_tech
void handle_ruleset_tech(const struct packet_ruleset_tech *p)
Definition packhand.c:3945
handle_team_name_info
void handle_team_name_info(int team_id, const char *team_name)
Definition packhand.c:581
handle_thaw_client
void handle_thaw_client(void)
Definition packhand.c:5512
handle_calendar_info
void handle_calendar_info(const struct packet_calendar_info *pcalendar)
Definition packhand.c:2478
handle_unit_action_answer
void handle_unit_action_answer(const struct packet_unit_action_answer *packet)
Definition packhand.c:5022
handle_ruleset_disaster
void handle_ruleset_disaster(const struct packet_ruleset_disaster *p)
Definition packhand.c:4608
handle_ruleset_unit_class_flag
void handle_ruleset_unit_class_flag(const struct packet_ruleset_unit_class_flag *p)
Definition packhand.c:3883
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:416
handle_ruleset_summary
void handle_ruleset_summary(const struct packet_ruleset_summary *packet)
Definition packhand.c:3656
handle_page_msg
void handle_page_msg(const char *caption, const char *headline, enum event_type event, int len, int parts)
Definition packhand.c:1684
handle_conn_ping_info
void handle_conn_ping_info(int connections, const int *conn_id, const float *ping_time)
Definition packhand.c:3138
handle_player_remove
void handle_player_remove(int playerno)
Definition packhand.c:2527
handle_processing_started
void handle_processing_started(void)
Definition packhand.c:5440
handle_begin_turn
void handle_begin_turn(void)
Definition packhand.c:1571
handle_endgame_report
void handle_endgame_report(const struct packet_endgame_report *packet)
Definition packhand.c:5396
handle_early_chat_msg
void handle_early_chat_msg(const struct packet_early_chat_msg *packet)
Definition packhand.c:1645
handle_ruleset_clause
void handle_ruleset_clause(const struct packet_ruleset_clause *p)
Definition packhand.c:4836
handle_ruleset_road
void handle_ruleset_road(const struct packet_ruleset_road *p)
Definition packhand.c:4462
handle_web_city_info_addition
void handle_web_city_info_addition(int id16, int id32, int granary_size, int granary_turns)
Definition packhand.c:1039
handle_unit_actions
void handle_unit_actions(const struct packet_unit_actions *packet)
Definition packhand.c:5243
handle_ruleset_music
void handle_ruleset_music(const struct packet_ruleset_music *packet)
Definition packhand.c:4885
handle_ruleset_base
void handle_ruleset_base(const struct packet_ruleset_base *p)
Definition packhand.c:4441
handle_freeze_client
void handle_freeze_client(void)
Definition packhand.c:5502
handle_chat_msg
void handle_chat_msg(const struct packet_chat_msg *packet)
Definition packhand.c:1625
handle_trade_route_info
void handle_trade_route_info(const struct packet_trade_route_info *packet)
Definition packhand.c:1195
handle_vote_new
void handle_vote_new(const struct packet_vote_new *packet)
Definition packhand.c:5657
handle_set_topology
void handle_set_topology(int topology_id)
Definition packhand.c:2344
handle_scenario_info
void handle_scenario_info(const struct packet_scenario_info *packet)
Definition packhand.c:3524
handle_ruleset_extra_flag
void handle_ruleset_extra_flag(const struct packet_ruleset_extra_flag *p)
Definition packhand.c:4415
lines
char * lines
Definition packhand.c:129
handle_ruleset_tech_flag
void handle_ruleset_tech_flag(const struct packet_ruleset_tech_flag *p)
Definition packhand.c:4023
handle_nation_availability
void handle_nation_availability(int ncount, const bool *is_pickable, bool nationset_change)
Definition packhand.c:4806
handle_spaceship_info
void handle_spaceship_info(const struct packet_spaceship_info *p)
Definition packhand.c:3217
handle_investigate_finished
void handle_investigate_finished(int unit_id16, int unit_id32, int city_id16, int city_id32)
Definition packhand.c:2250
handle_ruleset_specialist
void handle_ruleset_specialist(const struct packet_ruleset_specialist *p)
Definition packhand.c:4953
handle_unit_short_info
void handle_unit_short_info(const struct packet_unit_short_info *packet)
Definition packhand.c:2258
handle_ruleset_unit_flag
void handle_ruleset_unit_flag(const struct packet_ruleset_unit_flag *p)
Definition packhand.c:3858
handle_city_nationalities
void handle_city_nationalities(const struct packet_city_nationalities *packet)
Definition packhand.c:1047
handle_server_shutdown
void handle_server_shutdown(void)
Definition packhand.c:5531
handle_ruleset_building
void handle_ruleset_building(const struct packet_ruleset_building *p)
Definition packhand.c:4048
handle_map_info
void handle_map_info(int xsize, int ysize, int topology_id)
Definition packhand.c:2366
handle_ruleset_unit
void handle_ruleset_unit(const struct packet_ruleset_unit *p)
Definition packhand.c:3756
handle_ruleset_terrain
void handle_ruleset_terrain(const struct packet_ruleset_terrain *p)
Definition packhand.c:4166
handle_ruleset_action_enabler
void handle_ruleset_action_enabler(const struct packet_ruleset_action_enabler *p)
Definition packhand.c:4552
handle_ruleset_achievement
void handle_ruleset_achievement(const struct packet_ruleset_achievement *p)
Definition packhand.c:4630
handle_game_info
void handle_game_info(const struct packet_game_info *pinfo)
Definition packhand.c:2402
handle_vote_resolve
void handle_vote_resolve(int vote_no, bool passed)
Definition packhand.c:5674
handle_ruleset_description_part
void handle_ruleset_description_part(const struct packet_ruleset_description_part *packet)
Definition packhand.c:3674
handle_ruleset_trade
void handle_ruleset_trade(const struct packet_ruleset_trade *p)
Definition packhand.c:4646
handle_investigate_started
void handle_investigate_started(int unit_id16, int unit_id32, int city_id16, int city_id32)
Definition packhand.c:2218
len
int len
Definition packhand.c:125
client_handle_packet
bool client_handle_packet(enum packet_type type, const void *packet)
Definition packhand_gen.c:20
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:281
packet_authentication_req
Definition packets_gen.h:62
packet_city_name_suggestion_info
Definition packets_gen.h:481
packet_city_remove
Definition packets_gen.h:321
packet_conn_ping_info
Definition packets_gen.h:888
packet_connect_msg
Definition packets_gen.h:309
packet_diplomacy_accept_treaty
Definition packets_gen.h:849
packet_diplomacy_cancel_meeting
Definition packets_gen.h:812
packet_diplomacy_create_clause
Definition packets_gen.h:824
packet_diplomacy_init_meeting
Definition packets_gen.h:803
packet_diplomacy_remove_clause
Definition packets_gen.h:838
packet_edit_object_created
Definition packets_gen.h:1857
packet_game_load
Definition packets_gen.h:1509
packet_investigate_finished
Definition packets_gen.h:38
packet_investigate_started
Definition packets_gen.h:31
packet_map_info
Definition packets_gen.h:266
packet_nation_availability
Definition packets_gen.h:1180
packet_new_year
Definition packets_gen.h:920
packet_nuke_tile_info
Definition packets_gen.h:272
packet_page_msg_part
Definition packets_gen.h:868
packet_page_msg
Definition packets_gen.h:860
packet_play_music
Definition packets_gen.h:1862
packet_player_remove
Definition packets_gen.h:515
packet_scenario_description
Definition packets_gen.h:1621
packet_server_info
Definition packets_gen.h:313
packet_server_join_reply
Definition packets_gen.h:54
packet_set_topology
Definition packets_gen.h:1586
packet_single_want_hack_reply
Definition packets_gen.h:1500
packet_start_phase
Definition packets_gen.h:916
packet_team_name_info
Definition packets_gen.h:276
packet_timeout_info
Definition packets_gen.h:261
packet_unit_remove
Definition packets_gen.h:637
packet_unknown_research
Definition packets_gen.h:625
packet_vote_remove
Definition packets_gen.h:1645
packet_vote_resolve
Definition packets_gen.h:1649
packet_vote_update
Definition packets_gen.h:1637
packet_web_city_info_addition
Definition packets_gen.h:1866
packet_web_player_info_addition
Definition packets_gen.h:1873
packet_web_ruleset_unit_addition
Definition packets_gen.h:1878
tile
Definition tile.h:49
TRUE
#define TRUE
Definition support.h:46
FALSE
#define FALSE
Definition support.h:47