Freeciv-3.4
Loading...
Searching...
No Matches
packets_gen.h
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#ifndef FC__PACKETS_GEN_H
9#define FC__PACKETS_GEN_H
10
11#ifdef __cplusplus
12extern "C" {
13#endif /* __cplusplus */
14
15/* common */
16#include "actions.h"
17#include "city.h"
18#include "conn_types.h"
19#include "disaster.h"
20#include "events.h"
21#include "government.h"
22#include "player.h"
23#include "tech.h"
24#include "unit.h"
25
26/* common/aicore */
27#include "cm.h"
28
30 char __dummy; /* to avoid malloc(0); */
31};
32
34 char __dummy; /* to avoid malloc(0); */
35};
36
38 int city_id;
39};
40
42 int city_id;
43};
44
46 char username[48];
47 char capability[512];
48 char version_label[48];
49 int major_version;
50 int minor_version;
51 int patch_version;
52};
53
55 bool you_can_join;
56 char message[1536];
57 char capability[512];
58 char challenge_file[4095];
59 int conn_id;
60};
61
64 char message[MAX_LEN_MSG];
65};
66
69};
70
72 char __dummy; /* to avoid malloc(0); */
73};
74
76 int player_no;
78 bool is_male;
79 char name[MAX_LEN_NAME];
80 int style;
81};
82
84 int player_no;
85 bool is_ready;
86};
87
89 int category_num;
91 int player_num;
92};
93
95 int category_num;
96 int player_id;
97 int score;
98 int category_score[32];
99 bool winner;
100};
101
102struct packet_tile_info {
103 int tile;
105 enum known_type known;
106 int owner;
107 int extras_owner;
108 int worked;
112 int placing;
113 int place_turn;
114 int altitude;
117};
118
119struct packet_game_info {
121 int aifill;
126 int angrycitizen;
128 int base_pollution;
129 int base_tech_cost;
130 int min_tech_cost;
131 int tech_leak_pct;
136 int base_bribe_cost;
144 int celebratesize;
145 bool changable_tax;
152 int citymindist;
153 int cooling;
154 int coolinglevel;
157 bool fogofwar;
158 int food_cost;
159 int foodbox;
160 int forced_gold;
161 int forced_luxury;
162 int forced_science;
163 int fulltradesize;
170 bool global_warming;
171 int globalwarming;
172 int gold;
174 int infrapoints;
182 int happy_cost;
184 int heating;
187 bool illness_on;
191 bool is_edit_mode;
192 bool is_new_game;
193 bool killcitizen;
194 bool killstack;
206 bool muuk_food_wipe;
207 bool muuk_gold_wipe;
208 bool muuk_shield_wipe;
209 int notradesize;
210 bool nuclear_winter;
211 int nuclearwinter;
212 int phase;
214 bool pillage_select;
222 int rapturedelay;
223 int disasters;
224 bool restrictinfra;
226 int sciencebox;
227 int shieldbox;
228 enum ai_level skill_level;
231 int tech;
239 int timeout;
240 int first_timeout;
241 bool tired_attack;
242 int trademindist;
244 bool trading_city;
245 bool trading_gold;
246 bool trading_tech;
247 int turn;
248 int warminglevel;
249 int year;
250 bool year_0_hack;
252 int fragment_count;
253 int granularity;
255};
256
262 bool calendar_skip_0;
263};
264
265struct packet_timeout_info {
268};
269
270struct packet_map_info {
271 int xsize;
272 int ysize;
273 int topology_id;
274 int wrap_id;
275 int north_latitude;
276 int south_latitude;
277 bool altitude_info;
278};
279
281 int tile;
282};
283
285 int team_id;
287};
288
290 int id;
291 bool gained;
292 bool first;
293};
294
295struct packet_chat_msg {
296 char message[MAX_LEN_MSG];
297 int tile;
298 enum event_type event;
299 int turn;
300 int phase;
301 int conn_id;
302};
303
305 char message[MAX_LEN_MSG];
306 int tile;
307 enum event_type event;
308 int turn;
309 int phase;
310 int conn_id;
311};
312
313struct packet_chat_msg_req {
314 char message[MAX_LEN_MSG];
315};
316
317struct packet_connect_msg {
318 char message[MAX_LEN_MSG];
319};
320
321struct packet_server_info {
322 char version_label[48];
323 int major_version;
324 int minor_version;
325 int patch_version;
326 int emerg_version;
327};
328
329struct packet_city_remove {
330 int city_id;
331};
332
333struct packet_city_info {
334 int id;
335 int tile;
336 int owner;
337 int original;
338 int size;
339 int city_radius_sq;
340 int style;
347 int specialists[SP_MAX];
348 int history;
349 int culture;
350 int buy_cost;
351 int surplus[O_LAST];
352 int waste[O_LAST];
354 int prod[O_LAST];
355 int citizen_base[O_LAST];
356 int usage[O_LAST];
357 int food_stock;
358 int shield_stock;
360 int pollution;
361 int illness_trade;
362 int production_kind;
364 int turn_founded;
365 int turn_last_built;
370 int caravan_shields;
372 int airlift;
373 bool did_buy;
374 bool did_sell;
375 bool was_happy;
376 bool had_famine;
377 int anarchy;
378 int rapture;
380 int walls;
381 int city_image;
382 int steal;
383 struct worklist worklist;
389};
390
392 int id;
396};
397
399 int city;
400 int count;
402};
403
405 int id;
406 int tile;
407 int owner;
408 int original;
409 int size;
410 int style;
412 bool occupied;
413 int walls;
414 bool happy;
415 bool unhappy;
416 int city_image;
419};
420
422 int city;
423 int index;
424 int partner;
425 int value;
428};
429
430struct packet_city_sell {
431 int city_id;
432 int build_id;
433};
434
435struct packet_city_buy {
436 int city_id;
437};
438
439struct packet_city_change {
440 int city_id;
441 int production_kind;
443};
444
446 int city_id;
447 struct worklist worklist;
448};
449
451 int city_id;
452 int tile_id;
453};
454
456 int city_id;
457 int tile_id;
458};
459
461 int city_id;
464};
465
466struct packet_city_rename {
467 int city_id;
469};
470
472 int city_id;
475};
476
477struct packet_city_refresh {
478 int city_id;
479};
480
482 int unit_id;
483};
484
486 int unit_id;
488};
489
491 int actor_id;
492 int city_id;
495 int request_kind;
496};
497
499 int id;
500 int length;
501 bool persistent;
502 bool vigilant;
504};
505
506struct packet_worker_task {
507 int city_id;
508 int tile_id;
510 int tgt;
511 int want;
512};
513
515 int playerno;
516};
517
518struct packet_player_info {
519 int playerno;
520 char name[MAX_LEN_NAME];
522 bool unassigned_user;
523 int score;
524 bool is_male;
525 bool was_created;
529 enum mood_type mood;
530 int style;
531 int music_style;
533 int team;
534 bool is_ready;
535 bool phase_done;
536 int nturns_idle;
537 int turns_alive;
538 bool is_alive;
540 int gold;
541 int tax;
542 int science;
543 int luxury;
544 int infrapoints;
545 int tech_upkeep;
546 int science_cost;
547 bool is_connected;
549 enum ai_level ai_skill_level;
553 int history;
554 int culture;
556 bool color_valid;
557 bool color_changeable;
558 int color_red;
559 int color_green;
560 int color_blue;
562 int wonders[B_LAST];
563 int multip_count;
567};
568
570 int turn;
571};
572
573struct packet_player_rates {
574 int tax;
575 int luxury;
576 int science;
577};
578
581};
582
584 int tile;
585 int extra;
586};
587
589 char __dummy; /* to avoid malloc(0); */
590};
591
593 int offset;
594 int total_length;
595 int chunk_length;
596 unsigned char data[ATTRIBUTE_CHUNK_SIZE];
597};
598
600 int diplstate_id;
601 int plr1;
602 int plr2;
603 enum diplstate_type type;
604 int turns_left;
607};
608
610 int count;
612};
613
615 int id;
617 int future_tech;
618 int researching;
621 int tech_goal;
623 char inventions[A_LAST + 1];
624};
625
627 int id;
628};
629
631 int tech;
632};
633
635 int tech;
636};
637
638struct packet_unit_remove {
639 int unit_id;
640};
641
642struct packet_unit_info {
643 int id;
644 int owner;
645 int nationality;
646 int tile;
647 enum direction8 facing;
648 int homecity;
649 int upkeep[O_LAST];
650 int veteran;
652 bool paradropped;
653 bool occupied;
654 bool transported;
655 bool done_moving;
656 bool stay;
657 int birth_turn;
660 int transported_by;
661 int carrying;
662 int movesleft;
663 int hp;
664 int fuel;
665 int activity_count;
667 int goto_tile;
669 int activity_tgt;
672 int battlegroup;
673 bool has_orders;
674 int orders_length;
675 int orders_index;
676 bool orders_repeat;
677 bool orders_vigilant;
681};
682
684 int id;
685 int owner;
686 int tile;
687 enum direction8 facing;
689 int veteran;
690 bool occupied;
691 bool transported;
692 int hp;
693 int activity;
694 int activity_tgt;
695 int transported_by;
696 int packet_use;
697 int info_city_id;
698};
699
703 int attacker_hp;
704 int defender_hp;
705 bool make_att_veteran;
706 bool make_def_veteran;
707};
708
710 int unit_id;
712 int value;
713};
714
715struct packet_unit_orders {
716 int unit_id;
717 int src_tile;
718 int length;
719 bool repeat;
720 bool vigilant;
722 int dest_tile;
723};
724
726 int unit_id;
728};
729
731 int actor_id;
732 int target_id;
734 int request_kind;
735};
736
739};
740
742 int actor_id;
743 int target_id;
744 int sub_tgt_id;
745 char name[MAX_LEN_NAME];
747};
748
750 int actor_id;
751 int target_id;
752 int cost;
754 int request_kind;
755};
756
758 int actor_unit_id;
759 int target_unit_id;
760 int target_tile_id;
761 int target_extra_id;
762 int request_kind;
763};
764
765struct packet_unit_actions {
766 int actor_unit_id;
767 int target_unit_id;
768 int target_city_id;
769 int target_tile_id;
770 int target_extra_id;
771 int request_kind;
773};
774
776 int unit_id;
778 int target;
779};
780
782 int counterpart;
783};
784
786 int counterpart;
787 int initiated_from;
788};
789
791 int counterpart;
792};
793
795 int counterpart;
796 int initiated_from;
797};
798
800 int counterpart;
801 int giver;
802 enum clause_type type;
803 int value;
804};
805
807 int counterpart;
808 int giver;
809 enum clause_type type;
810 int value;
811};
812
814 int counterpart;
815 int giver;
816 enum clause_type type;
817 int value;
818};
819
821 int counterpart;
822 int giver;
823 enum clause_type type;
824 int value;
825};
826
828 int counterpart;
829};
830
832 int counterpart;
833 bool I_accepted;
834 bool other_accepted;
835};
836
838 int other_player_id;
839 enum clause_type clause;
840};
841
842struct packet_page_msg {
843 char caption[MAX_LEN_MSG];
844 char headline[MAX_LEN_MSG];
845 enum event_type event;
846 int len;
847 int parts;
848};
849
852};
853
854struct packet_report_req {
855 enum report_type type;
856};
857
858struct packet_conn_info {
859 int id;
860 bool used;
861 bool established;
862 bool observer;
863 int player_num;
866 char addr[MAX_LEN_ADDR];
868};
869
871 int connections;
874};
875
876struct packet_conn_ping {
877 char __dummy; /* to avoid malloc(0); */
878};
879
880struct packet_conn_pong {
881 char __dummy; /* to avoid malloc(0); */
882};
883
885 char __dummy; /* to avoid malloc(0); */
886};
887
888struct packet_client_info {
889 enum gui_type gui;
890 int emerg_version;
892};
893
894struct packet_end_phase {
895 char __dummy; /* to avoid malloc(0); */
896};
897
898struct packet_start_phase {
899 int phase;
900};
901
902struct packet_new_year {
903 int year;
904 int fragments;
905 int turn;
906};
907
908struct packet_begin_turn {
909 char __dummy; /* to avoid malloc(0); */
910};
911
912struct packet_end_turn {
913 char __dummy; /* to avoid malloc(0); */
914};
915
917 char __dummy; /* to avoid malloc(0); */
918};
919
920struct packet_thaw_client {
921 char __dummy; /* to avoid malloc(0); */
922};
923
925 char __dummy; /* to avoid malloc(0); */
926};
927
930 int num;
931};
932
934 int player_num;
935 int sship_state;
936 int structurals;
937 int components;
938 int modules;
939 int fuel;
940 int propulsion;
941 int habitation;
942 int life_support;
943 int solar_panels;
944 int launch_year;
945 int population;
946 int mass;
948 float support_rate;
949 float energy_rate;
950 float success_rate;
951 float travel_time;
952};
953
954struct packet_ruleset_unit {
956 char name[MAX_LEN_NAME];
965 int unit_class_id;
966 int build_cost;
967 int pop_cost;
968 int spectype_id;
969 int attack_strength;
971 int move_rate;
975 int hp;
976 int firepower;
977 int obsoleted_by;
978 int converted_to;
979 int convert_time;
980 int fuel;
981 int happy_cost;
982 int upkeep[O_LAST];
984 int veteran_levels;
990 int bombard_rate;
991 int city_size;
992 int city_slots;
998 enum vision_layer vlayer;
999 struct strvec *helptext;
1002 bool worker;
1003};
1004
1009 int value;
1010 bool quiet;
1011};
1012
1014 int id;
1015 char name[MAX_LEN_NAME];
1016 char helptxt[MAX_LEN_PACKET];
1017};
1018
1020 int id;
1021 char name[MAX_LEN_NAME];
1022 char helptxt[MAX_LEN_PACKET];
1023};
1024
1025struct packet_ruleset_game {
1031 int veteran_levels;
1037 int background_red;
1038 int background_green;
1039 int background_blue;
1040};
1041
1045 char rule_name[MAX_LEN_NAME];
1049 struct requirement_vector reqs;
1050 struct strvec *helptext;
1051};
1052
1058};
1059
1060struct packet_ruleset_tech {
1061 int id;
1062 int root_req;
1064 int tclass;
1065 bool removed;
1067 float cost;
1068 int num_reqs;
1069 char name[MAX_LEN_NAME];
1070 char rule_name[MAX_LEN_NAME];
1071 struct strvec *helptext;
1074};
1075
1077 int id;
1078 char name[MAX_LEN_NAME];
1079 char rule_name[MAX_LEN_NAME];
1080 int cost_pct;
1081};
1082
1084 int id;
1085 char name[MAX_LEN_NAME];
1086 char helptxt[MAX_LEN_PACKET];
1087};
1088
1091 struct requirement_vector reqs;
1092 char name[MAX_LEN_NAME];
1093 char rule_name[MAX_LEN_NAME];
1096 char sound_str[MAX_LEN_NAME];
1097 char sound_alt[MAX_LEN_NAME];
1100 struct strvec *helptext;
1101};
1102
1104 int id;
1105 char name[MAX_LEN_NAME];
1106 char helptxt[MAX_LEN_PACKET];
1107};
1108
1114 int lake_max_size;
1116 int move_fragments;
1117 int igter_cost;
1119 bool infrapoints;
1122 int access_unit;
1123};
1124
1125struct packet_rulesets_ready {
1126 char __dummy; /* to avoid malloc(0); */
1127};
1128
1130 int nsets;
1134};
1135
1137 int ngroups;
1140};
1141
1142struct packet_ruleset_nation {
1145 char adjective[MAX_LEN_NAME];
1146 char rule_name[MAX_LEN_NAME];
1150 char legend[MAX_LEN_MSG];
1151 int style;
1152 int leader_count;
1155 bool is_playable;
1157 int nsets;
1159 int ngroups;
1162 int init_techs_count;
1164 int init_units_count;
1168};
1169
1171 int ncount;
1173 bool nationset_change;
1174};
1175
1176struct packet_ruleset_style {
1177 int id;
1178 char name[MAX_LEN_NAME];
1179 char rule_name[MAX_LEN_NAME];
1180};
1181
1182struct packet_ruleset_city {
1183 int style_id;
1184 char name[MAX_LEN_NAME];
1185 char rule_name[MAX_LEN_NAME];
1187 struct requirement_vector reqs;
1188 char graphic[MAX_LEN_NAME];
1190};
1191
1194 enum impr_genus_id genus;
1195 char name[MAX_LEN_NAME];
1196 char rule_name[MAX_LEN_NAME];
1200 struct requirement_vector reqs;
1202 int build_cost;
1203 int upkeep;
1204 int sabotage;
1206 char soundtag[MAX_LEN_NAME];
1209 struct strvec *helptext;
1210};
1211
1213 int id;
1214 char name[MAX_LEN_NAME];
1215 char helptxt[MAX_LEN_PACKET];
1216};
1217
1220 int tclass;
1223 char name[MAX_LEN_NAME];
1224 char rule_name[MAX_LEN_NAME];
1228 int movement_cost;
1229 int defense_bonus;
1230 int output[O_LAST];
1231 int num_resources;
1235 int base_time;
1236 int road_time;
1238 int cultivate_time;
1240 int plant_time;
1242 int irrigation_time;
1244 int mining_time;
1245 int num_animals;
1248 int transform_time;
1249 int placing_time;
1250 int pillage_time;
1251 int extra_count;
1253 int color_red;
1254 int color_green;
1255 int color_blue;
1256 struct strvec *helptext;
1257};
1258
1260 int id;
1261 char name[MAX_LEN_NAME];
1262 char helptxt[MAX_LEN_PACKET];
1263};
1264
1266 int id;
1267 char name[MAX_LEN_NAME];
1268 char rule_name[MAX_LEN_NAME];
1269 int min_speed;
1270 int hp_loss_pct;
1273 struct strvec *helptext;
1274};
1275
1276struct packet_ruleset_extra {
1277 int id;
1278 char name[MAX_LEN_NAME];
1279 char rule_name[MAX_LEN_NAME];
1280 int category;
1286 char rmact_gfx[MAX_LEN_NAME];
1291 struct requirement_vector reqs;
1297 int visibility_req;
1298 bool buildable;
1299 bool generated;
1300 int build_time;
1302 int removal_time;
1304 int infracost;
1305 int defense_bonus;
1313 struct strvec *helptext;
1314};
1315
1317 int id;
1318 char name[MAX_LEN_NAME];
1319 char helptxt[MAX_LEN_PACKET];
1320};
1321
1322struct packet_ruleset_base {
1323 int id;
1325 int border_sq;
1326 int vision_main_sq;
1327 int vision_invis_sq;
1328 int vision_subs_sq;
1329};
1330
1331struct packet_ruleset_road {
1332 int id;
1335 int move_cost;
1338 int tile_incr[O_LAST];
1339 int tile_bonus[O_LAST];
1340 enum road_compat compat;
1343};
1344
1345struct packet_ruleset_goods {
1346 int id;
1347 char name[MAX_LEN_NAME];
1348 char rule_name[MAX_LEN_NAME];
1349 struct requirement_vector reqs;
1350 int from_pct;
1351 int to_pct;
1352 int onetime_pct;
1353 int select_priority;
1354 int replace_priority;
1356 struct strvec *helptext;
1357};
1358
1360 int id;
1361 char name[MAX_LEN_NAME];
1362 char rule_name[MAX_LEN_NAME];
1363 struct requirement_vector reqs;
1364 int frequency;
1366};
1367
1369 int id;
1370 char name[MAX_LEN_NAME];
1371 char rule_name[MAX_LEN_NAME];
1373 bool unique;
1374 int value;
1375};
1376
1377struct packet_ruleset_trade {
1378 int id;
1379 int trade_pct;
1382};
1383
1384struct packet_ruleset_action {
1385 action_id id;
1386 char ui_name[MAX_LEN_NAME];
1387 bool quiet;
1388 enum action_result result;
1394 int min_distance;
1395 int max_distance;
1397};
1398
1403};
1404
1406 int id;
1408 struct requirement_vector reqs;
1411};
1412
1414 char name[MAX_LEN_NAME];
1415 char rule_name[MAX_LEN_NAME];
1416 struct strvec *helptext;
1417 int def;
1418 int checkpoint;
1419 enum counter_target type;
1421};
1422
1423struct packet_ruleset_music {
1424 int id;
1427 struct requirement_vector reqs;
1428};
1429
1432 int start;
1433 int stop;
1434 int step;
1435 int def;
1436 int offset;
1437 int factor;
1438 int minimum_turns;
1439 char name[MAX_LEN_NAME];
1440 char rule_name[MAX_LEN_NAME];
1441 struct requirement_vector reqs;
1442 struct strvec *helptext;
1443};
1444
1445struct packet_ruleset_clause {
1446 enum clause_type type;
1447 bool enabled;
1451};
1452
1454 int id;
1455 char name[MAX_LEN_NAME];
1456 char rule_name[MAX_LEN_NAME];
1458 bool known;
1459 bool owned;
1460};
1461
1463 int num_unit_classes;
1464 int num_unit_types;
1465 int num_impr_types;
1466 int num_tech_classes;
1467 int num_tech_types;
1468 int num_extra_types;
1470 int num_base_types;
1471 int num_road_types;
1473 int num_goods_types;
1476 int num_multipliers;
1477 int num_styles;
1478 int num_music_styles;
1479 int government_count;
1480 int nation_count;
1481 int num_city_styles;
1482 int terrain_count;
1486 int num_nation_sets;
1490 bool popup_tech_help;
1491 char name[MAX_LEN_NAME];
1492 char version[MAX_LEN_NAME];
1493 char alt_dir[MAX_LEN_NAME];
1494 int desc_length;
1495 int num_counters;
1496};
1497
1499 char text[MAX_LEN_CONTENT];
1500};
1501
1503 char text[MAX_LEN_CONTENT];
1504};
1505
1507 char token[MAX_LEN_NAME];
1508};
1509
1511 bool you_have_hack;
1512};
1513
1515 int ruleset_count;
1517};
1518
1519struct packet_ruleset_select {
1521};
1522
1523struct packet_game_load {
1524 bool load_successful;
1526};
1527
1529 int settings_num;
1530 int categories_num;
1531 char category_names[256][MAX_LEN_NAME];
1532};
1533
1535 int id;
1536 char name[MAX_LEN_NAME];
1539 int category;
1540};
1541
1543 int id;
1544 bool is_visible;
1545 bool is_changeable;
1546 bool initial_setting;
1548 bool val;
1549 bool default_val;
1550};
1551
1553 int id;
1554 bool is_visible;
1555 bool is_changeable;
1556 bool initial_setting;
1558 int val;
1559 int default_val;
1560 int min_val;
1561 int max_val;
1562};
1563
1565 int id;
1566 bool is_visible;
1567 bool is_changeable;
1568 bool initial_setting;
1570 char val[MAX_LEN_PACKET];
1572};
1573
1575 int id;
1576 bool is_visible;
1577 bool is_changeable;
1578 bool initial_setting;
1580 int val;
1581 int default_val;
1582 int values_num;
1583 char support_names[64][MAX_LEN_NAME];
1584 char pretty_names[64][MAX_LEN_ENUM];
1585};
1586
1588 int id;
1589 bool is_visible;
1590 bool is_changeable;
1591 bool initial_setting;
1593 int val;
1594 int default_val;
1595 int bits_num;
1596 char support_names[64][MAX_LEN_NAME];
1597 char pretty_names[64][MAX_LEN_ENUM];
1598};
1599
1600struct packet_set_topology {
1601 int topology_id;
1602 int wrap_id;
1603};
1604
1605struct packet_ruleset_effect {
1607 int effect_value;
1608 bool has_multiplier;
1610 struct requirement_vector reqs;
1611};
1612
1614 int id;
1615 int output[O_LAST];
1616};
1617
1618struct packet_scenario_info {
1619 bool is_scenario;
1620 char name[256];
1621 char authors[MAX_LEN_PACKET / 3];
1622 bool players;
1623 bool startpos_nations;
1624 bool save_random;
1625 bool prevent_new_cities;
1626 bool lake_flooding;
1627 bool handmade;
1629 bool ruleset_locked;
1630 char datafile[MAX_LEN_NAME];
1631 bool have_resources;
1632 char req_caps[257];
1633};
1634
1637};
1638
1639struct packet_save_scenario {
1640 char name[MAX_LEN_NAME];
1641};
1642
1643struct packet_vote_new {
1644 int vote_no;
1645 char user[MAX_LEN_NAME];
1646 char desc[512];
1647 int percent_required;
1648 int flags;
1649};
1650
1651struct packet_vote_update {
1652 int vote_no;
1653 int yes;
1654 int no;
1655 int abstain;
1656 int num_voters;
1657};
1658
1659struct packet_vote_remove {
1660 int vote_no;
1661};
1662
1663struct packet_vote_resolve {
1664 int vote_no;
1665 bool passed;
1666};
1667
1668struct packet_vote_submit {
1669 int vote_no;
1670 int value;
1671};
1672
1673struct packet_edit_mode {
1674 bool state;
1675};
1676
1678 char __dummy; /* to avoid malloc(0); */
1679};
1680
1682 char __dummy; /* to avoid malloc(0); */
1683};
1684
1686 int player;
1687};
1688
1690 bool enabled;
1691};
1692
1694 int tile;
1696 int size;
1697};
1698
1700 int tile;
1701 int extra_type_id;
1702 bool removal;
1703 int eowner;
1704 int size;
1705};
1706
1707struct packet_edit_startpos {
1708 int id;
1709 bool removal;
1710 int tag;
1711};
1712
1714 int id;
1715 bool exclude;
1717};
1718
1719struct packet_edit_tile {
1720 int tile;
1725 int eowner;
1726 char label[MAX_LEN_NAME];
1727};
1728
1730 int owner;
1731 int tile;
1733 int count;
1734 int tag;
1735};
1736
1738 int owner;
1739 int tile;
1741 int count;
1742};
1743
1745 int id;
1746};
1747
1748struct packet_edit_unit {
1749 int id;
1751 int owner;
1752 int homecity;
1753 int moves_left;
1754 int hp;
1755 int veteran;
1756 int fuel;
1758 int activity_count;
1760 bool debug;
1761 bool moved;
1762 bool paradropped;
1763 bool done_moving;
1764 int transported_by;
1765 bool stay;
1766};
1767
1769 int owner;
1770 int tile;
1771 int size;
1772 int tag;
1773};
1774
1776 int id;
1777};
1778
1779struct packet_edit_city {
1780 int id;
1781 char name[MAX_LEN_CITYNAME];
1782 int owner;
1783 int original;
1784 int size;
1785 int history;
1786 int ppl_happy[5];
1787 int ppl_content[5];
1788 int ppl_unhappy[5];
1789 int ppl_angry[5];
1790 int specialists_size;
1791 int specialists[SP_MAX];
1792 int food_stock;
1793 int shield_stock;
1794 bool airlift;
1795 bool debug;
1796 bool did_buy;
1797 bool did_sell;
1798 bool was_happy;
1799 bool had_famine;
1800 int anarchy;
1801 int rapture;
1802 int steal;
1803 int turn_founded;
1804 int turn_last_built;
1805 int built[B_LAST];
1806 int production_kind;
1807 int production_value;
1808};
1809
1811 int tag;
1812};
1813
1815 int id;
1816};
1817
1818struct packet_edit_player {
1819 int id;
1820 char name[MAX_LEN_NAME];
1821 char username[MAX_LEN_NAME];
1823 int user_turns;
1824 bool is_male;
1828 int team;
1829 bool phase_done;
1830 int nturns_idle;
1831 bool is_alive;
1835 int gold;
1836 int infrapoints;
1837 int tax;
1838 int science;
1839 int luxury;
1840 int future_tech;
1841 int researching;
1842 int bulbs_researched;
1843 bool inventions[A_LAST + 1];
1844 bool ai;
1845 bool scenario_reserved;
1846};
1847
1849 int player;
1850 int tile;
1851 bool known;
1852 int size;
1853};
1854
1855struct packet_edit_game {
1856 bool scenario;
1857 char scenario_name[256];
1859 bool scenario_random;
1860 bool scenario_players;
1861 bool startpos_nations;
1862 bool prevent_new_cities;
1863 bool lake_flooding;
1864 bool ruleset_locked;
1865};
1866
1869};
1870
1872 int tag;
1873 int id;
1874};
1875
1876struct packet_play_music {
1877 char tag[MAX_LEN_NAME];
1878};
1879
1880struct packet_popup_image {
1881 char tag[MAX_LEN_NAME];
1882};
1883
1884struct packet_sync_serial {
1885 int serial;
1886};
1887
1889 int serial;
1890};
1891
1892struct packet_access_area {
1893 int player;
1894 int index;
1895 bool capital;
1897};
1898
1900 int city;
1901 int aarea;
1902};
1903
1905 int id;
1906 bool cma_enabled;
1908 int granary_size;
1909 int granary_turns;
1912 int output_food[MAX_CITY_TILES + 1];
1915};
1916
1917struct packet_web_cma_set {
1918 int id;
1920};
1921
1922struct packet_web_cma_clear {
1923 int id;
1924};
1925
1927 int playerno;
1928 int expected_income;
1929};
1930
1934};
1935
2019 PACKET_PAGE_MSG = 110, /* 110 */
2035 PACKET_RULESET_UNIT = 140, /* 140 */
2064 PACKET_SCENARIO_INFO = 180, /* 180 */
2144
2145 PACKET_LAST /* leave this last */
2147
2149
2151
2153void lsend_packet_investigate_started(struct conn_list *dest, const struct packet_investigate_started *packet);
2154int dsend_packet_investigate_started(struct connection *pc, int city_id);
2155void dlsend_packet_investigate_started(struct conn_list *dest, int city_id);
2156
2158void lsend_packet_investigate_finished(struct conn_list *dest, const struct packet_investigate_finished *packet);
2159int dsend_packet_investigate_finished(struct connection *pc, int city_id);
2160void dlsend_packet_investigate_finished(struct conn_list *dest, int city_id);
2161
2162int send_packet_server_join_req(struct connection *pc, const struct packet_server_join_req *packet);
2163int dsend_packet_server_join_req(struct connection *pc, const char *username, const char *capability, const char *version_label, int major_version, int minor_version, int patch_version);
2164
2165int send_packet_server_join_reply(struct connection *pc, const struct packet_server_join_reply *packet);
2166
2169
2171
2173void lsend_packet_server_shutdown(struct conn_list *dest);
2174
2175int send_packet_nation_select_req(struct connection *pc, const struct packet_nation_select_req *packet);
2176int dsend_packet_nation_select_req(struct connection *pc, int player_no, Nation_type_id nation_no, bool is_male, const char *name, int style);
2177
2178int send_packet_player_ready(struct connection *pc, const struct packet_player_ready *packet);
2179int dsend_packet_player_ready(struct connection *pc, int player_no, bool is_ready);
2180
2181int send_packet_endgame_report(struct connection *pc, const struct packet_endgame_report *packet);
2182void lsend_packet_endgame_report(struct conn_list *dest, const struct packet_endgame_report *packet);
2183
2184int send_packet_endgame_player(struct connection *pc, const struct packet_endgame_player *packet);
2185void lsend_packet_endgame_player(struct conn_list *dest, const struct packet_endgame_player *packet);
2186
2187int send_packet_tile_info(struct connection *pc, const struct packet_tile_info *packet);
2188void lsend_packet_tile_info(struct conn_list *dest, const struct packet_tile_info *packet);
2189
2190int send_packet_game_info(struct connection *pc, const struct packet_game_info *packet);
2191
2192int send_packet_calendar_info(struct connection *pc, const struct packet_calendar_info *packet);
2193
2194int send_packet_timeout_info(struct connection *pc, const struct packet_timeout_info *packet);
2195
2196int send_packet_map_info(struct connection *pc, const struct packet_map_info *packet);
2197void lsend_packet_map_info(struct conn_list *dest, const struct packet_map_info *packet);
2198
2199int send_packet_nuke_tile_info(struct connection *pc, const struct packet_nuke_tile_info *packet);
2200void lsend_packet_nuke_tile_info(struct conn_list *dest, const struct packet_nuke_tile_info *packet);
2202void dlsend_packet_nuke_tile_info(struct conn_list *dest, int tile);
2203
2204int send_packet_team_name_info(struct connection *pc, const struct packet_team_name_info *packet);
2205void lsend_packet_team_name_info(struct conn_list *dest, const struct packet_team_name_info *packet);
2206
2207int send_packet_achievement_info(struct connection *pc, const struct packet_achievement_info *packet);
2208void lsend_packet_achievement_info(struct conn_list *dest, const struct packet_achievement_info *packet);
2209
2210int send_packet_chat_msg(struct connection *pc, const struct packet_chat_msg *packet);
2211void lsend_packet_chat_msg(struct conn_list *dest, const struct packet_chat_msg *packet);
2212
2213int send_packet_early_chat_msg(struct connection *pc, const struct packet_early_chat_msg *packet);
2214void lsend_packet_early_chat_msg(struct conn_list *dest, const struct packet_early_chat_msg *packet);
2215
2216int send_packet_chat_msg_req(struct connection *pc, const struct packet_chat_msg_req *packet);
2217int dsend_packet_chat_msg_req(struct connection *pc, const char *message);
2218
2219int send_packet_connect_msg(struct connection *pc, const struct packet_connect_msg *packet);
2220int dsend_packet_connect_msg(struct connection *pc, const char *message);
2221
2222int send_packet_server_info(struct connection *pc, const struct packet_server_info *packet);
2223int dsend_packet_server_info(struct connection *pc, const char *version_label, int major_version, int minor_version, int patch_version, int emerg_version);
2224
2225int send_packet_city_remove(struct connection *pc, const struct packet_city_remove *packet);
2226void lsend_packet_city_remove(struct conn_list *dest, const struct packet_city_remove *packet);
2227int dsend_packet_city_remove(struct connection *pc, int city_id);
2228void dlsend_packet_city_remove(struct conn_list *dest, int city_id);
2229
2230int send_packet_city_info(struct connection *pc, const struct packet_city_info *packet, bool force_to_send);
2231void lsend_packet_city_info(struct conn_list *dest, const struct packet_city_info *packet, bool force_to_send);
2232
2233int send_packet_city_nationalities(struct connection *pc, const struct packet_city_nationalities *packet, bool force_to_send);
2234void lsend_packet_city_nationalities(struct conn_list *dest, const struct packet_city_nationalities *packet, bool force_to_send);
2235
2237void lsend_packet_city_update_counters(struct conn_list *dest, const struct packet_city_update_counters *packet);
2238
2239int send_packet_city_short_info(struct connection *pc, const struct packet_city_short_info *packet);
2240void lsend_packet_city_short_info(struct conn_list *dest, const struct packet_city_short_info *packet);
2241
2242int send_packet_trade_route_info(struct connection *pc, const struct packet_trade_route_info *packet);
2243void lsend_packet_trade_route_info(struct conn_list *dest, const struct packet_trade_route_info *packet);
2244
2245int send_packet_city_sell(struct connection *pc, const struct packet_city_sell *packet);
2246int dsend_packet_city_sell(struct connection *pc, int city_id, int build_id);
2247
2248int send_packet_city_buy(struct connection *pc, const struct packet_city_buy *packet);
2249int dsend_packet_city_buy(struct connection *pc, int city_id);
2250
2251int send_packet_city_change(struct connection *pc, const struct packet_city_change *packet);
2252int dsend_packet_city_change(struct connection *pc, int city_id, int production_kind, int production_value);
2253
2254int send_packet_city_worklist(struct connection *pc, const struct packet_city_worklist *packet);
2255int dsend_packet_city_worklist(struct connection *pc, int city_id, const struct worklist *worklist);
2256
2258int dsend_packet_city_make_specialist(struct connection *pc, int city_id, int tile_id);
2259
2260int send_packet_city_make_worker(struct connection *pc, const struct packet_city_make_worker *packet);
2261int dsend_packet_city_make_worker(struct connection *pc, int city_id, int tile_id);
2262
2265
2266int send_packet_city_rename(struct connection *pc, const struct packet_city_rename *packet);
2267int dsend_packet_city_rename(struct connection *pc, int city_id, const char *name);
2268
2269int send_packet_city_options_req(struct connection *pc, const struct packet_city_options_req *packet);
2270int dsend_packet_city_options_req(struct connection *pc, int city_id, bv_city_options options, enum city_wl_cancel_behavior wl_cb);
2271
2272int send_packet_city_refresh(struct connection *pc, const struct packet_city_refresh *packet);
2273int dsend_packet_city_refresh(struct connection *pc, int city_id);
2274
2276int dsend_packet_city_name_suggestion_req(struct connection *pc, int unit_id);
2277
2280int dsend_packet_city_name_suggestion_info(struct connection *pc, int unit_id, const char *name);
2281void dlsend_packet_city_name_suggestion_info(struct conn_list *dest, int unit_id, const char *name);
2282
2284void lsend_packet_city_sabotage_list(struct conn_list *dest, const struct packet_city_sabotage_list *packet);
2285
2286int send_packet_city_rally_point(struct connection *pc, const struct packet_city_rally_point *packet, bool force_to_send);
2287void lsend_packet_city_rally_point(struct conn_list *dest, const struct packet_city_rally_point *packet, bool force_to_send);
2288
2289int send_packet_worker_task(struct connection *pc, const struct packet_worker_task *packet);
2290void lsend_packet_worker_task(struct conn_list *dest, const struct packet_worker_task *packet);
2291
2292int send_packet_player_remove(struct connection *pc, const struct packet_player_remove *packet);
2293int dsend_packet_player_remove(struct connection *pc, int playerno);
2294
2295int send_packet_player_info(struct connection *pc, const struct packet_player_info *packet);
2296
2297int send_packet_player_phase_done(struct connection *pc, const struct packet_player_phase_done *packet);
2298int dsend_packet_player_phase_done(struct connection *pc, int turn);
2299
2300int send_packet_player_rates(struct connection *pc, const struct packet_player_rates *packet);
2301int dsend_packet_player_rates(struct connection *pc, int tax, int luxury, int science);
2302
2305
2307int dsend_packet_player_place_infra(struct connection *pc, int tile, int extra);
2308
2310
2312
2313int send_packet_player_diplstate(struct connection *pc, const struct packet_player_diplstate *packet);
2314
2315int send_packet_player_multiplier(struct connection *pc, const struct packet_player_multiplier *packet);
2316
2317int send_packet_research_info(struct connection *pc, const struct packet_research_info *packet);
2318void lsend_packet_research_info(struct conn_list *dest, const struct packet_research_info *packet);
2319
2320int send_packet_unknown_research(struct connection *pc, const struct packet_unknown_research *packet);
2321
2322int send_packet_player_research(struct connection *pc, const struct packet_player_research *packet);
2323int dsend_packet_player_research(struct connection *pc, int tech);
2324
2325int send_packet_player_tech_goal(struct connection *pc, const struct packet_player_tech_goal *packet);
2326int dsend_packet_player_tech_goal(struct connection *pc, int tech);
2327
2328int send_packet_unit_remove(struct connection *pc, const struct packet_unit_remove *packet);
2329void lsend_packet_unit_remove(struct conn_list *dest, const struct packet_unit_remove *packet);
2330int dsend_packet_unit_remove(struct connection *pc, int unit_id);
2331void dlsend_packet_unit_remove(struct conn_list *dest, int unit_id);
2332
2333int send_packet_unit_info(struct connection *pc, const struct packet_unit_info *packet);
2334void lsend_packet_unit_info(struct conn_list *dest, const struct packet_unit_info *packet);
2335
2336int send_packet_unit_short_info(struct connection *pc, const struct packet_unit_short_info *packet, bool force_to_send);
2337void lsend_packet_unit_short_info(struct conn_list *dest, const struct packet_unit_short_info *packet, bool force_to_send);
2338
2339int send_packet_unit_combat_info(struct connection *pc, const struct packet_unit_combat_info *packet);
2340void lsend_packet_unit_combat_info(struct conn_list *dest, const struct packet_unit_combat_info *packet);
2341
2342int send_packet_unit_sscs_set(struct connection *pc, const struct packet_unit_sscs_set *packet);
2343int dsend_packet_unit_sscs_set(struct connection *pc, int unit_id, enum unit_ss_data_type type, int value);
2344
2345int send_packet_unit_orders(struct connection *pc, const struct packet_unit_orders *packet);
2346
2349
2350int send_packet_unit_action_query(struct connection *pc, const struct packet_unit_action_query *packet);
2351int dsend_packet_unit_action_query(struct connection *pc, int actor_id, int target_id, action_id action_type, int request_kind);
2352
2353int send_packet_unit_type_upgrade(struct connection *pc, const struct packet_unit_type_upgrade *packet);
2355
2356int send_packet_unit_do_action(struct connection *pc, const struct packet_unit_do_action *packet);
2357int dsend_packet_unit_do_action(struct connection *pc, int actor_id, int target_id, int sub_tgt_id, const char *name, action_id action_type);
2358
2360int dsend_packet_unit_action_answer(struct connection *pc, int actor_id, int target_id, int cost, action_id action_type, int request_kind);
2361
2362int send_packet_unit_get_actions(struct connection *pc, const struct packet_unit_get_actions *packet);
2363int dsend_packet_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);
2364
2365int send_packet_unit_actions(struct connection *pc, const struct packet_unit_actions *packet);
2366int dsend_packet_unit_actions(struct connection *pc, int actor_unit_id, int target_unit_id, int target_city_id, int target_tile_id, int target_extra_id, int request_kind, const struct act_prob *action_probabilities);
2367
2369int dsend_packet_unit_change_activity(struct connection *pc, int unit_id, enum unit_activity activity, int target);
2370
2372int dsend_packet_diplomacy_init_meeting_req(struct connection *pc, int counterpart);
2373
2375void lsend_packet_diplomacy_init_meeting(struct conn_list *dest, const struct packet_diplomacy_init_meeting *packet);
2376int dsend_packet_diplomacy_init_meeting(struct connection *pc, int counterpart, int initiated_from);
2377void dlsend_packet_diplomacy_init_meeting(struct conn_list *dest, int counterpart, int initiated_from);
2378
2380int dsend_packet_diplomacy_cancel_meeting_req(struct connection *pc, int counterpart);
2381
2384int dsend_packet_diplomacy_cancel_meeting(struct connection *pc, int counterpart, int initiated_from);
2385void dlsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, int counterpart, int initiated_from);
2386
2388int dsend_packet_diplomacy_create_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2389
2392int dsend_packet_diplomacy_create_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2393void dlsend_packet_diplomacy_create_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value);
2394
2396int dsend_packet_diplomacy_remove_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2397
2400int dsend_packet_diplomacy_remove_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2401void dlsend_packet_diplomacy_remove_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value);
2402
2404int dsend_packet_diplomacy_accept_treaty_req(struct connection *pc, int counterpart);
2405
2408int dsend_packet_diplomacy_accept_treaty(struct connection *pc, int counterpart, bool I_accepted, bool other_accepted);
2409void dlsend_packet_diplomacy_accept_treaty(struct conn_list *dest, int counterpart, bool I_accepted, bool other_accepted);
2410
2412int dsend_packet_diplomacy_cancel_pact(struct connection *pc, int other_player_id, enum clause_type clause);
2413
2414int send_packet_page_msg(struct connection *pc, const struct packet_page_msg *packet);
2415void lsend_packet_page_msg(struct conn_list *dest, const struct packet_page_msg *packet);
2416
2417int send_packet_page_msg_part(struct connection *pc, const struct packet_page_msg_part *packet);
2418void lsend_packet_page_msg_part(struct conn_list *dest, const struct packet_page_msg_part *packet);
2419
2420int send_packet_report_req(struct connection *pc, const struct packet_report_req *packet);
2422
2423int send_packet_conn_info(struct connection *pc, const struct packet_conn_info *packet);
2424void lsend_packet_conn_info(struct conn_list *dest, const struct packet_conn_info *packet);
2425
2426int send_packet_conn_ping_info(struct connection *pc, const struct packet_conn_ping_info *packet);
2427void lsend_packet_conn_ping_info(struct conn_list *dest, const struct packet_conn_ping_info *packet);
2428
2430
2432
2434
2435int send_packet_client_info(struct connection *pc, const struct packet_client_info *packet);
2436
2438void lsend_packet_end_phase(struct conn_list *dest);
2439
2440int send_packet_start_phase(struct connection *pc, const struct packet_start_phase *packet);
2441void lsend_packet_start_phase(struct conn_list *dest, const struct packet_start_phase *packet);
2442int dsend_packet_start_phase(struct connection *pc, int phase);
2443void dlsend_packet_start_phase(struct conn_list *dest, int phase);
2444
2445int send_packet_new_year(struct connection *pc, const struct packet_new_year *packet);
2446void lsend_packet_new_year(struct conn_list *dest, const struct packet_new_year *packet);
2447
2449void lsend_packet_begin_turn(struct conn_list *dest);
2450
2452void lsend_packet_end_turn(struct conn_list *dest);
2453
2455void lsend_packet_freeze_client(struct conn_list *dest);
2456
2458void lsend_packet_thaw_client(struct conn_list *dest);
2459
2461
2462int send_packet_spaceship_place(struct connection *pc, const struct packet_spaceship_place *packet);
2464
2465int send_packet_spaceship_info(struct connection *pc, const struct packet_spaceship_info *packet);
2466void lsend_packet_spaceship_info(struct conn_list *dest, const struct packet_spaceship_info *packet);
2467
2468int send_packet_ruleset_unit(struct connection *pc, const struct packet_ruleset_unit *packet);
2469void lsend_packet_ruleset_unit(struct conn_list *dest, const struct packet_ruleset_unit *packet);
2470
2472void lsend_packet_ruleset_unit_bonus(struct conn_list *dest, const struct packet_ruleset_unit_bonus *packet);
2473
2474int send_packet_ruleset_unit_flag(struct connection *pc, const struct packet_ruleset_unit_flag *packet);
2475void lsend_packet_ruleset_unit_flag(struct conn_list *dest, const struct packet_ruleset_unit_flag *packet);
2476
2479
2480int send_packet_ruleset_game(struct connection *pc, const struct packet_ruleset_game *packet);
2481void lsend_packet_ruleset_game(struct conn_list *dest, const struct packet_ruleset_game *packet);
2482
2484void lsend_packet_ruleset_specialist(struct conn_list *dest, const struct packet_ruleset_specialist *packet);
2485
2488
2489int send_packet_ruleset_tech(struct connection *pc, const struct packet_ruleset_tech *packet);
2490void lsend_packet_ruleset_tech(struct conn_list *dest, const struct packet_ruleset_tech *packet);
2491
2493void lsend_packet_ruleset_tech_class(struct conn_list *dest, const struct packet_ruleset_tech_class *packet);
2494
2495int send_packet_ruleset_tech_flag(struct connection *pc, const struct packet_ruleset_tech_flag *packet);
2496void lsend_packet_ruleset_tech_flag(struct conn_list *dest, const struct packet_ruleset_tech_flag *packet);
2497
2499void lsend_packet_ruleset_government(struct conn_list *dest, const struct packet_ruleset_government *packet);
2500
2501int send_packet_ruleset_gov_flag(struct connection *pc, const struct packet_ruleset_gov_flag *packet);
2502void lsend_packet_ruleset_gov_flag(struct conn_list *dest, const struct packet_ruleset_gov_flag *packet);
2503
2506
2508void lsend_packet_rulesets_ready(struct conn_list *dest);
2509
2511void lsend_packet_ruleset_nation_sets(struct conn_list *dest, const struct packet_ruleset_nation_sets *packet);
2512
2514void lsend_packet_ruleset_nation_groups(struct conn_list *dest, const struct packet_ruleset_nation_groups *packet);
2515
2516int send_packet_ruleset_nation(struct connection *pc, const struct packet_ruleset_nation *packet);
2517void lsend_packet_ruleset_nation(struct conn_list *dest, const struct packet_ruleset_nation *packet);
2518
2520void lsend_packet_nation_availability(struct conn_list *dest, const struct packet_nation_availability *packet);
2521
2522int send_packet_ruleset_style(struct connection *pc, const struct packet_ruleset_style *packet);
2523void lsend_packet_ruleset_style(struct conn_list *dest, const struct packet_ruleset_style *packet);
2524
2525int send_packet_ruleset_city(struct connection *pc, const struct packet_ruleset_city *packet);
2526void lsend_packet_ruleset_city(struct conn_list *dest, const struct packet_ruleset_city *packet);
2527
2528int send_packet_ruleset_building(struct connection *pc, const struct packet_ruleset_building *packet);
2529void lsend_packet_ruleset_building(struct conn_list *dest, const struct packet_ruleset_building *packet);
2530
2531int send_packet_ruleset_impr_flag(struct connection *pc, const struct packet_ruleset_impr_flag *packet);
2532void lsend_packet_ruleset_impr_flag(struct conn_list *dest, const struct packet_ruleset_impr_flag *packet);
2533
2534int send_packet_ruleset_terrain(struct connection *pc, const struct packet_ruleset_terrain *packet);
2535void lsend_packet_ruleset_terrain(struct conn_list *dest, const struct packet_ruleset_terrain *packet);
2536
2538void lsend_packet_ruleset_terrain_flag(struct conn_list *dest, const struct packet_ruleset_terrain_flag *packet);
2539
2541void lsend_packet_ruleset_unit_class(struct conn_list *dest, const struct packet_ruleset_unit_class *packet);
2542
2543int send_packet_ruleset_extra(struct connection *pc, const struct packet_ruleset_extra *packet);
2544void lsend_packet_ruleset_extra(struct conn_list *dest, const struct packet_ruleset_extra *packet);
2545
2547void lsend_packet_ruleset_extra_flag(struct conn_list *dest, const struct packet_ruleset_extra_flag *packet);
2548
2549int send_packet_ruleset_base(struct connection *pc, const struct packet_ruleset_base *packet);
2550void lsend_packet_ruleset_base(struct conn_list *dest, const struct packet_ruleset_base *packet);
2551
2552int send_packet_ruleset_road(struct connection *pc, const struct packet_ruleset_road *packet);
2553void lsend_packet_ruleset_road(struct conn_list *dest, const struct packet_ruleset_road *packet);
2554
2555int send_packet_ruleset_goods(struct connection *pc, const struct packet_ruleset_goods *packet);
2556void lsend_packet_ruleset_goods(struct conn_list *dest, const struct packet_ruleset_goods *packet);
2557
2558int send_packet_ruleset_disaster(struct connection *pc, const struct packet_ruleset_disaster *packet);
2559void lsend_packet_ruleset_disaster(struct conn_list *dest, const struct packet_ruleset_disaster *packet);
2560
2562void lsend_packet_ruleset_achievement(struct conn_list *dest, const struct packet_ruleset_achievement *packet);
2563
2564int send_packet_ruleset_trade(struct connection *pc, const struct packet_ruleset_trade *packet);
2565void lsend_packet_ruleset_trade(struct conn_list *dest, const struct packet_ruleset_trade *packet);
2566
2567int send_packet_ruleset_action(struct connection *pc, const struct packet_ruleset_action *packet);
2568void lsend_packet_ruleset_action(struct conn_list *dest, const struct packet_ruleset_action *packet);
2569
2571void lsend_packet_ruleset_action_enabler(struct conn_list *dest, const struct packet_ruleset_action_enabler *packet);
2572
2574void lsend_packet_ruleset_action_auto(struct conn_list *dest, const struct packet_ruleset_action_auto *packet);
2575
2576int send_packet_ruleset_counter(struct connection *pc, const struct packet_ruleset_counter *packet);
2577void lsend_packet_ruleset_counter(struct conn_list *dest, const struct packet_ruleset_counter *packet);
2578
2579int send_packet_ruleset_music(struct connection *pc, const struct packet_ruleset_music *packet);
2580void lsend_packet_ruleset_music(struct conn_list *dest, const struct packet_ruleset_music *packet);
2581
2583void lsend_packet_ruleset_multiplier(struct conn_list *dest, const struct packet_ruleset_multiplier *packet);
2584
2585int send_packet_ruleset_clause(struct connection *pc, const struct packet_ruleset_clause *packet);
2586void lsend_packet_ruleset_clause(struct conn_list *dest, const struct packet_ruleset_clause *packet);
2587
2588int send_packet_ruleset_tiledef(struct connection *pc, const struct packet_ruleset_tiledef *packet);
2589void lsend_packet_ruleset_tiledef(struct conn_list *dest, const struct packet_ruleset_tiledef *packet);
2590
2591int send_packet_ruleset_control(struct connection *pc, const struct packet_ruleset_control *packet);
2592void lsend_packet_ruleset_control(struct conn_list *dest, const struct packet_ruleset_control *packet);
2593
2594int send_packet_ruleset_summary(struct connection *pc, const struct packet_ruleset_summary *packet);
2595void lsend_packet_ruleset_summary(struct conn_list *dest, const struct packet_ruleset_summary *packet);
2596
2599
2601
2603int dsend_packet_single_want_hack_reply(struct connection *pc, bool you_have_hack);
2604
2605int send_packet_ruleset_choices(struct connection *pc, const struct packet_ruleset_choices *packet);
2606
2607int send_packet_ruleset_select(struct connection *pc, const struct packet_ruleset_select *packet);
2608
2609int send_packet_game_load(struct connection *pc, const struct packet_game_load *packet);
2610void lsend_packet_game_load(struct conn_list *dest, const struct packet_game_load *packet);
2611int dsend_packet_game_load(struct connection *pc, bool load_successful, const char *load_filename);
2612void dlsend_packet_game_load(struct conn_list *dest, bool load_successful, const char *load_filename);
2613
2615
2617
2619
2621
2623
2625
2627
2628int send_packet_set_topology(struct connection *pc, const struct packet_set_topology *packet);
2629
2630int send_packet_ruleset_effect(struct connection *pc, const struct packet_ruleset_effect *packet);
2631void lsend_packet_ruleset_effect(struct conn_list *dest, const struct packet_ruleset_effect *packet);
2632
2633int send_packet_ruleset_resource(struct connection *pc, const struct packet_ruleset_resource *packet);
2634void lsend_packet_ruleset_resource(struct conn_list *dest, const struct packet_ruleset_resource *packet);
2635
2636int send_packet_scenario_info(struct connection *pc, const struct packet_scenario_info *packet);
2637
2639
2640int send_packet_save_scenario(struct connection *pc, const struct packet_save_scenario *packet);
2641int dsend_packet_save_scenario(struct connection *pc, const char *name);
2642
2643int send_packet_vote_new(struct connection *pc, const struct packet_vote_new *packet);
2644
2645int send_packet_vote_update(struct connection *pc, const struct packet_vote_update *packet);
2646
2647int send_packet_vote_remove(struct connection *pc, const struct packet_vote_remove *packet);
2648
2649int send_packet_vote_resolve(struct connection *pc, const struct packet_vote_resolve *packet);
2650
2651int send_packet_vote_submit(struct connection *pc, const struct packet_vote_submit *packet);
2652
2653int send_packet_edit_mode(struct connection *pc, const struct packet_edit_mode *packet);
2654int dsend_packet_edit_mode(struct connection *pc, bool state);
2655
2657
2659
2662
2664void lsend_packet_edit_fogofwar_state(struct conn_list *dest, const struct packet_edit_fogofwar_state *packet);
2665int dsend_packet_edit_fogofwar_state(struct connection *pc, bool enabled);
2666void dlsend_packet_edit_fogofwar_state(struct conn_list *dest, bool enabled);
2667
2668int send_packet_edit_tile_terrain(struct connection *pc, const struct packet_edit_tile_terrain *packet);
2670
2671int send_packet_edit_tile_extra(struct connection *pc, const struct packet_edit_tile_extra *packet);
2672int dsend_packet_edit_tile_extra(struct connection *pc, int tile, int extra_type_id, bool removal, int eowner, int size);
2673
2674int send_packet_edit_startpos(struct connection *pc, const struct packet_edit_startpos *packet);
2675int dsend_packet_edit_startpos(struct connection *pc, int id, bool removal, int tag);
2676
2678
2679int send_packet_edit_tile(struct connection *pc, const struct packet_edit_tile *packet);
2680
2681int send_packet_edit_unit_create(struct connection *pc, const struct packet_edit_unit_create *packet);
2682int dsend_packet_edit_unit_create(struct connection *pc, int owner, int tile, Unit_type_id type, int count, int tag);
2683
2684int send_packet_edit_unit_remove(struct connection *pc, const struct packet_edit_unit_remove *packet);
2685int dsend_packet_edit_unit_remove(struct connection *pc, int owner, int tile, Unit_type_id type, int count);
2686
2689
2690int send_packet_edit_unit(struct connection *pc, const struct packet_edit_unit *packet);
2691
2692int send_packet_edit_city_create(struct connection *pc, const struct packet_edit_city_create *packet);
2693int dsend_packet_edit_city_create(struct connection *pc, int owner, int tile, int size, int tag);
2694
2695int send_packet_edit_city_remove(struct connection *pc, const struct packet_edit_city_remove *packet);
2696int dsend_packet_edit_city_remove(struct connection *pc, int id);
2697
2698int send_packet_edit_city(struct connection *pc, const struct packet_edit_city *packet);
2699
2701int dsend_packet_edit_player_create(struct connection *pc, int tag);
2702
2704int dsend_packet_edit_player_remove(struct connection *pc, int id);
2705
2706int send_packet_edit_player(struct connection *pc, const struct packet_edit_player *packet);
2707void lsend_packet_edit_player(struct conn_list *dest, const struct packet_edit_player *packet);
2708
2710int dsend_packet_edit_player_vision(struct connection *pc, int player, int tile, bool known, int size);
2711
2712int send_packet_edit_game(struct connection *pc, const struct packet_edit_game *packet);
2713
2715
2717int dsend_packet_edit_object_created(struct connection *pc, int tag, int id);
2718
2719int send_packet_play_music(struct connection *pc, const struct packet_play_music *packet);
2720void lsend_packet_play_music(struct conn_list *dest, const struct packet_play_music *packet);
2721
2722int send_packet_popup_image(struct connection *pc, const struct packet_popup_image *packet);
2723void lsend_packet_popup_image(struct conn_list *dest, const struct packet_popup_image *packet);
2724
2725int send_packet_sync_serial(struct connection *pc, const struct packet_sync_serial *packet);
2726int dsend_packet_sync_serial(struct connection *pc, int serial);
2727
2728int send_packet_sync_serial_reply(struct connection *pc, const struct packet_sync_serial_reply *packet);
2729int dsend_packet_sync_serial_reply(struct connection *pc, int serial);
2730
2731int send_packet_access_area(struct connection *pc, const struct packet_access_area *packet);
2732void lsend_packet_access_area(struct conn_list *dest, const struct packet_access_area *packet);
2733
2734int send_packet_city_access_area(struct connection *pc, const struct packet_city_access_area *packet);
2735void lsend_packet_city_access_area(struct conn_list *dest, const struct packet_city_access_area *packet);
2736
2737int send_packet_web_city_info_addition(struct connection *pc, const struct packet_web_city_info_addition *packet, bool force_to_send);
2738void lsend_packet_web_city_info_addition(struct conn_list *dest, const struct packet_web_city_info_addition *packet, bool force_to_send);
2739
2740int send_packet_web_cma_set(struct connection *pc, const struct packet_web_cma_set *packet);
2741
2742int send_packet_web_cma_clear(struct connection *pc, const struct packet_web_cma_clear *packet);
2743
2745
2748
2749void delta_stats_report(void);
2750void delta_stats_reset(void);
2751
2752#ifdef __cplusplus
2753}
2754#endif /* __cplusplus */
2755
2756#endif /* FC__PACKETS_GEN_H */
#define MAX_NUM_ACTIONS
Definition actions.h:62
@ FEELING_LAST
Definition city.h:283
char * incite_cost
Definition comments.c:77
#define ATTRIBUTE_CHUNK_SIZE
Definition conn_types.h:66
#define MAX_LEN_CONTENT
Definition conn_types.h:32
#define MAX_LEN_PACKET
Definition conn_types.h:29
#define MAX_LEN_PASSWORD
Definition conn_types.h:31
#define MAX_LEN_MSG
Definition conn_types.h:37
#define MAX_LEN_CAPSTR
Definition conn_types.h:30
report_type
Definition conn_types.h:49
#define MAX_LEN_ROUTE
Definition conn_types.h:38
authentication_type
Definition conn_types.h:41
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:73
#define MAX_NUM_CONNECTIONS
Definition fc_types.h:38
#define MAX_CITY_NATIONALITIES
Definition fc_types.h:91
#define MAX_NUM_ANIMALS
Definition fc_types.h:65
#define MAX_VET_LEVELS
Definition fc_types.h:49
road_compat
Definition fc_types.h:948
#define MAX_RULESET_NAME_LENGTH
Definition fc_types.h:272
#define MAX_GRANARY_INIS
Definition fc_types.h:74
#define MAX_NUM_NATIONS
Definition fc_types.h:61
#define MAX_NUM_RULESETS
Definition fc_types.h:271
#define MAX_NUM_NATION_SETS
Definition fc_types.h:58
int Goods_type_id
Definition fc_types.h:248
diplomacy_mode
Definition fc_types.h:744
#define MAX_NUM_BUILDING_LIST
Definition fc_types.h:46
#define MAX_LEN_ENUM
Definition fc_types.h:76
int Impr_type_id
Definition fc_types.h:237
revolen_type
Definition fc_types.h:978
int Nation_type_id
Definition fc_types.h:241
int Terrain_type_id
Definition fc_types.h:234
int action_id
Definition fc_types.h:250
#define SP_MAX
Definition fc_types.h:269
int Specialist_type_id
Definition fc_types.h:236
int Government_type_id
Definition fc_types.h:242
#define MAX_CALENDAR_FRAGMENTS
Definition fc_types.h:63
#define MAX_NUM_NATION_GROUPS
Definition fc_types.h:59
#define MAX_NUM_PLAYER_SLOTS
Definition fc_types.h:32
#define MAX_NUM_LEADERS
Definition fc_types.h:57
happyborders_type
Definition fc_types.h:985
#define MAX_NUM_MULTIPLIERS
Definition fc_types.h:55
int Resource_type_id
Definition fc_types.h:235
#define MAX_NUM_UNIT_LIST
Definition fc_types.h:45
#define MAX_EXTRA_TYPES
Definition fc_types.h:50
counter_target
Definition fc_types.h:128
#define MAX_LEN_MAP_LABEL
Definition fc_types.h:70
#define MAX_LEN_NAME
Definition fc_types.h:68
spaceship_place_type
Definition fc_types.h:992
int Unit_type_id
Definition fc_types.h:243
#define MAX_NUM_TECH_LIST
Definition fc_types.h:44
victory_condition_type
Definition fc_types.h:965
@ O_LAST
Definition fc_types.h:103
#define MAX_LEN_CITYNAME
Definition fc_types.h:69
signed short Continent_id
Definition fc_types.h:233
#define MAX_CITY_TILES
Definition fc_types.h:89
#define MAX_COUNTERS
Definition fc_types.h:108
borders_mode
Definition fc_types.h:731
int Base_type_id
Definition fc_types.h:244
int Multiplier_type_id
Definition fc_types.h:247
static int actor_unit_id
static int target_extra_id
struct city * owner
Definition citydlg.c:226
static void load_filename(const char *filename)
Definition pages.c:2850
GType type
Definition repodlgs.c:1313
#define B_LAST
Definition improvement.h:42
const char * name
Definition inputfile.c:127
int send_packet_sync_serial(struct connection *pc, const struct packet_sync_serial *packet)
int dsend_packet_edit_city_create(struct connection *pc, int owner, int tile, int size, int tag)
int dsend_packet_unit_change_activity(struct connection *pc, int unit_id, enum unit_activity activity, int target)
void lsend_packet_ruleset_summary(struct conn_list *dest, const struct packet_ruleset_summary *packet)
int dsend_packet_diplomacy_create_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
int send_packet_conn_ping(struct connection *pc)
void lsend_packet_diplomacy_create_clause(struct conn_list *dest, const struct packet_diplomacy_create_clause *packet)
int send_packet_player_change_government(struct connection *pc, const struct packet_player_change_government *packet)
int send_packet_diplomacy_accept_treaty(struct connection *pc, const struct packet_diplomacy_accept_treaty *packet)
int send_packet_ruleset_counter(struct connection *pc, const struct packet_ruleset_counter *packet)
int dsend_packet_sync_serial(struct connection *pc, int serial)
int send_packet_city_rally_point(struct connection *pc, const struct packet_city_rally_point *packet, bool force_to_send)
void delta_stats_reset(void)
Definition packets_gen.c:45
int send_packet_vote_resolve(struct connection *pc, const struct packet_vote_resolve *packet)
void lsend_packet_start_phase(struct conn_list *dest, const struct packet_start_phase *packet)
void lsend_packet_ruleset_building(struct conn_list *dest, const struct packet_ruleset_building *packet)
int send_packet_edit_city(struct connection *pc, const struct packet_edit_city *packet)
int send_packet_server_setting_bitwise(struct connection *pc, const struct packet_server_setting_bitwise *packet)
void lsend_packet_new_year(struct conn_list *dest, const struct packet_new_year *packet)
void lsend_packet_endgame_player(struct conn_list *dest, const struct packet_endgame_player *packet)
int send_packet_ruleset_game(struct connection *pc, const struct packet_ruleset_game *packet)
void lsend_packet_ruleset_unit_class_flag(struct conn_list *dest, const struct packet_ruleset_unit_class_flag *packet)
int send_packet_unknown_research(struct connection *pc, const struct packet_unknown_research *packet)
void lsend_packet_tile_info(struct conn_list *dest, const struct packet_tile_info *packet)
int send_packet_ruleset_resource(struct connection *pc, const struct packet_ruleset_resource *packet)
int dsend_packet_player_rates(struct connection *pc, int tax, int luxury, int science)
int dsend_packet_spaceship_place(struct connection *pc, enum spaceship_place_type type, int num)
void dlsend_packet_city_remove(struct conn_list *dest, int city_id)
int send_packet_ruleset_unit_bonus(struct connection *pc, const struct packet_ruleset_unit_bonus *packet)
int send_packet_edit_unit_create(struct connection *pc, const struct packet_edit_unit_create *packet)
void lsend_packet_edit_player(struct conn_list *dest, const struct packet_edit_player *packet)
int send_packet_end_turn(struct connection *pc)
int send_packet_ruleset_achievement(struct connection *pc, const struct packet_ruleset_achievement *packet)
int send_packet_edit_city_create(struct connection *pc, const struct packet_edit_city_create *packet)
void dlsend_packet_edit_fogofwar_state(struct conn_list *dest, bool enabled)
void lsend_packet_research_info(struct conn_list *dest, const struct packet_research_info *packet)
int send_packet_worker_task(struct connection *pc, const struct packet_worker_task *packet)
void lsend_packet_city_update_counters(struct conn_list *dest, const struct packet_city_update_counters *packet)
void lsend_packet_web_ruleset_unit_addition(struct conn_list *dest, const struct packet_web_ruleset_unit_addition *packet)
void lsend_packet_map_info(struct conn_list *dest, const struct packet_map_info *packet)
int dsend_packet_connect_msg(struct connection *pc, const char *message)
int send_packet_edit_toggle_fogofwar(struct connection *pc, const struct packet_edit_toggle_fogofwar *packet)
void lsend_packet_game_load(struct conn_list *dest, const struct packet_game_load *packet)
void lsend_packet_ruleset_achievement(struct conn_list *dest, const struct packet_ruleset_achievement *packet)
void lsend_packet_ruleset_nation_sets(struct conn_list *dest, const struct packet_ruleset_nation_sets *packet)
int send_packet_city_name_suggestion_info(struct connection *pc, const struct packet_city_name_suggestion_info *packet)
int send_packet_ruleset_government(struct connection *pc, const struct packet_ruleset_government *packet)
int send_packet_unit_remove(struct connection *pc, const struct packet_unit_remove *packet)
void lsend_packet_city_nationalities(struct conn_list *dest, const struct packet_city_nationalities *packet, bool force_to_send)
int send_packet_popup_image(struct connection *pc, const struct packet_popup_image *packet)
int send_packet_player_phase_done(struct connection *pc, const struct packet_player_phase_done *packet)
void lsend_packet_edit_fogofwar_state(struct conn_list *dest, const struct packet_edit_fogofwar_state *packet)
void lsend_packet_ruleset_multiplier(struct conn_list *dest, const struct packet_ruleset_multiplier *packet)
int dsend_packet_diplomacy_cancel_meeting(struct connection *pc, int counterpart, int initiated_from)
int dsend_packet_player_remove(struct connection *pc, int playerno)
void lsend_packet_ruleset_city(struct conn_list *dest, const struct packet_ruleset_city *packet)
int send_packet_edit_game(struct connection *pc, const struct packet_edit_game *packet)
void lsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, const struct packet_diplomacy_cancel_meeting *packet)
int dsend_packet_diplomacy_cancel_pact(struct connection *pc, int other_player_id, enum clause_type clause)
int send_packet_nation_availability(struct connection *pc, const struct packet_nation_availability *packet)
int dsend_packet_authentication_req(struct connection *pc, enum authentication_type type, const char *message)
int send_packet_ruleset_nation_sets(struct connection *pc, const struct packet_ruleset_nation_sets *packet)
int dsend_packet_city_sell(struct connection *pc, int city_id, int build_id)
void lsend_packet_ruleset_unit(struct conn_list *dest, const struct packet_ruleset_unit *packet)
int send_packet_unit_action_query(struct connection *pc, const struct packet_unit_action_query *packet)
int dsend_packet_diplomacy_init_meeting_req(struct connection *pc, int counterpart)
int dsend_packet_unit_do_action(struct connection *pc, int actor_id, int target_id, int sub_tgt_id, const char *name, action_id action_type)
int send_packet_city_make_specialist(struct connection *pc, const struct packet_city_make_specialist *packet)
int send_packet_ruleset_unit_class(struct connection *pc, const struct packet_ruleset_unit_class *packet)
int send_packet_ruleset_multiplier(struct connection *pc, const struct packet_ruleset_multiplier *packet)
int send_packet_ruleset_extra_flag(struct connection *pc, const struct packet_ruleset_extra_flag *packet)
void lsend_packet_unit_remove(struct conn_list *dest, const struct packet_unit_remove *packet)
int dsend_packet_diplomacy_remove_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
int send_packet_city_rename(struct connection *pc, const struct packet_city_rename *packet)
void dlsend_packet_diplomacy_init_meeting(struct conn_list *dest, int counterpart, int initiated_from)
int send_packet_ruleset_select(struct connection *pc, const struct packet_ruleset_select *packet)
int send_packet_endgame_player(struct connection *pc, const struct packet_endgame_player *packet)
void lsend_packet_ruleset_clause(struct conn_list *dest, const struct packet_ruleset_clause *packet)
int send_packet_new_year(struct connection *pc, const struct packet_new_year *packet)
int send_packet_server_setting_str(struct connection *pc, const struct packet_server_setting_str *packet)
int send_packet_ruleset_road(struct connection *pc, const struct packet_ruleset_road *packet)
void lsend_packet_chat_msg(struct conn_list *dest, const struct packet_chat_msg *packet)
int send_packet_ruleset_unit_flag(struct connection *pc, const struct packet_ruleset_unit_flag *packet)
int send_packet_ruleset_city(struct connection *pc, const struct packet_ruleset_city *packet)
int send_packet_ruleset_goods(struct connection *pc, const struct packet_ruleset_goods *packet)
void lsend_packet_begin_turn(struct conn_list *dest)
int send_packet_unit_type_upgrade(struct connection *pc, const struct packet_unit_type_upgrade *packet)
void delta_stats_report(void)
Definition packets_gen.c:44
int send_packet_processing_finished(struct connection *pc)
void lsend_packet_ruleset_unit_flag(struct conn_list *dest, const struct packet_ruleset_unit_flag *packet)
int send_packet_page_msg(struct connection *pc, const struct packet_page_msg *packet)
int send_packet_conn_pong(struct connection *pc)
int send_packet_player_multiplier(struct connection *pc, const struct packet_player_multiplier *packet)
int send_packet_server_join_req(struct connection *pc, const struct packet_server_join_req *packet)
void lsend_packet_endgame_report(struct conn_list *dest, const struct packet_endgame_report *packet)
int send_packet_endgame_report(struct connection *pc, const struct packet_endgame_report *packet)
int dsend_packet_city_options_req(struct connection *pc, int city_id, bv_city_options options, enum city_wl_cancel_behavior wl_cb)
int send_packet_server_setting_const(struct connection *pc, const struct packet_server_setting_const *packet)
int send_packet_city_remove(struct connection *pc, const struct packet_city_remove *packet)
void lsend_packet_conn_info(struct conn_list *dest, const struct packet_conn_info *packet)
int send_packet_server_info(struct connection *pc, const struct packet_server_info *packet)
int send_packet_edit_unit_remove(struct connection *pc, const struct packet_edit_unit_remove *packet)
int send_packet_unit_server_side_agent_set(struct connection *pc, const struct packet_unit_server_side_agent_set *packet)
void lsend_packet_early_chat_msg(struct conn_list *dest, const struct packet_early_chat_msg *packet)
int send_packet_city_name_suggestion_req(struct connection *pc, const struct packet_city_name_suggestion_req *packet)
int send_packet_ruleset_extra(struct connection *pc, const struct packet_ruleset_extra *packet)
int send_packet_city_info(struct connection *pc, const struct packet_city_info *packet, bool force_to_send)
void lsend_packet_ruleset_action(struct conn_list *dest, const struct packet_ruleset_action *packet)
int send_packet_unit_actions(struct connection *pc, const struct packet_unit_actions *packet)
int send_packet_ruleset_tech_class(struct connection *pc, const struct packet_ruleset_tech_class *packet)
void lsend_packet_trade_route_info(struct conn_list *dest, const struct packet_trade_route_info *packet)
void lsend_packet_diplomacy_accept_treaty(struct conn_list *dest, const struct packet_diplomacy_accept_treaty *packet)
int dsend_packet_server_join_req(struct connection *pc, const char *username, const char *capability, const char *version_label, int major_version, int minor_version, int patch_version)
int send_packet_ruleset_summary(struct connection *pc, const struct packet_ruleset_summary *packet)
void lsend_packet_ruleset_extra(struct conn_list *dest, const struct packet_ruleset_extra *packet)
int send_packet_edit_tile_extra(struct connection *pc, const struct packet_edit_tile_extra *packet)
int dsend_packet_server_info(struct connection *pc, const char *version_label, int major_version, int minor_version, int patch_version, int emerg_version)
void lsend_packet_ruleset_nation_groups(struct conn_list *dest, const struct packet_ruleset_nation_groups *packet)
void lsend_packet_ruleset_terrain_control(struct conn_list *dest, const struct packet_ruleset_terrain_control *packet)
int send_packet_single_want_hack_req(struct connection *pc, const struct packet_single_want_hack_req *packet)
void dlsend_packet_diplomacy_remove_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value)
void dlsend_packet_investigate_finished(struct conn_list *dest, int city_id)
void lsend_packet_ruleset_government_ruler_title(struct conn_list *dest, const struct packet_ruleset_government_ruler_title *packet)
int send_packet_scenario_info(struct connection *pc, const struct packet_scenario_info *packet)
int send_packet_ruleset_base(struct connection *pc, const struct packet_ruleset_base *packet)
void dlsend_packet_unit_remove(struct conn_list *dest, int unit_id)
int send_packet_server_setting_int(struct connection *pc, const struct packet_server_setting_int *packet)
int send_packet_web_ruleset_unit_addition(struct connection *pc, const struct packet_web_ruleset_unit_addition *packet)
void lsend_packet_ruleset_music(struct conn_list *dest, const struct packet_ruleset_music *packet)
int send_packet_ruleset_choices(struct connection *pc, const struct packet_ruleset_choices *packet)
int send_packet_server_setting_control(struct connection *pc, const struct packet_server_setting_control *packet)
int send_packet_access_area(struct connection *pc, const struct packet_access_area *packet)
int dsend_packet_chat_msg_req(struct connection *pc, const char *message)
int send_packet_play_music(struct connection *pc, const struct packet_play_music *packet)
int send_packet_sync_serial_reply(struct connection *pc, const struct packet_sync_serial_reply *packet)
int send_packet_server_setting_bool(struct connection *pc, const struct packet_server_setting_bool *packet)
int dsend_packet_unit_remove(struct connection *pc, int unit_id)
int dsend_packet_city_worklist(struct connection *pc, int city_id, const struct worklist *worklist)
int send_packet_city_change(struct connection *pc, const struct packet_city_change *packet)
int send_packet_processing_started(struct connection *pc)
int send_packet_report_req(struct connection *pc, const struct packet_report_req *packet)
int dsend_packet_diplomacy_create_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
int send_packet_vote_submit(struct connection *pc, const struct packet_vote_submit *packet)
int send_packet_trade_route_info(struct connection *pc, const struct packet_trade_route_info *packet)
void lsend_packet_city_info(struct conn_list *dest, const struct packet_city_info *packet, bool force_to_send)
int dsend_packet_city_make_specialist(struct connection *pc, int city_id, int tile_id)
int send_packet_chat_msg(struct connection *pc, const struct packet_chat_msg *packet)
void lsend_packet_ruleset_control(struct conn_list *dest, const struct packet_ruleset_control *packet)
void lsend_packet_popup_image(struct conn_list *dest, const struct packet_popup_image *packet)
int send_packet_unit_do_action(struct connection *pc, const struct packet_unit_do_action *packet)
int send_packet_early_chat_msg(struct connection *pc, const struct packet_early_chat_msg *packet)
int send_packet_ruleset_action_auto(struct connection *pc, const struct packet_ruleset_action_auto *packet)
int dsend_packet_nuke_tile_info(struct connection *pc, int tile)
int send_packet_city_make_worker(struct connection *pc, const struct packet_city_make_worker *packet)
int send_packet_diplomacy_remove_clause_req(struct connection *pc, const struct packet_diplomacy_remove_clause_req *packet)
int dsend_packet_diplomacy_cancel_meeting_req(struct connection *pc, int counterpart)
int send_packet_unit_orders(struct connection *pc, const struct packet_unit_orders *packet)
int send_packet_conn_ping_info(struct connection *pc, const struct packet_conn_ping_info *packet)
int dsend_packet_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)
int dsend_packet_player_tech_goal(struct connection *pc, int tech)
int send_packet_player_rates(struct connection *pc, const struct packet_player_rates *packet)
int send_packet_player_diplstate(struct connection *pc, const struct packet_player_diplstate *packet)
int dsend_packet_city_change(struct connection *pc, int city_id, int production_kind, int production_value)
int send_packet_edit_player_remove(struct connection *pc, const struct packet_edit_player_remove *packet)
void lsend_packet_access_area(struct conn_list *dest, const struct packet_access_area *packet)
int send_packet_city_sabotage_list(struct connection *pc, const struct packet_city_sabotage_list *packet)
void lsend_packet_team_name_info(struct conn_list *dest, const struct packet_team_name_info *packet)
int send_packet_web_cma_clear(struct connection *pc, const struct packet_web_cma_clear *packet)
void lsend_packet_ruleset_effect(struct conn_list *dest, const struct packet_ruleset_effect *packet)
int send_packet_city_refresh(struct connection *pc, const struct packet_city_refresh *packet)
void lsend_packet_unit_short_info(struct conn_list *dest, const struct packet_unit_short_info *packet, bool force_to_send)
int send_packet_diplomacy_accept_treaty_req(struct connection *pc, const struct packet_diplomacy_accept_treaty_req *packet)
int send_packet_unit_action_answer(struct connection *pc, const struct packet_unit_action_answer *packet)
void lsend_packet_ruleset_terrain_flag(struct conn_list *dest, const struct packet_ruleset_terrain_flag *packet)
void lsend_packet_ruleset_unit_class(struct conn_list *dest, const struct packet_ruleset_unit_class *packet)
int dsend_packet_unit_server_side_agent_set(struct connection *pc, int unit_id, enum server_side_agent agent)
int send_packet_edit_player_vision(struct connection *pc, const struct packet_edit_player_vision *packet)
int send_packet_single_want_hack_reply(struct connection *pc, const struct packet_single_want_hack_reply *packet)
int send_packet_end_phase(struct connection *pc)
int send_packet_edit_startpos_full(struct connection *pc, const struct packet_edit_startpos_full *packet)
void lsend_packet_ruleset_disaster(struct conn_list *dest, const struct packet_ruleset_disaster *packet)
void lsend_packet_spaceship_info(struct conn_list *dest, const struct packet_spaceship_info *packet)
int dsend_packet_diplomacy_init_meeting(struct connection *pc, int counterpart, int initiated_from)
int dsend_packet_city_change_specialist(struct connection *pc, int city_id, Specialist_type_id from, Specialist_type_id to)
int send_packet_ruleset_terrain(struct connection *pc, const struct packet_ruleset_terrain *packet)
void lsend_packet_page_msg(struct conn_list *dest, const struct packet_page_msg *packet)
int send_packet_player_info(struct connection *pc, const struct packet_player_info *packet)
void lsend_packet_ruleset_tiledef(struct conn_list *dest, const struct packet_ruleset_tiledef *packet)
int send_packet_city_options_req(struct connection *pc, const struct packet_city_options_req *packet)
int dsend_packet_nation_select_req(struct connection *pc, int player_no, Nation_type_id nation_no, bool is_male, const char *name, int style)
int send_packet_ruleset_clause(struct connection *pc, const struct packet_ruleset_clause *packet)
int send_packet_diplomacy_create_clause_req(struct connection *pc, const struct packet_diplomacy_create_clause_req *packet)
int send_packet_city_nationalities(struct connection *pc, const struct packet_city_nationalities *packet, bool force_to_send)
int dsend_packet_edit_startpos(struct connection *pc, int id, bool removal, int tag)
int send_packet_nation_select_req(struct connection *pc, const struct packet_nation_select_req *packet)
void lsend_packet_ruleset_description_part(struct conn_list *dest, const struct packet_ruleset_description_part *packet)
void lsend_packet_city_short_info(struct conn_list *dest, const struct packet_city_short_info *packet)
int dsend_packet_city_refresh(struct connection *pc, int city_id)
void lsend_packet_ruleset_government(struct conn_list *dest, const struct packet_ruleset_government *packet)
int send_packet_ruleset_tech(struct connection *pc, const struct packet_ruleset_tech *packet)
int send_packet_player_place_infra(struct connection *pc, const struct packet_player_place_infra *packet)
int send_packet_ruleset_nation(struct connection *pc, const struct packet_ruleset_nation *packet)
int send_packet_begin_turn(struct connection *pc)
void lsend_packet_ruleset_unit_bonus(struct conn_list *dest, const struct packet_ruleset_unit_bonus *packet)
void dlsend_packet_nuke_tile_info(struct conn_list *dest, int tile)
int send_packet_connect_msg(struct connection *pc, const struct packet_connect_msg *packet)
int dsend_packet_city_make_worker(struct connection *pc, int city_id, int tile_id)
int send_packet_player_remove(struct connection *pc, const struct packet_player_remove *packet)
int send_packet_diplomacy_cancel_meeting_req(struct connection *pc, const struct packet_diplomacy_cancel_meeting_req *packet)
void lsend_packet_worker_task(struct conn_list *dest, const struct packet_worker_task *packet)
int dsend_packet_player_phase_done(struct connection *pc, int turn)
int send_packet_investigate_started(struct connection *pc, const struct packet_investigate_started *packet)
int send_packet_investigate_finished(struct connection *pc, const struct packet_investigate_finished *packet)
int send_packet_client_heartbeat(struct connection *pc)
int send_packet_city_short_info(struct connection *pc, const struct packet_city_short_info *packet)
int send_packet_edit_object_created(struct connection *pc, const struct packet_edit_object_created *packet)
int send_packet_authentication_reply(struct connection *pc, const struct packet_authentication_reply *packet)
int send_packet_edit_player(struct connection *pc, const struct packet_edit_player *packet)
void lsend_packet_ruleset_base(struct conn_list *dest, const struct packet_ruleset_base *packet)
int dsend_packet_game_load(struct connection *pc, bool load_successful, const char *load_filename)
int dsend_packet_unit_actions(struct connection *pc, int actor_unit_id, int target_unit_id, int target_city_id, int target_tile_id, int target_extra_id, int request_kind, const struct act_prob *action_probabilities)
int send_packet_unit_short_info(struct connection *pc, const struct packet_unit_short_info *packet, bool force_to_send)
int send_packet_ruleset_terrain_flag(struct connection *pc, const struct packet_ruleset_terrain_flag *packet)
void lsend_packet_unit_info(struct conn_list *dest, const struct packet_unit_info *packet)
int dsend_packet_player_change_government(struct connection *pc, Government_type_id government)
void lsend_packet_ruleset_resource(struct conn_list *dest, const struct packet_ruleset_resource *packet)
void dlsend_packet_diplomacy_create_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value)
int send_packet_city_update_counters(struct connection *pc, const struct packet_city_update_counters *packet)
void lsend_packet_ruleset_specialist(struct conn_list *dest, const struct packet_ruleset_specialist *packet)
int send_packet_conn_info(struct connection *pc, const struct packet_conn_info *packet)
void lsend_packet_play_music(struct conn_list *dest, const struct packet_play_music *packet)
int send_packet_game_info(struct connection *pc, const struct packet_game_info *packet)
int dsend_packet_edit_player_create(struct connection *pc, int tag)
void lsend_packet_city_name_suggestion_info(struct conn_list *dest, const struct packet_city_name_suggestion_info *packet)
int send_packet_web_city_info_addition(struct connection *pc, const struct packet_web_city_info_addition *packet, bool force_to_send)
int send_packet_edit_unit_remove_by_id(struct connection *pc, const struct packet_edit_unit_remove_by_id *packet)
int send_packet_diplomacy_cancel_pact(struct connection *pc, const struct packet_diplomacy_cancel_pact *packet)
void dlsend_packet_diplomacy_accept_treaty(struct conn_list *dest, int counterpart, bool I_accepted, bool other_accepted)
int send_packet_edit_recalculate_borders(struct connection *pc)
int send_packet_set_topology(struct connection *pc, const struct packet_set_topology *packet)
int send_packet_spaceship_place(struct connection *pc, const struct packet_spaceship_place *packet)
void dlsend_packet_start_phase(struct conn_list *dest, int phase)
void dlsend_packet_city_name_suggestion_info(struct conn_list *dest, int unit_id, const char *name)
void lsend_packet_ruleset_tech(struct conn_list *dest, const struct packet_ruleset_tech *packet)
int send_packet_authentication_req(struct connection *pc, const struct packet_authentication_req *packet)
void lsend_packet_ruleset_trade(struct conn_list *dest, const struct packet_ruleset_trade *packet)
int send_packet_map_info(struct connection *pc, const struct packet_map_info *packet)
int send_packet_ruleset_tiledef(struct connection *pc, const struct packet_ruleset_tiledef *packet)
int send_packet_freeze_client(struct connection *pc)
int send_packet_player_attribute_chunk(struct connection *pc, const struct packet_player_attribute_chunk *packet)
int send_packet_tile_info(struct connection *pc, const struct packet_tile_info *packet)
int send_packet_edit_unit(struct connection *pc, const struct packet_edit_unit *packet)
int dsend_packet_player_research(struct connection *pc, int tech)
void lsend_packet_city_access_area(struct conn_list *dest, const struct packet_city_access_area *packet)
int send_packet_city_access_area(struct connection *pc, const struct packet_city_access_area *packet)
int dsend_packet_unit_action_query(struct connection *pc, int actor_id, int target_id, action_id action_type, int request_kind)
int dsend_packet_city_remove(struct connection *pc, int city_id)
int send_packet_nuke_tile_info(struct connection *pc, const struct packet_nuke_tile_info *packet)
int send_packet_ruleset_unit_class_flag(struct connection *pc, const struct packet_ruleset_unit_class_flag *packet)
int dsend_packet_city_rename(struct connection *pc, int city_id, const char *name)
int dsend_packet_sync_serial_reply(struct connection *pc, int serial)
int dsend_packet_investigate_finished(struct connection *pc, int city_id)
int send_packet_ruleset_terrain_control(struct connection *pc, const struct packet_ruleset_terrain_control *packet)
void lsend_packet_ruleset_action_enabler(struct conn_list *dest, const struct packet_ruleset_action_enabler *packet)
int send_packet_city_buy(struct connection *pc, const struct packet_city_buy *packet)
void dlsend_packet_game_load(struct conn_list *dest, bool load_successful, const char *load_filename)
int dsend_packet_edit_object_created(struct connection *pc, int tag, int id)
void lsend_packet_ruleset_gov_flag(struct conn_list *dest, const struct packet_ruleset_gov_flag *packet)
int send_packet_edit_scenario_desc(struct connection *pc, const struct packet_edit_scenario_desc *packet)
int send_packet_diplomacy_create_clause(struct connection *pc, const struct packet_diplomacy_create_clause *packet)
int send_packet_ruleset_trade(struct connection *pc, const struct packet_ruleset_trade *packet)
int send_packet_player_ready(struct connection *pc, const struct packet_player_ready *packet)
void lsend_packet_nuke_tile_info(struct conn_list *dest, const struct packet_nuke_tile_info *packet)
void lsend_packet_freeze_client(struct conn_list *dest)
void dlsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, int counterpart, int initiated_from)
void lsend_packet_nation_availability(struct conn_list *dest, const struct packet_nation_availability *packet)
int dsend_packet_edit_unit_remove(struct connection *pc, int owner, int tile, Unit_type_id type, int count)
int send_packet_city_change_specialist(struct connection *pc, const struct packet_city_change_specialist *packet)
void lsend_packet_web_city_info_addition(struct conn_list *dest, const struct packet_web_city_info_addition *packet, bool force_to_send)
int send_packet_calendar_info(struct connection *pc, const struct packet_calendar_info *packet)
int dsend_packet_edit_unit_remove_by_id(struct connection *pc, int id)
int dsend_packet_investigate_started(struct connection *pc, int city_id)
int dsend_packet_diplomacy_remove_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
int send_packet_vote_remove(struct connection *pc, const struct packet_vote_remove *packet)
int dsend_packet_city_buy(struct connection *pc, int city_id)
int send_packet_unit_get_actions(struct connection *pc, const struct packet_unit_get_actions *packet)
int send_packet_unit_change_activity(struct connection *pc, const struct packet_unit_change_activity *packet)
void dlsend_packet_investigate_started(struct conn_list *dest, int city_id)
int dsend_packet_start_phase(struct connection *pc, int phase)
void lsend_packet_ruleset_style(struct conn_list *dest, const struct packet_ruleset_style *packet)
int send_packet_chat_msg_req(struct connection *pc, const struct packet_chat_msg_req *packet)
void lsend_packet_conn_ping_info(struct conn_list *dest, const struct packet_conn_ping_info *packet)
void lsend_packet_end_phase(struct conn_list *dest)
int dsend_packet_edit_unit_create(struct connection *pc, int owner, int tile, Unit_type_id type, int count, int tag)
int dsend_packet_edit_player_remove(struct connection *pc, int id)
int dsend_packet_unit_type_upgrade(struct connection *pc, Unit_type_id type)
int send_packet_ruleset_action(struct connection *pc, const struct packet_ruleset_action *packet)
void lsend_packet_unit_combat_info(struct conn_list *dest, const struct packet_unit_combat_info *packet)
int send_packet_edit_city_remove(struct connection *pc, const struct packet_edit_city_remove *packet)
int send_packet_ruleset_effect(struct connection *pc, const struct packet_ruleset_effect *packet)
int send_packet_edit_mode(struct connection *pc, const struct packet_edit_mode *packet)
int dsend_packet_player_place_infra(struct connection *pc, int tile, int extra)
int send_packet_ruleset_style(struct connection *pc, const struct packet_ruleset_style *packet)
int send_packet_ruleset_disaster(struct connection *pc, const struct packet_ruleset_disaster *packet)
void lsend_packet_server_shutdown(struct conn_list *dest)
int dsend_packet_diplomacy_accept_treaty(struct connection *pc, int counterpart, bool I_accepted, bool other_accepted)
int send_packet_ruleset_unit(struct connection *pc, const struct packet_ruleset_unit *packet)
int send_packet_vote_update(struct connection *pc, const struct packet_vote_update *packet)
int dsend_packet_save_scenario(struct connection *pc, const char *name)
int dsend_packet_edit_tile_extra(struct connection *pc, int tile, int extra_type_id, bool removal, int eowner, int size)
int send_packet_ruleset_nation_groups(struct connection *pc, const struct packet_ruleset_nation_groups *packet)
int send_packet_server_join_reply(struct connection *pc, const struct packet_server_join_reply *packet)
int send_packet_edit_startpos(struct connection *pc, const struct packet_edit_startpos *packet)
void lsend_packet_ruleset_tech_flag(struct conn_list *dest, const struct packet_ruleset_tech_flag *packet)
void lsend_packet_investigate_finished(struct conn_list *dest, const struct packet_investigate_finished *packet)
int dsend_packet_unit_action_answer(struct connection *pc, int actor_id, int target_id, int cost, action_id action_type, int request_kind)
int send_packet_edit_tile_terrain(struct connection *pc, const struct packet_edit_tile_terrain *packet)
int send_packet_edit_tile(struct connection *pc, const struct packet_edit_tile *packet)
int send_packet_server_setting_enum(struct connection *pc, const struct packet_server_setting_enum *packet)
void lsend_packet_achievement_info(struct conn_list *dest, const struct packet_achievement_info *packet)
int send_packet_edit_check_tiles(struct connection *pc)
int send_packet_ruleset_control(struct connection *pc, const struct packet_ruleset_control *packet)
void lsend_packet_city_sabotage_list(struct conn_list *dest, const struct packet_city_sabotage_list *packet)
int send_packet_diplomacy_remove_clause(struct connection *pc, const struct packet_diplomacy_remove_clause *packet)
int send_packet_ruleset_government_ruler_title(struct connection *pc, const struct packet_ruleset_government_ruler_title *packet)
int send_packet_diplomacy_cancel_meeting(struct connection *pc, const struct packet_diplomacy_cancel_meeting *packet)
int send_packet_thaw_client(struct connection *pc)
int send_packet_edit_player_create(struct connection *pc, const struct packet_edit_player_create *packet)
int send_packet_unit_info(struct connection *pc, const struct packet_unit_info *packet)
int send_packet_ruleset_action_enabler(struct connection *pc, const struct packet_ruleset_action_enabler *packet)
int send_packet_player_tech_goal(struct connection *pc, const struct packet_player_tech_goal *packet)
int send_packet_diplomacy_init_meeting(struct connection *pc, const struct packet_diplomacy_init_meeting *packet)
int send_packet_team_name_info(struct connection *pc, const struct packet_team_name_info *packet)
int dsend_packet_single_want_hack_reply(struct connection *pc, bool you_have_hack)
int send_packet_server_shutdown(struct connection *pc)
int send_packet_research_info(struct connection *pc, const struct packet_research_info *packet)
packet_type
@ PACKET_PLAYER_MULTIPLIER
@ PACKET_DIPLOMACY_ACCEPT_TREATY
@ PACKET_PLAYER_CHANGE_GOVERNMENT
@ PACKET_WEB_PLAYER_INFO_ADDITION
@ PACKET_SAVE_SCENARIO
@ PACKET_RULESET_MULTIPLIER
@ PACKET_THAW_CLIENT
@ PACKET_EDIT_TOGGLE_FOGOFWAR
@ PACKET_WEB_CMA_SET
@ PACKET_EDIT_MODE
@ PACKET_RULESET_MUSIC
@ PACKET_LAST
@ PACKET_RULESET_GOV_FLAG
@ PACKET_RULESET_GOODS
@ PACKET_ENDGAME_PLAYER
@ PACKET_UNIT_ACTION_ANSWER
@ PACKET_EDIT_PLAYER
@ PACKET_DIPLOMACY_CANCEL_MEETING_REQ
@ PACKET_SERVER_SETTING_ENUM
@ PACKET_SET_TOPOLOGY
@ PACKET_WEB_CITY_INFO_ADDITION
@ PACKET_CONN_PING
@ PACKET_CITY_MAKE_WORKER
@ PACKET_CITY_OPTIONS_REQ
@ PACKET_RULESET_COUNTER
@ PACKET_VOTE_UPDATE
@ PACKET_CITY_NAME_SUGGESTION_INFO
@ PACKET_CITY_CHANGE
@ PACKET_CITY_ACCESS_AREA
@ PACKET_UNIT_SSCS_SET
@ PACKET_PROCESSING_STARTED
@ PACKET_UNIT_DO_ACTION
@ PACKET_UNIT_REMOVE
@ PACKET_END_PHASE
@ PACKET_SERVER_SETTING_INT
@ PACKET_RULESET_EXTRA
@ PACKET_EDIT_PLAYER_CREATE
@ PACKET_EDIT_GAME
@ PACKET_CONN_PING_INFO
@ PACKET_END_TURN
@ PACKET_EDIT_TILE_EXTRA
@ PACKET_SPACESHIP_PLACE
@ PACKET_NEW_YEAR
@ PACKET_NATION_SELECT_REQ
@ PACKET_ENDGAME_REPORT
@ PACKET_RULESET_ACTION_AUTO
@ PACKET_UNIT_COMBAT_INFO
@ PACKET_RULESETS_READY
@ PACKET_UNIT_SHORT_INFO
@ PACKET_SERVER_JOIN_REQ
@ PACKET_REPORT_REQ
@ PACKET_RULESET_UNIT_CLASS_FLAG
@ PACKET_RULESET_TECH_CLASS
@ PACKET_EDIT_CITY_CREATE
@ PACKET_SINGLE_WANT_HACK_REPLY
@ PACKET_GAME_INFO
@ PACKET_DIPLOMACY_INIT_MEETING_REQ
@ PACKET_PROCESSING_FINISHED
@ PACKET_RULESET_ACTION
@ PACKET_PLAYER_ATTRIBUTE_BLOCK
@ PACKET_CITY_SELL
@ PACKET_CITY_NAME_SUGGESTION_REQ
@ PACKET_UNKNOWN_RESEARCH
@ PACKET_CHAT_MSG_REQ
@ PACKET_NUKE_TILE_INFO
@ PACKET_PLAYER_DIPLSTATE
@ PACKET_RULESET_IMPR_FLAG
@ PACKET_RULESET_TECH
@ PACKET_CLIENT_HEARTBEAT
@ PACKET_RULESET_ROAD
@ PACKET_RULESET_NATION_SETS
@ PACKET_CITY_SABOTAGE_LIST
@ PACKET_MAP_INFO
@ PACKET_RULESET_CLAUSE
@ PACKET_DIPLOMACY_CREATE_CLAUSE_REQ
@ PACKET_CITY_BUY
@ PACKET_CHAT_MSG
@ PACKET_EDIT_CITY_REMOVE
@ PACKET_EDIT_STARTPOS
@ PACKET_SERVER_SETTING_CONST
@ PACKET_PLAYER_RESEARCH
@ PACKET_BEGIN_TURN
@ PACKET_RULESET_TERRAIN_CONTROL
@ PACKET_PLAYER_PHASE_DONE
@ PACKET_ACCESS_AREA
@ PACKET_RULESET_SELECT
@ PACKET_GAME_LOAD
@ PACKET_CITY_UPDATE_COUNTERS
@ PACKET_PLAYER_REMOVE
@ PACKET_CLIENT_INFO
@ PACKET_CITY_WORKLIST
@ PACKET_SYNC_SERIAL
@ PACKET_DIPLOMACY_CANCEL_MEETING
@ PACKET_UNIT_TYPE_UPGRADE
@ PACKET_START_PHASE
@ PACKET_AUTHENTICATION_REPLY
@ PACKET_SPACESHIP_INFO
@ PACKET_UNIT_GET_ACTIONS
@ PACKET_PLAYER_ATTRIBUTE_CHUNK
@ PACKET_RULESET_TERRAIN_FLAG
@ PACKET_CITY_MAKE_SPECIALIST
@ PACKET_RULESET_ACHIEVEMENT
@ PACKET_RULESET_EFFECT
@ PACKET_RULESET_DISASTER
@ PACKET_RULESET_CONTROL
@ PACKET_SINGLE_WANT_HACK_REQ
@ PACKET_PLAYER_PLACE_INFRA
@ PACKET_VOTE_NEW
@ PACKET_AUTHENTICATION_REQ
@ PACKET_RULESET_TRADE
@ PACKET_EDIT_PLAYER_REMOVE
@ PACKET_CONN_INFO
@ PACKET_SERVER_SETTING_BITWISE
@ PACKET_EDIT_TILE_TERRAIN
@ PACKET_DIPLOMACY_INIT_MEETING
@ PACKET_RULESET_SUMMARY
@ PACKET_UNIT_ACTION_QUERY
@ PACKET_PLAY_MUSIC
@ PACKET_TRADE_ROUTE_INFO
@ PACKET_RULESET_STYLE
@ PACKET_RULESET_CITY
@ PACKET_CITY_NATIONALITIES
@ PACKET_EDIT_SCENARIO_DESC
@ PACKET_FREEZE_CLIENT
@ PACKET_VOTE_RESOLVE
@ PACKET_EDIT_UNIT_CREATE
@ PACKET_POPUP_IMAGE
@ PACKET_TIMEOUT_INFO
@ PACKET_RULESET_GAME
@ PACKET_UNIT_CHANGE_ACTIVITY
@ PACKET_EDIT_UNIT_REMOVE
@ PACKET_RULESET_UNIT_FLAG
@ PACKET_EDIT_FOGOFWAR_STATE
@ PACKET_DIPLOMACY_REMOVE_CLAUSE
@ PACKET_TILE_INFO
@ PACKET_EDIT_OBJECT_CREATED
@ PACKET_CITY_SHORT_INFO
@ PACKET_SYNC_SERIAL_REPLY
@ PACKET_CALENDAR_INFO
@ PACKET_SERVER_JOIN_REPLY
@ PACKET_SERVER_SETTING_STR
@ PACKET_VOTE_SUBMIT
@ PACKET_WEB_CMA_CLEAR
@ PACKET_EDIT_PLAYER_VISION
@ PACKET_SCENARIO_INFO
@ PACKET_EDIT_CHECK_TILES
@ PACKET_RULESET_CHOICES
@ PACKET_CITY_CHANGE_SPECIALIST
@ PACKET_RULESET_SPECIALIST
@ PACKET_CITY_REFRESH
@ PACKET_CITY_REMOVE
@ PACKET_UNIT_INFO
@ PACKET_RULESET_NATION_GROUPS
@ PACKET_CONNECT_MSG
@ PACKET_EARLY_CHAT_MSG
@ PACKET_RULESET_UNIT_CLASS
@ PACKET_PLAYER_INFO
@ PACKET_EDIT_TILE
@ PACKET_PLAYER_READY
@ PACKET_WEB_RULESET_UNIT_ADDITION
@ PACKET_SERVER_SHUTDOWN
@ PACKET_RULESET_TERRAIN
@ PACKET_RULESET_EXTRA_FLAG
@ PACKET_RULESET_DESCRIPTION_PART
@ PACKET_EDIT_UNIT
@ PACKET_RULESET_BASE
@ PACKET_SERVER_SETTING_BOOL
@ PACKET_RESEARCH_INFO
@ PACKET_CONN_PONG
@ PACKET_EDIT_RECALCULATE_BORDERS
@ PACKET_PAGE_MSG_PART
@ PACKET_EDIT_CITY
@ PACKET_RULESET_UNIT
@ PACKET_PLAYER_TECH_GOAL
@ PACKET_UNIT_ACTIONS
@ PACKET_INVESTIGATE_FINISHED
@ PACKET_RULESET_ACTION_ENABLER
@ PACKET_INVESTIGATE_STARTED
@ PACKET_CITY_RALLY_POINT
@ PACKET_RULESET_UNIT_BONUS
@ PACKET_RULESET_BUILDING
@ PACKET_RULESET_NATION
@ PACKET_UNIT_SERVER_SIDE_AGENT_SET
@ PACKET_SERVER_INFO
@ PACKET_RULESET_GOVERNMENT_RULER_TITLE
@ PACKET_SPACESHIP_LAUNCH
@ PACKET_DIPLOMACY_REMOVE_CLAUSE_REQ
@ PACKET_DIPLOMACY_ACCEPT_TREATY_REQ
@ PACKET_DIPLOMACY_CREATE_CLAUSE
@ PACKET_RULESET_GOVERNMENT
@ PACKET_RULESET_TILEDEF
@ PACKET_SCENARIO_DESCRIPTION
@ PACKET_SERVER_SETTING_CONTROL
@ PACKET_ACHIEVEMENT_INFO
@ PACKET_PAGE_MSG
@ PACKET_RULESET_TECH_FLAG
@ PACKET_RULESET_RESOURCE
@ PACKET_UNIT_ORDERS
@ PACKET_EDIT_UNIT_REMOVE_BY_ID
@ PACKET_EDIT_STARTPOS_FULL
@ PACKET_DIPLOMACY_CANCEL_PACT
@ PACKET_TEAM_NAME_INFO
@ PACKET_CITY_INFO
@ PACKET_PLAYER_RATES
@ PACKET_NATION_AVAILABILITY
@ PACKET_CITY_RENAME
@ PACKET_VOTE_REMOVE
@ PACKET_WORKER_TASK
int dsend_packet_edit_fogofwar_state(struct connection *pc, bool enabled)
int send_packet_vote_new(struct connection *pc, const struct packet_vote_new *packet)
int send_packet_unit_sscs_set(struct connection *pc, const struct packet_unit_sscs_set *packet)
void lsend_packet_ruleset_tech_class(struct conn_list *dest, const struct packet_ruleset_tech_class *packet)
int send_packet_scenario_description(struct connection *pc, const struct packet_scenario_description *packet)
int send_packet_player_attribute_block(struct connection *pc)
int send_packet_achievement_info(struct connection *pc, const struct packet_achievement_info *packet)
int send_packet_web_player_info_addition(struct connection *pc, const struct packet_web_player_info_addition *packet)
int send_packet_web_cma_set(struct connection *pc, const struct packet_web_cma_set *packet)
int send_packet_ruleset_gov_flag(struct connection *pc, const struct packet_ruleset_gov_flag *packet)
int dsend_packet_report_req(struct connection *pc, enum report_type type)
void lsend_packet_ruleset_goods(struct conn_list *dest, const struct packet_ruleset_goods *packet)
int send_packet_spaceship_launch(struct connection *pc)
void lsend_packet_end_turn(struct conn_list *dest)
void lsend_packet_diplomacy_remove_clause(struct conn_list *dest, const struct packet_diplomacy_remove_clause *packet)
int send_packet_spaceship_info(struct connection *pc, const struct packet_spaceship_info *packet)
int send_packet_page_msg_part(struct connection *pc, const struct packet_page_msg_part *packet)
void lsend_packet_ruleset_game(struct conn_list *dest, const struct packet_ruleset_game *packet)
int send_packet_ruleset_building(struct connection *pc, const struct packet_ruleset_building *packet)
void lsend_packet_page_msg_part(struct conn_list *dest, const struct packet_page_msg_part *packet)
void lsend_packet_ruleset_nation(struct conn_list *dest, const struct packet_ruleset_nation *packet)
int send_packet_diplomacy_init_meeting_req(struct connection *pc, const struct packet_diplomacy_init_meeting_req *packet)
int dsend_packet_edit_tile_terrain(struct connection *pc, int tile, Terrain_type_id terrain, int size)
void lsend_packet_ruleset_counter(struct conn_list *dest, const struct packet_ruleset_counter *packet)
void lsend_packet_rulesets_ready(struct conn_list *dest)
int dsend_packet_edit_city_remove(struct connection *pc, int id)
int dsend_packet_diplomacy_accept_treaty_req(struct connection *pc, int counterpart)
int dsend_packet_city_name_suggestion_req(struct connection *pc, int unit_id)
int send_packet_rulesets_ready(struct connection *pc)
void lsend_packet_city_remove(struct conn_list *dest, const struct packet_city_remove *packet)
int send_packet_timeout_info(struct connection *pc, const struct packet_timeout_info *packet)
int send_packet_player_research(struct connection *pc, const struct packet_player_research *packet)
void lsend_packet_ruleset_impr_flag(struct conn_list *dest, const struct packet_ruleset_impr_flag *packet)
int send_packet_ruleset_music(struct connection *pc, const struct packet_ruleset_music *packet)
int send_packet_start_phase(struct connection *pc, const struct packet_start_phase *packet)
int send_packet_edit_fogofwar_state(struct connection *pc, const struct packet_edit_fogofwar_state *packet)
void lsend_packet_ruleset_extra_flag(struct conn_list *dest, const struct packet_ruleset_extra_flag *packet)
int send_packet_city_worklist(struct connection *pc, const struct packet_city_worklist *packet)
void lsend_packet_diplomacy_init_meeting(struct conn_list *dest, const struct packet_diplomacy_init_meeting *packet)
void lsend_packet_ruleset_road(struct conn_list *dest, const struct packet_ruleset_road *packet)
void lsend_packet_investigate_started(struct conn_list *dest, const struct packet_investigate_started *packet)
int send_packet_ruleset_tech_flag(struct connection *pc, const struct packet_ruleset_tech_flag *packet)
void lsend_packet_thaw_client(struct conn_list *dest)
int send_packet_ruleset_description_part(struct connection *pc, const struct packet_ruleset_description_part *packet)
int dsend_packet_edit_player_vision(struct connection *pc, int player, int tile, bool known, int size)
int dsend_packet_edit_toggle_fogofwar(struct connection *pc, int player)
void lsend_packet_ruleset_terrain(struct conn_list *dest, const struct packet_ruleset_terrain *packet)
int dsend_packet_unit_sscs_set(struct connection *pc, int unit_id, enum unit_ss_data_type type, int value)
int send_packet_ruleset_impr_flag(struct connection *pc, const struct packet_ruleset_impr_flag *packet)
void lsend_packet_ruleset_action_auto(struct conn_list *dest, const struct packet_ruleset_action_auto *packet)
int send_packet_ruleset_specialist(struct connection *pc, const struct packet_ruleset_specialist *packet)
int dsend_packet_player_ready(struct connection *pc, int player_no, bool is_ready)
int send_packet_client_info(struct connection *pc, const struct packet_client_info *packet)
int send_packet_game_load(struct connection *pc, const struct packet_game_load *packet)
int dsend_packet_edit_mode(struct connection *pc, bool state)
int send_packet_city_sell(struct connection *pc, const struct packet_city_sell *packet)
int send_packet_save_scenario(struct connection *pc, const struct packet_save_scenario *packet)
int dsend_packet_city_name_suggestion_info(struct connection *pc, int unit_id, const char *name)
int send_packet_unit_combat_info(struct connection *pc, const struct packet_unit_combat_info *packet)
void lsend_packet_city_rally_point(struct conn_list *dest, const struct packet_city_rally_point *packet, bool force_to_send)
#define MAX_LEN_ADDR
Definition shared.h:31
size_t size
Definition specvec.h:72
Definition agents.h:40
bv_tiledefs tiledefs
char password[MAX_LEN_PASSWORD]
Definition packets_gen.h:68
enum authentication_type type
Definition packets_gen.h:63
char calendar_fragment_name[MAX_CALENDAR_FRAGMENTS][MAX_LEN_NAME]
char negative_year_label[MAX_LEN_NAME]
char positive_year_label[MAX_LEN_NAME]
enum event_type event
int last_turns_shield_surplus
int prod[O_LAST]
int ppl_content[FEELING_LAST]
bv_city_options city_options
int waste[O_LAST]
enum capital_type capital
enum city_acquire_type acquire_type
int unhappy_penalty[O_LAST]
enum city_wl_cancel_behavior wl_cb
bv_imprs improvements
int citizen_base[O_LAST]
int specialists[SP_MAX]
int ppl_unhappy[FEELING_LAST]
int usage[O_LAST]
int surplus[O_LAST]
char name[MAX_LEN_CITYNAME]
int ppl_angry[FEELING_LAST]
int ppl_happy[FEELING_LAST]
char name[MAX_LEN_CITYNAME]
int nation_id[MAX_CITY_NATIONALITIES]
int nation_citizens[MAX_CITY_NATIONALITIES]
bv_city_options options
enum city_wl_cancel_behavior wl_cb
struct unit_order orders[MAX_LEN_ROUTE]
char name[MAX_LEN_CITYNAME]
char name[MAX_LEN_CITYNAME]
enum capital_type capital
int counters[MAX_COUNTERS]
char distribution[MAX_LEN_NAME]
enum gui_type gui
char addr[MAX_LEN_ADDR]
char capability[MAX_LEN_CAPSTR]
enum cmdlevel access_level
char username[MAX_LEN_NAME]
int conn_id[MAX_NUM_CONNECTIONS]
float ping_time[MAX_NUM_CONNECTIONS]
enum event_type event
int specialists[SP_MAX]
char name[MAX_LEN_CITYNAME]
int built[B_LAST]
char scenario_name[256]
char scenario_authors[MAX_LEN_PACKET/3]
Nation_type_id nation
bool inventions[A_LAST+1]
char name[MAX_LEN_NAME]
char ranked_username[MAX_LEN_NAME]
Government_type_id government
Government_type_id target_government
char username[MAX_LEN_NAME]
char scenario_desc[MAX_LEN_CONTENT]
bv_startpos_nations nations
Terrain_type_id terrain
Resource_type_id resource
Nation_type_id startpos_nation
char label[MAX_LEN_NAME]
Terrain_type_id terrain
Unit_type_id utype
enum unit_activity activity
Base_type_id activity_base
char category_name[32][MAX_LEN_NAME]
Definition packets_gen.h:90
bool tech_steal_allow_holes
enum gameloss_style gameloss_style
int granary_food_ini[MAX_GRANARY_INIS]
enum goods_selection_method goods_selection
enum borders_mode borders
enum happyborders_type happyborders
bool global_advances[A_LAST]
Government_type_id government_during_revolution_id
enum gold_upkeep_style gold_upkeep_style
int low_firepower_pearl_harbor
bool damage_reduces_bombard_rate
int great_wonder_owners[B_LAST]
int nuke_defender_survival_chance_pct
enum tech_upkeep_style tech_upkeep_style
bool tech_trade_loss_allow_holes
enum diplomacy_mode diplomacy
enum free_tech_method free_tech_method
bool steal_maps_reveals_all_cities
enum trade_revenue_style trade_revenue_style
bool only_real_fight_makes_veteran
enum airlifting_style airlifting_style
enum tech_leakage_style tech_leakage
enum ai_level skill_level
enum revolen_type revolentype
enum phase_mode_type phase_mode
int min_city_center_output[O_LAST]
bool airlift_from_always_enabled
enum caravan_bonus_style caravan_bonus_style
bool only_killing_makes_veteran
bool poison_empties_food_stock
bv_actions diplchance_initial_odds
bool tech_trade_allow_holes
int low_firepower_nonnat_bombard
bool tech_parasite_allow_holes
int low_firepower_combat_bonus
int border_city_permanent_radius_sq
enum persistent_ready persistent_ready
int low_firepower_badwallattacker
bool airlift_to_always_enabled
enum wonder_visib_type small_wonder_visibility
enum tech_cost_style tech_cost_style
bool combat_odds_scaled_veterancy
bool unit_builders_nationality
enum victory_condition_type victory_conditions
Government_type_id default_government_id
char load_filename[MAX_LEN_PACKET]
bool is_pickable[MAX_NUM_NATIONS]
Nation_type_id nation_no
Definition packets_gen.h:77
char name[MAX_LEN_NAME]
Definition packets_gen.h:79
char lines[MAX_LEN_CONTENT]
enum event_type event
char caption[MAX_LEN_MSG]
char headline[MAX_LEN_MSG]
char tag[MAX_LEN_NAME]
unsigned char data[ATTRIBUTE_CHUNK_SIZE]
Government_type_id government
enum diplstate_type type
enum ai_level ai_skill_level
char username[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
bv_plr_flags flags
enum mood_type mood
int wonders[B_LAST]
bv_player gives_shared_vision
int multiplier_changed[MAX_NUM_MULTIPLIERS]
Government_type_id target_government
bv_player gives_shared_tiles
Nation_type_id nation
enum barbarian_type barbarian_type
Government_type_id government
bv_player real_embassy
int multiplier_target[MAX_NUM_MULTIPLIERS]
int love[MAX_NUM_PLAYER_SLOTS]
int multipliers[MAX_NUM_MULTIPLIERS]
char tag[MAX_LEN_NAME]
enum report_type type
char inventions[A_LAST+1]
char rule_name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
enum achievement_type type
action_id alternatives[MAX_NUM_ACTIONS]
struct requirement_vector reqs
enum action_auto_perf_cause cause
struct requirement_vector actor_reqs
struct requirement_vector target_reqs
char ui_name[MAX_LEN_NAME]
enum action_sub_target_kind sub_tgt_kind
enum action_actor_kind act_kind
bv_action_sub_results sub_results
enum action_target_kind tgt_kind
enum action_result result
enum base_gui_type gui_type
char graphic_alt2[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char graphic_alt[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
struct requirement_vector reqs
struct requirement_vector obs_reqs
char soundtag_alt2[MAX_LEN_NAME]
enum impr_genus_id genus
char soundtag[MAX_LEN_NAME]
char soundtag_alt[MAX_LEN_NAME]
struct strvec * helptext
char rulesets[MAX_NUM_RULESETS][MAX_RULESET_NAME_LENGTH]
char rule_name[MAX_LEN_NAME]
char graphic[MAX_LEN_NAME]
char citizens_graphic[MAX_LEN_NAME]
char graphic_alt[MAX_LEN_NAME]
struct requirement_vector reqs
char name[MAX_LEN_NAME]
struct requirement_vector giver_reqs
enum clause_type type
struct requirement_vector receiver_reqs
struct requirement_vector either_reqs
char alt_dir[MAX_LEN_NAME]
char version[MAX_LEN_NAME]
char preferred_musicset[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char preferred_tileset[MAX_LEN_NAME]
char preferred_soundset[MAX_LEN_NAME]
enum counter_target type
char name[MAX_LEN_NAME]
struct strvec * helptext
char rule_name[MAX_LEN_NAME]
enum counter_behavior behavior
char text[MAX_LEN_CONTENT]
char name[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
struct requirement_vector reqs
bv_disaster_effects effects
struct requirement_vector reqs
Multiplier_type_id multiplier
enum effect_type effect_type
char helptxt[MAX_LEN_PACKET]
char name[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
struct strvec * helptext
bv_unit_classes native_to
char graphic_alt[MAX_LEN_NAME]
char rmact_gfx[MAX_LEN_NAME]
struct requirement_vector appearance_reqs
char act_gfx_alt[MAX_LEN_NAME]
char act_gfx_alt2[MAX_LEN_NAME]
struct requirement_vector disappearance_reqs
bv_extra_flags flags
char rmact_gfx_alt[MAX_LEN_NAME]
struct requirement_vector rmreqs
enum extra_unit_seen_type eus
char activity_gfx[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
struct requirement_vector reqs
char rmact_gfx_alt2[MAX_LEN_NAME]
int base_raise_chance[MAX_VET_LEVELS]
int work_raise_chance[MAX_VET_LEVELS]
int move_bonus[MAX_VET_LEVELS]
int power_fact[MAX_VET_LEVELS]
char veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME]
int global_init_techs[MAX_NUM_TECH_LIST]
Impr_type_id global_init_buildings[MAX_NUM_BUILDING_LIST]
struct requirement_vector reqs
bv_goods_flags flags
char rule_name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
struct strvec * helptext
char helptxt[MAX_LEN_PACKET]
char name[MAX_LEN_NAME]
char sound_alt2[MAX_LEN_NAME]
char sound_str[MAX_LEN_NAME]
struct requirement_vector reqs
char graphic_alt[MAX_LEN_NAME]
Government_type_id id
char graphic_str[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char sound_alt[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char helptxt[MAX_LEN_PACKET]
char name[MAX_LEN_NAME]
struct requirement_vector reqs
char name[MAX_LEN_NAME]
Multiplier_type_id id
char rule_name[MAX_LEN_NAME]
struct requirement_vector reqs
char music_peaceful[MAX_LEN_NAME]
char music_combat[MAX_LEN_NAME]
bool hidden[MAX_NUM_NATION_GROUPS]
char groups[MAX_NUM_NATION_GROUPS][MAX_LEN_NAME]
char names[MAX_NUM_NATION_SETS][MAX_LEN_NAME]
char rule_names[MAX_NUM_NATION_SETS][MAX_LEN_NAME]
char descriptions[MAX_NUM_NATION_SETS][MAX_LEN_MSG]
char graphic_alt[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
bool leader_is_male[MAX_NUM_LEADERS]
int sets[MAX_NUM_NATION_SETS]
Impr_type_id init_buildings[MAX_NUM_BUILDING_LIST]
char adjective[MAX_LEN_NAME]
char translation_domain[MAX_LEN_NAME]
char leader_name[MAX_NUM_LEADERS][MAX_LEN_NAME]
int init_techs[MAX_NUM_TECH_LIST]
Unit_type_id init_units[MAX_NUM_UNIT_LIST]
char legend[MAX_LEN_MSG]
int groups[MAX_NUM_NATION_GROUPS]
Government_type_id init_government_id
enum barbarian_type barbarian_type
char noun_plural[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
bv_road_flags flags
enum road_gui_type gui_type
bv_max_extras integrates
int tile_incr_const[O_LAST]
enum road_compat compat
int tile_incr[O_LAST]
enum road_move_mode move_mode
int tile_bonus[O_LAST]
struct requirement_vector first_reqs
char modpack[MAX_RULESET_NAME_LENGTH]
char plural_name[MAX_LEN_NAME]
struct requirement_vector reqs
Specialist_type_id id
char rule_name[MAX_LEN_NAME]
char short_name[MAX_LEN_NAME]
char graphic_alt[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char text[MAX_LEN_CONTENT]
char rule_name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char helptxt[MAX_LEN_PACKET]
struct strvec * helptext
char name[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char graphic_alt[MAX_LEN_NAME]
bv_tech_flags flags
struct requirement_vector research_reqs
char gui_type_base0[MAX_LEN_NAME]
char gui_type_base1[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char helptxt[MAX_LEN_PACKET]
Terrain_type_id transform_result
char name[MAX_LEN_NAME]
int animals[MAX_NUM_ANIMALS]
int resource_freq[MAX_EXTRA_TYPES]
bv_terrain_flags flags
Resource_type_id resources[MAX_EXTRA_TYPES]
char graphic_alt[MAX_LEN_NAME]
bv_unit_classes native_to
int road_output_incr_pct[O_LAST]
char graphic_alt2[MAX_LEN_NAME]
Terrain_type_id cultivate_result
int extra_removal_times[MAX_EXTRA_TYPES]
Terrain_type_id plant_result
char rule_name[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
struct strvec * helptext
char rule_name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
enum trade_route_illegal_cancelling cancelling
enum trade_route_bonus_type bonus_type
enum combat_bonus_type type
enum unit_type_flag_id flag
char helptxt[MAX_LEN_PACKET]
bv_unit_class_flags flags
char rule_name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char helptxt[MAX_LEN_PACKET]
char name[MAX_LEN_NAME]
enum vision_layer vlayer
enum transp_def_type tp_defense
char rule_name[MAX_LEN_NAME]
int base_raise_chance[MAX_VET_LEVELS]
int move_bonus[MAX_VET_LEVELS]
int work_raise_chance[MAX_VET_LEVELS]
char sound_move[MAX_LEN_NAME]
bv_unit_classes disembarks
bv_unit_classes cargo
bv_unit_type_flags flags
char sound_fight_alt[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
bv_unit_classes targets
struct requirement_vector build_reqs
int power_fact[MAX_VET_LEVELS]
char veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME]
bv_unit_classes embarks
char sound_fight[MAX_LEN_NAME]
char sound_move_alt[MAX_LEN_NAME]
struct strvec * helptext
char graphic_alt2[MAX_LEN_NAME]
char graphic_alt[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
bv_unit_type_roles roles
char name[MAX_LEN_NAME]
char description[MAX_LEN_CONTENT]
char authors[MAX_LEN_PACKET/3]
char datafile[MAX_LEN_NAME]
char support_names[64][MAX_LEN_NAME]
char pretty_names[64][MAX_LEN_ENUM]
enum setting_default_level setdef
enum setting_default_level setdef
char extra_help[MAX_LEN_PACKET]
char short_help[MAX_LEN_PACKET]
char name[MAX_LEN_NAME]
char category_names[256][MAX_LEN_NAME]
enum setting_default_level setdef
char support_names[64][MAX_LEN_NAME]
char pretty_names[64][MAX_LEN_ENUM]
enum setting_default_level setdef
char default_val[MAX_LEN_PACKET]
enum setting_default_level setdef
char val[MAX_LEN_PACKET]
char token[MAX_LEN_NAME]
bv_spaceship_structure structure
enum spaceship_place_type type
char team_name[MAX_LEN_NAME]
Resource_type_id resource
enum known_type known
Continent_id continent
char spec_sprite[MAX_LEN_NAME]
Terrain_type_id terrain
char label[MAX_LEN_MAP_LABEL]
enum route_direction direction
struct act_prob action_probabilities[MAX_NUM_ACTIONS]
enum unit_activity activity
char name[MAX_LEN_NAME]
enum action_decision action_decision_want
enum unit_activity activity
struct unit_order orders[MAX_LEN_ROUTE]
Unit_type_id type
enum unit_activity changed_from
enum direction8 facing
int upkeep[O_LAST]
enum server_side_agent ssa_controller
struct unit_order orders[MAX_LEN_ROUTE]
enum server_side_agent agent
enum direction8 facing
enum unit_ss_data_type type
char user[MAX_LEN_NAME]
int output_food[MAX_CITY_TILES+1]
int output_trade[MAX_CITY_TILES+1]
int output_shield[MAX_CITY_TILES+1]
enum unit_activity activity
Definition tile.h:50
#define A_LAST
Definition tech.h:45
known_type
Definition tile.h:35
trade_route_illegal_cancelling
Definition traderoutes.h:29