Freeciv-3.2: /fast/freeciv/nightly/S3_2/common/packets_gen.h Source File

Freeciv-3.2

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 "disaster.h"
19#include "unit.h"
20
21/* common/aicore */
22#include "cm.h"
23
24 struct packet_processing_started {
25 char __dummy; /* to avoid malloc(0); */
26};
27
28 struct packet_processing_finished {
29 char __dummy; /* to avoid malloc(0); */
30};
31
32 struct packet_investigate_started {
33 int unit_id;
34 int city_id;
35};
36
37 struct packet_investigate_finished {
38 int unit_id;
39 int city_id;
40};
41
42 struct packet_server_join_req {
43 char username[48];
44 char capability[512];
45 char version_label[48];
46 int major_version;
47 int minor_version;
48 int patch_version;
49};
50
51 struct packet_server_join_reply {
52 bool you_can_join;
53 char message[1536];
54 char capability[512];
55 char challenge_file[4095];
56 int conn_id;
57};
58
59 struct packet_authentication_req {
60 enum authentication_type type;
61 char message[MAX_LEN_MSG];
62};
63
64 struct packet_authentication_reply {
65 char password[MAX_LEN_PASSWORD];
66};
67
68 struct packet_server_shutdown {
69 char __dummy; /* to avoid malloc(0); */
70};
71
72 struct packet_nation_select_req {
73 int player_no;
74 Nation_type_id nation_no;
75 bool is_male;
76 char name[MAX_LEN_NAME];
77 int style;
78};
79
80 struct packet_player_ready {
81 int player_no;
82 bool is_ready;
83};
84
85 struct packet_endgame_report {
86 int category_num;
87 char category_name[32][MAX_LEN_NAME];
88 int player_num;
89};
90
91 struct packet_endgame_player {
92 int category_num;
93 int player_id;
94 int score;
95 int category_score[32];
96 bool winner;
97};
98
99 struct packet_tile_info {
100 int tile;
101 Continent_id continent;
102 enum known_type known;
103 int owner;
104 int extras_owner;
105 int worked;
106 Terrain_type_id terrain;
107 Resource_type_id resource;
108 bv_extras extras;
109 int placing;
110 int place_turn;
111 char spec_sprite[MAX_LEN_NAME];
112 char label[MAX_LEN_MAP_LABEL];
113};
114
115 struct packet_game_info {
116 int add_to_size_limit;
117 int aifill;
118 enum persistent_ready persistent_ready;
119 enum airlifting_style airlifting_style;
120 bool airlift_from_always_enabled;
121 bool airlift_to_always_enabled;
122 int angrycitizen;
123 int base_pollution;
124 int base_tech_cost;
125 int min_tech_cost;
126 int tech_leak_pct;
127 int border_city_radius_sq;
128 int border_size_effect;
129 int border_city_permanent_radius_sq;
130 enum borders_mode borders;
131 int base_bribe_cost;
132 enum caravan_bonus_style caravan_bonus_style;
133 int culture_vic_points;
134 int culture_vic_lead;
135 int culture_migration_pml;
136 int history_interest_pml;
137 int celebratesize;
138 bool changable_tax;
139 int pop_report_zeroes;
140 bool citizen_nationality;
141 bool unit_builders_nationality;
142 int citizen_convert_speed;
143 int conquest_convert_pct;
144 int citizen_partisans_pct;
145 int citymindist;
146 int cooling;
147 int coolinglevel;
148 bv_actions diplchance_initial_odds;
149 enum diplomacy_mode diplomacy;
150 bool fogofwar;
151 int food_cost;
152 int foodbox;
153 int forced_gold;
154 int forced_luxury;
155 int forced_science;
156 int fulltradesize;
157 int trade_world_rel_pct;
158 int min_trade_route_val;
159 bool reveal_trade_partner;
160 enum goods_selection_method goods_selection;
161 int global_advance_count;
162 bool global_advances[A_LAST];
163 bool global_warming;
164 int globalwarming;
165 int gold;
166 enum gold_upkeep_style gold_upkeep_style;
167 bool homeless_gold_upkeep;
168 int infrapoints;
169 enum revolen_type revolentype;
170 Government_type_id default_government_id;
171 Government_type_id government_during_revolution_id;
172 int granary_food_inc;
173 int granary_food_ini[MAX_GRANARY_INIS];
174 int granary_num_inis;
175 int great_wonder_owners[B_LAST];
176 int happy_cost;
177 enum happyborders_type happyborders;
178 int heating;
179 int illness_base_factor;
180 int illness_min_size;
181 bool illness_on;
182 int illness_pollution_factor;
183 int illness_trade_infection;
184 int init_city_radius_sq;
185 bool is_edit_mode;
186 bool is_new_game;
187 bool killcitizen;
188 bool killstack;
189 bool only_killing_makes_veteran;
190 bool only_real_fight_makes_veteran;
191 bool combat_odds_scaled_veterancy;
192 bool damage_reduces_bombard_rate;
193 int low_firepower_badwallattacker;
194 int low_firepower_pearl_harbour;
195 int low_firepower_combat_bonus;
196 int low_firepower_nonnat_bombard;
197 int nuke_pop_loss_pct;
198 int nuke_defender_survival_chance_pct;
199 int min_city_center_output[O_LAST];
200 bool muuk_food_wipe;
201 bool muuk_gold_wipe;
202 bool muuk_shield_wipe;
203 int notradesize;
204 bool nuclear_winter;
205 int nuclearwinter;
206 int phase;
207 enum phase_mode_type phase_mode;
208 bool pillage_select;
209 bool steal_maps_reveals_all_cities;
210 bool poison_empties_food_stock;
211 bool tech_steal_allow_holes;
212 bool tech_trade_allow_holes;
213 bool tech_trade_loss_allow_holes;
214 bool tech_parasite_allow_holes;
215 bool tech_loss_allow_holes;
216 int rapturedelay;
217 int disasters;
218 bool restrictinfra;
219 bool unreachable_protects;
220 int sciencebox;
221 int shieldbox;
222 enum ai_level skill_level;
223 enum victory_condition_type victory_conditions;
224 bool team_pooled_research;
225 int tech;
226 enum tech_cost_style tech_cost_style;
227 enum tech_leakage_style tech_leakage;
228 int tech_upkeep_divider;
229 enum tech_upkeep_style tech_upkeep_style;
230 int techloss_forgiveness;
231 enum free_tech_method free_tech_method;
232 enum gameloss_style gameloss_style;
233 int timeout;
234 int first_timeout;
235 bool tired_attack;
236 int trademindist;
237 enum trade_revenue_style trade_revenue_style;
238 bool trading_city;
239 bool trading_gold;
240 bool trading_tech;
241 int turn;
242 int warminglevel;
243 int year;
244 bool year_0_hack;
245 int top_cities_count;
246 int fragment_count;
247 bool civil_war_enabled;
248 int civil_war_bonus_celebrating;
249 int civil_war_bonus_unhappy;
250 int granularity;
251 enum wonder_visib_type small_wonder_visibility;
252};
253
254 struct packet_calendar_info {
255 char positive_year_label[MAX_LEN_NAME];
256 char negative_year_label[MAX_LEN_NAME];
257 int calendar_fragments;
258 char calendar_fragment_name[MAX_CALENDAR_FRAGMENTS][MAX_LEN_NAME];
259 bool calendar_skip_0;
260};
261
262 struct packet_timeout_info {
263 float seconds_to_phasedone;
264 float last_turn_change_time;
265};
266
267 struct packet_map_info {
268 int xsize;
269 int ysize;
270 int topology_id;
271 int wrap_id;
272 int north_latitude;
273 int south_latitude;
274};
275
276 struct packet_nuke_tile_info {
277 int tile;
278};
279
280 struct packet_team_name_info {
281 int team_id;
282 char team_name[MAX_LEN_NAME];
283};
284
285 struct packet_achievement_info {
286 int id;
287 bool gained;
288 bool first;
289};
290
291 struct packet_chat_msg {
292 char message[MAX_LEN_MSG];
293 int tile;
294 enum event_type event;
295 int turn;
296 int phase;
297 int conn_id;
298};
299
300 struct packet_early_chat_msg {
301 char message[MAX_LEN_MSG];
302 int tile;
303 enum event_type event;
304 int turn;
305 int phase;
306 int conn_id;
307};
308
309 struct packet_chat_msg_req {
310 char message[MAX_LEN_MSG];
311};
312
313 struct packet_connect_msg {
314 char message[MAX_LEN_MSG];
315};
316
317 struct packet_server_info {
318 char version_label[48];
319 int major_version;
320 int minor_version;
321 int patch_version;
322 int emerg_version;
323};
324
325 struct packet_city_remove {
326 int city_id;
327};
328
329 struct packet_city_info {
330 int id;
331 int tile;
332 int owner;
333 int original;
334 int size;
335 int city_radius_sq;
336 int style;
337 enum capital_type capital;
338 int ppl_happy[FEELING_LAST];
339 int ppl_content[FEELING_LAST];
340 int ppl_unhappy[FEELING_LAST];
341 int ppl_angry[FEELING_LAST];
342 int specialists_size;
343 int specialists[SP_MAX];
344 int history;
345 int culture;
346 int buy_cost;
347 int surplus[O_LAST];
348 int waste[O_LAST];
349 int unhappy_penalty[O_LAST];
350 int prod[O_LAST];
351 int citizen_base[O_LAST];
352 int usage[O_LAST];
353 int food_stock;
354 int shield_stock;
355 int trade_route_count;
356 int pollution;
357 int illness_trade;
358 int production_kind;
359 int production_value;
360 int turn_founded;
361 int turn_last_built;
362 int changed_from_kind;
363 int changed_from_value;
364 int before_change_shields;
365 int disbanded_shields;
366 int caravan_shields;
367 int last_turns_shield_surplus;
368 int airlift;
369 bool did_buy;
370 bool did_sell;
371 bool was_happy;
372 bool had_famine;
373 bool diplomat_investigate;
374 int walls;
375 int city_image;
376 int steal;
377 struct worklist worklist;
378 bv_imprs improvements;
379 bv_city_options city_options;
380 char name[MAX_LEN_CITYNAME];
381};
382
383 struct packet_city_nationalities {
384 int id;
385 int nationalities_count;
386 int nation_id[MAX_CITY_NATIONALITIES];
387 int nation_citizens[MAX_CITY_NATIONALITIES];
388};
389
390 struct packet_city_update_counters {
391 int city;
392 int count;
393 int counters[MAX_COUNTERS];
394};
395
396 struct packet_city_short_info {
397 int id;
398 int tile;
399 int owner;
400 int size;
401 int style;
402 enum capital_type capital;
403 bool occupied;
404 int walls;
405 bool happy;
406 bool unhappy;
407 int city_image;
408 bv_imprs improvements;
409 char name[MAX_LEN_CITYNAME];
410};
411
412 struct packet_trade_route_info {
413 int city;
414 int index;
415 int partner;
416 int value;
417 enum route_direction direction;
418 Goods_type_id goods;
419};
420
421 struct packet_city_sell {
422 int city_id;
423 int build_id;
424};
425
426 struct packet_city_buy {
427 int city_id;
428};
429
430 struct packet_city_change {
431 int city_id;
432 int production_kind;
433 int production_value;
434};
435
436 struct packet_city_worklist {
437 int city_id;
438 struct worklist worklist;
439};
440
441 struct packet_city_make_specialist {
442 int city_id;
443 int tile_id;
444};
445
446 struct packet_city_make_worker {
447 int city_id;
448 int tile_id;
449};
450
451 struct packet_city_change_specialist {
452 int city_id;
453 Specialist_type_id from;
454 Specialist_type_id to;
455};
456
457 struct packet_city_rename {
458 int city_id;
459 char name[MAX_LEN_CITYNAME];
460};
461
462 struct packet_city_options_req {
463 int city_id;
464 bv_city_options options;
465};
466
467 struct packet_city_refresh {
468 int city_id;
469};
470
471 struct packet_city_name_suggestion_req {
472 int unit_id;
473};
474
475 struct packet_city_name_suggestion_info {
476 int unit_id;
477 char name[MAX_LEN_CITYNAME];
478};
479
480 struct packet_city_sabotage_list {
481 int actor_id;
482 int city_id;
483 bv_imprs improvements;
484 action_id act_id;
485 int request_kind;
486};
487
488 struct packet_city_rally_point {
489 int id;
490 int length;
491 bool persistent;
492 bool vigilant;
493 struct unit_order orders[MAX_LEN_ROUTE];
494};
495
496 struct packet_worker_task {
497 int city_id;
498 int tile_id;
499 enum unit_activity activity;
500 int tgt;
501 int want;
502};
503
504 struct packet_player_remove {
505 int playerno;
506};
507
508 struct packet_player_info {
509 int playerno;
510 char name[MAX_LEN_NAME];
511 char username[MAX_LEN_NAME];
512 bool unassigned_user;
513 int score;
514 bool is_male;
515 bool was_created;
516 Government_type_id government;
517 Government_type_id target_government;
518 bv_player real_embassy;
519 enum mood_type mood;
520 int style;
521 int music_style;
522 Nation_type_id nation;
523 int team;
524 bool is_ready;
525 bool phase_done;
526 int nturns_idle;
527 int turns_alive;
528 bool is_alive;
529 int autoselect_weight;
530 int gold;
531 int tax;
532 int science;
533 int luxury;
534 int infrapoints;
535 int tech_upkeep;
536 int science_cost;
537 bool is_connected;
538 int revolution_finishes;
539 enum ai_level ai_skill_level;
540 enum barbarian_type barbarian_type;
541 bv_player gives_shared_vision;
542 bv_player gives_shared_tiles;
543 int history;
544 int culture;
545 int love[MAX_NUM_PLAYER_SLOTS];
546 bool color_valid;
547 bool color_changeable;
548 int color_red;
549 int color_green;
550 int color_blue;
551 bv_plr_flags flags;
552 int wonders[B_LAST];
553 int multip_count;
554 int multiplier[MAX_NUM_MULTIPLIERS];
555 int multiplier_target[MAX_NUM_MULTIPLIERS];
556 int multiplier_changed[MAX_NUM_MULTIPLIERS];
557};
558
559 struct packet_player_phase_done {
560 int turn;
561};
562
563 struct packet_player_rates {
564 int tax;
565 int luxury;
566 int science;
567};
568
569 struct packet_player_change_government {
570 Government_type_id government;
571};
572
573 struct packet_player_place_infra {
574 int tile;
575 int extra;
576};
577
578 struct packet_player_attribute_block {
579 char __dummy; /* to avoid malloc(0); */
580};
581
582 struct packet_player_attribute_chunk {
583 int offset;
584 int total_length;
585 int chunk_length;
586 unsigned char data[ATTRIBUTE_CHUNK_SIZE];
587};
588
589 struct packet_player_diplstate {
590 int diplstate_id;
591 int plr1;
592 int plr2;
593 enum diplstate_type type;
594 int turns_left;
595 int has_reason_to_cancel;
596 int contact_turns_left;
597};
598
599 struct packet_player_multiplier {
600 int count;
601 int multipliers[MAX_NUM_MULTIPLIERS];
602};
603
604 struct packet_research_info {
605 int id;
606 int techs_researched;
607 int future_tech;
608 int researching;
609 int researching_cost;
610 int bulbs_researched;
611 int tech_goal;
612 int total_bulbs_prod;
613 char inventions[A_LAST + 1];
614};
615
616 struct packet_unknown_research {
617 int id;
618};
619
620 struct packet_player_research {
621 int tech;
622};
623
624 struct packet_player_tech_goal {
625 int tech;
626};
627
628 struct packet_unit_remove {
629 int unit_id;
630};
631
632 struct packet_unit_info {
633 int id;
634 int owner;
635 int nationality;
636 int tile;
637 enum direction8 facing;
638 int homecity;
639 int upkeep[O_LAST];
640 int veteran;
641 enum server_side_agent ssa_controller;
642 bool paradropped;
643 bool occupied;
644 bool transported;
645 bool done_moving;
646 bool stay;
647 int birth_turn;
648 int current_form_turn;
649 Unit_type_id type;
650 int transported_by;
651 int carrying;
652 int movesleft;
653 int hp;
654 int fuel;
655 int activity_count;
656 int changed_from_count;
657 int goto_tile;
658 enum unit_activity activity;
659 int activity_tgt;
660 enum unit_activity changed_from;
661 int changed_from_tgt;
662 int battlegroup;
663 bool has_orders;
664 int orders_length;
665 int orders_index;
666 bool orders_repeat;
667 bool orders_vigilant;
668 struct unit_order orders[MAX_LEN_ROUTE];
669 enum action_decision action_decision_want;
670 int action_decision_tile;
671};
672
673 struct packet_unit_short_info {
674 int id;
675 int owner;
676 int tile;
677 enum direction8 facing;
678 Unit_type_id type;
679 int veteran;
680 bool occupied;
681 bool transported;
682 int hp;
683 int activity;
684 int activity_tgt;
685 int transported_by;
686 int packet_use;
687 int info_city_id;
688};
689
690 struct packet_unit_combat_info {
691 int attacker_unit_id;
692 int defender_unit_id;
693 int attacker_hp;
694 int defender_hp;
695 bool make_att_veteran;
696 bool make_def_veteran;
697};
698
699 struct packet_unit_sscs_set {
700 int unit_id;
701 enum unit_ss_data_type type;
702 int value;
703};
704
705 struct packet_unit_orders {
706 int unit_id;
707 int src_tile;
708 int length;
709 bool repeat;
710 bool vigilant;
711 struct unit_order orders[MAX_LEN_ROUTE];
712 int dest_tile;
713};
714
715 struct packet_unit_server_side_agent_set {
716 int unit_id;
717 enum server_side_agent agent;
718};
719
720 struct packet_unit_action_query {
721 int actor_id;
722 int target_id;
723 action_id action_type;
724 int request_kind;
725};
726
727 struct packet_unit_type_upgrade {
728 Unit_type_id type;
729};
730
731 struct packet_unit_do_action {
732 int actor_id;
733 int target_id;
734 int sub_tgt_id;
735 char name[MAX_LEN_NAME];
736 action_id action_type;
737};
738
739 struct packet_unit_action_answer {
740 int actor_id;
741 int target_id;
742 int cost;
743 action_id action_type;
744 int request_kind;
745};
746
747 struct packet_unit_get_actions {
748 int actor_unit_id;
749 int target_unit_id;
750 int target_tile_id;
751 int target_extra_id;
752 int request_kind;
753};
754
755 struct packet_unit_actions {
756 int actor_unit_id;
757 int target_unit_id;
758 int target_city_id;
759 int target_tile_id;
760 int target_extra_id;
761 int request_kind;
762 struct act_prob action_probabilities[MAX_NUM_ACTIONS];
763};
764
765 struct packet_unit_change_activity {
766 int unit_id;
767 enum unit_activity activity;
768 int target;
769};
770
771 struct packet_diplomacy_init_meeting_req {
772 int counterpart;
773};
774
775 struct packet_diplomacy_init_meeting {
776 int counterpart;
777 int initiated_from;
778};
779
780 struct packet_diplomacy_cancel_meeting_req {
781 int counterpart;
782};
783
784 struct packet_diplomacy_cancel_meeting {
785 int counterpart;
786 int initiated_from;
787};
788
789 struct packet_diplomacy_create_clause_req {
790 int counterpart;
791 int giver;
792 enum clause_type type;
793 int value;
794};
795
796 struct packet_diplomacy_create_clause {
797 int counterpart;
798 int giver;
799 enum clause_type type;
800 int value;
801};
802
803 struct packet_diplomacy_remove_clause_req {
804 int counterpart;
805 int giver;
806 enum clause_type type;
807 int value;
808};
809
810 struct packet_diplomacy_remove_clause {
811 int counterpart;
812 int giver;
813 enum clause_type type;
814 int value;
815};
816
817 struct packet_diplomacy_accept_treaty_req {
818 int counterpart;
819};
820
821 struct packet_diplomacy_accept_treaty {
822 int counterpart;
823 bool I_accepted;
824 bool other_accepted;
825};
826
827 struct packet_diplomacy_cancel_pact {
828 int other_player_id;
829 enum clause_type clause;
830};
831
832 struct packet_page_msg {
833 char caption[MAX_LEN_MSG];
834 char headline[MAX_LEN_MSG];
835 enum event_type event;
836 int len;
837 int parts;
838};
839
840 struct packet_page_msg_part {
841 char lines[MAX_LEN_CONTENT];
842};
843
844 struct packet_report_req {
845 enum report_type type;
846};
847
848 struct packet_conn_info {
849 int id;
850 bool used;
851 bool established;
852 bool observer;
853 int player_num;
854 enum cmdlevel access_level;
855 char username[MAX_LEN_NAME];
856 char addr[MAX_LEN_ADDR];
857 char capability[MAX_LEN_CAPSTR];
858};
859
860 struct packet_conn_ping_info {
861 int connections;
862 int conn_id[MAX_NUM_CONNECTIONS];
863 float ping_time[MAX_NUM_CONNECTIONS];
864};
865
866 struct packet_conn_ping {
867 char __dummy; /* to avoid malloc(0); */
868};
869
870 struct packet_conn_pong {
871 char __dummy; /* to avoid malloc(0); */
872};
873
874 struct packet_client_heartbeat {
875 char __dummy; /* to avoid malloc(0); */
876};
877
878 struct packet_client_info {
879 enum gui_type gui;
880 int emerg_version;
881 char distribution[MAX_LEN_NAME];
882};
883
884 struct packet_end_phase {
885 char __dummy; /* to avoid malloc(0); */
886};
887
888 struct packet_start_phase {
889 int phase;
890};
891
892 struct packet_new_year {
893 int year;
894 int fragments;
895 int turn;
896};
897
898 struct packet_begin_turn {
899 char __dummy; /* to avoid malloc(0); */
900};
901
902 struct packet_end_turn {
903 char __dummy; /* to avoid malloc(0); */
904};
905
906 struct packet_freeze_client {
907 char __dummy; /* to avoid malloc(0); */
908};
909
910 struct packet_thaw_client {
911 char __dummy; /* to avoid malloc(0); */
912};
913
914 struct packet_spaceship_launch {
915 char __dummy; /* to avoid malloc(0); */
916};
917
918 struct packet_spaceship_place {
919 enum spaceship_place_type type;
920 int num;
921};
922
923 struct packet_spaceship_info {
924 int player_num;
925 int sship_state;
926 int structurals;
927 int components;
928 int modules;
929 int fuel;
930 int propulsion;
931 int habitation;
932 int life_support;
933 int solar_panels;
934 int launch_year;
935 int population;
936 int mass;
937 bv_spaceship_structure structure;
938 float support_rate;
939 float energy_rate;
940 float success_rate;
941 float travel_time;
942};
943
944 struct packet_ruleset_unit {
945 Unit_type_id id;
946 char name[MAX_LEN_NAME];
947 char rule_name[MAX_LEN_NAME];
948 char graphic_str[MAX_LEN_NAME];
949 char graphic_alt[MAX_LEN_NAME];
950 char graphic_alt2[MAX_LEN_NAME];
951 char sound_move[MAX_LEN_NAME];
952 char sound_move_alt[MAX_LEN_NAME];
953 char sound_fight[MAX_LEN_NAME];
954 char sound_fight_alt[MAX_LEN_NAME];
955 int unit_class_id;
956 int build_cost;
957 int pop_cost;
958 int attack_strength;
959 int defense_strength;
960 int move_rate;
961 int build_reqs_count;
962 struct requirement build_reqs[MAX_NUM_REQS];
963 int vision_radius_sq;
964 int transport_capacity;
965 int hp;
966 int firepower;
967 int obsoleted_by;
968 int converted_to;
969 int convert_time;
970 int fuel;
971 int happy_cost;
972 int upkeep[O_LAST];
973 int paratroopers_range;
974 int veteran_levels;
975 char veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME];
976 int power_fact[MAX_VET_LEVELS];
977 int move_bonus[MAX_VET_LEVELS];
978 int base_raise_chance[MAX_VET_LEVELS];
979 int work_raise_chance[MAX_VET_LEVELS];
980 int bombard_rate;
981 int city_size;
982 int city_slots;
983 enum transp_def_type tp_defense;
984 bv_unit_classes cargo;
985 bv_unit_classes targets;
986 bv_unit_classes embarks;
987 bv_unit_classes disembarks;
988 enum vision_layer vlayer;
989 char helptext[MAX_LEN_PACKET];
990 bv_unit_type_flags flags;
991 bv_unit_type_roles roles;
992 bool worker;
993};
994
995 struct packet_ruleset_unit_bonus {
996 Unit_type_id unit;
997 enum unit_type_flag_id flag;
998 enum combat_bonus_type type;
999 int value;
1000 bool quiet;
1001};
1002
1003 struct packet_ruleset_unit_flag {
1004 int id;
1005 char name[MAX_LEN_NAME];
1006 char helptxt[MAX_LEN_PACKET];
1007};
1008
1009 struct packet_ruleset_unit_class_flag {
1010 int id;
1011 char name[MAX_LEN_NAME];
1012 char helptxt[MAX_LEN_PACKET];
1013};
1014
1015 struct packet_ruleset_game {
1016 int default_specialist;
1017 int global_init_techs_count;
1018 int global_init_techs[MAX_NUM_TECH_LIST];
1019 int global_init_buildings_count;
1020 Impr_type_id global_init_buildings[MAX_NUM_BUILDING_LIST];
1021 int veteran_levels;
1022 char veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME];
1023 int power_fact[MAX_VET_LEVELS];
1024 int move_bonus[MAX_VET_LEVELS];
1025 int base_raise_chance[MAX_VET_LEVELS];
1026 int work_raise_chance[MAX_VET_LEVELS];
1027 int background_red;
1028 int background_green;
1029 int background_blue;
1030};
1031
1032 struct packet_ruleset_specialist {
1033 Specialist_type_id id;
1034 char plural_name[MAX_LEN_NAME];
1035 char rule_name[MAX_LEN_NAME];
1036 char short_name[MAX_LEN_NAME];
1037 char graphic_str[MAX_LEN_NAME];
1038 char graphic_alt[MAX_LEN_NAME];
1039 int reqs_count;
1040 struct requirement reqs[MAX_NUM_REQS];
1041 char helptext[MAX_LEN_PACKET];
1042};
1043
1044 struct packet_ruleset_government_ruler_title {
1045 Government_type_id gov;
1046 Nation_type_id nation;
1047 char male_title[MAX_LEN_NAME];
1048 char female_title[MAX_LEN_NAME];
1049};
1050
1051 struct packet_ruleset_tech {
1052 int id;
1053 int root_req;
1054 int research_reqs_count;
1055 struct requirement research_reqs[MAX_NUM_REQS];
1056 int tclass;
1057 bool removed;
1058 bv_tech_flags flags;
1059 float cost;
1060 int num_reqs;
1061 char name[MAX_LEN_NAME];
1062 char rule_name[MAX_LEN_NAME];
1063 char helptext[MAX_LEN_PACKET];
1064 char graphic_str[MAX_LEN_NAME];
1065 char graphic_alt[MAX_LEN_NAME];
1066};
1067
1068 struct packet_ruleset_tech_class {
1069 int id;
1070 char name[MAX_LEN_NAME];
1071 char rule_name[MAX_LEN_NAME];
1072 int cost_pct;
1073};
1074
1075 struct packet_ruleset_tech_flag {
1076 int id;
1077 char name[MAX_LEN_NAME];
1078 char helptxt[MAX_LEN_PACKET];
1079};
1080
1081 struct packet_ruleset_government {
1082 Government_type_id id;
1083 int reqs_count;
1084 struct requirement reqs[MAX_NUM_REQS];
1085 char name[MAX_LEN_NAME];
1086 char rule_name[MAX_LEN_NAME];
1087 char graphic_str[MAX_LEN_NAME];
1088 char graphic_alt[MAX_LEN_NAME];
1089 char helptext[MAX_LEN_PACKET];
1090};
1091
1092 struct packet_ruleset_terrain_control {
1093 int ocean_reclaim_requirement_pct;
1094 int land_channel_requirement_pct;
1095 int terrain_thaw_requirement_pct;
1096 int terrain_freeze_requirement_pct;
1097 int lake_max_size;
1098 int min_start_native_area;
1099 int move_fragments;
1100 int igter_cost;
1101 bool pythagorean_diagonal;
1102 bool infrapoints;
1103 char gui_type_base0[MAX_LEN_NAME];
1104 char gui_type_base1[MAX_LEN_NAME];
1105};
1106
1107 struct packet_rulesets_ready {
1108 char __dummy; /* to avoid malloc(0); */
1109};
1110
1111 struct packet_ruleset_nation_sets {
1112 int nsets;
1113 char names[MAX_NUM_NATION_SETS][MAX_LEN_NAME];
1114 char rule_names[MAX_NUM_NATION_SETS][MAX_LEN_NAME];
1115 char descriptions[MAX_NUM_NATION_SETS][MAX_LEN_MSG];
1116};
1117
1118 struct packet_ruleset_nation_groups {
1119 int ngroups;
1120 char groups[MAX_NUM_NATION_GROUPS][MAX_LEN_NAME];
1121 bool hidden[MAX_NUM_NATION_GROUPS];
1122};
1123
1124 struct packet_ruleset_nation {
1125 Nation_type_id id;
1126 char translation_domain[MAX_LEN_NAME];
1127 char adjective[MAX_LEN_NAME];
1128 char rule_name[MAX_LEN_NAME];
1129 char noun_plural[MAX_LEN_NAME];
1130 char graphic_str[MAX_LEN_NAME];
1131 char graphic_alt[MAX_LEN_NAME];
1132 char legend[MAX_LEN_MSG];
1133 int style;
1134 int leader_count;
1135 char leader_name[MAX_NUM_LEADERS][MAX_LEN_NAME];
1136 bool leader_is_male[MAX_NUM_LEADERS];
1137 bool is_playable;
1138 enum barbarian_type barbarian_type;
1139 int nsets;
1140 int sets[MAX_NUM_NATION_SETS];
1141 int ngroups;
1142 int groups[MAX_NUM_NATION_GROUPS];
1143 Government_type_id init_government_id;
1144 int init_techs_count;
1145 int init_techs[MAX_NUM_TECH_LIST];
1146 int init_units_count;
1147 Unit_type_id init_units[MAX_NUM_UNIT_LIST];
1148 int init_buildings_count;
1149 Impr_type_id init_buildings[MAX_NUM_BUILDING_LIST];
1150};
1151
1152 struct packet_nation_availability {
1153 int ncount;
1154 bool is_pickable[MAX_NUM_NATIONS];
1155 bool nationset_change;
1156};
1157
1158 struct packet_ruleset_style {
1159 int id;
1160 char name[MAX_LEN_NAME];
1161 char rule_name[MAX_LEN_NAME];
1162};
1163
1164 struct packet_ruleset_city {
1165 int style_id;
1166 char name[MAX_LEN_NAME];
1167 char rule_name[MAX_LEN_NAME];
1168 char citizens_graphic[MAX_LEN_NAME];
1169 int reqs_count;
1170 struct requirement reqs[MAX_NUM_REQS];
1171 char graphic[MAX_LEN_NAME];
1172 char graphic_alt[MAX_LEN_NAME];
1173};
1174
1175 struct packet_ruleset_building {
1176 Impr_type_id id;
1177 enum impr_genus_id genus;
1178 char name[MAX_LEN_NAME];
1179 char rule_name[MAX_LEN_NAME];
1180 char graphic_str[MAX_LEN_NAME];
1181 char graphic_alt[MAX_LEN_NAME];
1182 char graphic_alt2[MAX_LEN_NAME];
1183 int reqs_count;
1184 struct requirement reqs[MAX_NUM_REQS];
1185 int obs_count;
1186 struct requirement obs_reqs[MAX_NUM_REQS];
1187 int build_cost;
1188 int upkeep;
1189 int sabotage;
1190 bv_impr_flags flags;
1191 char soundtag[MAX_LEN_NAME];
1192 char soundtag_alt[MAX_LEN_NAME];
1193 char soundtag_alt2[MAX_LEN_NAME];
1194 char helptext[MAX_LEN_PACKET];
1195};
1196
1197 struct packet_ruleset_impr_flag {
1198 int id;
1199 char name[MAX_LEN_NAME];
1200 char helptxt[MAX_LEN_PACKET];
1201};
1202
1203 struct packet_ruleset_terrain {
1204 Terrain_type_id id;
1205 int tclass;
1206 bv_terrain_flags flags;
1207 bv_unit_classes native_to;
1208 char name[MAX_LEN_NAME];
1209 char rule_name[MAX_LEN_NAME];
1210 char graphic_str[MAX_LEN_NAME];
1211 char graphic_alt[MAX_LEN_NAME];
1212 char graphic_alt2[MAX_LEN_NAME];
1213 int movement_cost;
1214 int defense_bonus;
1215 int output[O_LAST];
1216 int num_resources;
1217 Resource_type_id resources[MAX_EXTRA_TYPES];
1218 int resource_freq[MAX_EXTRA_TYPES];
1219 int road_output_incr_pct[O_LAST];
1220 int base_time;
1221 int road_time;
1222 Terrain_type_id cultivate_result;
1223 int cultivate_time;
1224 Terrain_type_id plant_result;
1225 int plant_time;
1226 int irrigation_food_incr;
1227 int irrigation_time;
1228 int mining_shield_incr;
1229 int mining_time;
1230 int animal;
1231 Terrain_type_id transform_result;
1232 int transform_time;
1233 int placing_time;
1234 int pillage_time;
1235 int extra_count;
1236 int extra_removal_times[MAX_EXTRA_TYPES];
1237 int color_red;
1238 int color_green;
1239 int color_blue;
1240 char helptext[MAX_LEN_PACKET];
1241};
1242
1243 struct packet_ruleset_terrain_flag {
1244 int id;
1245 char name[MAX_LEN_NAME];
1246 char helptxt[MAX_LEN_PACKET];
1247};
1248
1249 struct packet_ruleset_unit_class {
1250 int id;
1251 char name[MAX_LEN_NAME];
1252 char rule_name[MAX_LEN_NAME];
1253 int min_speed;
1254 int hp_loss_pct;
1255 int non_native_def_pct;
1256 bv_unit_class_flags flags;
1257 char helptext[MAX_LEN_PACKET];
1258};
1259
1260 struct packet_ruleset_extra {
1261 int id;
1262 char name[MAX_LEN_NAME];
1263 char rule_name[MAX_LEN_NAME];
1264 int category;
1265 bv_causes causes;
1266 bv_rmcauses rmcauses;
1267 char activity_gfx[MAX_LEN_NAME];
1268 char act_gfx_alt[MAX_LEN_NAME];
1269 char act_gfx_alt2[MAX_LEN_NAME];
1270 char rmact_gfx[MAX_LEN_NAME];
1271 char rmact_gfx_alt[MAX_LEN_NAME];
1272 char rmact_gfx_alt2[MAX_LEN_NAME];
1273 char graphic_str[MAX_LEN_NAME];
1274 char graphic_alt[MAX_LEN_NAME];
1275 int reqs_count;
1276 struct requirement reqs[MAX_NUM_REQS];
1277 int rmreqs_count;
1278 struct requirement rmreqs[MAX_NUM_REQS];
1279 int appearance_chance;
1280 int appearance_reqs_count;
1281 struct requirement appearance_reqs[MAX_NUM_REQS];
1282 int disappearance_chance;
1283 int disappearance_reqs_count;
1284 struct requirement disappearance_reqs[MAX_NUM_REQS];
1285 int visibility_req;
1286 bool buildable;
1287 bool generated;
1288 int build_time;
1289 int build_time_factor;
1290 int removal_time;
1291 int removal_time_factor;
1292 int infracost;
1293 int defense_bonus;
1294 enum extra_unit_seen_type eus;
1295 bv_unit_classes native_to;
1296 bv_extra_flags flags;
1297 bv_extras hidden_by;
1298 bv_extras bridged_over;
1299 bv_extras conflicts;
1300 int no_aggr_near_city;
1301 char helptext[MAX_LEN_PACKET];
1302};
1303
1304 struct packet_ruleset_extra_flag {
1305 int id;
1306 char name[MAX_LEN_NAME];
1307 char helptxt[MAX_LEN_PACKET];
1308};
1309
1310 struct packet_ruleset_base {
1311 int id;
1312 enum base_gui_type gui_type;
1313 int border_sq;
1314 int vision_main_sq;
1315 int vision_invis_sq;
1316 int vision_subs_sq;
1317};
1318
1319 struct packet_ruleset_road {
1320 int id;
1321 enum road_gui_type gui_type;
1322 int first_reqs_count;
1323 struct requirement first_reqs[MAX_NUM_REQS];
1324 int move_cost;
1325 enum road_move_mode move_mode;
1326 int tile_incr_const[O_LAST];
1327 int tile_incr[O_LAST];
1328 int tile_bonus[O_LAST];
1329 enum road_compat compat;
1330 bv_max_extras integrates;
1331 bv_road_flags flags;
1332};
1333
1334 struct packet_ruleset_goods {
1335 int id;
1336 char name[MAX_LEN_NAME];
1337 char rule_name[MAX_LEN_NAME];
1338 int reqs_count;
1339 struct requirement reqs[MAX_NUM_REQS];
1340 int from_pct;
1341 int to_pct;
1342 int onetime_pct;
1343 bv_goods_flags flags;
1344 char helptext[MAX_LEN_PACKET];
1345};
1346
1347 struct packet_ruleset_disaster {
1348 int id;
1349 char name[MAX_LEN_NAME];
1350 char rule_name[MAX_LEN_NAME];
1351 int reqs_count;
1352 struct requirement reqs[MAX_NUM_REQS];
1353 int frequency;
1354 bv_disaster_effects effects;
1355};
1356
1357 struct packet_ruleset_achievement {
1358 int id;
1359 char name[MAX_LEN_NAME];
1360 char rule_name[MAX_LEN_NAME];
1361 enum achievement_type type;
1362 bool unique;
1363 int value;
1364};
1365
1366 struct packet_ruleset_trade {
1367 int id;
1368 int trade_pct;
1369 enum trade_route_illegal_cancelling cancelling;
1370 enum trade_route_bonus_type bonus_type;
1371};
1372
1373 struct packet_ruleset_action {
1374 action_id id;
1375 char ui_name[MAX_LEN_NAME];
1376 bool quiet;
1377 enum action_result result;
1378 bv_action_sub_results sub_results;
1379 bool actor_consuming_always;
1380 enum action_actor_kind act_kind;
1381 enum action_target_kind tgt_kind;
1382 enum action_sub_target_kind sub_tgt_kind;
1383 int min_distance;
1384 int max_distance;
1385 bv_actions blocked_by;
1386};
1387
1388 struct packet_ruleset_action_enabler {
1389 action_id enabled_action;
1390 int actor_reqs_count;
1391 struct requirement actor_reqs[MAX_NUM_REQS];
1392 int target_reqs_count;
1393 struct requirement target_reqs[MAX_NUM_REQS];
1394};
1395
1396 struct packet_ruleset_action_auto {
1397 int id;
1398 enum action_auto_perf_cause cause;
1399 int reqs_count;
1400 struct requirement reqs[MAX_NUM_REQS];
1401 int alternatives_count;
1402 action_id alternatives[MAX_NUM_ACTIONS];
1403};
1404
1405 struct packet_ruleset_counter {
1406 char name[MAX_LEN_NAME];
1407 char rule_name[MAX_LEN_NAME];
1408 char helptext[MAX_LEN_PACKET];
1409 int def;
1410 int checkpoint;
1411 enum counter_target type;
1412 enum counter_behaviour behaviour;
1413};
1414
1415 struct packet_ruleset_music {
1416 int id;
1417 char music_peaceful[MAX_LEN_NAME];
1418 char music_combat[MAX_LEN_NAME];
1419 int reqs_count;
1420 struct requirement reqs[MAX_NUM_REQS];
1421};
1422
1423 struct packet_ruleset_multiplier {
1424 Multiplier_type_id id;
1425 int start;
1426 int stop;
1427 int step;
1428 int def;
1429 int offset;
1430 int factor;
1431 int minimum_turns;
1432 char name[MAX_LEN_NAME];
1433 char rule_name[MAX_LEN_NAME];
1434 int reqs_count;
1435 struct requirement reqs[MAX_NUM_REQS];
1436 char helptext[MAX_LEN_PACKET];
1437};
1438
1439 struct packet_ruleset_clause {
1440 enum clause_type type;
1441 bool enabled;
1442 int giver_reqs_count;
1443 struct requirement giver_reqs[MAX_NUM_REQS];
1444 int receiver_reqs_count;
1445 struct requirement receiver_reqs[MAX_NUM_REQS];
1446};
1447
1448 struct packet_ruleset_control {
1449 int num_unit_classes;
1450 int num_unit_types;
1451 int num_impr_types;
1452 int num_tech_classes;
1453 int num_tech_types;
1454 int num_extra_types;
1455 int num_base_types;
1456 int num_road_types;
1457 int num_resource_types;
1458 int num_goods_types;
1459 int num_disaster_types;
1460 int num_achievement_types;
1461 int num_multipliers;
1462 int num_styles;
1463 int num_music_styles;
1464 int government_count;
1465 int nation_count;
1466 int num_city_styles;
1467 int terrain_count;
1468 int num_specialist_types;
1469 int num_nation_groups;
1470 int num_nation_sets;
1471 char preferred_tileset[MAX_LEN_NAME];
1472 char preferred_soundset[MAX_LEN_NAME];
1473 char preferred_musicset[MAX_LEN_NAME];
1474 bool popup_tech_help;
1475 char name[MAX_LEN_NAME];
1476 char version[MAX_LEN_NAME];
1477 char alt_dir[MAX_LEN_NAME];
1478 int desc_length;
1479 int num_counters;
1480};
1481
1482 struct packet_ruleset_summary {
1483 char text[MAX_LEN_CONTENT];
1484};
1485
1486 struct packet_ruleset_description_part {
1487 char text[MAX_LEN_CONTENT];
1488};
1489
1490 struct packet_single_want_hack_req {
1491 char token[MAX_LEN_NAME];
1492};
1493
1494 struct packet_single_want_hack_reply {
1495 bool you_have_hack;
1496};
1497
1498 struct packet_ruleset_choices {
1499 int ruleset_count;
1500 char rulesets[MAX_NUM_RULESETS][MAX_RULESET_NAME_LENGTH];
1501};
1502
1503 struct packet_ruleset_select {
1504 char modpack[MAX_RULESET_NAME_LENGTH];
1505};
1506
1507 struct packet_game_load {
1508 bool load_successful;
1509 char load_filename[MAX_LEN_PACKET];
1510};
1511
1512 struct packet_server_setting_control {
1513 int settings_num;
1514 int categories_num;
1515 char category_names[256][MAX_LEN_NAME];
1516};
1517
1518 struct packet_server_setting_const {
1519 int id;
1520 char name[MAX_LEN_NAME];
1521 char short_help[MAX_LEN_PACKET];
1522 char extra_help[MAX_LEN_PACKET];
1523 int category;
1524};
1525
1526 struct packet_server_setting_bool {
1527 int id;
1528 bool is_visible;
1529 bool is_changeable;
1530 bool initial_setting;
1531 enum setting_default_level setdef;
1532 bool val;
1533 bool default_val;
1534};
1535
1536 struct packet_server_setting_int {
1537 int id;
1538 bool is_visible;
1539 bool is_changeable;
1540 bool initial_setting;
1541 enum setting_default_level setdef;
1542 int val;
1543 int default_val;
1544 int min_val;
1545 int max_val;
1546};
1547
1548 struct packet_server_setting_str {
1549 int id;
1550 bool is_visible;
1551 bool is_changeable;
1552 bool initial_setting;
1553 enum setting_default_level setdef;
1554 char val[MAX_LEN_PACKET];
1555 char default_val[MAX_LEN_PACKET];
1556};
1557
1558 struct packet_server_setting_enum {
1559 int id;
1560 bool is_visible;
1561 bool is_changeable;
1562 bool initial_setting;
1563 enum setting_default_level setdef;
1564 int val;
1565 int default_val;
1566 int values_num;
1567 char support_names[64][MAX_LEN_NAME];
1568 char pretty_names[64][MAX_LEN_ENUM];
1569};
1570
1571 struct packet_server_setting_bitwise {
1572 int id;
1573 bool is_visible;
1574 bool is_changeable;
1575 bool initial_setting;
1576 enum setting_default_level setdef;
1577 int val;
1578 int default_val;
1579 int bits_num;
1580 char support_names[64][MAX_LEN_NAME];
1581 char pretty_names[64][MAX_LEN_ENUM];
1582};
1583
1584 struct packet_set_topology {
1585 int topology_id;
1586 int wrap_id;
1587};
1588
1589 struct packet_ruleset_effect {
1590 enum effect_type effect_type;
1591 int effect_value;
1592 bool has_multiplier;
1593 Multiplier_type_id multiplier;
1594 int reqs_count;
1595 struct requirement reqs[MAX_NUM_REQS];
1596};
1597
1598 struct packet_ruleset_resource {
1599 int id;
1600 int output[O_LAST];
1601};
1602
1603 struct packet_scenario_info {
1604 bool is_scenario;
1605 char name[256];
1606 char authors[MAX_LEN_PACKET / 3];
1607 bool players;
1608 bool startpos_nations;
1609 bool save_random;
1610 bool prevent_new_cities;
1611 bool lake_flooding;
1612 bool handmade;
1613 bool allow_ai_type_fallback;
1614 bool ruleset_locked;
1615 char datafile[MAX_LEN_NAME];
1616 bool have_resources;
1617 char req_caps[257];
1618};
1619
1620 struct packet_scenario_description {
1621 char description[MAX_LEN_CONTENT];
1622};
1623
1624 struct packet_save_scenario {
1625 char name[MAX_LEN_NAME];
1626};
1627
1628 struct packet_vote_new {
1629 int vote_no;
1630 char user[MAX_LEN_NAME];
1631 char desc[512];
1632 int percent_required;
1633 int flags;
1634};
1635
1636 struct packet_vote_update {
1637 int vote_no;
1638 int yes;
1639 int no;
1640 int abstain;
1641 int num_voters;
1642};
1643
1644 struct packet_vote_remove {
1645 int vote_no;
1646};
1647
1648 struct packet_vote_resolve {
1649 int vote_no;
1650 bool passed;
1651};
1652
1653 struct packet_vote_submit {
1654 int vote_no;
1655 int value;
1656};
1657
1658 struct packet_edit_mode {
1659 bool state;
1660};
1661
1662 struct packet_edit_recalculate_borders {
1663 char __dummy; /* to avoid malloc(0); */
1664};
1665
1666 struct packet_edit_check_tiles {
1667 char __dummy; /* to avoid malloc(0); */
1668};
1669
1670 struct packet_edit_toggle_fogofwar {
1671 int player;
1672};
1673
1674 struct packet_edit_tile_terrain {
1675 int tile;
1676 Terrain_type_id terrain;
1677 int size;
1678};
1679
1680 struct packet_edit_tile_extra {
1681 int tile;
1682 int extra_type_id;
1683 bool removal;
1684 int eowner;
1685 int size;
1686};
1687
1688 struct packet_edit_startpos {
1689 int id;
1690 bool removal;
1691 int tag;
1692};
1693
1694 struct packet_edit_startpos_full {
1695 int id;
1696 bool exclude;
1697 bv_startpos_nations nations;
1698};
1699
1700 struct packet_edit_tile {
1701 int tile;
1702 bv_extras extras;
1703 Resource_type_id resource;
1704 Terrain_type_id terrain;
1705 Nation_type_id startpos_nation;
1706 int eowner;
1707 char label[MAX_LEN_NAME];
1708};
1709
1710 struct packet_edit_unit_create {
1711 int owner;
1712 int tile;
1713 Unit_type_id type;
1714 int count;
1715 int tag;
1716};
1717
1718 struct packet_edit_unit_remove {
1719 int owner;
1720 int tile;
1721 Unit_type_id type;
1722 int count;
1723};
1724
1725 struct packet_edit_unit_remove_by_id {
1726 int id;
1727};
1728
1729 struct packet_edit_unit {
1730 int id;
1731 Unit_type_id utype;
1732 int owner;
1733 int homecity;
1734 int moves_left;
1735 int hp;
1736 int veteran;
1737 int fuel;
1738 enum unit_activity activity;
1739 int activity_count;
1740 Base_type_id activity_base;
1741 bool debug;
1742 bool moved;
1743 bool paradropped;
1744 bool done_moving;
1745 int transported_by;
1746 bool stay;
1747};
1748
1749 struct packet_edit_city_create {
1750 int owner;
1751 int tile;
1752 int size;
1753 int tag;
1754};
1755
1756 struct packet_edit_city_remove {
1757 int id;
1758};
1759
1760 struct packet_edit_city {
1761 int id;
1762 char name[MAX_LEN_CITYNAME];
1763 int owner;
1764 int original;
1765 int size;
1766 int history;
1767 int ppl_happy[5];
1768 int ppl_content[5];
1769 int ppl_unhappy[5];
1770 int ppl_angry[5];
1771 int specialists_size;
1772 int specialists[SP_MAX];
1773 int food_stock;
1774 int shield_stock;
1775 bool airlift;
1776 bool debug;
1777 bool did_buy;
1778 bool did_sell;
1779 bool was_happy;
1780 bool had_famine;
1781 int anarchy;
1782 int rapture;
1783 int steal;
1784 int turn_founded;
1785 int turn_last_built;
1786 int built[B_LAST];
1787 int production_kind;
1788 int production_value;
1789 bv_city_options city_options;
1790};
1791
1792 struct packet_edit_player_create {
1793 int tag;
1794};
1795
1796 struct packet_edit_player_remove {
1797 int id;
1798};
1799
1800 struct packet_edit_player {
1801 int id;
1802 char name[MAX_LEN_NAME];
1803 char username[MAX_LEN_NAME];
1804 char ranked_username[MAX_LEN_NAME];
1805 int user_turns;
1806 bool is_male;
1807 Government_type_id government;
1808 Government_type_id target_government;
1809 Nation_type_id nation;
1810 int team;
1811 bool phase_done;
1812 int nturns_idle;
1813 bool is_alive;
1814 int revolution_finishes;
1815 int autoselect_weight;
1816 bv_player embassy;
1817 int gold;
1818 int tax;
1819 int science;
1820 int luxury;
1821 int future_tech;
1822 int researching;
1823 int bulbs_researched;
1824 bool inventions[A_LAST + 1];
1825 bool ai;
1826 bool scenario_reserved;
1827};
1828
1829 struct packet_edit_player_vision {
1830 int player;
1831 int tile;
1832 bool known;
1833 int size;
1834};
1835
1836 struct packet_edit_game {
1837 bool scenario;
1838 char scenario_name[256];
1839 char scenario_authors[MAX_LEN_PACKET / 3];
1840 bool scenario_random;
1841 bool scenario_players;
1842 bool startpos_nations;
1843 bool prevent_new_cities;
1844 bool lake_flooding;
1845 bool ruleset_locked;
1846};
1847
1848 struct packet_edit_scenario_desc {
1849 char scenario_desc[MAX_LEN_CONTENT];
1850};
1851
1852 struct packet_edit_object_created {
1853 int tag;
1854 int id;
1855};
1856
1857 struct packet_play_music {
1858 char tag[MAX_LEN_NAME];
1859};
1860
1861 struct packet_web_city_info_addition {
1862 int id;
1863 bool cma_enabled;
1864 struct cm_parameter cm_parameter;
1865 int granary_size;
1866 int granary_turns;
1867 bv_utypes can_build_unit;
1868 bv_imprs can_build_improvement;
1869 int output_food[MAX_CITY_TILES + 1];
1870 int output_shield[MAX_CITY_TILES + 1];
1871 int output_trade[MAX_CITY_TILES + 1];
1872};
1873
1874 struct packet_web_cma_set {
1875 int id;
1876 struct cm_parameter cm_parameter;
1877};
1878
1879 struct packet_web_cma_clear {
1880 int id;
1881};
1882
1883 struct packet_web_player_info_addition {
1884 int playerno;
1885 int expected_income;
1886};
1887
1888 struct packet_web_ruleset_unit_addition {
1889 Unit_type_id id;
1890 bv_actions utype_actions;
1891};
1892
1893 enum packet_type {
1894 PACKET_PROCESSING_STARTED, /* 0 */
1895 PACKET_PROCESSING_FINISHED,
1896 PACKET_SERVER_JOIN_REQ = 4,
1897 PACKET_SERVER_JOIN_REPLY,
1898 PACKET_AUTHENTICATION_REQ,
1899 PACKET_AUTHENTICATION_REPLY,
1900 PACKET_SERVER_SHUTDOWN,
1901 PACKET_RULESET_TECH_CLASS,
1902 PACKET_NATION_SELECT_REQ, /* 10 */
1903 PACKET_PLAYER_READY,
1904 PACKET_ENDGAME_REPORT,
1905 PACKET_SCENARIO_DESCRIPTION,
1906 PACKET_EDIT_SCENARIO_DESC,
1907 PACKET_TILE_INFO,
1908 PACKET_GAME_INFO,
1909 PACKET_MAP_INFO,
1910 PACKET_NUKE_TILE_INFO,
1911 PACKET_TEAM_NAME_INFO,
1912 PACKET_RULESET_IMPR_FLAG, /* 20 */
1913 PACKET_INVESTIGATE_STARTED,
1914 PACKET_INVESTIGATE_FINISHED,
1915 PACKET_CHAT_MSG = 25,
1916 PACKET_CHAT_MSG_REQ,
1917 PACKET_CONNECT_MSG,
1918 PACKET_EARLY_CHAT_MSG,
1919 PACKET_SERVER_INFO,
1920 PACKET_CITY_REMOVE, /* 30 */
1921 PACKET_CITY_INFO,
1922 PACKET_CITY_SHORT_INFO,
1923 PACKET_CITY_SELL,
1924 PACKET_CITY_BUY,
1925 PACKET_CITY_CHANGE,
1926 PACKET_CITY_WORKLIST,
1927 PACKET_CITY_MAKE_SPECIALIST,
1928 PACKET_CITY_MAKE_WORKER,
1929 PACKET_CITY_CHANGE_SPECIALIST,
1930 PACKET_CITY_RENAME, /* 40 */
1931 PACKET_CITY_OPTIONS_REQ,
1932 PACKET_CITY_REFRESH,
1933 PACKET_CITY_NAME_SUGGESTION_REQ,
1934 PACKET_CITY_NAME_SUGGESTION_INFO,
1935 PACKET_CITY_SABOTAGE_LIST,
1936 PACKET_CITY_NATIONALITIES,
1937 PACKET_PLAYER_REMOVE = 50, /* 50 */
1938 PACKET_PLAYER_INFO,
1939 PACKET_PLAYER_PHASE_DONE,
1940 PACKET_PLAYER_RATES,
1941 PACKET_PLAYER_CHANGE_GOVERNMENT,
1942 PACKET_PLAYER_RESEARCH,
1943 PACKET_PLAYER_TECH_GOAL,
1944 PACKET_PLAYER_ATTRIBUTE_BLOCK,
1945 PACKET_PLAYER_ATTRIBUTE_CHUNK,
1946 PACKET_PLAYER_DIPLSTATE,
1947 PACKET_RESEARCH_INFO, /* 60 */
1948 PACKET_PLAYER_PLACE_INFRA,
1949 PACKET_UNIT_REMOVE,
1950 PACKET_UNIT_INFO,
1951 PACKET_UNIT_SHORT_INFO,
1952 PACKET_UNIT_COMBAT_INFO,
1953 PACKET_UNKNOWN_RESEARCH,
1954 PACKET_UNIT_SSCS_SET = 71,
1955 PACKET_UNIT_ORDERS = 73,
1956 PACKET_UNIT_SERVER_SIDE_AGENT_SET,
1957 PACKET_UNIT_ACTION_QUERY = 82,
1958 PACKET_UNIT_TYPE_UPGRADE,
1959 PACKET_UNIT_DO_ACTION,
1960 PACKET_UNIT_ACTION_ANSWER,
1961 PACKET_UNIT_GET_ACTIONS = 87,
1962 PACKET_CONN_PING,
1963 PACKET_CONN_PONG,
1964 PACKET_UNIT_ACTIONS, /* 90 */
1965 PACKET_DIPLOMACY_INIT_MEETING_REQ = 95,
1966 PACKET_DIPLOMACY_INIT_MEETING,
1967 PACKET_DIPLOMACY_CANCEL_MEETING_REQ,
1968 PACKET_DIPLOMACY_CANCEL_MEETING,
1969 PACKET_DIPLOMACY_CREATE_CLAUSE_REQ,
1970 PACKET_DIPLOMACY_CREATE_CLAUSE, /* 100 */
1971 PACKET_DIPLOMACY_REMOVE_CLAUSE_REQ,
1972 PACKET_DIPLOMACY_REMOVE_CLAUSE,
1973 PACKET_DIPLOMACY_ACCEPT_TREATY_REQ,
1974 PACKET_DIPLOMACY_ACCEPT_TREATY,
1975 PACKET_DIPLOMACY_CANCEL_PACT,
1976 PACKET_PAGE_MSG = 110, /* 110 */
1977 PACKET_REPORT_REQ,
1978 PACKET_CONN_INFO = 115,
1979 PACKET_CONN_PING_INFO,
1980 PACKET_CLIENT_INFO = 119,
1981 PACKET_END_PHASE = 125,
1982 PACKET_START_PHASE,
1983 PACKET_NEW_YEAR,
1984 PACKET_BEGIN_TURN,
1985 PACKET_END_TURN,
1986 PACKET_FREEZE_CLIENT, /* 130 */
1987 PACKET_THAW_CLIENT,
1988 PACKET_SPACESHIP_LAUNCH = 135,
1989 PACKET_SPACESHIP_PLACE,
1990 PACKET_SPACESHIP_INFO,
1991 PACKET_CITY_RALLY_POINT,
1992 PACKET_RULESET_UNIT = 140, /* 140 */
1993 PACKET_RULESET_GAME,
1994 PACKET_RULESET_SPECIALIST,
1995 PACKET_RULESET_GOVERNMENT_RULER_TITLE,
1996 PACKET_RULESET_TECH,
1997 PACKET_RULESET_GOVERNMENT,
1998 PACKET_RULESET_TERRAIN_CONTROL,
1999 PACKET_RULESET_NATION_GROUPS,
2000 PACKET_RULESET_NATION,
2001 PACKET_RULESET_CITY,
2002 PACKET_RULESET_BUILDING, /* 150 */
2003 PACKET_RULESET_TERRAIN,
2004 PACKET_RULESET_UNIT_CLASS,
2005 PACKET_RULESET_BASE,
2006 PACKET_RULESET_CONTROL = 155,
2007 PACKET_SINGLE_WANT_HACK_REQ = 160, /* 160 */
2008 PACKET_SINGLE_WANT_HACK_REPLY,
2009 PACKET_RULESET_CHOICES,
2010 PACKET_GAME_LOAD,
2011 PACKET_SERVER_SETTING_CONTROL,
2012 PACKET_SERVER_SETTING_CONST,
2013 PACKET_SERVER_SETTING_BOOL,
2014 PACKET_SERVER_SETTING_INT,
2015 PACKET_SERVER_SETTING_STR,
2016 PACKET_SERVER_SETTING_ENUM,
2017 PACKET_SERVER_SETTING_BITWISE, /* 170 */
2018 PACKET_RULESET_SELECT,
2019 PACKET_RULESET_EFFECT = 175,
2020 PACKET_RULESET_RESOURCE = 177,
2021 PACKET_SCENARIO_INFO = 180, /* 180 */
2022 PACKET_SAVE_SCENARIO,
2023 PACKET_VOTE_NEW = 185,
2024 PACKET_VOTE_UPDATE,
2025 PACKET_VOTE_REMOVE,
2026 PACKET_VOTE_RESOLVE,
2027 PACKET_VOTE_SUBMIT,
2028 PACKET_EDIT_MODE, /* 190 */
2029 PACKET_EDIT_RECALCULATE_BORDERS = 197,
2030 PACKET_EDIT_CHECK_TILES,
2031 PACKET_EDIT_TOGGLE_FOGOFWAR,
2032 PACKET_EDIT_TILE_TERRAIN, /* 200 */
2033 PACKET_EDIT_TILE_EXTRA = 202,
2034 PACKET_EDIT_STARTPOS = 204,
2035 PACKET_EDIT_STARTPOS_FULL,
2036 PACKET_EDIT_TILE,
2037 PACKET_EDIT_UNIT_CREATE,
2038 PACKET_EDIT_UNIT_REMOVE,
2039 PACKET_EDIT_UNIT_REMOVE_BY_ID,
2040 PACKET_EDIT_UNIT, /* 210 */
2041 PACKET_EDIT_CITY_CREATE,
2042 PACKET_EDIT_CITY_REMOVE,
2043 PACKET_EDIT_CITY,
2044 PACKET_EDIT_PLAYER_CREATE,
2045 PACKET_EDIT_PLAYER_REMOVE,
2046 PACKET_EDIT_PLAYER,
2047 PACKET_EDIT_PLAYER_VISION,
2048 PACKET_EDIT_GAME,
2049 PACKET_EDIT_OBJECT_CREATED,
2050 PACKET_RULESET_ROAD, /* 220 */
2051 PACKET_UNIT_CHANGE_ACTIVITY = 222,
2052 PACKET_ENDGAME_PLAYER,
2053 PACKET_RULESET_DISASTER,
2054 PACKET_RULESETS_READY,
2055 PACKET_RULESET_EXTRA_FLAG,
2056 PACKET_RULESET_TRADE,
2057 PACKET_RULESET_UNIT_BONUS,
2058 PACKET_RULESET_UNIT_FLAG,
2059 PACKET_RULESET_UNIT_CLASS_FLAG, /* 230 */
2060 PACKET_RULESET_TERRAIN_FLAG,
2061 PACKET_RULESET_EXTRA,
2062 PACKET_RULESET_ACHIEVEMENT,
2063 PACKET_RULESET_TECH_FLAG,
2064 PACKET_RULESET_ACTION_ENABLER,
2065 PACKET_RULESET_NATION_SETS,
2066 PACKET_NATION_AVAILABILITY,
2067 PACKET_ACHIEVEMENT_INFO,
2068 PACKET_RULESET_STYLE,
2069 PACKET_RULESET_MUSIC, /* 240 */
2070 PACKET_WORKER_TASK,
2071 PACKET_PLAYER_MULTIPLIER,
2072 PACKET_RULESET_MULTIPLIER,
2073 PACKET_TIMEOUT_INFO,
2074 PACKET_PLAY_MUSIC,
2075 PACKET_RULESET_ACTION,
2076 PACKET_RULESET_DESCRIPTION_PART,
2077 PACKET_RULESET_GOODS,
2078 PACKET_TRADE_ROUTE_INFO,
2079 PACKET_PAGE_MSG_PART, /* 250 */
2080 PACKET_RULESET_SUMMARY,
2081 PACKET_RULESET_ACTION_AUTO,
2082 PACKET_SET_TOPOLOGY,
2083 PACKET_CLIENT_HEARTBEAT,
2084 PACKET_CALENDAR_INFO,
2085 PACKET_WEB_CITY_INFO_ADDITION,
2086 PACKET_WEB_CMA_SET,
2087 PACKET_WEB_CMA_CLEAR,
2088 PACKET_WEB_PLAYER_INFO_ADDITION,
2089 PACKET_WEB_RULESET_UNIT_ADDITION, /* 260 */
2090 PACKET_RULESET_CLAUSE = 512,
2091 PACKET_RULESET_COUNTER,
2092 PACKET_CITY_UPDATE_COUNTERS,
2093
2094 PACKET_LAST /* leave this last */
2095};
2096
2097int send_packet_processing_started(struct connection *pc);
2098
2099int send_packet_processing_finished(struct connection *pc);
2100
2101int send_packet_investigate_started(struct connection *pc, const struct packet_investigate_started *packet);
2102void lsend_packet_investigate_started(struct conn_list *dest, const struct packet_investigate_started *packet);
2103int dsend_packet_investigate_started(struct connection *pc, int unit_id, int city_id);
2104void dlsend_packet_investigate_started(struct conn_list *dest, int unit_id, int city_id);
2105
2106int send_packet_investigate_finished(struct connection *pc, const struct packet_investigate_finished *packet);
2107void lsend_packet_investigate_finished(struct conn_list *dest, const struct packet_investigate_finished *packet);
2108int dsend_packet_investigate_finished(struct connection *pc, int unit_id, int city_id);
2109void dlsend_packet_investigate_finished(struct conn_list *dest, int unit_id, int city_id);
2110
2111int send_packet_server_join_req(struct connection *pc, const struct packet_server_join_req *packet);
2112int 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);
2113
2114int send_packet_server_join_reply(struct connection *pc, const struct packet_server_join_reply *packet);
2115
2116int send_packet_authentication_req(struct connection *pc, const struct packet_authentication_req *packet);
2117int dsend_packet_authentication_req(struct connection *pc, enum authentication_type type, const char *message);
2118
2119int send_packet_authentication_reply(struct connection *pc, const struct packet_authentication_reply *packet);
2120
2121int send_packet_server_shutdown(struct connection *pc);
2122void lsend_packet_server_shutdown(struct conn_list *dest);
2123
2124int send_packet_nation_select_req(struct connection *pc, const struct packet_nation_select_req *packet);
2125int dsend_packet_nation_select_req(struct connection *pc, int player_no, Nation_type_id nation_no, bool is_male, const char *name, int style);
2126
2127int send_packet_player_ready(struct connection *pc, const struct packet_player_ready *packet);
2128int dsend_packet_player_ready(struct connection *pc, int player_no, bool is_ready);
2129
2130int send_packet_endgame_report(struct connection *pc, const struct packet_endgame_report *packet);
2131void lsend_packet_endgame_report(struct conn_list *dest, const struct packet_endgame_report *packet);
2132
2133int send_packet_endgame_player(struct connection *pc, const struct packet_endgame_player *packet);
2134void lsend_packet_endgame_player(struct conn_list *dest, const struct packet_endgame_player *packet);
2135
2136int send_packet_tile_info(struct connection *pc, const struct packet_tile_info *packet);
2137void lsend_packet_tile_info(struct conn_list *dest, const struct packet_tile_info *packet);
2138
2139int send_packet_game_info(struct connection *pc, const struct packet_game_info *packet);
2140
2141int send_packet_calendar_info(struct connection *pc, const struct packet_calendar_info *packet);
2142
2143int send_packet_timeout_info(struct connection *pc, const struct packet_timeout_info *packet);
2144
2145int send_packet_map_info(struct connection *pc, const struct packet_map_info *packet);
2146void lsend_packet_map_info(struct conn_list *dest, const struct packet_map_info *packet);
2147
2148int send_packet_nuke_tile_info(struct connection *pc, const struct packet_nuke_tile_info *packet);
2149void lsend_packet_nuke_tile_info(struct conn_list *dest, const struct packet_nuke_tile_info *packet);
2150int dsend_packet_nuke_tile_info(struct connection *pc, int tile);
2151void dlsend_packet_nuke_tile_info(struct conn_list *dest, int tile);
2152
2153int send_packet_team_name_info(struct connection *pc, const struct packet_team_name_info *packet);
2154void lsend_packet_team_name_info(struct conn_list *dest, const struct packet_team_name_info *packet);
2155
2156int send_packet_achievement_info(struct connection *pc, const struct packet_achievement_info *packet);
2157void lsend_packet_achievement_info(struct conn_list *dest, const struct packet_achievement_info *packet);
2158
2159int send_packet_chat_msg(struct connection *pc, const struct packet_chat_msg *packet);
2160void lsend_packet_chat_msg(struct conn_list *dest, const struct packet_chat_msg *packet);
2161
2162int send_packet_early_chat_msg(struct connection *pc, const struct packet_early_chat_msg *packet);
2163void lsend_packet_early_chat_msg(struct conn_list *dest, const struct packet_early_chat_msg *packet);
2164
2165int send_packet_chat_msg_req(struct connection *pc, const struct packet_chat_msg_req *packet);
2166int dsend_packet_chat_msg_req(struct connection *pc, const char *message);
2167
2168int send_packet_connect_msg(struct connection *pc, const struct packet_connect_msg *packet);
2169int dsend_packet_connect_msg(struct connection *pc, const char *message);
2170
2171int send_packet_server_info(struct connection *pc, const struct packet_server_info *packet);
2172int dsend_packet_server_info(struct connection *pc, const char *version_label, int major_version, int minor_version, int patch_version, int emerg_version);
2173
2174int send_packet_city_remove(struct connection *pc, const struct packet_city_remove *packet);
2175void lsend_packet_city_remove(struct conn_list *dest, const struct packet_city_remove *packet);
2176int dsend_packet_city_remove(struct connection *pc, int city_id);
2177void dlsend_packet_city_remove(struct conn_list *dest, int city_id);
2178
2179int send_packet_city_info(struct connection *pc, const struct packet_city_info *packet, bool force_to_send);
2180void lsend_packet_city_info(struct conn_list *dest, const struct packet_city_info *packet, bool force_to_send);
2181
2182int send_packet_city_nationalities(struct connection *pc, const struct packet_city_nationalities *packet, bool force_to_send);
2183void lsend_packet_city_nationalities(struct conn_list *dest, const struct packet_city_nationalities *packet, bool force_to_send);
2184
2185int send_packet_city_update_counters(struct connection *pc, const struct packet_city_update_counters *packet);
2186void lsend_packet_city_update_counters(struct conn_list *dest, const struct packet_city_update_counters *packet);
2187
2188int send_packet_city_short_info(struct connection *pc, const struct packet_city_short_info *packet);
2189void lsend_packet_city_short_info(struct conn_list *dest, const struct packet_city_short_info *packet);
2190
2191int send_packet_trade_route_info(struct connection *pc, const struct packet_trade_route_info *packet);
2192void lsend_packet_trade_route_info(struct conn_list *dest, const struct packet_trade_route_info *packet);
2193
2194int send_packet_city_sell(struct connection *pc, const struct packet_city_sell *packet);
2195int dsend_packet_city_sell(struct connection *pc, int city_id, int build_id);
2196
2197int send_packet_city_buy(struct connection *pc, const struct packet_city_buy *packet);
2198int dsend_packet_city_buy(struct connection *pc, int city_id);
2199
2200int send_packet_city_change(struct connection *pc, const struct packet_city_change *packet);
2201int dsend_packet_city_change(struct connection *pc, int city_id, int production_kind, int production_value);
2202
2203int send_packet_city_worklist(struct connection *pc, const struct packet_city_worklist *packet);
2204int dsend_packet_city_worklist(struct connection *pc, int city_id, const struct worklist *worklist);
2205
2206int send_packet_city_make_specialist(struct connection *pc, const struct packet_city_make_specialist *packet);
2207int dsend_packet_city_make_specialist(struct connection *pc, int city_id, int tile_id);
2208
2209int send_packet_city_make_worker(struct connection *pc, const struct packet_city_make_worker *packet);
2210int dsend_packet_city_make_worker(struct connection *pc, int city_id, int tile_id);
2211
2212int send_packet_city_change_specialist(struct connection *pc, const struct packet_city_change_specialist *packet);
2213int dsend_packet_city_change_specialist(struct connection *pc, int city_id, Specialist_type_id from, Specialist_type_id to);
2214
2215int send_packet_city_rename(struct connection *pc, const struct packet_city_rename *packet);
2216int dsend_packet_city_rename(struct connection *pc, int city_id, const char *name);
2217
2218int send_packet_city_options_req(struct connection *pc, const struct packet_city_options_req *packet);
2219int dsend_packet_city_options_req(struct connection *pc, int city_id, bv_city_options options);
2220
2221int send_packet_city_refresh(struct connection *pc, const struct packet_city_refresh *packet);
2222int dsend_packet_city_refresh(struct connection *pc, int city_id);
2223
2224int send_packet_city_name_suggestion_req(struct connection *pc, const struct packet_city_name_suggestion_req *packet);
2225int dsend_packet_city_name_suggestion_req(struct connection *pc, int unit_id);
2226
2227int send_packet_city_name_suggestion_info(struct connection *pc, const struct packet_city_name_suggestion_info *packet);
2228void lsend_packet_city_name_suggestion_info(struct conn_list *dest, const struct packet_city_name_suggestion_info *packet);
2229int dsend_packet_city_name_suggestion_info(struct connection *pc, int unit_id, const char *name);
2230void dlsend_packet_city_name_suggestion_info(struct conn_list *dest, int unit_id, const char *name);
2231
2232int send_packet_city_sabotage_list(struct connection *pc, const struct packet_city_sabotage_list *packet);
2233void lsend_packet_city_sabotage_list(struct conn_list *dest, const struct packet_city_sabotage_list *packet);
2234
2235int send_packet_city_rally_point(struct connection *pc, const struct packet_city_rally_point *packet, bool force_to_send);
2236void lsend_packet_city_rally_point(struct conn_list *dest, const struct packet_city_rally_point *packet, bool force_to_send);
2237
2238int send_packet_worker_task(struct connection *pc, const struct packet_worker_task *packet);
2239void lsend_packet_worker_task(struct conn_list *dest, const struct packet_worker_task *packet);
2240
2241int send_packet_player_remove(struct connection *pc, const struct packet_player_remove *packet);
2242int dsend_packet_player_remove(struct connection *pc, int playerno);
2243
2244int send_packet_player_info(struct connection *pc, const struct packet_player_info *packet);
2245
2246int send_packet_player_phase_done(struct connection *pc, const struct packet_player_phase_done *packet);
2247int dsend_packet_player_phase_done(struct connection *pc, int turn);
2248
2249int send_packet_player_rates(struct connection *pc, const struct packet_player_rates *packet);
2250int dsend_packet_player_rates(struct connection *pc, int tax, int luxury, int science);
2251
2252int send_packet_player_change_government(struct connection *pc, const struct packet_player_change_government *packet);
2253int dsend_packet_player_change_government(struct connection *pc, Government_type_id government);
2254
2255int send_packet_player_place_infra(struct connection *pc, const struct packet_player_place_infra *packet);
2256int dsend_packet_player_place_infra(struct connection *pc, int tile, int extra);
2257
2258int send_packet_player_attribute_block(struct connection *pc);
2259
2260int send_packet_player_attribute_chunk(struct connection *pc, const struct packet_player_attribute_chunk *packet);
2261
2262int send_packet_player_diplstate(struct connection *pc, const struct packet_player_diplstate *packet);
2263
2264int send_packet_player_multiplier(struct connection *pc, const struct packet_player_multiplier *packet);
2265
2266int send_packet_research_info(struct connection *pc, const struct packet_research_info *packet);
2267void lsend_packet_research_info(struct conn_list *dest, const struct packet_research_info *packet);
2268
2269int send_packet_unknown_research(struct connection *pc, const struct packet_unknown_research *packet);
2270
2271int send_packet_player_research(struct connection *pc, const struct packet_player_research *packet);
2272int dsend_packet_player_research(struct connection *pc, int tech);
2273
2274int send_packet_player_tech_goal(struct connection *pc, const struct packet_player_tech_goal *packet);
2275int dsend_packet_player_tech_goal(struct connection *pc, int tech);
2276
2277int send_packet_unit_remove(struct connection *pc, const struct packet_unit_remove *packet);
2278void lsend_packet_unit_remove(struct conn_list *dest, const struct packet_unit_remove *packet);
2279int dsend_packet_unit_remove(struct connection *pc, int unit_id);
2280void dlsend_packet_unit_remove(struct conn_list *dest, int unit_id);
2281
2282int send_packet_unit_info(struct connection *pc, const struct packet_unit_info *packet);
2283void lsend_packet_unit_info(struct conn_list *dest, const struct packet_unit_info *packet);
2284
2285int send_packet_unit_short_info(struct connection *pc, const struct packet_unit_short_info *packet, bool force_to_send);
2286void lsend_packet_unit_short_info(struct conn_list *dest, const struct packet_unit_short_info *packet, bool force_to_send);
2287
2288int send_packet_unit_combat_info(struct connection *pc, const struct packet_unit_combat_info *packet);
2289void lsend_packet_unit_combat_info(struct conn_list *dest, const struct packet_unit_combat_info *packet);
2290
2291int send_packet_unit_sscs_set(struct connection *pc, const struct packet_unit_sscs_set *packet);
2292int dsend_packet_unit_sscs_set(struct connection *pc, int unit_id, enum unit_ss_data_type type, int value);
2293
2294int send_packet_unit_orders(struct connection *pc, const struct packet_unit_orders *packet);
2295
2296int send_packet_unit_server_side_agent_set(struct connection *pc, const struct packet_unit_server_side_agent_set *packet);
2297int dsend_packet_unit_server_side_agent_set(struct connection *pc, int unit_id, enum server_side_agent agent);
2298
2299int send_packet_unit_action_query(struct connection *pc, const struct packet_unit_action_query *packet);
2300int dsend_packet_unit_action_query(struct connection *pc, int actor_id, int target_id, action_id action_type, int request_kind);
2301
2302int send_packet_unit_type_upgrade(struct connection *pc, const struct packet_unit_type_upgrade *packet);
2303int dsend_packet_unit_type_upgrade(struct connection *pc, Unit_type_id type);
2304
2305int send_packet_unit_do_action(struct connection *pc, const struct packet_unit_do_action *packet);
2306int 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);
2307
2308int send_packet_unit_action_answer(struct connection *pc, const struct packet_unit_action_answer *packet);
2309int dsend_packet_unit_action_answer(struct connection *pc, int actor_id, int target_id, int cost, action_id action_type, int request_kind);
2310
2311int send_packet_unit_get_actions(struct connection *pc, const struct packet_unit_get_actions *packet);
2312int 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);
2313
2314int send_packet_unit_actions(struct connection *pc, const struct packet_unit_actions *packet);
2315int 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);
2316
2317int send_packet_unit_change_activity(struct connection *pc, const struct packet_unit_change_activity *packet);
2318int dsend_packet_unit_change_activity(struct connection *pc, int unit_id, enum unit_activity activity, int target);
2319
2320int send_packet_diplomacy_init_meeting_req(struct connection *pc, const struct packet_diplomacy_init_meeting_req *packet);
2321int dsend_packet_diplomacy_init_meeting_req(struct connection *pc, int counterpart);
2322
2323int send_packet_diplomacy_init_meeting(struct connection *pc, const struct packet_diplomacy_init_meeting *packet);
2324void lsend_packet_diplomacy_init_meeting(struct conn_list *dest, const struct packet_diplomacy_init_meeting *packet);
2325int dsend_packet_diplomacy_init_meeting(struct connection *pc, int counterpart, int initiated_from);
2326void dlsend_packet_diplomacy_init_meeting(struct conn_list *dest, int counterpart, int initiated_from);
2327
2328int send_packet_diplomacy_cancel_meeting_req(struct connection *pc, const struct packet_diplomacy_cancel_meeting_req *packet);
2329int dsend_packet_diplomacy_cancel_meeting_req(struct connection *pc, int counterpart);
2330
2331int send_packet_diplomacy_cancel_meeting(struct connection *pc, const struct packet_diplomacy_cancel_meeting *packet);
2332void lsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, const struct packet_diplomacy_cancel_meeting *packet);
2333int dsend_packet_diplomacy_cancel_meeting(struct connection *pc, int counterpart, int initiated_from);
2334void dlsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, int counterpart, int initiated_from);
2335
2336int send_packet_diplomacy_create_clause_req(struct connection *pc, const struct packet_diplomacy_create_clause_req *packet);
2337int dsend_packet_diplomacy_create_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2338
2339int send_packet_diplomacy_create_clause(struct connection *pc, const struct packet_diplomacy_create_clause *packet);
2340void lsend_packet_diplomacy_create_clause(struct conn_list *dest, const struct packet_diplomacy_create_clause *packet);
2341int dsend_packet_diplomacy_create_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2342void dlsend_packet_diplomacy_create_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value);
2343
2344int send_packet_diplomacy_remove_clause_req(struct connection *pc, const struct packet_diplomacy_remove_clause_req *packet);
2345int dsend_packet_diplomacy_remove_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2346
2347int send_packet_diplomacy_remove_clause(struct connection *pc, const struct packet_diplomacy_remove_clause *packet);
2348void lsend_packet_diplomacy_remove_clause(struct conn_list *dest, const struct packet_diplomacy_remove_clause *packet);
2349int dsend_packet_diplomacy_remove_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2350void dlsend_packet_diplomacy_remove_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value);
2351
2352int send_packet_diplomacy_accept_treaty_req(struct connection *pc, const struct packet_diplomacy_accept_treaty_req *packet);
2353int dsend_packet_diplomacy_accept_treaty_req(struct connection *pc, int counterpart);
2354
2355int send_packet_diplomacy_accept_treaty(struct connection *pc, const struct packet_diplomacy_accept_treaty *packet);
2356void lsend_packet_diplomacy_accept_treaty(struct conn_list *dest, const struct packet_diplomacy_accept_treaty *packet);
2357int dsend_packet_diplomacy_accept_treaty(struct connection *pc, int counterpart, bool I_accepted, bool other_accepted);
2358void dlsend_packet_diplomacy_accept_treaty(struct conn_list *dest, int counterpart, bool I_accepted, bool other_accepted);
2359
2360int send_packet_diplomacy_cancel_pact(struct connection *pc, const struct packet_diplomacy_cancel_pact *packet);
2361int dsend_packet_diplomacy_cancel_pact(struct connection *pc, int other_player_id, enum clause_type clause);
2362
2363int send_packet_page_msg(struct connection *pc, const struct packet_page_msg *packet);
2364void lsend_packet_page_msg(struct conn_list *dest, const struct packet_page_msg *packet);
2365
2366int send_packet_page_msg_part(struct connection *pc, const struct packet_page_msg_part *packet);
2367void lsend_packet_page_msg_part(struct conn_list *dest, const struct packet_page_msg_part *packet);
2368
2369int send_packet_report_req(struct connection *pc, const struct packet_report_req *packet);
2370int dsend_packet_report_req(struct connection *pc, enum report_type type);
2371
2372int send_packet_conn_info(struct connection *pc, const struct packet_conn_info *packet);
2373void lsend_packet_conn_info(struct conn_list *dest, const struct packet_conn_info *packet);
2374
2375int send_packet_conn_ping_info(struct connection *pc, const struct packet_conn_ping_info *packet);
2376void lsend_packet_conn_ping_info(struct conn_list *dest, const struct packet_conn_ping_info *packet);
2377
2378int send_packet_conn_ping(struct connection *pc);
2379
2380int send_packet_conn_pong(struct connection *pc);
2381
2382int send_packet_client_heartbeat(struct connection *pc);
2383
2384int send_packet_client_info(struct connection *pc, const struct packet_client_info *packet);
2385
2386int send_packet_end_phase(struct connection *pc);
2387void lsend_packet_end_phase(struct conn_list *dest);
2388
2389int send_packet_start_phase(struct connection *pc, const struct packet_start_phase *packet);
2390void lsend_packet_start_phase(struct conn_list *dest, const struct packet_start_phase *packet);
2391int dsend_packet_start_phase(struct connection *pc, int phase);
2392void dlsend_packet_start_phase(struct conn_list *dest, int phase);
2393
2394int send_packet_new_year(struct connection *pc, const struct packet_new_year *packet);
2395void lsend_packet_new_year(struct conn_list *dest, const struct packet_new_year *packet);
2396
2397int send_packet_begin_turn(struct connection *pc);
2398void lsend_packet_begin_turn(struct conn_list *dest);
2399
2400int send_packet_end_turn(struct connection *pc);
2401void lsend_packet_end_turn(struct conn_list *dest);
2402
2403int send_packet_freeze_client(struct connection *pc);
2404void lsend_packet_freeze_client(struct conn_list *dest);
2405
2406int send_packet_thaw_client(struct connection *pc);
2407void lsend_packet_thaw_client(struct conn_list *dest);
2408
2409int send_packet_spaceship_launch(struct connection *pc);
2410
2411int send_packet_spaceship_place(struct connection *pc, const struct packet_spaceship_place *packet);
2412int dsend_packet_spaceship_place(struct connection *pc, enum spaceship_place_type type, int num);
2413
2414int send_packet_spaceship_info(struct connection *pc, const struct packet_spaceship_info *packet);
2415void lsend_packet_spaceship_info(struct conn_list *dest, const struct packet_spaceship_info *packet);
2416
2417int send_packet_ruleset_unit(struct connection *pc, const struct packet_ruleset_unit *packet);
2418void lsend_packet_ruleset_unit(struct conn_list *dest, const struct packet_ruleset_unit *packet);
2419
2420int send_packet_ruleset_unit_bonus(struct connection *pc, const struct packet_ruleset_unit_bonus *packet);
2421void lsend_packet_ruleset_unit_bonus(struct conn_list *dest, const struct packet_ruleset_unit_bonus *packet);
2422
2423int send_packet_ruleset_unit_flag(struct connection *pc, const struct packet_ruleset_unit_flag *packet);
2424void lsend_packet_ruleset_unit_flag(struct conn_list *dest, const struct packet_ruleset_unit_flag *packet);
2425
2426int send_packet_ruleset_unit_class_flag(struct connection *pc, const struct packet_ruleset_unit_class_flag *packet);
2427void lsend_packet_ruleset_unit_class_flag(struct conn_list *dest, const struct packet_ruleset_unit_class_flag *packet);
2428
2429int send_packet_ruleset_game(struct connection *pc, const struct packet_ruleset_game *packet);
2430void lsend_packet_ruleset_game(struct conn_list *dest, const struct packet_ruleset_game *packet);
2431
2432int send_packet_ruleset_specialist(struct connection *pc, const struct packet_ruleset_specialist *packet);
2433void lsend_packet_ruleset_specialist(struct conn_list *dest, const struct packet_ruleset_specialist *packet);
2434
2435int send_packet_ruleset_government_ruler_title(struct connection *pc, const struct packet_ruleset_government_ruler_title *packet);
2436void lsend_packet_ruleset_government_ruler_title(struct conn_list *dest, const struct packet_ruleset_government_ruler_title *packet);
2437
2438int send_packet_ruleset_tech(struct connection *pc, const struct packet_ruleset_tech *packet);
2439void lsend_packet_ruleset_tech(struct conn_list *dest, const struct packet_ruleset_tech *packet);
2440
2441int send_packet_ruleset_tech_class(struct connection *pc, const struct packet_ruleset_tech_class *packet);
2442void lsend_packet_ruleset_tech_class(struct conn_list *dest, const struct packet_ruleset_tech_class *packet);
2443
2444int send_packet_ruleset_tech_flag(struct connection *pc, const struct packet_ruleset_tech_flag *packet);
2445void lsend_packet_ruleset_tech_flag(struct conn_list *dest, const struct packet_ruleset_tech_flag *packet);
2446
2447int send_packet_ruleset_government(struct connection *pc, const struct packet_ruleset_government *packet);
2448void lsend_packet_ruleset_government(struct conn_list *dest, const struct packet_ruleset_government *packet);
2449
2450int send_packet_ruleset_terrain_control(struct connection *pc, const struct packet_ruleset_terrain_control *packet);
2451void lsend_packet_ruleset_terrain_control(struct conn_list *dest, const struct packet_ruleset_terrain_control *packet);
2452
2453int send_packet_rulesets_ready(struct connection *pc);
2454void lsend_packet_rulesets_ready(struct conn_list *dest);
2455
2456int send_packet_ruleset_nation_sets(struct connection *pc, const struct packet_ruleset_nation_sets *packet);
2457void lsend_packet_ruleset_nation_sets(struct conn_list *dest, const struct packet_ruleset_nation_sets *packet);
2458
2459int send_packet_ruleset_nation_groups(struct connection *pc, const struct packet_ruleset_nation_groups *packet);
2460void lsend_packet_ruleset_nation_groups(struct conn_list *dest, const struct packet_ruleset_nation_groups *packet);
2461
2462int send_packet_ruleset_nation(struct connection *pc, const struct packet_ruleset_nation *packet);
2463void lsend_packet_ruleset_nation(struct conn_list *dest, const struct packet_ruleset_nation *packet);
2464
2465int send_packet_nation_availability(struct connection *pc, const struct packet_nation_availability *packet);
2466void lsend_packet_nation_availability(struct conn_list *dest, const struct packet_nation_availability *packet);
2467
2468int send_packet_ruleset_style(struct connection *pc, const struct packet_ruleset_style *packet);
2469void lsend_packet_ruleset_style(struct conn_list *dest, const struct packet_ruleset_style *packet);
2470
2471int send_packet_ruleset_city(struct connection *pc, const struct packet_ruleset_city *packet);
2472void lsend_packet_ruleset_city(struct conn_list *dest, const struct packet_ruleset_city *packet);
2473
2474int send_packet_ruleset_building(struct connection *pc, const struct packet_ruleset_building *packet);
2475void lsend_packet_ruleset_building(struct conn_list *dest, const struct packet_ruleset_building *packet);
2476
2477int send_packet_ruleset_impr_flag(struct connection *pc, const struct packet_ruleset_impr_flag *packet);
2478void lsend_packet_ruleset_impr_flag(struct conn_list *dest, const struct packet_ruleset_impr_flag *packet);
2479
2480int send_packet_ruleset_terrain(struct connection *pc, const struct packet_ruleset_terrain *packet);
2481void lsend_packet_ruleset_terrain(struct conn_list *dest, const struct packet_ruleset_terrain *packet);
2482
2483int send_packet_ruleset_terrain_flag(struct connection *pc, const struct packet_ruleset_terrain_flag *packet);
2484void lsend_packet_ruleset_terrain_flag(struct conn_list *dest, const struct packet_ruleset_terrain_flag *packet);
2485
2486int send_packet_ruleset_unit_class(struct connection *pc, const struct packet_ruleset_unit_class *packet);
2487void lsend_packet_ruleset_unit_class(struct conn_list *dest, const struct packet_ruleset_unit_class *packet);
2488
2489int send_packet_ruleset_extra(struct connection *pc, const struct packet_ruleset_extra *packet);
2490void lsend_packet_ruleset_extra(struct conn_list *dest, const struct packet_ruleset_extra *packet);
2491
2492int send_packet_ruleset_extra_flag(struct connection *pc, const struct packet_ruleset_extra_flag *packet);
2493void lsend_packet_ruleset_extra_flag(struct conn_list *dest, const struct packet_ruleset_extra_flag *packet);
2494
2495int send_packet_ruleset_base(struct connection *pc, const struct packet_ruleset_base *packet);
2496void lsend_packet_ruleset_base(struct conn_list *dest, const struct packet_ruleset_base *packet);
2497
2498int send_packet_ruleset_road(struct connection *pc, const struct packet_ruleset_road *packet);
2499void lsend_packet_ruleset_road(struct conn_list *dest, const struct packet_ruleset_road *packet);
2500
2501int send_packet_ruleset_goods(struct connection *pc, const struct packet_ruleset_goods *packet);
2502void lsend_packet_ruleset_goods(struct conn_list *dest, const struct packet_ruleset_goods *packet);
2503
2504int send_packet_ruleset_disaster(struct connection *pc, const struct packet_ruleset_disaster *packet);
2505void lsend_packet_ruleset_disaster(struct conn_list *dest, const struct packet_ruleset_disaster *packet);
2506
2507int send_packet_ruleset_achievement(struct connection *pc, const struct packet_ruleset_achievement *packet);
2508void lsend_packet_ruleset_achievement(struct conn_list *dest, const struct packet_ruleset_achievement *packet);
2509
2510int send_packet_ruleset_trade(struct connection *pc, const struct packet_ruleset_trade *packet);
2511void lsend_packet_ruleset_trade(struct conn_list *dest, const struct packet_ruleset_trade *packet);
2512
2513int send_packet_ruleset_action(struct connection *pc, const struct packet_ruleset_action *packet);
2514void lsend_packet_ruleset_action(struct conn_list *dest, const struct packet_ruleset_action *packet);
2515
2516int send_packet_ruleset_action_enabler(struct connection *pc, const struct packet_ruleset_action_enabler *packet);
2517void lsend_packet_ruleset_action_enabler(struct conn_list *dest, const struct packet_ruleset_action_enabler *packet);
2518
2519int send_packet_ruleset_action_auto(struct connection *pc, const struct packet_ruleset_action_auto *packet);
2520void lsend_packet_ruleset_action_auto(struct conn_list *dest, const struct packet_ruleset_action_auto *packet);
2521
2522int send_packet_ruleset_counter(struct connection *pc, const struct packet_ruleset_counter *packet);
2523void lsend_packet_ruleset_counter(struct conn_list *dest, const struct packet_ruleset_counter *packet);
2524
2525int send_packet_ruleset_music(struct connection *pc, const struct packet_ruleset_music *packet);
2526void lsend_packet_ruleset_music(struct conn_list *dest, const struct packet_ruleset_music *packet);
2527
2528int send_packet_ruleset_multiplier(struct connection *pc, const struct packet_ruleset_multiplier *packet);
2529void lsend_packet_ruleset_multiplier(struct conn_list *dest, const struct packet_ruleset_multiplier *packet);
2530int dsend_packet_ruleset_multiplier(struct connection *pc, Multiplier_type_id id, int start, int stop, int step, int def, int offset, int factor, int minimum_turns, const char *name, const char *rule_name, int reqs_count, const struct requirement *reqs, const char *helptext);
2531void dlsend_packet_ruleset_multiplier(struct conn_list *dest, Multiplier_type_id id, int start, int stop, int step, int def, int offset, int factor, int minimum_turns, const char *name, const char *rule_name, int reqs_count, const struct requirement *reqs, const char *helptext);
2532
2533int send_packet_ruleset_clause(struct connection *pc, const struct packet_ruleset_clause *packet);
2534void lsend_packet_ruleset_clause(struct conn_list *dest, const struct packet_ruleset_clause *packet);
2535
2536int send_packet_ruleset_control(struct connection *pc, const struct packet_ruleset_control *packet);
2537void lsend_packet_ruleset_control(struct conn_list *dest, const struct packet_ruleset_control *packet);
2538
2539int send_packet_ruleset_summary(struct connection *pc, const struct packet_ruleset_summary *packet);
2540void lsend_packet_ruleset_summary(struct conn_list *dest, const struct packet_ruleset_summary *packet);
2541
2542int send_packet_ruleset_description_part(struct connection *pc, const struct packet_ruleset_description_part *packet);
2543void lsend_packet_ruleset_description_part(struct conn_list *dest, const struct packet_ruleset_description_part *packet);
2544
2545int send_packet_single_want_hack_req(struct connection *pc, const struct packet_single_want_hack_req *packet);
2546
2547int send_packet_single_want_hack_reply(struct connection *pc, const struct packet_single_want_hack_reply *packet);
2548int dsend_packet_single_want_hack_reply(struct connection *pc, bool you_have_hack);
2549
2550int send_packet_ruleset_choices(struct connection *pc, const struct packet_ruleset_choices *packet);
2551
2552int send_packet_ruleset_select(struct connection *pc, const struct packet_ruleset_select *packet);
2553
2554int send_packet_game_load(struct connection *pc, const struct packet_game_load *packet);
2555void lsend_packet_game_load(struct conn_list *dest, const struct packet_game_load *packet);
2556int dsend_packet_game_load(struct connection *pc, bool load_successful, const char *load_filename);
2557void dlsend_packet_game_load(struct conn_list *dest, bool load_successful, const char *load_filename);
2558
2559int send_packet_server_setting_control(struct connection *pc, const struct packet_server_setting_control *packet);
2560
2561int send_packet_server_setting_const(struct connection *pc, const struct packet_server_setting_const *packet);
2562
2563int send_packet_server_setting_bool(struct connection *pc, const struct packet_server_setting_bool *packet);
2564
2565int send_packet_server_setting_int(struct connection *pc, const struct packet_server_setting_int *packet);
2566
2567int send_packet_server_setting_str(struct connection *pc, const struct packet_server_setting_str *packet);
2568
2569int send_packet_server_setting_enum(struct connection *pc, const struct packet_server_setting_enum *packet);
2570
2571int send_packet_server_setting_bitwise(struct connection *pc, const struct packet_server_setting_bitwise *packet);
2572
2573int send_packet_set_topology(struct connection *pc, const struct packet_set_topology *packet);
2574
2575int send_packet_ruleset_effect(struct connection *pc, const struct packet_ruleset_effect *packet);
2576void lsend_packet_ruleset_effect(struct conn_list *dest, const struct packet_ruleset_effect *packet);
2577
2578int send_packet_ruleset_resource(struct connection *pc, const struct packet_ruleset_resource *packet);
2579void lsend_packet_ruleset_resource(struct conn_list *dest, const struct packet_ruleset_resource *packet);
2580
2581int send_packet_scenario_info(struct connection *pc, const struct packet_scenario_info *packet);
2582
2583int send_packet_scenario_description(struct connection *pc, const struct packet_scenario_description *packet);
2584
2585int send_packet_save_scenario(struct connection *pc, const struct packet_save_scenario *packet);
2586int dsend_packet_save_scenario(struct connection *pc, const char *name);
2587
2588int send_packet_vote_new(struct connection *pc, const struct packet_vote_new *packet);
2589
2590int send_packet_vote_update(struct connection *pc, const struct packet_vote_update *packet);
2591
2592int send_packet_vote_remove(struct connection *pc, const struct packet_vote_remove *packet);
2593
2594int send_packet_vote_resolve(struct connection *pc, const struct packet_vote_resolve *packet);
2595
2596int send_packet_vote_submit(struct connection *pc, const struct packet_vote_submit *packet);
2597
2598int send_packet_edit_mode(struct connection *pc, const struct packet_edit_mode *packet);
2599int dsend_packet_edit_mode(struct connection *pc, bool state);
2600
2601int send_packet_edit_recalculate_borders(struct connection *pc);
2602
2603int send_packet_edit_check_tiles(struct connection *pc);
2604
2605int send_packet_edit_toggle_fogofwar(struct connection *pc, const struct packet_edit_toggle_fogofwar *packet);
2606int dsend_packet_edit_toggle_fogofwar(struct connection *pc, int player);
2607
2608int send_packet_edit_tile_terrain(struct connection *pc, const struct packet_edit_tile_terrain *packet);
2609int dsend_packet_edit_tile_terrain(struct connection *pc, int tile, Terrain_type_id terrain, int size);
2610
2611int send_packet_edit_tile_extra(struct connection *pc, const struct packet_edit_tile_extra *packet);
2612int dsend_packet_edit_tile_extra(struct connection *pc, int tile, int extra_type_id, bool removal, int eowner, int size);
2613
2614int send_packet_edit_startpos(struct connection *pc, const struct packet_edit_startpos *packet);
2615int dsend_packet_edit_startpos(struct connection *pc, int id, bool removal, int tag);
2616
2617int send_packet_edit_startpos_full(struct connection *pc, const struct packet_edit_startpos_full *packet);
2618
2619int send_packet_edit_tile(struct connection *pc, const struct packet_edit_tile *packet);
2620
2621int send_packet_edit_unit_create(struct connection *pc, const struct packet_edit_unit_create *packet);
2622int dsend_packet_edit_unit_create(struct connection *pc, int owner, int tile, Unit_type_id type, int count, int tag);
2623
2624int send_packet_edit_unit_remove(struct connection *pc, const struct packet_edit_unit_remove *packet);
2625int dsend_packet_edit_unit_remove(struct connection *pc, int owner, int tile, Unit_type_id type, int count);
2626
2627int send_packet_edit_unit_remove_by_id(struct connection *pc, const struct packet_edit_unit_remove_by_id *packet);
2628int dsend_packet_edit_unit_remove_by_id(struct connection *pc, int id);
2629
2630int send_packet_edit_unit(struct connection *pc, const struct packet_edit_unit *packet);
2631
2632int send_packet_edit_city_create(struct connection *pc, const struct packet_edit_city_create *packet);
2633int dsend_packet_edit_city_create(struct connection *pc, int owner, int tile, int size, int tag);
2634
2635int send_packet_edit_city_remove(struct connection *pc, const struct packet_edit_city_remove *packet);
2636int dsend_packet_edit_city_remove(struct connection *pc, int id);
2637
2638int send_packet_edit_city(struct connection *pc, const struct packet_edit_city *packet);
2639
2640int send_packet_edit_player_create(struct connection *pc, const struct packet_edit_player_create *packet);
2641int dsend_packet_edit_player_create(struct connection *pc, int tag);
2642
2643int send_packet_edit_player_remove(struct connection *pc, const struct packet_edit_player_remove *packet);
2644int dsend_packet_edit_player_remove(struct connection *pc, int id);
2645
2646int send_packet_edit_player(struct connection *pc, const struct packet_edit_player *packet);
2647void lsend_packet_edit_player(struct conn_list *dest, const struct packet_edit_player *packet);
2648
2649int send_packet_edit_player_vision(struct connection *pc, const struct packet_edit_player_vision *packet);
2650int dsend_packet_edit_player_vision(struct connection *pc, int player, int tile, bool known, int size);
2651
2652int send_packet_edit_game(struct connection *pc, const struct packet_edit_game *packet);
2653
2654int send_packet_edit_scenario_desc(struct connection *pc, const struct packet_edit_scenario_desc *packet);
2655
2656int send_packet_edit_object_created(struct connection *pc, const struct packet_edit_object_created *packet);
2657int dsend_packet_edit_object_created(struct connection *pc, int tag, int id);
2658
2659int send_packet_play_music(struct connection *pc, const struct packet_play_music *packet);
2660void lsend_packet_play_music(struct conn_list *dest, const struct packet_play_music *packet);
2661
2662int send_packet_web_city_info_addition(struct connection *pc, const struct packet_web_city_info_addition *packet, bool force_to_send);
2663void lsend_packet_web_city_info_addition(struct conn_list *dest, const struct packet_web_city_info_addition *packet, bool force_to_send);
2664
2665int send_packet_web_cma_set(struct connection *pc, const struct packet_web_cma_set *packet);
2666
2667int send_packet_web_cma_clear(struct connection *pc, const struct packet_web_cma_clear *packet);
2668
2669int send_packet_web_player_info_addition(struct connection *pc, const struct packet_web_player_info_addition *packet);
2670
2671int send_packet_web_ruleset_unit_addition(struct connection *pc, const struct packet_web_ruleset_unit_addition *packet);
2672void lsend_packet_web_ruleset_unit_addition(struct conn_list *dest, const struct packet_web_ruleset_unit_addition *packet);
2673
2674void delta_stats_report(void);
2675void delta_stats_reset(void);
2676
2677#ifdef __cplusplus
2678}
2679#endif /* __cplusplus */
2680
2681#endif /* FC__PACKETS_GEN_H */
actions.h
MAX_NUM_ACTIONS
#define MAX_NUM_ACTIONS
Definition actions.h:312
city.h
FEELING_LAST
@ FEELING_LAST
Definition city.h:285
cm.h
incite_cost
char * incite_cost
Definition comments.c:74
ATTRIBUTE_CHUNK_SIZE
#define ATTRIBUTE_CHUNK_SIZE
Definition conn_types.h:66
MAX_LEN_CONTENT
#define MAX_LEN_CONTENT
Definition conn_types.h:32
MAX_LEN_PACKET
#define MAX_LEN_PACKET
Definition conn_types.h:29
MAX_LEN_PASSWORD
#define MAX_LEN_PASSWORD
Definition conn_types.h:31
MAX_LEN_MSG
#define MAX_LEN_MSG
Definition conn_types.h:37
MAX_LEN_CAPSTR
#define MAX_LEN_CAPSTR
Definition conn_types.h:30
report_type
report_type
Definition conn_types.h:49
MAX_LEN_ROUTE
#define MAX_LEN_ROUTE
Definition conn_types.h:38
authentication_type
authentication_type
Definition conn_types.h:41
cost
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int cost
Definition dialogs_g.h:74
disaster.h
reqs
struct @21::@22 reqs
MAX_NUM_CONNECTIONS
#define MAX_NUM_CONNECTIONS
Definition fc_types.h:38
MAX_CITY_NATIONALITIES
#define MAX_CITY_NATIONALITIES
Definition fc_types.h:89
MAX_VET_LEVELS
#define MAX_VET_LEVELS
Definition fc_types.h:49
road_compat
road_compat
Definition fc_types.h:1254
MAX_RULESET_NAME_LENGTH
#define MAX_RULESET_NAME_LENGTH
Definition fc_types.h:416
MAX_GRANARY_INIS
#define MAX_GRANARY_INIS
Definition fc_types.h:72
MAX_NUM_NATIONS
#define MAX_NUM_NATIONS
Definition fc_types.h:60
MAX_NUM_RULESETS
#define MAX_NUM_RULESETS
Definition fc_types.h:415
MAX_NUM_NATION_SETS
#define MAX_NUM_NATION_SETS
Definition fc_types.h:57
Goods_type_id
int Goods_type_id
Definition fc_types.h:390
diplomacy_mode
diplomacy_mode
Definition fc_types.h:1050
MAX_NUM_BUILDING_LIST
#define MAX_NUM_BUILDING_LIST
Definition fc_types.h:46
MAX_NUM_REQS
#define MAX_NUM_REQS
Definition fc_types.h:413
MAX_LEN_ENUM
#define MAX_LEN_ENUM
Definition fc_types.h:74
Impr_type_id
int Impr_type_id
Definition fc_types.h:379
revolen_type
revolen_type
Definition fc_types.h:1283
Nation_type_id
int Nation_type_id
Definition fc_types.h:383
Terrain_type_id
int Terrain_type_id
Definition fc_types.h:376
action_id
int action_id
Definition fc_types.h:392
SP_MAX
#define SP_MAX
Definition fc_types.h:412
Specialist_type_id
int Specialist_type_id
Definition fc_types.h:378
Government_type_id
int Government_type_id
Definition fc_types.h:384
MAX_CALENDAR_FRAGMENTS
#define MAX_CALENDAR_FRAGMENTS
Definition fc_types.h:62
MAX_NUM_NATION_GROUPS
#define MAX_NUM_NATION_GROUPS
Definition fc_types.h:58
MAX_NUM_PLAYER_SLOTS
#define MAX_NUM_PLAYER_SLOTS
Definition fc_types.h:32
MAX_NUM_LEADERS
#define MAX_NUM_LEADERS
Definition fc_types.h:56
happyborders_type
happyborders_type
Definition fc_types.h:1290
MAX_NUM_MULTIPLIERS
#define MAX_NUM_MULTIPLIERS
Definition fc_types.h:55
Resource_type_id
int Resource_type_id
Definition fc_types.h:377
MAX_NUM_UNIT_LIST
#define MAX_NUM_UNIT_LIST
Definition fc_types.h:45
MAX_EXTRA_TYPES
#define MAX_EXTRA_TYPES
Definition fc_types.h:50
counter_target
counter_target
Definition fc_types.h:126
MAX_LEN_MAP_LABEL
#define MAX_LEN_MAP_LABEL
Definition fc_types.h:68
MAX_LEN_NAME
#define MAX_LEN_NAME
Definition fc_types.h:66
spaceship_place_type
spaceship_place_type
Definition fc_types.h:1297
Unit_type_id
int Unit_type_id
Definition fc_types.h:385
MAX_NUM_TECH_LIST
#define MAX_NUM_TECH_LIST
Definition fc_types.h:44
victory_condition_type
victory_condition_type
Definition fc_types.h:1271
O_LAST
@ O_LAST
Definition fc_types.h:101
MAX_LEN_CITYNAME
#define MAX_LEN_CITYNAME
Definition fc_types.h:67
Continent_id
signed short Continent_id
Definition fc_types.h:375
MAX_CITY_TILES
#define MAX_CITY_TILES
Definition fc_types.h:87
MAX_COUNTERS
#define MAX_COUNTERS
Definition fc_types.h:106
borders_mode
borders_mode
Definition fc_types.h:1037
Base_type_id
int Base_type_id
Definition fc_types.h:386
Multiplier_type_id
int Multiplier_type_id
Definition fc_types.h:389
actor_unit_id
static int actor_unit_id
Definition action_dialog.c:68
target_extra_id
static int target_extra_id
Definition action_dialog.c:70
owner
struct city * owner
Definition citydlg.c:220
load_filename
static void load_filename(const char *filename)
Definition pages.c:2840
type
GType type
Definition repodlgs.c:1313
B_LAST
#define B_LAST
Definition improvement.h:42
name
const char * name
Definition inputfile.c:127
dsend_packet_edit_city_create
int dsend_packet_edit_city_create(struct connection *pc, int owner, int tile, int size, int tag)
Definition packets_gen.c:78441
dsend_packet_unit_change_activity
int dsend_packet_unit_change_activity(struct connection *pc, int unit_id, enum unit_activity activity, int target)
Definition packets_gen.c:33614
lsend_packet_ruleset_summary
void lsend_packet_ruleset_summary(struct conn_list *dest, const struct packet_ruleset_summary *packet)
Definition packets_gen.c:67542
dsend_packet_diplomacy_create_clause_req
int dsend_packet_diplomacy_create_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
Definition packets_gen.c:34732
send_packet_conn_ping
int send_packet_conn_ping(struct connection *pc)
Definition packets_gen.c:37973
lsend_packet_diplomacy_create_clause
void lsend_packet_diplomacy_create_clause(struct conn_list *dest, const struct packet_diplomacy_create_clause *packet)
Definition packets_gen.c:35037
send_packet_player_change_government
int send_packet_player_change_government(struct connection *pc, const struct packet_player_change_government *packet)
Definition packets_gen.c:24966
send_packet_diplomacy_accept_treaty
int send_packet_diplomacy_accept_treaty(struct connection *pc, const struct packet_diplomacy_accept_treaty *packet)
Definition packets_gen.c:36066
send_packet_ruleset_counter
int send_packet_ruleset_counter(struct connection *pc, const struct packet_ruleset_counter *packet)
Definition packets_gen.c:64240
send_packet_city_rally_point
int send_packet_city_rally_point(struct connection *pc, const struct packet_city_rally_point *packet, bool force_to_send)
Definition packets_gen.c:21281
delta_stats_reset
void delta_stats_reset(void)
Definition packets_gen.c:46
send_packet_vote_resolve
int send_packet_vote_resolve(struct connection *pc, const struct packet_vote_resolve *packet)
Definition packets_gen.c:74866
lsend_packet_start_phase
void lsend_packet_start_phase(struct conn_list *dest, const struct packet_start_phase *packet)
Definition packets_gen.c:38502
lsend_packet_ruleset_building
void lsend_packet_ruleset_building(struct conn_list *dest, const struct packet_ruleset_building *packet)
Definition packets_gen.c:53473
send_packet_edit_city
int send_packet_edit_city(struct connection *pc, const struct packet_edit_city *packet)
Definition packets_gen.c:80422
send_packet_server_setting_bitwise
int send_packet_server_setting_bitwise(struct connection *pc, const struct packet_server_setting_bitwise *packet)
Definition packets_gen.c:72042
lsend_packet_new_year
void lsend_packet_new_year(struct conn_list *dest, const struct packet_new_year *packet)
Definition packets_gen.c:38771
lsend_packet_endgame_player
void lsend_packet_endgame_player(struct conn_list *dest, const struct packet_endgame_player *packet)
Definition packets_gen.c:3147
send_packet_ruleset_game
int send_packet_ruleset_game(struct connection *pc, const struct packet_ruleset_game *packet)
Definition packets_gen.c:44978
lsend_packet_ruleset_unit_class_flag
void lsend_packet_ruleset_unit_class_flag(struct conn_list *dest, const struct packet_ruleset_unit_class_flag *packet)
Definition packets_gen.c:43600
send_packet_unknown_research
int send_packet_unknown_research(struct connection *pc, const struct packet_unknown_research *packet)
Definition packets_gen.c:26955
lsend_packet_tile_info
void lsend_packet_tile_info(struct conn_list *dest, const struct packet_tile_info *packet)
Definition packets_gen.c:3860
send_packet_ruleset_resource
int send_packet_ruleset_resource(struct connection *pc, const struct packet_ruleset_resource *packet)
Definition packets_gen.c:73015
dsend_packet_player_rates
int dsend_packet_player_rates(struct connection *pc, int tax, int luxury, int science)
Definition packets_gen.c:24791
dsend_packet_spaceship_place
int dsend_packet_spaceship_place(struct connection *pc, enum spaceship_place_type type, int num)
Definition packets_gen.c:39171
dlsend_packet_city_remove
void dlsend_packet_city_remove(struct conn_list *dest, int city_id)
Definition packets_gen.c:12845
send_packet_ruleset_unit_bonus
int send_packet_ruleset_unit_bonus(struct connection *pc, const struct packet_ruleset_unit_bonus *packet)
Definition packets_gen.c:43086
send_packet_edit_unit_create
int send_packet_edit_unit_create(struct connection *pc, const struct packet_edit_unit_create *packet)
Definition packets_gen.c:76914
lsend_packet_edit_player
void lsend_packet_edit_player(struct conn_list *dest, const struct packet_edit_player *packet)
Definition packets_gen.c:82046
send_packet_end_turn
int send_packet_end_turn(struct connection *pc)
Definition packets_gen.c:38833
send_packet_ruleset_achievement
int send_packet_ruleset_achievement(struct connection *pc, const struct packet_ruleset_achievement *packet)
Definition packets_gen.c:61762
send_packet_edit_city_create
int send_packet_edit_city_create(struct connection *pc, const struct packet_edit_city_create *packet)
Definition packets_gen.c:78429
lsend_packet_research_info
void lsend_packet_research_info(struct conn_list *dest, const struct packet_research_info *packet)
Definition packets_gen.c:26777
send_packet_worker_task
int send_packet_worker_task(struct connection *pc, const struct packet_worker_task *packet)
Definition packets_gen.c:21620
lsend_packet_city_update_counters
void lsend_packet_city_update_counters(struct conn_list *dest, const struct packet_city_update_counters *packet)
Definition packets_gen.c:16906
lsend_packet_web_ruleset_unit_addition
void lsend_packet_web_ruleset_unit_addition(struct conn_list *dest, const struct packet_web_ruleset_unit_addition *packet)
Definition packets_gen.c:84897
dlsend_packet_ruleset_multiplier
void dlsend_packet_ruleset_multiplier(struct conn_list *dest, Multiplier_type_id id, int start, int stop, int step, int def, int offset, int factor, int minimum_turns, const char *name, const char *rule_name, int reqs_count, const struct requirement *reqs, const char *helptext)
Definition packets_gen.c:65466
lsend_packet_map_info
void lsend_packet_map_info(struct conn_list *dest, const struct packet_map_info *packet)
Definition packets_gen.c:10535
dsend_packet_connect_msg
int dsend_packet_connect_msg(struct connection *pc, const char *message)
Definition packets_gen.c:12269
send_packet_edit_toggle_fogofwar
int send_packet_edit_toggle_fogofwar(struct connection *pc, const struct packet_edit_toggle_fogofwar *packet)
Definition packets_gen.c:75325
lsend_packet_game_load
void lsend_packet_game_load(struct conn_list *dest, const struct packet_game_load *packet)
Definition packets_gen.c:68700
lsend_packet_ruleset_achievement
void lsend_packet_ruleset_achievement(struct conn_list *dest, const struct packet_ruleset_achievement *packet)
Definition packets_gen.c:61774
lsend_packet_ruleset_nation_sets
void lsend_packet_ruleset_nation_sets(struct conn_list *dest, const struct packet_ruleset_nation_sets *packet)
Definition packets_gen.c:48944
send_packet_city_name_suggestion_info
int send_packet_city_name_suggestion_info(struct connection *pc, const struct packet_city_name_suggestion_info *packet)
Definition packets_gen.c:20514
send_packet_ruleset_government
int send_packet_ruleset_government(struct connection *pc, const struct packet_ruleset_government *packet)
Definition packets_gen.c:47741
send_packet_unit_remove
int send_packet_unit_remove(struct connection *pc, const struct packet_unit_remove *packet)
Definition packets_gen.c:27491
lsend_packet_city_nationalities
void lsend_packet_city_nationalities(struct conn_list *dest, const struct packet_city_nationalities *packet, bool force_to_send)
Definition packets_gen.c:16533
send_packet_player_phase_done
int send_packet_player_phase_done(struct connection *pc, const struct packet_player_phase_done *packet)
Definition packets_gen.c:24526
lsend_packet_ruleset_multiplier
void lsend_packet_ruleset_multiplier(struct conn_list *dest, const struct packet_ruleset_multiplier *packet)
Definition packets_gen.c:65432
dsend_packet_diplomacy_cancel_meeting
int dsend_packet_diplomacy_cancel_meeting(struct connection *pc, int counterpart, int initiated_from)
Definition packets_gen.c:34419
dsend_packet_player_remove
int dsend_packet_player_remove(struct connection *pc, int playerno)
Definition packets_gen.c:21815
lsend_packet_ruleset_city
void lsend_packet_ruleset_city(struct conn_list *dest, const struct packet_ruleset_city *packet)
Definition packets_gen.c:52378
send_packet_edit_game
int send_packet_edit_game(struct connection *pc, const struct packet_edit_game *packet)
Definition packets_gen.c:82662
lsend_packet_diplomacy_cancel_meeting
void lsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, const struct packet_diplomacy_cancel_meeting *packet)
Definition packets_gen.c:34412
dsend_packet_diplomacy_cancel_pact
int dsend_packet_diplomacy_cancel_pact(struct connection *pc, int other_player_id, enum clause_type clause)
Definition packets_gen.c:36322
send_packet_nation_availability
int send_packet_nation_availability(struct connection *pc, const struct packet_nation_availability *packet)
Definition packets_gen.c:51569
dsend_packet_authentication_req
int dsend_packet_authentication_req(struct connection *pc, enum authentication_type type, const char *message)
Definition packets_gen.c:2103
send_packet_ruleset_nation_sets
int send_packet_ruleset_nation_sets(struct connection *pc, const struct packet_ruleset_nation_sets *packet)
Definition packets_gen.c:48932
dsend_packet_city_sell
int dsend_packet_city_sell(struct connection *pc, int city_id, int build_id)
Definition packets_gen.c:18181
lsend_packet_ruleset_unit
void lsend_packet_ruleset_unit(struct conn_list *dest, const struct packet_ruleset_unit *packet)
Definition packets_gen.c:42758
send_packet_unit_action_query
int send_packet_unit_action_query(struct connection *pc, const struct packet_unit_action_query *packet)
Definition packets_gen.c:31611
dsend_packet_diplomacy_init_meeting_req
int dsend_packet_diplomacy_init_meeting_req(struct connection *pc, int counterpart)
Definition packets_gen.c:33791
dsend_packet_unit_do_action
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)
Definition packets_gen.c:32152
send_packet_city_make_specialist
int send_packet_city_make_specialist(struct connection *pc, const struct packet_city_make_specialist *packet)
Definition packets_gen.c:19029
send_packet_ruleset_unit_class
int send_packet_ruleset_unit_class(struct connection *pc, const struct packet_ruleset_unit_class *packet)
Definition packets_gen.c:56524
send_packet_ruleset_multiplier
int send_packet_ruleset_multiplier(struct connection *pc, const struct packet_ruleset_multiplier *packet)
Definition packets_gen.c:65420
send_packet_ruleset_extra_flag
int send_packet_ruleset_extra_flag(struct connection *pc, const struct packet_ruleset_extra_flag *packet)
Definition packets_gen.c:58880
lsend_packet_unit_remove
void lsend_packet_unit_remove(struct conn_list *dest, const struct packet_unit_remove *packet)
Definition packets_gen.c:27503
dsend_packet_diplomacy_remove_clause
int dsend_packet_diplomacy_remove_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
Definition packets_gen.c:35673
send_packet_city_rename
int send_packet_city_rename(struct connection *pc, const struct packet_city_rename *packet)
Definition packets_gen.c:19734
dlsend_packet_diplomacy_init_meeting
void dlsend_packet_diplomacy_init_meeting(struct conn_list *dest, int counterpart, int initiated_from)
Definition packets_gen.c:34022
send_packet_ruleset_select
int send_packet_ruleset_select(struct connection *pc, const struct packet_ruleset_select *packet)
Definition packets_gen.c:68502
send_packet_endgame_player
int send_packet_endgame_player(struct connection *pc, const struct packet_endgame_player *packet)
Definition packets_gen.c:3135
lsend_packet_ruleset_clause
void lsend_packet_ruleset_clause(struct conn_list *dest, const struct packet_ruleset_clause *packet)
Definition packets_gen.c:66045
send_packet_new_year
int send_packet_new_year(struct connection *pc, const struct packet_new_year *packet)
Definition packets_gen.c:38759
send_packet_server_setting_str
int send_packet_server_setting_str(struct connection *pc, const struct packet_server_setting_str *packet)
Definition packets_gen.c:70626
send_packet_ruleset_road
int send_packet_ruleset_road(struct connection *pc, const struct packet_ruleset_road *packet)
Definition packets_gen.c:60272
lsend_packet_chat_msg
void lsend_packet_chat_msg(struct conn_list *dest, const struct packet_chat_msg *packet)
Definition packets_gen.c:11543
send_packet_ruleset_unit_flag
int send_packet_ruleset_unit_flag(struct connection *pc, const struct packet_ruleset_unit_flag *packet)
Definition packets_gen.c:43337
send_packet_ruleset_city
int send_packet_ruleset_city(struct connection *pc, const struct packet_ruleset_city *packet)
Definition packets_gen.c:52366
send_packet_ruleset_goods
int send_packet_ruleset_goods(struct connection *pc, const struct packet_ruleset_goods *packet)
Definition packets_gen.c:60896
lsend_packet_begin_turn
void lsend_packet_begin_turn(struct conn_list *dest)
Definition packets_gen.c:38808
send_packet_unit_type_upgrade
int send_packet_unit_type_upgrade(struct connection *pc, const struct packet_unit_type_upgrade *packet)
Definition packets_gen.c:31799
delta_stats_report
void delta_stats_report(void)
Definition packets_gen.c:44
send_packet_processing_finished
int send_packet_processing_finished(struct connection *pc)
Definition packets_gen.c:1142
lsend_packet_ruleset_unit_flag
void lsend_packet_ruleset_unit_flag(struct conn_list *dest, const struct packet_ruleset_unit_flag *packet)
Definition packets_gen.c:43349
send_packet_page_msg
int send_packet_page_msg(struct connection *pc, const struct packet_page_msg *packet)
Definition packets_gen.c:36652
send_packet_conn_pong
int send_packet_conn_pong(struct connection *pc)
Definition packets_gen.c:38003
send_packet_player_multiplier
int send_packet_player_multiplier(struct connection *pc, const struct packet_player_multiplier *packet)
Definition packets_gen.c:26259
send_packet_server_join_req
int send_packet_server_join_req(struct connection *pc, const struct packet_server_join_req *packet)
Definition packets_gen.c:1740
lsend_packet_endgame_report
void lsend_packet_endgame_report(struct conn_list *dest, const struct packet_endgame_report *packet)
Definition packets_gen.c:2975
send_packet_endgame_report
int send_packet_endgame_report(struct connection *pc, const struct packet_endgame_report *packet)
Definition packets_gen.c:2963
send_packet_server_setting_const
int send_packet_server_setting_const(struct connection *pc, const struct packet_server_setting_const *packet)
Definition packets_gen.c:69414
send_packet_city_remove
int send_packet_city_remove(struct connection *pc, const struct packet_city_remove *packet)
Definition packets_gen.c:12817
dsend_packet_city_options_req
int dsend_packet_city_options_req(struct connection *pc, int city_id, bv_city_options options)
Definition packets_gen.c:19961
lsend_packet_conn_info
void lsend_packet_conn_info(struct conn_list *dest, const struct packet_conn_info *packet)
Definition packets_gen.c:37497
send_packet_server_info
int send_packet_server_info(struct connection *pc, const struct packet_server_info *packet)
Definition packets_gen.c:12588
send_packet_edit_unit_remove
int send_packet_edit_unit_remove(struct connection *pc, const struct packet_edit_unit_remove *packet)
Definition packets_gen.c:77220
send_packet_unit_server_side_agent_set
int send_packet_unit_server_side_agent_set(struct connection *pc, const struct packet_unit_server_side_agent_set *packet)
Definition packets_gen.c:31308
dsend_packet_investigate_finished
int dsend_packet_investigate_finished(struct connection *pc, int unit_id, int city_id)
Definition packets_gen.c:1598
lsend_packet_early_chat_msg
void lsend_packet_early_chat_msg(struct conn_list *dest, const struct packet_early_chat_msg *packet)
Definition packets_gen.c:11921
send_packet_city_name_suggestion_req
int send_packet_city_name_suggestion_req(struct connection *pc, const struct packet_city_name_suggestion_req *packet)
Definition packets_gen.c:20300
send_packet_ruleset_extra
int send_packet_ruleset_extra(struct connection *pc, const struct packet_ruleset_extra *packet)
Definition packets_gen.c:58629
send_packet_city_info
int send_packet_city_info(struct connection *pc, const struct packet_city_info *packet, bool force_to_send)
Definition packets_gen.c:16008
lsend_packet_ruleset_action
void lsend_packet_ruleset_action(struct conn_list *dest, const struct packet_ruleset_action *packet)
Definition packets_gen.c:62698
send_packet_unit_actions
int send_packet_unit_actions(struct connection *pc, const struct packet_unit_actions *packet)
Definition packets_gen.c:33327
send_packet_ruleset_tech_class
int send_packet_ruleset_tech_class(struct connection *pc, const struct packet_ruleset_tech_class *packet)
Definition packets_gen.c:46934
lsend_packet_trade_route_info
void lsend_packet_trade_route_info(struct conn_list *dest, const struct packet_trade_route_info *packet)
Definition packets_gen.c:17969
lsend_packet_diplomacy_accept_treaty
void lsend_packet_diplomacy_accept_treaty(struct conn_list *dest, const struct packet_diplomacy_accept_treaty *packet)
Definition packets_gen.c:36078
dsend_packet_server_join_req
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)
Definition packets_gen.c:1752
send_packet_ruleset_summary
int send_packet_ruleset_summary(struct connection *pc, const struct packet_ruleset_summary *packet)
Definition packets_gen.c:67530
lsend_packet_ruleset_extra
void lsend_packet_ruleset_extra(struct conn_list *dest, const struct packet_ruleset_extra *packet)
Definition packets_gen.c:58641
send_packet_edit_tile_extra
int send_packet_edit_tile_extra(struct connection *pc, const struct packet_edit_tile_extra *packet)
Definition packets_gen.c:75930
dsend_packet_server_info
int dsend_packet_server_info(struct connection *pc, const char *version_label, int major_version, int minor_version, int patch_version, int emerg_version)
Definition packets_gen.c:12600
lsend_packet_ruleset_nation_groups
void lsend_packet_ruleset_nation_groups(struct conn_list *dest, const struct packet_ruleset_nation_groups *packet)
Definition packets_gen.c:49395
lsend_packet_ruleset_terrain_control
void lsend_packet_ruleset_terrain_control(struct conn_list *dest, const struct packet_ruleset_terrain_control *packet)
Definition packets_gen.c:48317
send_packet_single_want_hack_req
int send_packet_single_want_hack_req(struct connection *pc, const struct packet_single_want_hack_req *packet)
Definition packets_gen.c:67876
dlsend_packet_diplomacy_remove_clause
void dlsend_packet_diplomacy_remove_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value)
Definition packets_gen.c:35685
lsend_packet_ruleset_government_ruler_title
void lsend_packet_ruleset_government_ruler_title(struct conn_list *dest, const struct packet_ruleset_government_ruler_title *packet)
Definition packets_gen.c:45895
send_packet_scenario_info
int send_packet_scenario_info(struct connection *pc, const struct packet_scenario_info *packet)
Definition packets_gen.c:73505
send_packet_ruleset_base
int send_packet_ruleset_base(struct connection *pc, const struct packet_ruleset_base *packet)
Definition packets_gen.c:59258
dlsend_packet_unit_remove
void dlsend_packet_unit_remove(struct conn_list *dest, int unit_id)
Definition packets_gen.c:27519
send_packet_server_setting_int
int send_packet_server_setting_int(struct connection *pc, const struct packet_server_setting_int *packet)
Definition packets_gen.c:70238
send_packet_web_ruleset_unit_addition
int send_packet_web_ruleset_unit_addition(struct connection *pc, const struct packet_web_ruleset_unit_addition *packet)
Definition packets_gen.c:84885
lsend_packet_ruleset_music
void lsend_packet_ruleset_music(struct conn_list *dest, const struct packet_ruleset_music *packet)
Definition packets_gen.c:64681
send_packet_ruleset_choices
int send_packet_ruleset_choices(struct connection *pc, const struct packet_ruleset_choices *packet)
Definition packets_gen.c:68336
send_packet_server_setting_control
int send_packet_server_setting_control(struct connection *pc, const struct packet_server_setting_control *packet)
Definition packets_gen.c:69068
dsend_packet_chat_msg_req
int dsend_packet_chat_msg_req(struct connection *pc, const char *message)
Definition packets_gen.c:12094
send_packet_play_music
int send_packet_play_music(struct connection *pc, const struct packet_play_music *packet)
Definition packets_gen.c:83209
send_packet_server_setting_bool
int send_packet_server_setting_bool(struct connection *pc, const struct packet_server_setting_bool *packet)
Definition packets_gen.c:69770
dsend_packet_unit_remove
int dsend_packet_unit_remove(struct connection *pc, int unit_id)
Definition packets_gen.c:27510
dsend_packet_city_worklist
int dsend_packet_city_worklist(struct connection *pc, int city_id, const struct worklist *worklist)
Definition packets_gen.c:18826
send_packet_city_change
int send_packet_city_change(struct connection *pc, const struct packet_city_change *packet)
Definition packets_gen.c:18598
send_packet_processing_started
int send_packet_processing_started(struct connection *pc)
Definition packets_gen.c:1112
send_packet_report_req
int send_packet_report_req(struct connection *pc, const struct packet_report_req *packet)
Definition packets_gen.c:37008
dsend_packet_diplomacy_create_clause
int dsend_packet_diplomacy_create_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
Definition packets_gen.c:35044
send_packet_vote_submit
int send_packet_vote_submit(struct connection *pc, const struct packet_vote_submit *packet)
Definition packets_gen.c:74944
send_packet_trade_route_info
int send_packet_trade_route_info(struct connection *pc, const struct packet_trade_route_info *packet)
Definition packets_gen.c:17957
lsend_packet_city_info
void lsend_packet_city_info(struct conn_list *dest, const struct packet_city_info *packet, bool force_to_send)
Definition packets_gen.c:16020
dsend_packet_city_make_specialist
int dsend_packet_city_make_specialist(struct connection *pc, int city_id, int tile_id)
Definition packets_gen.c:19041
send_packet_chat_msg
int send_packet_chat_msg(struct connection *pc, const struct packet_chat_msg *packet)
Definition packets_gen.c:11531
lsend_packet_ruleset_control
void lsend_packet_ruleset_control(struct conn_list *dest, const struct packet_ruleset_control *packet)
Definition packets_gen.c:67369
send_packet_unit_do_action
int send_packet_unit_do_action(struct connection *pc, const struct packet_unit_do_action *packet)
Definition packets_gen.c:32140
send_packet_early_chat_msg
int send_packet_early_chat_msg(struct connection *pc, const struct packet_early_chat_msg *packet)
Definition packets_gen.c:11909
send_packet_ruleset_action_auto
int send_packet_ruleset_action_auto(struct connection *pc, const struct packet_ruleset_action_auto *packet)
Definition packets_gen.c:63813
dsend_packet_nuke_tile_info
int dsend_packet_nuke_tile_info(struct connection *pc, int tile)
Definition packets_gen.c:10715
send_packet_city_make_worker
int send_packet_city_make_worker(struct connection *pc, const struct packet_city_make_worker *packet)
Definition packets_gen.c:19244
send_packet_diplomacy_remove_clause_req
int send_packet_diplomacy_remove_clause_req(struct connection *pc, const struct packet_diplomacy_remove_clause_req *packet)
Definition packets_gen.c:35349
dsend_packet_diplomacy_cancel_meeting_req
int dsend_packet_diplomacy_cancel_meeting_req(struct connection *pc, int counterpart)
Definition packets_gen.c:34198
send_packet_unit_orders
int send_packet_unit_orders(struct connection *pc, const struct packet_unit_orders *packet)
Definition packets_gen.c:31093
send_packet_conn_ping_info
int send_packet_conn_ping_info(struct connection *pc, const struct packet_conn_ping_info *packet)
Definition packets_gen.c:37936
dsend_packet_unit_get_actions
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)
Definition packets_gen.c:32832
dsend_packet_player_tech_goal
int dsend_packet_player_tech_goal(struct connection *pc, int tech)
Definition packets_gen.c:27308
send_packet_player_rates
int send_packet_player_rates(struct connection *pc, const struct packet_player_rates *packet)
Definition packets_gen.c:24779
send_packet_player_diplstate
int send_packet_player_diplstate(struct connection *pc, const struct packet_player_diplstate *packet)
Definition packets_gen.c:25954
dsend_packet_city_change
int dsend_packet_city_change(struct connection *pc, int city_id, int production_kind, int production_value)
Definition packets_gen.c:18610
send_packet_edit_player_remove
int send_packet_edit_player_remove(struct connection *pc, const struct packet_edit_player_remove *packet)
Definition packets_gen.c:80763
send_packet_city_sabotage_list
int send_packet_city_sabotage_list(struct connection *pc, const struct packet_city_sabotage_list *packet)
Definition packets_gen.c:20873
lsend_packet_team_name_info
void lsend_packet_team_name_info(struct conn_list *dest, const struct packet_team_name_info *packet)
Definition packets_gen.c:10952
dlsend_packet_investigate_finished
void dlsend_packet_investigate_finished(struct conn_list *dest, int unit_id, int city_id)
Definition packets_gen.c:1608
send_packet_web_cma_clear
int send_packet_web_cma_clear(struct connection *pc, const struct packet_web_cma_clear *packet)
Definition packets_gen.c:84430
lsend_packet_ruleset_effect
void lsend_packet_ruleset_effect(struct conn_list *dest, const struct packet_ruleset_effect *packet)
Definition packets_gen.c:72721
dsend_packet_ruleset_multiplier
int dsend_packet_ruleset_multiplier(struct connection *pc, Multiplier_type_id id, int start, int stop, int step, int def, int offset, int factor, int minimum_turns, const char *name, const char *rule_name, int reqs_count, const struct requirement *reqs, const char *helptext)
Definition packets_gen.c:65439
send_packet_city_refresh
int send_packet_city_refresh(struct connection *pc, const struct packet_city_refresh *packet)
Definition packets_gen.c:20125
lsend_packet_unit_short_info
void lsend_packet_unit_short_info(struct conn_list *dest, const struct packet_unit_short_info *packet, bool force_to_send)
Definition packets_gen.c:30041
send_packet_diplomacy_accept_treaty_req
int send_packet_diplomacy_accept_treaty_req(struct connection *pc, const struct packet_diplomacy_accept_treaty_req *packet)
Definition packets_gen.c:35851
send_packet_unit_action_answer
int send_packet_unit_action_answer(struct connection *pc, const struct packet_unit_action_answer *packet)
Definition packets_gen.c:32485
lsend_packet_ruleset_terrain_flag
void lsend_packet_ruleset_terrain_flag(struct conn_list *dest, const struct packet_ruleset_terrain_flag *packet)
Definition packets_gen.c:56090
lsend_packet_ruleset_unit_class
void lsend_packet_ruleset_unit_class(struct conn_list *dest, const struct packet_ruleset_unit_class *packet)
Definition packets_gen.c:56536
dsend_packet_unit_server_side_agent_set
int dsend_packet_unit_server_side_agent_set(struct connection *pc, int unit_id, enum server_side_agent agent)
Definition packets_gen.c:31320
send_packet_edit_player_vision
int send_packet_edit_player_vision(struct connection *pc, const struct packet_edit_player_vision *packet)
Definition packets_gen.c:82305
send_packet_single_want_hack_reply
int send_packet_single_want_hack_reply(struct connection *pc, const struct packet_single_want_hack_reply *packet)
Definition packets_gen.c:68022
send_packet_end_phase
int send_packet_end_phase(struct connection *pc)
Definition packets_gen.c:38317
send_packet_edit_startpos_full
int send_packet_edit_startpos_full(struct connection *pc, const struct packet_edit_startpos_full *packet)
Definition packets_gen.c:76138
lsend_packet_ruleset_disaster
void lsend_packet_ruleset_disaster(struct conn_list *dest, const struct packet_ruleset_disaster *packet)
Definition packets_gen.c:61415
lsend_packet_spaceship_info
void lsend_packet_spaceship_info(struct conn_list *dest, const struct packet_spaceship_info *packet)
Definition packets_gen.c:40047
dsend_packet_diplomacy_init_meeting
int dsend_packet_diplomacy_init_meeting(struct connection *pc, int counterpart, int initiated_from)
Definition packets_gen.c:34012
dsend_packet_city_change_specialist
int dsend_packet_city_change_specialist(struct connection *pc, int city_id, Specialist_type_id from, Specialist_type_id to)
Definition packets_gen.c:19530
send_packet_ruleset_terrain
int send_packet_ruleset_terrain(struct connection *pc, const struct packet_ruleset_terrain *packet)
Definition packets_gen.c:55827
lsend_packet_page_msg
void lsend_packet_page_msg(struct conn_list *dest, const struct packet_page_msg *packet)
Definition packets_gen.c:36664
send_packet_player_info
int send_packet_player_info(struct connection *pc, const struct packet_player_info *packet)
Definition packets_gen.c:24360
send_packet_city_options_req
int send_packet_city_options_req(struct connection *pc, const struct packet_city_options_req *packet)
Definition packets_gen.c:19949
dsend_packet_nation_select_req
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)
Definition packets_gen.c:2629
send_packet_ruleset_clause
int send_packet_ruleset_clause(struct connection *pc, const struct packet_ruleset_clause *packet)
Definition packets_gen.c:66033
send_packet_diplomacy_create_clause_req
int send_packet_diplomacy_create_clause_req(struct connection *pc, const struct packet_diplomacy_create_clause_req *packet)
Definition packets_gen.c:34720
send_packet_city_nationalities
int send_packet_city_nationalities(struct connection *pc, const struct packet_city_nationalities *packet, bool force_to_send)
Definition packets_gen.c:16521
dsend_packet_edit_startpos
int dsend_packet_edit_startpos(struct connection *pc, int id, bool removal, int tag)
Definition packets_gen.c:76047
send_packet_nation_select_req
int send_packet_nation_select_req(struct connection *pc, const struct packet_nation_select_req *packet)
Definition packets_gen.c:2617
lsend_packet_ruleset_description_part
void lsend_packet_ruleset_description_part(struct conn_list *dest, const struct packet_ruleset_description_part *packet)
Definition packets_gen.c:67715
lsend_packet_city_short_info
void lsend_packet_city_short_info(struct conn_list *dest, const struct packet_city_short_info *packet)
Definition packets_gen.c:17581
dsend_packet_city_refresh
int dsend_packet_city_refresh(struct connection *pc, int city_id)
Definition packets_gen.c:20137
lsend_packet_ruleset_government
void lsend_packet_ruleset_government(struct conn_list *dest, const struct packet_ruleset_government *packet)
Definition packets_gen.c:47753
send_packet_ruleset_tech
int send_packet_ruleset_tech(struct connection *pc, const struct packet_ruleset_tech *packet)
Definition packets_gen.c:46644
send_packet_player_place_infra
int send_packet_player_place_infra(struct connection *pc, const struct packet_player_place_infra *packet)
Definition packets_gen.c:25180
send_packet_ruleset_nation
int send_packet_ruleset_nation(struct connection *pc, const struct packet_ruleset_nation *packet)
Definition packets_gen.c:51237
send_packet_begin_turn
int send_packet_begin_turn(struct connection *pc)
Definition packets_gen.c:38796
lsend_packet_ruleset_unit_bonus
void lsend_packet_ruleset_unit_bonus(struct conn_list *dest, const struct packet_ruleset_unit_bonus *packet)
Definition packets_gen.c:43098
dlsend_packet_nuke_tile_info
void dlsend_packet_nuke_tile_info(struct conn_list *dest, int tile)
Definition packets_gen.c:10724
send_packet_connect_msg
int send_packet_connect_msg(struct connection *pc, const struct packet_connect_msg *packet)
Definition packets_gen.c:12257
dsend_packet_city_make_worker
int dsend_packet_city_make_worker(struct connection *pc, int city_id, int tile_id)
Definition packets_gen.c:19256
send_packet_player_remove
int send_packet_player_remove(struct connection *pc, const struct packet_player_remove *packet)
Definition packets_gen.c:21803
send_packet_diplomacy_cancel_meeting_req
int send_packet_diplomacy_cancel_meeting_req(struct connection *pc, const struct packet_diplomacy_cancel_meeting_req *packet)
Definition packets_gen.c:34186
lsend_packet_worker_task
void lsend_packet_worker_task(struct conn_list *dest, const struct packet_worker_task *packet)
Definition packets_gen.c:21632
dsend_packet_player_phase_done
int dsend_packet_player_phase_done(struct connection *pc, int turn)
Definition packets_gen.c:24538
send_packet_investigate_started
int send_packet_investigate_started(struct connection *pc, const struct packet_investigate_started *packet)
Definition packets_gen.c:1347
send_packet_investigate_finished
int send_packet_investigate_finished(struct connection *pc, const struct packet_investigate_finished *packet)
Definition packets_gen.c:1579
send_packet_client_heartbeat
int send_packet_client_heartbeat(struct connection *pc)
Definition packets_gen.c:38033
send_packet_city_short_info
int send_packet_city_short_info(struct connection *pc, const struct packet_city_short_info *packet)
Definition packets_gen.c:17569
send_packet_edit_object_created
int send_packet_edit_object_created(struct connection *pc, const struct packet_edit_object_created *packet)
Definition packets_gen.c:83033
send_packet_authentication_reply
int send_packet_authentication_reply(struct connection *pc, const struct packet_authentication_reply *packet)
Definition packets_gen.c:2267
send_packet_edit_player
int send_packet_edit_player(struct connection *pc, const struct packet_edit_player *packet)
Definition packets_gen.c:82034
lsend_packet_ruleset_base
void lsend_packet_ruleset_base(struct conn_list *dest, const struct packet_ruleset_base *packet)
Definition packets_gen.c:59270
dsend_packet_game_load
int dsend_packet_game_load(struct connection *pc, bool load_successful, const char *load_filename)
Definition packets_gen.c:68707
dsend_packet_unit_actions
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)
Definition packets_gen.c:33339
send_packet_unit_short_info
int send_packet_unit_short_info(struct connection *pc, const struct packet_unit_short_info *packet, bool force_to_send)
Definition packets_gen.c:30029
send_packet_ruleset_terrain_flag
int send_packet_ruleset_terrain_flag(struct connection *pc, const struct packet_ruleset_terrain_flag *packet)
Definition packets_gen.c:56078
lsend_packet_unit_info
void lsend_packet_unit_info(struct conn_list *dest, const struct packet_unit_info *packet)
Definition packets_gen.c:29330
dsend_packet_player_change_government
int dsend_packet_player_change_government(struct connection *pc, Government_type_id government)
Definition packets_gen.c:24978
lsend_packet_ruleset_resource
void lsend_packet_ruleset_resource(struct conn_list *dest, const struct packet_ruleset_resource *packet)
Definition packets_gen.c:73027
dlsend_packet_diplomacy_create_clause
void dlsend_packet_diplomacy_create_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value)
Definition packets_gen.c:35056
send_packet_city_update_counters
int send_packet_city_update_counters(struct connection *pc, const struct packet_city_update_counters *packet)
Definition packets_gen.c:16894
lsend_packet_ruleset_specialist
void lsend_packet_ruleset_specialist(struct conn_list *dest, const struct packet_ruleset_specialist *packet)
Definition packets_gen.c:45585
send_packet_conn_info
int send_packet_conn_info(struct connection *pc, const struct packet_conn_info *packet)
Definition packets_gen.c:37485
lsend_packet_play_music
void lsend_packet_play_music(struct conn_list *dest, const struct packet_play_music *packet)
Definition packets_gen.c:83221
send_packet_game_info
int send_packet_game_info(struct connection *pc, const struct packet_game_info *packet)
Definition packets_gen.c:9546
dsend_packet_edit_player_create
int dsend_packet_edit_player_create(struct connection *pc, int tag)
Definition packets_gen.c:80600
lsend_packet_city_name_suggestion_info
void lsend_packet_city_name_suggestion_info(struct conn_list *dest, const struct packet_city_name_suggestion_info *packet)
Definition packets_gen.c:20526
send_packet_web_city_info_addition
int send_packet_web_city_info_addition(struct connection *pc, const struct packet_web_city_info_addition *packet, bool force_to_send)
Definition packets_gen.c:84038
send_packet_edit_unit_remove_by_id
int send_packet_edit_unit_remove_by_id(struct connection *pc, const struct packet_edit_unit_remove_by_id *packet)
Definition packets_gen.c:77398
send_packet_diplomacy_cancel_pact
int send_packet_diplomacy_cancel_pact(struct connection *pc, const struct packet_diplomacy_cancel_pact *packet)
Definition packets_gen.c:36310
dlsend_packet_diplomacy_accept_treaty
void dlsend_packet_diplomacy_accept_treaty(struct conn_list *dest, int counterpart, bool I_accepted, bool other_accepted)
Definition packets_gen.c:36096
send_packet_edit_recalculate_borders
int send_packet_edit_recalculate_borders(struct connection *pc)
Definition packets_gen.c:75129
send_packet_set_topology
int send_packet_set_topology(struct connection *pc, const struct packet_set_topology *packet)
Definition packets_gen.c:72247
send_packet_spaceship_place
int send_packet_spaceship_place(struct connection *pc, const struct packet_spaceship_place *packet)
Definition packets_gen.c:39159
dlsend_packet_start_phase
void dlsend_packet_start_phase(struct conn_list *dest, int phase)
Definition packets_gen.c:38518
dlsend_packet_city_name_suggestion_info
void dlsend_packet_city_name_suggestion_info(struct conn_list *dest, int unit_id, const char *name)
Definition packets_gen.c:20543
lsend_packet_ruleset_tech
void lsend_packet_ruleset_tech(struct conn_list *dest, const struct packet_ruleset_tech *packet)
Definition packets_gen.c:46656
send_packet_authentication_req
int send_packet_authentication_req(struct connection *pc, const struct packet_authentication_req *packet)
Definition packets_gen.c:2091
lsend_packet_ruleset_trade
void lsend_packet_ruleset_trade(struct conn_list *dest, const struct packet_ruleset_trade *packet)
Definition packets_gen.c:62084
send_packet_map_info
int send_packet_map_info(struct connection *pc, const struct packet_map_info *packet)
Definition packets_gen.c:10523
send_packet_freeze_client
int send_packet_freeze_client(struct connection *pc)
Definition packets_gen.c:38870
send_packet_player_attribute_chunk
int send_packet_player_attribute_chunk(struct connection *pc, const struct packet_player_attribute_chunk *packet)
Definition packets_gen.c:25530
send_packet_tile_info
int send_packet_tile_info(struct connection *pc, const struct packet_tile_info *packet)
Definition packets_gen.c:3848
send_packet_edit_unit
int send_packet_edit_unit(struct connection *pc, const struct packet_edit_unit *packet)
Definition packets_gen.c:78146
dsend_packet_player_research
int dsend_packet_player_research(struct connection *pc, int tech)
Definition packets_gen.c:27133
dsend_packet_unit_action_query
int dsend_packet_unit_action_query(struct connection *pc, int actor_id, int target_id, action_id action_type, int request_kind)
Definition packets_gen.c:31623
dsend_packet_city_remove
int dsend_packet_city_remove(struct connection *pc, int city_id)
Definition packets_gen.c:12836
send_packet_nuke_tile_info
int send_packet_nuke_tile_info(struct connection *pc, const struct packet_nuke_tile_info *packet)
Definition packets_gen.c:10696
send_packet_ruleset_unit_class_flag
int send_packet_ruleset_unit_class_flag(struct connection *pc, const struct packet_ruleset_unit_class_flag *packet)
Definition packets_gen.c:43588
dsend_packet_city_rename
int dsend_packet_city_rename(struct connection *pc, int city_id, const char *name)
Definition packets_gen.c:19746
send_packet_ruleset_terrain_control
int send_packet_ruleset_terrain_control(struct connection *pc, const struct packet_ruleset_terrain_control *packet)
Definition packets_gen.c:48305
lsend_packet_ruleset_action_enabler
void lsend_packet_ruleset_action_enabler(struct conn_list *dest, const struct packet_ruleset_action_enabler *packet)
Definition packets_gen.c:63237
send_packet_city_buy
int send_packet_city_buy(struct connection *pc, const struct packet_city_buy *packet)
Definition packets_gen.c:18345
dlsend_packet_game_load
void dlsend_packet_game_load(struct conn_list *dest, bool load_successful, const char *load_filename)
Definition packets_gen.c:68717
dsend_packet_edit_object_created
int dsend_packet_edit_object_created(struct connection *pc, int tag, int id)
Definition packets_gen.c:83045
dlsend_packet_investigate_started
void dlsend_packet_investigate_started(struct conn_list *dest, int unit_id, int city_id)
Definition packets_gen.c:1376
send_packet_edit_scenario_desc
int send_packet_edit_scenario_desc(struct connection *pc, const struct packet_edit_scenario_desc *packet)
Definition packets_gen.c:82828
send_packet_diplomacy_create_clause
int send_packet_diplomacy_create_clause(struct connection *pc, const struct packet_diplomacy_create_clause *packet)
Definition packets_gen.c:35025
send_packet_ruleset_trade
int send_packet_ruleset_trade(struct connection *pc, const struct packet_ruleset_trade *packet)
Definition packets_gen.c:62072
send_packet_player_ready
int send_packet_player_ready(struct connection *pc, const struct packet_player_ready *packet)
Definition packets_gen.c:2816
lsend_packet_nuke_tile_info
void lsend_packet_nuke_tile_info(struct conn_list *dest, const struct packet_nuke_tile_info *packet)
Definition packets_gen.c:10708
lsend_packet_freeze_client
void lsend_packet_freeze_client(struct conn_list *dest)
Definition packets_gen.c:38882
dlsend_packet_diplomacy_cancel_meeting
void dlsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, int counterpart, int initiated_from)
Definition packets_gen.c:34429
lsend_packet_nation_availability
void lsend_packet_nation_availability(struct conn_list *dest, const struct packet_nation_availability *packet)
Definition packets_gen.c:51581
dsend_packet_edit_unit_remove
int dsend_packet_edit_unit_remove(struct connection *pc, int owner, int tile, Unit_type_id type, int count)
Definition packets_gen.c:77232
send_packet_city_change_specialist
int send_packet_city_change_specialist(struct connection *pc, const struct packet_city_change_specialist *packet)
Definition packets_gen.c:19518
lsend_packet_web_city_info_addition
void lsend_packet_web_city_info_addition(struct conn_list *dest, const struct packet_web_city_info_addition *packet, bool force_to_send)
Definition packets_gen.c:84050
send_packet_calendar_info
int send_packet_calendar_info(struct connection *pc, const struct packet_calendar_info *packet)
Definition packets_gen.c:9957
dsend_packet_investigate_started
int dsend_packet_investigate_started(struct connection *pc, int unit_id, int city_id)
Definition packets_gen.c:1366
dsend_packet_edit_unit_remove_by_id
int dsend_packet_edit_unit_remove_by_id(struct connection *pc, int id)
Definition packets_gen.c:77410
dsend_packet_diplomacy_remove_clause_req
int dsend_packet_diplomacy_remove_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
Definition packets_gen.c:35361
send_packet_vote_remove
int send_packet_vote_remove(struct connection *pc, const struct packet_vote_remove *packet)
Definition packets_gen.c:74680
dsend_packet_city_buy
int dsend_packet_city_buy(struct connection *pc, int city_id)
Definition packets_gen.c:18357
send_packet_unit_get_actions
int send_packet_unit_get_actions(struct connection *pc, const struct packet_unit_get_actions *packet)
Definition packets_gen.c:32820
send_packet_unit_change_activity
int send_packet_unit_change_activity(struct connection *pc, const struct packet_unit_change_activity *packet)
Definition packets_gen.c:33602
dsend_packet_start_phase
int dsend_packet_start_phase(struct connection *pc, int phase)
Definition packets_gen.c:38509
lsend_packet_ruleset_style
void lsend_packet_ruleset_style(struct conn_list *dest, const struct packet_ruleset_style *packet)
Definition packets_gen.c:51832
send_packet_chat_msg_req
int send_packet_chat_msg_req(struct connection *pc, const struct packet_chat_msg_req *packet)
Definition packets_gen.c:12082
lsend_packet_conn_ping_info
void lsend_packet_conn_ping_info(struct conn_list *dest, const struct packet_conn_ping_info *packet)
Definition packets_gen.c:37948
lsend_packet_end_phase
void lsend_packet_end_phase(struct conn_list *dest)
Definition packets_gen.c:38329
dsend_packet_edit_unit_create
int dsend_packet_edit_unit_create(struct connection *pc, int owner, int tile, Unit_type_id type, int count, int tag)
Definition packets_gen.c:76926
dsend_packet_edit_player_remove
int dsend_packet_edit_player_remove(struct connection *pc, int id)
Definition packets_gen.c:80775
dsend_packet_unit_type_upgrade
int dsend_packet_unit_type_upgrade(struct connection *pc, Unit_type_id type)
Definition packets_gen.c:31811
send_packet_ruleset_action
int send_packet_ruleset_action(struct connection *pc, const struct packet_ruleset_action *packet)
Definition packets_gen.c:62686
lsend_packet_unit_combat_info
void lsend_packet_unit_combat_info(struct conn_list *dest, const struct packet_unit_combat_info *packet)
Definition packets_gen.c:30371
send_packet_edit_city_remove
int send_packet_edit_city_remove(struct connection *pc, const struct packet_edit_city_remove *packet)
Definition packets_gen.c:78607
send_packet_ruleset_effect
int send_packet_ruleset_effect(struct connection *pc, const struct packet_ruleset_effect *packet)
Definition packets_gen.c:72709
send_packet_edit_mode
int send_packet_edit_mode(struct connection *pc, const struct packet_edit_mode *packet)
Definition packets_gen.c:75090
dsend_packet_player_place_infra
int dsend_packet_player_place_infra(struct connection *pc, int tile, int extra)
Definition packets_gen.c:25192
send_packet_ruleset_style
int send_packet_ruleset_style(struct connection *pc, const struct packet_ruleset_style *packet)
Definition packets_gen.c:51820
send_packet_ruleset_disaster
int send_packet_ruleset_disaster(struct connection *pc, const struct packet_ruleset_disaster *packet)
Definition packets_gen.c:61403
lsend_packet_server_shutdown
void lsend_packet_server_shutdown(struct conn_list *dest)
Definition packets_gen.c:2309
dsend_packet_diplomacy_accept_treaty
int dsend_packet_diplomacy_accept_treaty(struct connection *pc, int counterpart, bool I_accepted, bool other_accepted)
Definition packets_gen.c:36085
send_packet_ruleset_unit
int send_packet_ruleset_unit(struct connection *pc, const struct packet_ruleset_unit *packet)
Definition packets_gen.c:42746
send_packet_vote_update
int send_packet_vote_update(struct connection *pc, const struct packet_vote_update *packet)
Definition packets_gen.c:74514
dsend_packet_save_scenario
int dsend_packet_save_scenario(struct connection *pc, const char *name)
Definition packets_gen.c:73849
dsend_packet_edit_tile_extra
int dsend_packet_edit_tile_extra(struct connection *pc, int tile, int extra_type_id, bool removal, int eowner, int size)
Definition packets_gen.c:75942
send_packet_ruleset_nation_groups
int send_packet_ruleset_nation_groups(struct connection *pc, const struct packet_ruleset_nation_groups *packet)
Definition packets_gen.c:49383
send_packet_server_join_reply
int send_packet_server_join_reply(struct connection *pc, const struct packet_server_join_reply *packet)
Definition packets_gen.c:1876
send_packet_edit_startpos
int send_packet_edit_startpos(struct connection *pc, const struct packet_edit_startpos *packet)
Definition packets_gen.c:76035
lsend_packet_ruleset_tech_flag
void lsend_packet_ruleset_tech_flag(struct conn_list *dest, const struct packet_ruleset_tech_flag *packet)
Definition packets_gen.c:47197
lsend_packet_investigate_finished
void lsend_packet_investigate_finished(struct conn_list *dest, const struct packet_investigate_finished *packet)
Definition packets_gen.c:1591
dsend_packet_unit_action_answer
int dsend_packet_unit_action_answer(struct connection *pc, int actor_id, int target_id, int cost, action_id action_type, int request_kind)
Definition packets_gen.c:32497
send_packet_edit_tile_terrain
int send_packet_edit_tile_terrain(struct connection *pc, const struct packet_edit_tile_terrain *packet)
Definition packets_gen.c:75602
send_packet_edit_tile
int send_packet_edit_tile(struct connection *pc, const struct packet_edit_tile *packet)
Definition packets_gen.c:76582
send_packet_server_setting_enum
int send_packet_server_setting_enum(struct connection *pc, const struct packet_server_setting_enum *packet)
Definition packets_gen.c:71334
lsend_packet_achievement_info
void lsend_packet_achievement_info(struct conn_list *dest, const struct packet_achievement_info *packet)
Definition packets_gen.c:11165
send_packet_edit_check_tiles
int send_packet_edit_check_tiles(struct connection *pc)
Definition packets_gen.c:75159
send_packet_ruleset_control
int send_packet_ruleset_control(struct connection *pc, const struct packet_ruleset_control *packet)
Definition packets_gen.c:67357
lsend_packet_city_sabotage_list
void lsend_packet_city_sabotage_list(struct conn_list *dest, const struct packet_city_sabotage_list *packet)
Definition packets_gen.c:20885
send_packet_diplomacy_remove_clause
int send_packet_diplomacy_remove_clause(struct connection *pc, const struct packet_diplomacy_remove_clause *packet)
Definition packets_gen.c:35654
send_packet_ruleset_government_ruler_title
int send_packet_ruleset_government_ruler_title(struct connection *pc, const struct packet_ruleset_government_ruler_title *packet)
Definition packets_gen.c:45883
send_packet_diplomacy_cancel_meeting
int send_packet_diplomacy_cancel_meeting(struct connection *pc, const struct packet_diplomacy_cancel_meeting *packet)
Definition packets_gen.c:34400
send_packet_thaw_client
int send_packet_thaw_client(struct connection *pc)
Definition packets_gen.c:38907
send_packet_edit_player_create
int send_packet_edit_player_create(struct connection *pc, const struct packet_edit_player_create *packet)
Definition packets_gen.c:80588
send_packet_unit_info
int send_packet_unit_info(struct connection *pc, const struct packet_unit_info *packet)
Definition packets_gen.c:29318
send_packet_ruleset_action_enabler
int send_packet_ruleset_action_enabler(struct connection *pc, const struct packet_ruleset_action_enabler *packet)
Definition packets_gen.c:63225
send_packet_player_tech_goal
int send_packet_player_tech_goal(struct connection *pc, const struct packet_player_tech_goal *packet)
Definition packets_gen.c:27296
send_packet_diplomacy_init_meeting
int send_packet_diplomacy_init_meeting(struct connection *pc, const struct packet_diplomacy_init_meeting *packet)
Definition packets_gen.c:33993
send_packet_team_name_info
int send_packet_team_name_info(struct connection *pc, const struct packet_team_name_info *packet)
Definition packets_gen.c:10940
dsend_packet_single_want_hack_reply
int dsend_packet_single_want_hack_reply(struct connection *pc, bool you_have_hack)
Definition packets_gen.c:68034
send_packet_server_shutdown
int send_packet_server_shutdown(struct connection *pc)
Definition packets_gen.c:2297
send_packet_research_info
int send_packet_research_info(struct connection *pc, const struct packet_research_info *packet)
Definition packets_gen.c:26765
packet_type
packet_type
Definition packets_gen.h:1893
PACKET_PLAYER_MULTIPLIER
@ PACKET_PLAYER_MULTIPLIER
Definition packets_gen.h:2071
PACKET_DIPLOMACY_ACCEPT_TREATY
@ PACKET_DIPLOMACY_ACCEPT_TREATY
Definition packets_gen.h:1974
PACKET_PLAYER_CHANGE_GOVERNMENT
@ PACKET_PLAYER_CHANGE_GOVERNMENT
Definition packets_gen.h:1941
PACKET_WEB_PLAYER_INFO_ADDITION
@ PACKET_WEB_PLAYER_INFO_ADDITION
Definition packets_gen.h:2088
PACKET_SAVE_SCENARIO
@ PACKET_SAVE_SCENARIO
Definition packets_gen.h:2022
PACKET_RULESET_MULTIPLIER
@ PACKET_RULESET_MULTIPLIER
Definition packets_gen.h:2072
PACKET_THAW_CLIENT
@ PACKET_THAW_CLIENT
Definition packets_gen.h:1987
PACKET_EDIT_TOGGLE_FOGOFWAR
@ PACKET_EDIT_TOGGLE_FOGOFWAR
Definition packets_gen.h:2031
PACKET_WEB_CMA_SET
@ PACKET_WEB_CMA_SET
Definition packets_gen.h:2086
PACKET_EDIT_MODE
@ PACKET_EDIT_MODE
Definition packets_gen.h:2028
PACKET_RULESET_MUSIC
@ PACKET_RULESET_MUSIC
Definition packets_gen.h:2069
PACKET_LAST
@ PACKET_LAST
Definition packets_gen.h:2094
PACKET_RULESET_GOODS
@ PACKET_RULESET_GOODS
Definition packets_gen.h:2077
PACKET_ENDGAME_PLAYER
@ PACKET_ENDGAME_PLAYER
Definition packets_gen.h:2052
PACKET_UNIT_ACTION_ANSWER
@ PACKET_UNIT_ACTION_ANSWER
Definition packets_gen.h:1960
PACKET_EDIT_PLAYER
@ PACKET_EDIT_PLAYER
Definition packets_gen.h:2046
PACKET_DIPLOMACY_CANCEL_MEETING_REQ
@ PACKET_DIPLOMACY_CANCEL_MEETING_REQ
Definition packets_gen.h:1967
PACKET_SERVER_SETTING_ENUM
@ PACKET_SERVER_SETTING_ENUM
Definition packets_gen.h:2016
PACKET_SET_TOPOLOGY
@ PACKET_SET_TOPOLOGY
Definition packets_gen.h:2082
PACKET_WEB_CITY_INFO_ADDITION
@ PACKET_WEB_CITY_INFO_ADDITION
Definition packets_gen.h:2085
PACKET_CONN_PING
@ PACKET_CONN_PING
Definition packets_gen.h:1962
PACKET_CITY_MAKE_WORKER
@ PACKET_CITY_MAKE_WORKER
Definition packets_gen.h:1928
PACKET_CITY_OPTIONS_REQ
@ PACKET_CITY_OPTIONS_REQ
Definition packets_gen.h:1931
PACKET_RULESET_COUNTER
@ PACKET_RULESET_COUNTER
Definition packets_gen.h:2091
PACKET_VOTE_UPDATE
@ PACKET_VOTE_UPDATE
Definition packets_gen.h:2024
PACKET_CITY_NAME_SUGGESTION_INFO
@ PACKET_CITY_NAME_SUGGESTION_INFO
Definition packets_gen.h:1934
PACKET_CITY_CHANGE
@ PACKET_CITY_CHANGE
Definition packets_gen.h:1925
PACKET_UNIT_SSCS_SET
@ PACKET_UNIT_SSCS_SET
Definition packets_gen.h:1954
PACKET_PROCESSING_STARTED
@ PACKET_PROCESSING_STARTED
Definition packets_gen.h:1894
PACKET_UNIT_DO_ACTION
@ PACKET_UNIT_DO_ACTION
Definition packets_gen.h:1959
PACKET_UNIT_REMOVE
@ PACKET_UNIT_REMOVE
Definition packets_gen.h:1949
PACKET_END_PHASE
@ PACKET_END_PHASE
Definition packets_gen.h:1981
PACKET_SERVER_SETTING_INT
@ PACKET_SERVER_SETTING_INT
Definition packets_gen.h:2014
PACKET_RULESET_EXTRA
@ PACKET_RULESET_EXTRA
Definition packets_gen.h:2061
PACKET_EDIT_PLAYER_CREATE
@ PACKET_EDIT_PLAYER_CREATE
Definition packets_gen.h:2044
PACKET_EDIT_GAME
@ PACKET_EDIT_GAME
Definition packets_gen.h:2048
PACKET_CONN_PING_INFO
@ PACKET_CONN_PING_INFO
Definition packets_gen.h:1979
PACKET_END_TURN
@ PACKET_END_TURN
Definition packets_gen.h:1985
PACKET_EDIT_TILE_EXTRA
@ PACKET_EDIT_TILE_EXTRA
Definition packets_gen.h:2033
PACKET_SPACESHIP_PLACE
@ PACKET_SPACESHIP_PLACE
Definition packets_gen.h:1989
PACKET_NEW_YEAR
@ PACKET_NEW_YEAR
Definition packets_gen.h:1983
PACKET_NATION_SELECT_REQ
@ PACKET_NATION_SELECT_REQ
Definition packets_gen.h:1902
PACKET_ENDGAME_REPORT
@ PACKET_ENDGAME_REPORT
Definition packets_gen.h:1904
PACKET_RULESET_ACTION_AUTO
@ PACKET_RULESET_ACTION_AUTO
Definition packets_gen.h:2081
PACKET_UNIT_COMBAT_INFO
@ PACKET_UNIT_COMBAT_INFO
Definition packets_gen.h:1952
PACKET_RULESETS_READY
@ PACKET_RULESETS_READY
Definition packets_gen.h:2054
PACKET_UNIT_SHORT_INFO
@ PACKET_UNIT_SHORT_INFO
Definition packets_gen.h:1951
PACKET_SERVER_JOIN_REQ
@ PACKET_SERVER_JOIN_REQ
Definition packets_gen.h:1896
PACKET_REPORT_REQ
@ PACKET_REPORT_REQ
Definition packets_gen.h:1977
PACKET_RULESET_UNIT_CLASS_FLAG
@ PACKET_RULESET_UNIT_CLASS_FLAG
Definition packets_gen.h:2059
PACKET_RULESET_TECH_CLASS
@ PACKET_RULESET_TECH_CLASS
Definition packets_gen.h:1901
PACKET_EDIT_CITY_CREATE
@ PACKET_EDIT_CITY_CREATE
Definition packets_gen.h:2041
PACKET_SINGLE_WANT_HACK_REPLY
@ PACKET_SINGLE_WANT_HACK_REPLY
Definition packets_gen.h:2008
PACKET_GAME_INFO
@ PACKET_GAME_INFO
Definition packets_gen.h:1908
PACKET_DIPLOMACY_INIT_MEETING_REQ
@ PACKET_DIPLOMACY_INIT_MEETING_REQ
Definition packets_gen.h:1965
PACKET_PROCESSING_FINISHED
@ PACKET_PROCESSING_FINISHED
Definition packets_gen.h:1895
PACKET_RULESET_ACTION
@ PACKET_RULESET_ACTION
Definition packets_gen.h:2075
PACKET_PLAYER_ATTRIBUTE_BLOCK
@ PACKET_PLAYER_ATTRIBUTE_BLOCK
Definition packets_gen.h:1944
PACKET_CITY_SELL
@ PACKET_CITY_SELL
Definition packets_gen.h:1923
PACKET_CITY_NAME_SUGGESTION_REQ
@ PACKET_CITY_NAME_SUGGESTION_REQ
Definition packets_gen.h:1933
PACKET_UNKNOWN_RESEARCH
@ PACKET_UNKNOWN_RESEARCH
Definition packets_gen.h:1953
PACKET_CHAT_MSG_REQ
@ PACKET_CHAT_MSG_REQ
Definition packets_gen.h:1916
PACKET_NUKE_TILE_INFO
@ PACKET_NUKE_TILE_INFO
Definition packets_gen.h:1910
PACKET_PLAYER_DIPLSTATE
@ PACKET_PLAYER_DIPLSTATE
Definition packets_gen.h:1946
PACKET_RULESET_IMPR_FLAG
@ PACKET_RULESET_IMPR_FLAG
Definition packets_gen.h:1912
PACKET_RULESET_TECH
@ PACKET_RULESET_TECH
Definition packets_gen.h:1996
PACKET_CLIENT_HEARTBEAT
@ PACKET_CLIENT_HEARTBEAT
Definition packets_gen.h:2083
PACKET_RULESET_ROAD
@ PACKET_RULESET_ROAD
Definition packets_gen.h:2050
PACKET_RULESET_NATION_SETS
@ PACKET_RULESET_NATION_SETS
Definition packets_gen.h:2065
PACKET_CITY_SABOTAGE_LIST
@ PACKET_CITY_SABOTAGE_LIST
Definition packets_gen.h:1935
PACKET_MAP_INFO
@ PACKET_MAP_INFO
Definition packets_gen.h:1909
PACKET_RULESET_CLAUSE
@ PACKET_RULESET_CLAUSE
Definition packets_gen.h:2090
PACKET_DIPLOMACY_CREATE_CLAUSE_REQ
@ PACKET_DIPLOMACY_CREATE_CLAUSE_REQ
Definition packets_gen.h:1969
PACKET_CITY_BUY
@ PACKET_CITY_BUY
Definition packets_gen.h:1924
PACKET_CHAT_MSG
@ PACKET_CHAT_MSG
Definition packets_gen.h:1915
PACKET_EDIT_CITY_REMOVE
@ PACKET_EDIT_CITY_REMOVE
Definition packets_gen.h:2042
PACKET_EDIT_STARTPOS
@ PACKET_EDIT_STARTPOS
Definition packets_gen.h:2034
PACKET_SERVER_SETTING_CONST
@ PACKET_SERVER_SETTING_CONST
Definition packets_gen.h:2012
PACKET_PLAYER_RESEARCH
@ PACKET_PLAYER_RESEARCH
Definition packets_gen.h:1942
PACKET_BEGIN_TURN
@ PACKET_BEGIN_TURN
Definition packets_gen.h:1984
PACKET_RULESET_TERRAIN_CONTROL
@ PACKET_RULESET_TERRAIN_CONTROL
Definition packets_gen.h:1998
PACKET_PLAYER_PHASE_DONE
@ PACKET_PLAYER_PHASE_DONE
Definition packets_gen.h:1939
PACKET_RULESET_SELECT
@ PACKET_RULESET_SELECT
Definition packets_gen.h:2018
PACKET_GAME_LOAD
@ PACKET_GAME_LOAD
Definition packets_gen.h:2010
PACKET_CITY_UPDATE_COUNTERS
@ PACKET_CITY_UPDATE_COUNTERS
Definition packets_gen.h:2092
PACKET_PLAYER_REMOVE
@ PACKET_PLAYER_REMOVE
Definition packets_gen.h:1937
PACKET_CLIENT_INFO
@ PACKET_CLIENT_INFO
Definition packets_gen.h:1980
PACKET_CITY_WORKLIST
@ PACKET_CITY_WORKLIST
Definition packets_gen.h:1926
PACKET_DIPLOMACY_CANCEL_MEETING
@ PACKET_DIPLOMACY_CANCEL_MEETING
Definition packets_gen.h:1968
PACKET_UNIT_TYPE_UPGRADE
@ PACKET_UNIT_TYPE_UPGRADE
Definition packets_gen.h:1958
PACKET_START_PHASE
@ PACKET_START_PHASE
Definition packets_gen.h:1982
PACKET_AUTHENTICATION_REPLY
@ PACKET_AUTHENTICATION_REPLY
Definition packets_gen.h:1899
PACKET_SPACESHIP_INFO
@ PACKET_SPACESHIP_INFO
Definition packets_gen.h:1990
PACKET_UNIT_GET_ACTIONS
@ PACKET_UNIT_GET_ACTIONS
Definition packets_gen.h:1961
PACKET_PLAYER_ATTRIBUTE_CHUNK
@ PACKET_PLAYER_ATTRIBUTE_CHUNK
Definition packets_gen.h:1945
PACKET_RULESET_TERRAIN_FLAG
@ PACKET_RULESET_TERRAIN_FLAG
Definition packets_gen.h:2060
PACKET_CITY_MAKE_SPECIALIST
@ PACKET_CITY_MAKE_SPECIALIST
Definition packets_gen.h:1927
PACKET_RULESET_ACHIEVEMENT
@ PACKET_RULESET_ACHIEVEMENT
Definition packets_gen.h:2062
PACKET_RULESET_EFFECT
@ PACKET_RULESET_EFFECT
Definition packets_gen.h:2019
PACKET_RULESET_DISASTER
@ PACKET_RULESET_DISASTER
Definition packets_gen.h:2053
PACKET_RULESET_CONTROL
@ PACKET_RULESET_CONTROL
Definition packets_gen.h:2006
PACKET_SINGLE_WANT_HACK_REQ
@ PACKET_SINGLE_WANT_HACK_REQ
Definition packets_gen.h:2007
PACKET_PLAYER_PLACE_INFRA
@ PACKET_PLAYER_PLACE_INFRA
Definition packets_gen.h:1948
PACKET_VOTE_NEW
@ PACKET_VOTE_NEW
Definition packets_gen.h:2023
PACKET_AUTHENTICATION_REQ
@ PACKET_AUTHENTICATION_REQ
Definition packets_gen.h:1898
PACKET_RULESET_TRADE
@ PACKET_RULESET_TRADE
Definition packets_gen.h:2056
PACKET_EDIT_PLAYER_REMOVE
@ PACKET_EDIT_PLAYER_REMOVE
Definition packets_gen.h:2045
PACKET_CONN_INFO
@ PACKET_CONN_INFO
Definition packets_gen.h:1978
PACKET_SERVER_SETTING_BITWISE
@ PACKET_SERVER_SETTING_BITWISE
Definition packets_gen.h:2017
PACKET_EDIT_TILE_TERRAIN
@ PACKET_EDIT_TILE_TERRAIN
Definition packets_gen.h:2032
PACKET_DIPLOMACY_INIT_MEETING
@ PACKET_DIPLOMACY_INIT_MEETING
Definition packets_gen.h:1966
PACKET_RULESET_SUMMARY
@ PACKET_RULESET_SUMMARY
Definition packets_gen.h:2080
PACKET_UNIT_ACTION_QUERY
@ PACKET_UNIT_ACTION_QUERY
Definition packets_gen.h:1957
PACKET_PLAY_MUSIC
@ PACKET_PLAY_MUSIC
Definition packets_gen.h:2074
PACKET_TRADE_ROUTE_INFO
@ PACKET_TRADE_ROUTE_INFO
Definition packets_gen.h:2078
PACKET_RULESET_STYLE
@ PACKET_RULESET_STYLE
Definition packets_gen.h:2068
PACKET_RULESET_CITY
@ PACKET_RULESET_CITY
Definition packets_gen.h:2001
PACKET_CITY_NATIONALITIES
@ PACKET_CITY_NATIONALITIES
Definition packets_gen.h:1936
PACKET_EDIT_SCENARIO_DESC
@ PACKET_EDIT_SCENARIO_DESC
Definition packets_gen.h:1906
PACKET_FREEZE_CLIENT
@ PACKET_FREEZE_CLIENT
Definition packets_gen.h:1986
PACKET_VOTE_RESOLVE
@ PACKET_VOTE_RESOLVE
Definition packets_gen.h:2026
PACKET_EDIT_UNIT_CREATE
@ PACKET_EDIT_UNIT_CREATE
Definition packets_gen.h:2037
PACKET_TIMEOUT_INFO
@ PACKET_TIMEOUT_INFO
Definition packets_gen.h:2073
PACKET_RULESET_GAME
@ PACKET_RULESET_GAME
Definition packets_gen.h:1993
PACKET_UNIT_CHANGE_ACTIVITY
@ PACKET_UNIT_CHANGE_ACTIVITY
Definition packets_gen.h:2051
PACKET_EDIT_UNIT_REMOVE
@ PACKET_EDIT_UNIT_REMOVE
Definition packets_gen.h:2038
PACKET_RULESET_UNIT_FLAG
@ PACKET_RULESET_UNIT_FLAG
Definition packets_gen.h:2058
PACKET_DIPLOMACY_REMOVE_CLAUSE
@ PACKET_DIPLOMACY_REMOVE_CLAUSE
Definition packets_gen.h:1972
PACKET_TILE_INFO
@ PACKET_TILE_INFO
Definition packets_gen.h:1907
PACKET_EDIT_OBJECT_CREATED
@ PACKET_EDIT_OBJECT_CREATED
Definition packets_gen.h:2049
PACKET_CITY_SHORT_INFO
@ PACKET_CITY_SHORT_INFO
Definition packets_gen.h:1922
PACKET_CALENDAR_INFO
@ PACKET_CALENDAR_INFO
Definition packets_gen.h:2084
PACKET_SERVER_JOIN_REPLY
@ PACKET_SERVER_JOIN_REPLY
Definition packets_gen.h:1897
PACKET_SERVER_SETTING_STR
@ PACKET_SERVER_SETTING_STR
Definition packets_gen.h:2015
PACKET_VOTE_SUBMIT
@ PACKET_VOTE_SUBMIT
Definition packets_gen.h:2027
PACKET_WEB_CMA_CLEAR
@ PACKET_WEB_CMA_CLEAR
Definition packets_gen.h:2087
PACKET_EDIT_PLAYER_VISION
@ PACKET_EDIT_PLAYER_VISION
Definition packets_gen.h:2047
PACKET_SCENARIO_INFO
@ PACKET_SCENARIO_INFO
Definition packets_gen.h:2021
PACKET_EDIT_CHECK_TILES
@ PACKET_EDIT_CHECK_TILES
Definition packets_gen.h:2030
PACKET_RULESET_CHOICES
@ PACKET_RULESET_CHOICES
Definition packets_gen.h:2009
PACKET_CITY_CHANGE_SPECIALIST
@ PACKET_CITY_CHANGE_SPECIALIST
Definition packets_gen.h:1929
PACKET_RULESET_SPECIALIST
@ PACKET_RULESET_SPECIALIST
Definition packets_gen.h:1994
PACKET_CITY_REFRESH
@ PACKET_CITY_REFRESH
Definition packets_gen.h:1932
PACKET_CITY_REMOVE
@ PACKET_CITY_REMOVE
Definition packets_gen.h:1920
PACKET_UNIT_INFO
@ PACKET_UNIT_INFO
Definition packets_gen.h:1950
PACKET_RULESET_NATION_GROUPS
@ PACKET_RULESET_NATION_GROUPS
Definition packets_gen.h:1999
PACKET_CONNECT_MSG
@ PACKET_CONNECT_MSG
Definition packets_gen.h:1917
PACKET_EARLY_CHAT_MSG
@ PACKET_EARLY_CHAT_MSG
Definition packets_gen.h:1918
PACKET_RULESET_UNIT_CLASS
@ PACKET_RULESET_UNIT_CLASS
Definition packets_gen.h:2004
PACKET_PLAYER_INFO
@ PACKET_PLAYER_INFO
Definition packets_gen.h:1938
PACKET_EDIT_TILE
@ PACKET_EDIT_TILE
Definition packets_gen.h:2036
PACKET_PLAYER_READY
@ PACKET_PLAYER_READY
Definition packets_gen.h:1903
PACKET_WEB_RULESET_UNIT_ADDITION
@ PACKET_WEB_RULESET_UNIT_ADDITION
Definition packets_gen.h:2089
PACKET_SERVER_SHUTDOWN
@ PACKET_SERVER_SHUTDOWN
Definition packets_gen.h:1900
PACKET_RULESET_TERRAIN
@ PACKET_RULESET_TERRAIN
Definition packets_gen.h:2003
PACKET_RULESET_EXTRA_FLAG
@ PACKET_RULESET_EXTRA_FLAG
Definition packets_gen.h:2055
PACKET_RULESET_DESCRIPTION_PART
@ PACKET_RULESET_DESCRIPTION_PART
Definition packets_gen.h:2076
PACKET_EDIT_UNIT
@ PACKET_EDIT_UNIT
Definition packets_gen.h:2040
PACKET_RULESET_BASE
@ PACKET_RULESET_BASE
Definition packets_gen.h:2005
PACKET_SERVER_SETTING_BOOL
@ PACKET_SERVER_SETTING_BOOL
Definition packets_gen.h:2013
PACKET_RESEARCH_INFO
@ PACKET_RESEARCH_INFO
Definition packets_gen.h:1947
PACKET_CONN_PONG
@ PACKET_CONN_PONG
Definition packets_gen.h:1963
PACKET_EDIT_RECALCULATE_BORDERS
@ PACKET_EDIT_RECALCULATE_BORDERS
Definition packets_gen.h:2029
PACKET_PAGE_MSG_PART
@ PACKET_PAGE_MSG_PART
Definition packets_gen.h:2079
PACKET_EDIT_CITY
@ PACKET_EDIT_CITY
Definition packets_gen.h:2043
PACKET_RULESET_UNIT
@ PACKET_RULESET_UNIT
Definition packets_gen.h:1992
PACKET_PLAYER_TECH_GOAL
@ PACKET_PLAYER_TECH_GOAL
Definition packets_gen.h:1943
PACKET_UNIT_ACTIONS
@ PACKET_UNIT_ACTIONS
Definition packets_gen.h:1964
PACKET_INVESTIGATE_FINISHED
@ PACKET_INVESTIGATE_FINISHED
Definition packets_gen.h:1914
PACKET_RULESET_ACTION_ENABLER
@ PACKET_RULESET_ACTION_ENABLER
Definition packets_gen.h:2064
PACKET_INVESTIGATE_STARTED
@ PACKET_INVESTIGATE_STARTED
Definition packets_gen.h:1913
PACKET_CITY_RALLY_POINT
@ PACKET_CITY_RALLY_POINT
Definition packets_gen.h:1991
PACKET_RULESET_UNIT_BONUS
@ PACKET_RULESET_UNIT_BONUS
Definition packets_gen.h:2057
PACKET_RULESET_BUILDING
@ PACKET_RULESET_BUILDING
Definition packets_gen.h:2002
PACKET_RULESET_NATION
@ PACKET_RULESET_NATION
Definition packets_gen.h:2000
PACKET_UNIT_SERVER_SIDE_AGENT_SET
@ PACKET_UNIT_SERVER_SIDE_AGENT_SET
Definition packets_gen.h:1956
PACKET_SERVER_INFO
@ PACKET_SERVER_INFO
Definition packets_gen.h:1919
PACKET_RULESET_GOVERNMENT_RULER_TITLE
@ PACKET_RULESET_GOVERNMENT_RULER_TITLE
Definition packets_gen.h:1995
PACKET_SPACESHIP_LAUNCH
@ PACKET_SPACESHIP_LAUNCH
Definition packets_gen.h:1988
PACKET_DIPLOMACY_REMOVE_CLAUSE_REQ
@ PACKET_DIPLOMACY_REMOVE_CLAUSE_REQ
Definition packets_gen.h:1971
PACKET_DIPLOMACY_ACCEPT_TREATY_REQ
@ PACKET_DIPLOMACY_ACCEPT_TREATY_REQ
Definition packets_gen.h:1973
PACKET_DIPLOMACY_CREATE_CLAUSE
@ PACKET_DIPLOMACY_CREATE_CLAUSE
Definition packets_gen.h:1970
PACKET_RULESET_GOVERNMENT
@ PACKET_RULESET_GOVERNMENT
Definition packets_gen.h:1997
PACKET_SCENARIO_DESCRIPTION
@ PACKET_SCENARIO_DESCRIPTION
Definition packets_gen.h:1905
PACKET_SERVER_SETTING_CONTROL
@ PACKET_SERVER_SETTING_CONTROL
Definition packets_gen.h:2011
PACKET_ACHIEVEMENT_INFO
@ PACKET_ACHIEVEMENT_INFO
Definition packets_gen.h:2067
PACKET_PAGE_MSG
@ PACKET_PAGE_MSG
Definition packets_gen.h:1976
PACKET_RULESET_TECH_FLAG
@ PACKET_RULESET_TECH_FLAG
Definition packets_gen.h:2063
PACKET_RULESET_RESOURCE
@ PACKET_RULESET_RESOURCE
Definition packets_gen.h:2020
PACKET_UNIT_ORDERS
@ PACKET_UNIT_ORDERS
Definition packets_gen.h:1955
PACKET_EDIT_UNIT_REMOVE_BY_ID
@ PACKET_EDIT_UNIT_REMOVE_BY_ID
Definition packets_gen.h:2039
PACKET_EDIT_STARTPOS_FULL
@ PACKET_EDIT_STARTPOS_FULL
Definition packets_gen.h:2035
PACKET_DIPLOMACY_CANCEL_PACT
@ PACKET_DIPLOMACY_CANCEL_PACT
Definition packets_gen.h:1975
PACKET_TEAM_NAME_INFO
@ PACKET_TEAM_NAME_INFO
Definition packets_gen.h:1911
PACKET_CITY_INFO
@ PACKET_CITY_INFO
Definition packets_gen.h:1921
PACKET_PLAYER_RATES
@ PACKET_PLAYER_RATES
Definition packets_gen.h:1940
PACKET_NATION_AVAILABILITY
@ PACKET_NATION_AVAILABILITY
Definition packets_gen.h:2066
PACKET_CITY_RENAME
@ PACKET_CITY_RENAME
Definition packets_gen.h:1930
PACKET_VOTE_REMOVE
@ PACKET_VOTE_REMOVE
Definition packets_gen.h:2025
PACKET_WORKER_TASK
@ PACKET_WORKER_TASK
Definition packets_gen.h:2070
send_packet_vote_new
int send_packet_vote_new(struct connection *pc, const struct packet_vote_new *packet)
Definition packets_gen.c:74168
send_packet_unit_sscs_set
int send_packet_unit_sscs_set(struct connection *pc, const struct packet_unit_sscs_set *packet)
Definition packets_gen.c:30620
lsend_packet_ruleset_tech_class
void lsend_packet_ruleset_tech_class(struct conn_list *dest, const struct packet_ruleset_tech_class *packet)
Definition packets_gen.c:46946
send_packet_scenario_description
int send_packet_scenario_description(struct connection *pc, const struct packet_scenario_description *packet)
Definition packets_gen.c:73671
send_packet_player_attribute_block
int send_packet_player_attribute_block(struct connection *pc)
Definition packets_gen.c:25220
send_packet_achievement_info
int send_packet_achievement_info(struct connection *pc, const struct packet_achievement_info *packet)
Definition packets_gen.c:11153
send_packet_web_player_info_addition
int send_packet_web_player_info_addition(struct connection *pc, const struct packet_web_player_info_addition *packet)
Definition packets_gen.c:84656
send_packet_web_cma_set
int send_packet_web_cma_set(struct connection *pc, const struct packet_web_cma_set *packet)
Definition packets_gen.c:84264
dsend_packet_report_req
int dsend_packet_report_req(struct connection *pc, enum report_type type)
Definition packets_gen.c:37020
lsend_packet_ruleset_goods
void lsend_packet_ruleset_goods(struct conn_list *dest, const struct packet_ruleset_goods *packet)
Definition packets_gen.c:60908
send_packet_spaceship_launch
int send_packet_spaceship_launch(struct connection *pc)
Definition packets_gen.c:38944
lsend_packet_end_turn
void lsend_packet_end_turn(struct conn_list *dest)
Definition packets_gen.c:38845
lsend_packet_diplomacy_remove_clause
void lsend_packet_diplomacy_remove_clause(struct conn_list *dest, const struct packet_diplomacy_remove_clause *packet)
Definition packets_gen.c:35666
send_packet_spaceship_info
int send_packet_spaceship_info(struct connection *pc, const struct packet_spaceship_info *packet)
Definition packets_gen.c:40035
send_packet_page_msg_part
int send_packet_page_msg_part(struct connection *pc, const struct packet_page_msg_part *packet)
Definition packets_gen.c:36825
lsend_packet_ruleset_game
void lsend_packet_ruleset_game(struct conn_list *dest, const struct packet_ruleset_game *packet)
Definition packets_gen.c:44990
send_packet_ruleset_building
int send_packet_ruleset_building(struct connection *pc, const struct packet_ruleset_building *packet)
Definition packets_gen.c:53461
lsend_packet_page_msg_part
void lsend_packet_page_msg_part(struct conn_list *dest, const struct packet_page_msg_part *packet)
Definition packets_gen.c:36837
lsend_packet_ruleset_nation
void lsend_packet_ruleset_nation(struct conn_list *dest, const struct packet_ruleset_nation *packet)
Definition packets_gen.c:51249
send_packet_diplomacy_init_meeting_req
int send_packet_diplomacy_init_meeting_req(struct connection *pc, const struct packet_diplomacy_init_meeting_req *packet)
Definition packets_gen.c:33779
dsend_packet_edit_tile_terrain
int dsend_packet_edit_tile_terrain(struct connection *pc, int tile, Terrain_type_id terrain, int size)
Definition packets_gen.c:75614
lsend_packet_ruleset_counter
void lsend_packet_ruleset_counter(struct conn_list *dest, const struct packet_ruleset_counter *packet)
Definition packets_gen.c:64252
lsend_packet_rulesets_ready
void lsend_packet_rulesets_ready(struct conn_list *dest)
Definition packets_gen.c:48354
dsend_packet_edit_city_remove
int dsend_packet_edit_city_remove(struct connection *pc, int id)
Definition packets_gen.c:78619
dsend_packet_diplomacy_accept_treaty_req
int dsend_packet_diplomacy_accept_treaty_req(struct connection *pc, int counterpart)
Definition packets_gen.c:35863
dsend_packet_city_name_suggestion_req
int dsend_packet_city_name_suggestion_req(struct connection *pc, int unit_id)
Definition packets_gen.c:20312
send_packet_rulesets_ready
int send_packet_rulesets_ready(struct connection *pc)
Definition packets_gen.c:48342
lsend_packet_city_remove
void lsend_packet_city_remove(struct conn_list *dest, const struct packet_city_remove *packet)
Definition packets_gen.c:12829
send_packet_timeout_info
int send_packet_timeout_info(struct connection *pc, const struct packet_timeout_info *packet)
Definition packets_gen.c:10162
send_packet_player_research
int send_packet_player_research(struct connection *pc, const struct packet_player_research *packet)
Definition packets_gen.c:27121
lsend_packet_ruleset_impr_flag
void lsend_packet_ruleset_impr_flag(struct conn_list *dest, const struct packet_ruleset_impr_flag *packet)
Definition packets_gen.c:53724
send_packet_ruleset_music
int send_packet_ruleset_music(struct connection *pc, const struct packet_ruleset_music *packet)
Definition packets_gen.c:64669
send_packet_start_phase
int send_packet_start_phase(struct connection *pc, const struct packet_start_phase *packet)
Definition packets_gen.c:38490
lsend_packet_ruleset_extra_flag
void lsend_packet_ruleset_extra_flag(struct conn_list *dest, const struct packet_ruleset_extra_flag *packet)
Definition packets_gen.c:58892
send_packet_city_worklist
int send_packet_city_worklist(struct connection *pc, const struct packet_city_worklist *packet)
Definition packets_gen.c:18814
lsend_packet_diplomacy_init_meeting
void lsend_packet_diplomacy_init_meeting(struct conn_list *dest, const struct packet_diplomacy_init_meeting *packet)
Definition packets_gen.c:34005
lsend_packet_ruleset_road
void lsend_packet_ruleset_road(struct conn_list *dest, const struct packet_ruleset_road *packet)
Definition packets_gen.c:60284
lsend_packet_investigate_started
void lsend_packet_investigate_started(struct conn_list *dest, const struct packet_investigate_started *packet)
Definition packets_gen.c:1359
send_packet_ruleset_tech_flag
int send_packet_ruleset_tech_flag(struct connection *pc, const struct packet_ruleset_tech_flag *packet)
Definition packets_gen.c:47185
lsend_packet_thaw_client
void lsend_packet_thaw_client(struct conn_list *dest)
Definition packets_gen.c:38919
send_packet_ruleset_description_part
int send_packet_ruleset_description_part(struct connection *pc, const struct packet_ruleset_description_part *packet)
Definition packets_gen.c:67703
dsend_packet_edit_player_vision
int dsend_packet_edit_player_vision(struct connection *pc, int player, int tile, bool known, int size)
Definition packets_gen.c:82317
dsend_packet_edit_toggle_fogofwar
int dsend_packet_edit_toggle_fogofwar(struct connection *pc, int player)
Definition packets_gen.c:75337
lsend_packet_ruleset_terrain
void lsend_packet_ruleset_terrain(struct conn_list *dest, const struct packet_ruleset_terrain *packet)
Definition packets_gen.c:55839
dsend_packet_unit_sscs_set
int dsend_packet_unit_sscs_set(struct connection *pc, int unit_id, enum unit_ss_data_type type, int value)
Definition packets_gen.c:30632
send_packet_ruleset_impr_flag
int send_packet_ruleset_impr_flag(struct connection *pc, const struct packet_ruleset_impr_flag *packet)
Definition packets_gen.c:53712
lsend_packet_ruleset_action_auto
void lsend_packet_ruleset_action_auto(struct conn_list *dest, const struct packet_ruleset_action_auto *packet)
Definition packets_gen.c:63825
send_packet_ruleset_specialist
int send_packet_ruleset_specialist(struct connection *pc, const struct packet_ruleset_specialist *packet)
Definition packets_gen.c:45573
dsend_packet_player_ready
int dsend_packet_player_ready(struct connection *pc, int player_no, bool is_ready)
Definition packets_gen.c:2828
send_packet_client_info
int send_packet_client_info(struct connection *pc, const struct packet_client_info *packet)
Definition packets_gen.c:38287
send_packet_game_load
int send_packet_game_load(struct connection *pc, const struct packet_game_load *packet)
Definition packets_gen.c:68688
dsend_packet_edit_mode
int dsend_packet_edit_mode(struct connection *pc, bool state)
Definition packets_gen.c:75102
send_packet_city_sell
int send_packet_city_sell(struct connection *pc, const struct packet_city_sell *packet)
Definition packets_gen.c:18169
send_packet_save_scenario
int send_packet_save_scenario(struct connection *pc, const struct packet_save_scenario *packet)
Definition packets_gen.c:73837
dsend_packet_city_name_suggestion_info
int dsend_packet_city_name_suggestion_info(struct connection *pc, int unit_id, const char *name)
Definition packets_gen.c:20533
send_packet_unit_combat_info
int send_packet_unit_combat_info(struct connection *pc, const struct packet_unit_combat_info *packet)
Definition packets_gen.c:30359
lsend_packet_city_rally_point
void lsend_packet_city_rally_point(struct conn_list *dest, const struct packet_city_rally_point *packet, bool force_to_send)
Definition packets_gen.c:21293
MAX_LEN_ADDR
#define MAX_LEN_ADDR
Definition shared.h:31
step
int step
Definition specpq.h:92
size
size_t size
Definition specvec.h:72
act_prob
Definition fc_types.h:1241
agent
Definition agents.h:40
cm_parameter
Definition cm.h:40
connection
Definition connection.h:136
government
Definition government.h:52
message
Definition messagewin_common.h:29
multiplier
Definition multipliers.h:31
packet_achievement_info
Definition packets_gen.h:285
packet_achievement_info::id
int id
Definition packets_gen.h:286
packet_achievement_info::gained
bool gained
Definition packets_gen.h:287
packet_achievement_info::first
bool first
Definition packets_gen.h:288
packet_authentication_reply
Definition packets_gen.h:64
packet_authentication_reply::password
char password[MAX_LEN_PASSWORD]
Definition packets_gen.h:65
packet_authentication_req
Definition packets_gen.h:59
packet_authentication_req::type
enum authentication_type type
Definition packets_gen.h:60
packet_begin_turn
Definition packets_gen.h:898
packet_begin_turn::__dummy
char __dummy
Definition packets_gen.h:899
packet_calendar_info
Definition packets_gen.h:254
packet_calendar_info::positive_year_label
char positive_year_label[MAX_LEN_NAME]
Definition packets_gen.h:255
packet_calendar_info::calendar_skip_0
bool calendar_skip_0
Definition packets_gen.h:259
packet_calendar_info::negative_year_label
char negative_year_label[MAX_LEN_NAME]
Definition packets_gen.h:256
packet_calendar_info::calendar_fragments
int calendar_fragments
Definition packets_gen.h:257
packet_calendar_info::calendar_fragment_name
char calendar_fragment_name[MAX_CALENDAR_FRAGMENTS][MAX_LEN_NAME]
Definition packets_gen.h:258
packet_chat_msg_req
Definition packets_gen.h:309
packet_chat_msg
Definition packets_gen.h:291
packet_chat_msg::phase
int phase
Definition packets_gen.h:296
packet_chat_msg::conn_id
int conn_id
Definition packets_gen.h:297
packet_chat_msg::event
enum event_type event
Definition packets_gen.h:294
packet_chat_msg::turn
int turn
Definition packets_gen.h:295
packet_chat_msg::tile
int tile
Definition packets_gen.h:293
packet_city_buy
Definition packets_gen.h:426
packet_city_buy::city_id
int city_id
Definition packets_gen.h:427
packet_city_change_specialist
Definition packets_gen.h:451
packet_city_change_specialist::to
Specialist_type_id to
Definition packets_gen.h:454
packet_city_change_specialist::from
Specialist_type_id from
Definition packets_gen.h:453
packet_city_change_specialist::city_id
int city_id
Definition packets_gen.h:452
packet_city_change
Definition packets_gen.h:430
packet_city_change::city_id
int city_id
Definition packets_gen.h:431
packet_city_change::production_kind
int production_kind
Definition packets_gen.h:432
packet_city_change::production_value
int production_value
Definition packets_gen.h:433
packet_city_info
Definition packets_gen.h:329
packet_city_info::style
int style
Definition packets_gen.h:336
packet_city_info::last_turns_shield_surplus
int last_turns_shield_surplus
Definition packets_gen.h:367
packet_city_info::usage
int usage[O_LAST]
Definition packets_gen.h:352
packet_city_info::before_change_shields
int before_change_shields
Definition packets_gen.h:364
packet_city_info::ppl_content
int ppl_content[FEELING_LAST]
Definition packets_gen.h:339
packet_city_info::city_options
bv_city_options city_options
Definition packets_gen.h:379
packet_city_info::capital
enum capital_type capital
Definition packets_gen.h:337
packet_city_info::surplus
int surplus[O_LAST]
Definition packets_gen.h:347
packet_city_info::had_famine
bool had_famine
Definition packets_gen.h:372
packet_city_info::ppl_unhappy
int ppl_unhappy[FEELING_LAST]
Definition packets_gen.h:340
packet_city_info::original
int original
Definition packets_gen.h:333
packet_city_info::citizen_base
int citizen_base[O_LAST]
Definition packets_gen.h:351
packet_city_info::changed_from_kind
int changed_from_kind
Definition packets_gen.h:362
packet_city_info::specialists
int specialists[SP_MAX]
Definition packets_gen.h:343
packet_city_info::changed_from_value
int changed_from_value
Definition packets_gen.h:363
packet_city_info::ppl_angry
int ppl_angry[FEELING_LAST]
Definition packets_gen.h:341
packet_city_info::food_stock
int food_stock
Definition packets_gen.h:353
packet_city_info::id
int id
Definition packets_gen.h:330
packet_city_info::specialists_size
int specialists_size
Definition packets_gen.h:342
packet_city_info::owner
int owner
Definition packets_gen.h:332
packet_city_info::walls
int walls
Definition packets_gen.h:374
packet_city_info::improvements
bv_imprs improvements
Definition packets_gen.h:378
packet_city_info::shield_stock
int shield_stock
Definition packets_gen.h:354
packet_city_info::was_happy
bool was_happy
Definition packets_gen.h:371
packet_city_info::steal
int steal
Definition packets_gen.h:376
packet_city_info::airlift
int airlift
Definition packets_gen.h:368
packet_city_info::did_buy
bool did_buy
Definition packets_gen.h:369
packet_city_info::turn_founded
int turn_founded
Definition packets_gen.h:360
packet_city_info::buy_cost
int buy_cost
Definition packets_gen.h:346
packet_city_info::name
char name[MAX_LEN_CITYNAME]
Definition packets_gen.h:380
packet_city_info::pollution
int pollution
Definition packets_gen.h:356
packet_city_info::trade_route_count
int trade_route_count
Definition packets_gen.h:355
packet_city_info::ppl_happy
int ppl_happy[FEELING_LAST]
Definition packets_gen.h:338
packet_city_info::did_sell
bool did_sell
Definition packets_gen.h:370
packet_city_info::production_value
int production_value
Definition packets_gen.h:359
packet_city_info::prod
int prod[O_LAST]
Definition packets_gen.h:350
packet_city_info::caravan_shields
int caravan_shields
Definition packets_gen.h:366
packet_city_info::illness_trade
int illness_trade
Definition packets_gen.h:357
packet_city_info::culture
int culture
Definition packets_gen.h:345
packet_city_info::diplomat_investigate
bool diplomat_investigate
Definition packets_gen.h:373
packet_city_info::unhappy_penalty
int unhappy_penalty[O_LAST]
Definition packets_gen.h:349
packet_city_info::history
int history
Definition packets_gen.h:344
packet_city_info::turn_last_built
int turn_last_built
Definition packets_gen.h:361
packet_city_info::city_image
int city_image
Definition packets_gen.h:375
packet_city_info::disbanded_shields
int disbanded_shields
Definition packets_gen.h:365
packet_city_info::production_kind
int production_kind
Definition packets_gen.h:358
packet_city_info::tile
int tile
Definition packets_gen.h:331
packet_city_info::size
int size
Definition packets_gen.h:334
packet_city_info::city_radius_sq
int city_radius_sq
Definition packets_gen.h:335
packet_city_info::waste
int waste[O_LAST]
Definition packets_gen.h:348
packet_city_make_specialist
Definition packets_gen.h:441
packet_city_make_specialist::tile_id
int tile_id
Definition packets_gen.h:443
packet_city_make_specialist::city_id
int city_id
Definition packets_gen.h:442
packet_city_make_worker
Definition packets_gen.h:446
packet_city_make_worker::city_id
int city_id
Definition packets_gen.h:447
packet_city_make_worker::tile_id
int tile_id
Definition packets_gen.h:448
packet_city_name_suggestion_info
Definition packets_gen.h:475
packet_city_name_suggestion_info::name
char name[MAX_LEN_CITYNAME]
Definition packets_gen.h:477
packet_city_name_suggestion_info::unit_id
int unit_id
Definition packets_gen.h:476
packet_city_name_suggestion_req
Definition packets_gen.h:471
packet_city_name_suggestion_req::unit_id
int unit_id
Definition packets_gen.h:472
packet_city_nationalities
Definition packets_gen.h:383
packet_city_nationalities::nation_id
int nation_id[MAX_CITY_NATIONALITIES]
Definition packets_gen.h:386
packet_city_nationalities::id
int id
Definition packets_gen.h:384
packet_city_nationalities::nation_citizens
int nation_citizens[MAX_CITY_NATIONALITIES]
Definition packets_gen.h:387
packet_city_nationalities::nationalities_count
int nationalities_count
Definition packets_gen.h:385
packet_city_options_req
Definition packets_gen.h:462
packet_city_options_req::city_id
int city_id
Definition packets_gen.h:463
packet_city_options_req::options
bv_city_options options
Definition packets_gen.h:464
packet_city_rally_point
Definition packets_gen.h:488
packet_city_rally_point::persistent
bool persistent
Definition packets_gen.h:491
packet_city_rally_point::id
int id
Definition packets_gen.h:489
packet_city_rally_point::orders
struct unit_order orders[MAX_LEN_ROUTE]
Definition packets_gen.h:493
packet_city_rally_point::vigilant
bool vigilant
Definition packets_gen.h:492
packet_city_rally_point::length
int length
Definition packets_gen.h:490
packet_city_refresh
Definition packets_gen.h:467
packet_city_refresh::city_id
int city_id
Definition packets_gen.h:468
packet_city_remove
Definition packets_gen.h:325
packet_city_remove::city_id
int city_id
Definition packets_gen.h:326
packet_city_rename
Definition packets_gen.h:457
packet_city_rename::city_id
int city_id
Definition packets_gen.h:458
packet_city_rename::name
char name[MAX_LEN_CITYNAME]
Definition packets_gen.h:459
packet_city_sabotage_list
Definition packets_gen.h:480
packet_city_sabotage_list::request_kind
int request_kind
Definition packets_gen.h:485
packet_city_sabotage_list::improvements
bv_imprs improvements
Definition packets_gen.h:483
packet_city_sabotage_list::actor_id
int actor_id
Definition packets_gen.h:481
packet_city_sabotage_list::city_id
int city_id
Definition packets_gen.h:482
packet_city_sabotage_list::act_id
action_id act_id
Definition packets_gen.h:484
packet_city_sell
Definition packets_gen.h:421
packet_city_sell::build_id
int build_id
Definition packets_gen.h:423
packet_city_sell::city_id
int city_id
Definition packets_gen.h:422
packet_city_short_info
Definition packets_gen.h:396
packet_city_short_info::walls
int walls
Definition packets_gen.h:404
packet_city_short_info::style
int style
Definition packets_gen.h:401
packet_city_short_info::size
int size
Definition packets_gen.h:400
packet_city_short_info::improvements
bv_imprs improvements
Definition packets_gen.h:408
packet_city_short_info::capital
enum capital_type capital
Definition packets_gen.h:402
packet_city_short_info::owner
int owner
Definition packets_gen.h:399
packet_city_short_info::id
int id
Definition packets_gen.h:397
packet_city_short_info::city_image
int city_image
Definition packets_gen.h:407
packet_city_short_info::happy
bool happy
Definition packets_gen.h:405
packet_city_short_info::unhappy
bool unhappy
Definition packets_gen.h:406
packet_city_short_info::tile
int tile
Definition packets_gen.h:398
packet_city_short_info::occupied
bool occupied
Definition packets_gen.h:403
packet_city_short_info::name
char name[MAX_LEN_CITYNAME]
Definition packets_gen.h:409
packet_city_update_counters
Definition packets_gen.h:390
packet_city_update_counters::count
int count
Definition packets_gen.h:392
packet_city_update_counters::counters
int counters[MAX_COUNTERS]
Definition packets_gen.h:393
packet_city_update_counters::city
int city
Definition packets_gen.h:391
packet_city_worklist
Definition packets_gen.h:436
packet_city_worklist::city_id
int city_id
Definition packets_gen.h:437
packet_client_heartbeat
Definition packets_gen.h:874
packet_client_heartbeat::__dummy
char __dummy
Definition packets_gen.h:875
packet_client_info
Definition packets_gen.h:878
packet_client_info::distribution
char distribution[MAX_LEN_NAME]
Definition packets_gen.h:881
packet_client_info::emerg_version
int emerg_version
Definition packets_gen.h:880
packet_client_info::gui
enum gui_type gui
Definition packets_gen.h:879
packet_conn_info
Definition packets_gen.h:848
packet_conn_info::capability
char capability[MAX_LEN_CAPSTR]
Definition packets_gen.h:857
packet_conn_info::established
bool established
Definition packets_gen.h:851
packet_conn_info::observer
bool observer
Definition packets_gen.h:852
packet_conn_info::used
bool used
Definition packets_gen.h:850
packet_conn_info::addr
char addr[MAX_LEN_ADDR]
Definition packets_gen.h:856
packet_conn_info::player_num
int player_num
Definition packets_gen.h:853
packet_conn_info::username
char username[MAX_LEN_NAME]
Definition packets_gen.h:855
packet_conn_info::id
int id
Definition packets_gen.h:849
packet_conn_info::access_level
enum cmdlevel access_level
Definition packets_gen.h:854
packet_conn_ping_info
Definition packets_gen.h:860
packet_conn_ping_info::connections
int connections
Definition packets_gen.h:861
packet_conn_ping_info::ping_time
float ping_time[MAX_NUM_CONNECTIONS]
Definition packets_gen.h:863
packet_conn_ping_info::conn_id
int conn_id[MAX_NUM_CONNECTIONS]
Definition packets_gen.h:862
packet_conn_ping
Definition packets_gen.h:866
packet_conn_ping::__dummy
char __dummy
Definition packets_gen.h:867
packet_conn_pong
Definition packets_gen.h:870
packet_conn_pong::__dummy
char __dummy
Definition packets_gen.h:871
packet_connect_msg
Definition packets_gen.h:313
packet_diplomacy_accept_treaty_req
Definition packets_gen.h:817
packet_diplomacy_accept_treaty_req::counterpart
int counterpart
Definition packets_gen.h:818
packet_diplomacy_accept_treaty
Definition packets_gen.h:821
packet_diplomacy_accept_treaty::I_accepted
bool I_accepted
Definition packets_gen.h:823
packet_diplomacy_accept_treaty::counterpart
int counterpart
Definition packets_gen.h:822
packet_diplomacy_accept_treaty::other_accepted
bool other_accepted
Definition packets_gen.h:824
packet_diplomacy_cancel_meeting_req
Definition packets_gen.h:780
packet_diplomacy_cancel_meeting_req::counterpart
int counterpart
Definition packets_gen.h:781
packet_diplomacy_cancel_meeting
Definition packets_gen.h:784
packet_diplomacy_cancel_meeting::counterpart
int counterpart
Definition packets_gen.h:785
packet_diplomacy_cancel_meeting::initiated_from
int initiated_from
Definition packets_gen.h:786
packet_diplomacy_cancel_pact
Definition packets_gen.h:827
packet_diplomacy_cancel_pact::other_player_id
int other_player_id
Definition packets_gen.h:828
packet_diplomacy_cancel_pact::clause
enum clause_type clause
Definition packets_gen.h:829
packet_diplomacy_create_clause_req
Definition packets_gen.h:789
packet_diplomacy_create_clause_req::value
int value
Definition packets_gen.h:793
packet_diplomacy_create_clause_req::giver
int giver
Definition packets_gen.h:791
packet_diplomacy_create_clause_req::counterpart
int counterpart
Definition packets_gen.h:790
packet_diplomacy_create_clause_req::type
enum clause_type type
Definition packets_gen.h:792
packet_diplomacy_create_clause
Definition packets_gen.h:796
packet_diplomacy_create_clause::giver
int giver
Definition packets_gen.h:798
packet_diplomacy_create_clause::type
enum clause_type type
Definition packets_gen.h:799
packet_diplomacy_create_clause::counterpart
int counterpart
Definition packets_gen.h:797
packet_diplomacy_create_clause::value
int value
Definition packets_gen.h:800
packet_diplomacy_init_meeting_req
Definition packets_gen.h:771
packet_diplomacy_init_meeting_req::counterpart
int counterpart
Definition packets_gen.h:772
packet_diplomacy_init_meeting
Definition packets_gen.h:775
packet_diplomacy_init_meeting::initiated_from
int initiated_from
Definition packets_gen.h:777
packet_diplomacy_init_meeting::counterpart
int counterpart
Definition packets_gen.h:776
packet_diplomacy_remove_clause_req
Definition packets_gen.h:803
packet_diplomacy_remove_clause_req::type
enum clause_type type
Definition packets_gen.h:806
packet_diplomacy_remove_clause_req::giver
int giver
Definition packets_gen.h:805
packet_diplomacy_remove_clause_req::counterpart
int counterpart
Definition packets_gen.h:804
packet_diplomacy_remove_clause_req::value
int value
Definition packets_gen.h:807
packet_diplomacy_remove_clause
Definition packets_gen.h:810
packet_diplomacy_remove_clause::counterpart
int counterpart
Definition packets_gen.h:811
packet_diplomacy_remove_clause::value
int value
Definition packets_gen.h:814
packet_diplomacy_remove_clause::giver
int giver
Definition packets_gen.h:812
packet_diplomacy_remove_clause::type
enum clause_type type
Definition packets_gen.h:813
packet_early_chat_msg
Definition packets_gen.h:300
packet_early_chat_msg::event
enum event_type event
Definition packets_gen.h:303
packet_early_chat_msg::phase
int phase
Definition packets_gen.h:305
packet_early_chat_msg::conn_id
int conn_id
Definition packets_gen.h:306
packet_early_chat_msg::turn
int turn
Definition packets_gen.h:304
packet_early_chat_msg::tile
int tile
Definition packets_gen.h:302
packet_edit_check_tiles
Definition packets_gen.h:1666
packet_edit_check_tiles::__dummy
char __dummy
Definition packets_gen.h:1667
packet_edit_city_create
Definition packets_gen.h:1749
packet_edit_city_create::size
int size
Definition packets_gen.h:1752
packet_edit_city_create::tag
int tag
Definition packets_gen.h:1753
packet_edit_city_create::owner
int owner
Definition packets_gen.h:1750
packet_edit_city_create::tile
int tile
Definition packets_gen.h:1751
packet_edit_city_remove
Definition packets_gen.h:1756
packet_edit_city_remove::id
int id
Definition packets_gen.h:1757
packet_edit_city
Definition packets_gen.h:1760
packet_edit_city::turn_founded
int turn_founded
Definition packets_gen.h:1784
packet_edit_city::turn_last_built
int turn_last_built
Definition packets_gen.h:1785
packet_edit_city::production_value
int production_value
Definition packets_gen.h:1788
packet_edit_city::specialists_size
int specialists_size
Definition packets_gen.h:1771
packet_edit_city::ppl_content
int ppl_content[5]
Definition packets_gen.h:1768
packet_edit_city::shield_stock
int shield_stock
Definition packets_gen.h:1774
packet_edit_city::specialists
int specialists[SP_MAX]
Definition packets_gen.h:1772
packet_edit_city::built
int built[B_LAST]
Definition packets_gen.h:1786
packet_edit_city::steal
int steal
Definition packets_gen.h:1783
packet_edit_city::ppl_angry
int ppl_angry[5]
Definition packets_gen.h:1770
packet_edit_city::name
char name[MAX_LEN_CITYNAME]
Definition packets_gen.h:1762
packet_edit_city::ppl_happy
int ppl_happy[5]
Definition packets_gen.h:1767
packet_edit_city::was_happy
bool was_happy
Definition packets_gen.h:1779
packet_edit_city::anarchy
int anarchy
Definition packets_gen.h:1781
packet_edit_city::production_kind
int production_kind
Definition packets_gen.h:1787
packet_edit_city::did_sell
bool did_sell
Definition packets_gen.h:1778
packet_edit_city::debug
bool debug
Definition packets_gen.h:1776
packet_edit_city::did_buy
bool did_buy
Definition packets_gen.h:1777
packet_edit_city::history
int history
Definition packets_gen.h:1766
packet_edit_city::rapture
int rapture
Definition packets_gen.h:1782
packet_edit_city::original
int original
Definition packets_gen.h:1764
packet_edit_city::airlift
bool airlift
Definition packets_gen.h:1775
packet_edit_city::food_stock
int food_stock
Definition packets_gen.h:1773
packet_edit_city::had_famine
bool had_famine
Definition packets_gen.h:1780
packet_edit_city::city_options
bv_city_options city_options
Definition packets_gen.h:1789
packet_edit_city::owner
int owner
Definition packets_gen.h:1763
packet_edit_city::ppl_unhappy
int ppl_unhappy[5]
Definition packets_gen.h:1769
packet_edit_city::size
int size
Definition packets_gen.h:1765
packet_edit_city::id
int id
Definition packets_gen.h:1761
packet_edit_game
Definition packets_gen.h:1836
packet_edit_game::ruleset_locked
bool ruleset_locked
Definition packets_gen.h:1845
packet_edit_game::scenario_players
bool scenario_players
Definition packets_gen.h:1841
packet_edit_game::lake_flooding
bool lake_flooding
Definition packets_gen.h:1844
packet_edit_game::startpos_nations
bool startpos_nations
Definition packets_gen.h:1842
packet_edit_game::scenario_name
char scenario_name[256]
Definition packets_gen.h:1838
packet_edit_game::prevent_new_cities
bool prevent_new_cities
Definition packets_gen.h:1843
packet_edit_game::scenario
bool scenario
Definition packets_gen.h:1837
packet_edit_game::scenario_authors
char scenario_authors[MAX_LEN_PACKET/3]
Definition packets_gen.h:1839
packet_edit_game::scenario_random
bool scenario_random
Definition packets_gen.h:1840
packet_edit_mode
Definition packets_gen.h:1658
packet_edit_mode::state
bool state
Definition packets_gen.h:1659
packet_edit_object_created
Definition packets_gen.h:1852
packet_edit_object_created::id
int id
Definition packets_gen.h:1854
packet_edit_object_created::tag
int tag
Definition packets_gen.h:1853
packet_edit_player_create
Definition packets_gen.h:1792
packet_edit_player_create::tag
int tag
Definition packets_gen.h:1793
packet_edit_player_remove
Definition packets_gen.h:1796
packet_edit_player_remove::id
int id
Definition packets_gen.h:1797
packet_edit_player_vision
Definition packets_gen.h:1829
packet_edit_player_vision::tile
int tile
Definition packets_gen.h:1831
packet_edit_player_vision::known
bool known
Definition packets_gen.h:1832
packet_edit_player_vision::player
int player
Definition packets_gen.h:1830
packet_edit_player_vision::size
int size
Definition packets_gen.h:1833
packet_edit_player
Definition packets_gen.h:1800
packet_edit_player::ranked_username
char ranked_username[MAX_LEN_NAME]
Definition packets_gen.h:1804
packet_edit_player::gold
int gold
Definition packets_gen.h:1817
packet_edit_player::team
int team
Definition packets_gen.h:1810
packet_edit_player::scenario_reserved
bool scenario_reserved
Definition packets_gen.h:1826
packet_edit_player::nation
Nation_type_id nation
Definition packets_gen.h:1809
packet_edit_player::user_turns
int user_turns
Definition packets_gen.h:1805
packet_edit_player::tax
int tax
Definition packets_gen.h:1818
packet_edit_player::ai
bool ai
Definition packets_gen.h:1825
packet_edit_player::luxury
int luxury
Definition packets_gen.h:1820
packet_edit_player::nturns_idle
int nturns_idle
Definition packets_gen.h:1812
packet_edit_player::username
char username[MAX_LEN_NAME]
Definition packets_gen.h:1803
packet_edit_player::revolution_finishes
int revolution_finishes
Definition packets_gen.h:1814
packet_edit_player::is_male
bool is_male
Definition packets_gen.h:1806
packet_edit_player::science
int science
Definition packets_gen.h:1819
packet_edit_player::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1802
packet_edit_player::embassy
bv_player embassy
Definition packets_gen.h:1816
packet_edit_player::phase_done
bool phase_done
Definition packets_gen.h:1811
packet_edit_player::autoselect_weight
int autoselect_weight
Definition packets_gen.h:1815
packet_edit_player::id
int id
Definition packets_gen.h:1801
packet_edit_player::government
Government_type_id government
Definition packets_gen.h:1807
packet_edit_player::inventions
bool inventions[A_LAST+1]
Definition packets_gen.h:1824
packet_edit_player::bulbs_researched
int bulbs_researched
Definition packets_gen.h:1823
packet_edit_player::is_alive
bool is_alive
Definition packets_gen.h:1813
packet_edit_player::researching
int researching
Definition packets_gen.h:1822
packet_edit_player::future_tech
int future_tech
Definition packets_gen.h:1821
packet_edit_player::target_government
Government_type_id target_government
Definition packets_gen.h:1808
packet_edit_recalculate_borders
Definition packets_gen.h:1662
packet_edit_recalculate_borders::__dummy
char __dummy
Definition packets_gen.h:1663
packet_edit_scenario_desc
Definition packets_gen.h:1848
packet_edit_scenario_desc::scenario_desc
char scenario_desc[MAX_LEN_CONTENT]
Definition packets_gen.h:1849
packet_edit_startpos_full
Definition packets_gen.h:1694
packet_edit_startpos_full::id
int id
Definition packets_gen.h:1695
packet_edit_startpos_full::exclude
bool exclude
Definition packets_gen.h:1696
packet_edit_startpos_full::nations
bv_startpos_nations nations
Definition packets_gen.h:1697
packet_edit_startpos
Definition packets_gen.h:1688
packet_edit_startpos::removal
bool removal
Definition packets_gen.h:1690
packet_edit_startpos::tag
int tag
Definition packets_gen.h:1691
packet_edit_startpos::id
int id
Definition packets_gen.h:1689
packet_edit_tile_extra
Definition packets_gen.h:1680
packet_edit_tile_extra::tile
int tile
Definition packets_gen.h:1681
packet_edit_tile_extra::extra_type_id
int extra_type_id
Definition packets_gen.h:1682
packet_edit_tile_extra::removal
bool removal
Definition packets_gen.h:1683
packet_edit_tile_extra::size
int size
Definition packets_gen.h:1685
packet_edit_tile_extra::eowner
int eowner
Definition packets_gen.h:1684
packet_edit_tile_terrain
Definition packets_gen.h:1674
packet_edit_tile_terrain::size
int size
Definition packets_gen.h:1677
packet_edit_tile_terrain::tile
int tile
Definition packets_gen.h:1675
packet_edit_tile_terrain::terrain
Terrain_type_id terrain
Definition packets_gen.h:1676
packet_edit_tile
Definition packets_gen.h:1700
packet_edit_tile::resource
Resource_type_id resource
Definition packets_gen.h:1703
packet_edit_tile::startpos_nation
Nation_type_id startpos_nation
Definition packets_gen.h:1705
packet_edit_tile::eowner
int eowner
Definition packets_gen.h:1706
packet_edit_tile::label
char label[MAX_LEN_NAME]
Definition packets_gen.h:1707
packet_edit_tile::extras
bv_extras extras
Definition packets_gen.h:1702
packet_edit_tile::tile
int tile
Definition packets_gen.h:1701
packet_edit_tile::terrain
Terrain_type_id terrain
Definition packets_gen.h:1704
packet_edit_toggle_fogofwar
Definition packets_gen.h:1670
packet_edit_toggle_fogofwar::player
int player
Definition packets_gen.h:1671
packet_edit_unit_create
Definition packets_gen.h:1710
packet_edit_unit_create::tag
int tag
Definition packets_gen.h:1715
packet_edit_unit_create::count
int count
Definition packets_gen.h:1714
packet_edit_unit_create::type
Unit_type_id type
Definition packets_gen.h:1713
packet_edit_unit_create::tile
int tile
Definition packets_gen.h:1712
packet_edit_unit_create::owner
int owner
Definition packets_gen.h:1711
packet_edit_unit_remove_by_id
Definition packets_gen.h:1725
packet_edit_unit_remove_by_id::id
int id
Definition packets_gen.h:1726
packet_edit_unit_remove
Definition packets_gen.h:1718
packet_edit_unit_remove::count
int count
Definition packets_gen.h:1722
packet_edit_unit_remove::tile
int tile
Definition packets_gen.h:1720
packet_edit_unit_remove::owner
int owner
Definition packets_gen.h:1719
packet_edit_unit_remove::type
Unit_type_id type
Definition packets_gen.h:1721
packet_edit_unit
Definition packets_gen.h:1729
packet_edit_unit::owner
int owner
Definition packets_gen.h:1732
packet_edit_unit::activity_count
int activity_count
Definition packets_gen.h:1739
packet_edit_unit::stay
bool stay
Definition packets_gen.h:1746
packet_edit_unit::moved
bool moved
Definition packets_gen.h:1742
packet_edit_unit::transported_by
int transported_by
Definition packets_gen.h:1745
packet_edit_unit::debug
bool debug
Definition packets_gen.h:1741
packet_edit_unit::paradropped
bool paradropped
Definition packets_gen.h:1743
packet_edit_unit::done_moving
bool done_moving
Definition packets_gen.h:1744
packet_edit_unit::homecity
int homecity
Definition packets_gen.h:1733
packet_edit_unit::moves_left
int moves_left
Definition packets_gen.h:1734
packet_edit_unit::id
int id
Definition packets_gen.h:1730
packet_edit_unit::hp
int hp
Definition packets_gen.h:1735
packet_edit_unit::utype
Unit_type_id utype
Definition packets_gen.h:1731
packet_edit_unit::activity
enum unit_activity activity
Definition packets_gen.h:1738
packet_edit_unit::fuel
int fuel
Definition packets_gen.h:1737
packet_edit_unit::veteran
int veteran
Definition packets_gen.h:1736
packet_edit_unit::activity_base
Base_type_id activity_base
Definition packets_gen.h:1740
packet_end_phase
Definition packets_gen.h:884
packet_end_phase::__dummy
char __dummy
Definition packets_gen.h:885
packet_end_turn
Definition packets_gen.h:902
packet_end_turn::__dummy
char __dummy
Definition packets_gen.h:903
packet_endgame_player
Definition packets_gen.h:91
packet_endgame_player::category_num
int category_num
Definition packets_gen.h:92
packet_endgame_player::winner
bool winner
Definition packets_gen.h:96
packet_endgame_player::player_id
int player_id
Definition packets_gen.h:93
packet_endgame_player::category_score
int category_score[32]
Definition packets_gen.h:95
packet_endgame_player::score
int score
Definition packets_gen.h:94
packet_endgame_report
Definition packets_gen.h:85
packet_endgame_report::category_name
char category_name[32][MAX_LEN_NAME]
Definition packets_gen.h:87
packet_endgame_report::category_num
int category_num
Definition packets_gen.h:86
packet_endgame_report::player_num
int player_num
Definition packets_gen.h:88
packet_freeze_client
Definition packets_gen.h:906
packet_freeze_client::__dummy
char __dummy
Definition packets_gen.h:907
packet_game_info
Definition packets_gen.h:115
packet_game_info::tech_steal_allow_holes
bool tech_steal_allow_holes
Definition packets_gen.h:211
packet_game_info::coolinglevel
int coolinglevel
Definition packets_gen.h:147
packet_game_info::min_trade_route_val
int min_trade_route_val
Definition packets_gen.h:158
packet_game_info::shieldbox
int shieldbox
Definition packets_gen.h:221
packet_game_info::illness_trade_infection
int illness_trade_infection
Definition packets_gen.h:183
packet_game_info::fulltradesize
int fulltradesize
Definition packets_gen.h:156
packet_game_info::gameloss_style
enum gameloss_style gameloss_style
Definition packets_gen.h:232
packet_game_info::history_interest_pml
int history_interest_pml
Definition packets_gen.h:136
packet_game_info::citizen_partisans_pct
int citizen_partisans_pct
Definition packets_gen.h:144
packet_game_info::restrictinfra
bool restrictinfra
Definition packets_gen.h:218
packet_game_info::celebratesize
int celebratesize
Definition packets_gen.h:137
packet_game_info::goods_selection
enum goods_selection_method goods_selection
Definition packets_gen.h:160
packet_game_info::borders
enum borders_mode borders
Definition packets_gen.h:130
packet_game_info::team_pooled_research
bool team_pooled_research
Definition packets_gen.h:224
packet_game_info::illness_base_factor
int illness_base_factor
Definition packets_gen.h:179
packet_game_info::illness_min_size
int illness_min_size
Definition packets_gen.h:180
packet_game_info::aifill
int aifill
Definition packets_gen.h:117
packet_game_info::happyborders
enum happyborders_type happyborders
Definition packets_gen.h:177
packet_game_info::add_to_size_limit
int add_to_size_limit
Definition packets_gen.h:116
packet_game_info::forced_science
int forced_science
Definition packets_gen.h:155
packet_game_info::disasters
int disasters
Definition packets_gen.h:217
packet_game_info::trading_city
bool trading_city
Definition packets_gen.h:238
packet_game_info::granary_num_inis
int granary_num_inis
Definition packets_gen.h:174
packet_game_info::government_during_revolution_id
Government_type_id government_during_revolution_id
Definition packets_gen.h:171
packet_game_info::first_timeout
int first_timeout
Definition packets_gen.h:234
packet_game_info::globalwarming
int globalwarming
Definition packets_gen.h:164
packet_game_info::gold_upkeep_style
enum gold_upkeep_style gold_upkeep_style
Definition packets_gen.h:166
packet_game_info::pop_report_zeroes
int pop_report_zeroes
Definition packets_gen.h:139
packet_game_info::nuclearwinter
int nuclearwinter
Definition packets_gen.h:205
packet_game_info::killstack
bool killstack
Definition packets_gen.h:188
packet_game_info::damage_reduces_bombard_rate
bool damage_reduces_bombard_rate
Definition packets_gen.h:192
packet_game_info::techloss_forgiveness
int techloss_forgiveness
Definition packets_gen.h:230
packet_game_info::citizen_nationality
bool citizen_nationality
Definition packets_gen.h:140
packet_game_info::nuke_pop_loss_pct
int nuke_pop_loss_pct
Definition packets_gen.h:197
packet_game_info::nuke_defender_survival_chance_pct
int nuke_defender_survival_chance_pct
Definition packets_gen.h:198
packet_game_info::angrycitizen
int angrycitizen
Definition packets_gen.h:122
packet_game_info::granary_food_inc
int granary_food_inc
Definition packets_gen.h:172
packet_game_info::tech_upkeep_style
enum tech_upkeep_style tech_upkeep_style
Definition packets_gen.h:229
packet_game_info::notradesize
int notradesize
Definition packets_gen.h:203
packet_game_info::tech_trade_loss_allow_holes
bool tech_trade_loss_allow_holes
Definition packets_gen.h:213
packet_game_info::granary_food_ini
int granary_food_ini[MAX_GRANARY_INIS]
Definition packets_gen.h:173
packet_game_info::culture_vic_lead
int culture_vic_lead
Definition packets_gen.h:134
packet_game_info::diplomacy
enum diplomacy_mode diplomacy
Definition packets_gen.h:149
packet_game_info::trading_gold
bool trading_gold
Definition packets_gen.h:239
packet_game_info::trade_world_rel_pct
int trade_world_rel_pct
Definition packets_gen.h:157
packet_game_info::free_tech_method
enum free_tech_method free_tech_method
Definition packets_gen.h:231
packet_game_info::changable_tax
bool changable_tax
Definition packets_gen.h:138
packet_game_info::rapturedelay
int rapturedelay
Definition packets_gen.h:216
packet_game_info::tech_leak_pct
int tech_leak_pct
Definition packets_gen.h:126
packet_game_info::steal_maps_reveals_all_cities
bool steal_maps_reveals_all_cities
Definition packets_gen.h:209
packet_game_info::init_city_radius_sq
int init_city_radius_sq
Definition packets_gen.h:184
packet_game_info::granularity
int granularity
Definition packets_gen.h:250
packet_game_info::conquest_convert_pct
int conquest_convert_pct
Definition packets_gen.h:143
packet_game_info::trade_revenue_style
enum trade_revenue_style trade_revenue_style
Definition packets_gen.h:237
packet_game_info::muuk_food_wipe
bool muuk_food_wipe
Definition packets_gen.h:200
packet_game_info::homeless_gold_upkeep
bool homeless_gold_upkeep
Definition packets_gen.h:167
packet_game_info::tired_attack
bool tired_attack
Definition packets_gen.h:235
packet_game_info::only_real_fight_makes_veteran
bool only_real_fight_makes_veteran
Definition packets_gen.h:190
packet_game_info::year_0_hack
bool year_0_hack
Definition packets_gen.h:244
packet_game_info::great_wonder_owners
int great_wonder_owners[B_LAST]
Definition packets_gen.h:175
packet_game_info::cooling
int cooling
Definition packets_gen.h:146
packet_game_info::low_firepower_pearl_harbour
int low_firepower_pearl_harbour
Definition packets_gen.h:194
packet_game_info::base_pollution
int base_pollution
Definition packets_gen.h:123
packet_game_info::is_edit_mode
bool is_edit_mode
Definition packets_gen.h:185
packet_game_info::trading_tech
bool trading_tech
Definition packets_gen.h:240
packet_game_info::citizen_convert_speed
int citizen_convert_speed
Definition packets_gen.h:142
packet_game_info::forced_gold
int forced_gold
Definition packets_gen.h:153
packet_game_info::global_advances
bool global_advances[A_LAST]
Definition packets_gen.h:162
packet_game_info::illness_pollution_factor
int illness_pollution_factor
Definition packets_gen.h:182
packet_game_info::is_new_game
bool is_new_game
Definition packets_gen.h:186
packet_game_info::fragment_count
int fragment_count
Definition packets_gen.h:246
packet_game_info::infrapoints
int infrapoints
Definition packets_gen.h:168
packet_game_info::base_tech_cost
int base_tech_cost
Definition packets_gen.h:124
packet_game_info::warminglevel
int warminglevel
Definition packets_gen.h:242
packet_game_info::airlifting_style
enum airlifting_style airlifting_style
Definition packets_gen.h:119
packet_game_info::happy_cost
int happy_cost
Definition packets_gen.h:176
packet_game_info::civil_war_enabled
bool civil_war_enabled
Definition packets_gen.h:247
packet_game_info::muuk_gold_wipe
bool muuk_gold_wipe
Definition packets_gen.h:201
packet_game_info::food_cost
int food_cost
Definition packets_gen.h:151
packet_game_info::tech_leakage
enum tech_leakage_style tech_leakage
Definition packets_gen.h:227
packet_game_info::skill_level
enum ai_level skill_level
Definition packets_gen.h:222
packet_game_info::revolentype
enum revolen_type revolentype
Definition packets_gen.h:169
packet_game_info::gold
int gold
Definition packets_gen.h:165
packet_game_info::phase_mode
enum phase_mode_type phase_mode
Definition packets_gen.h:207
packet_game_info::reveal_trade_partner
bool reveal_trade_partner
Definition packets_gen.h:159
packet_game_info::airlift_from_always_enabled
bool airlift_from_always_enabled
Definition packets_gen.h:120
packet_game_info::caravan_bonus_style
enum caravan_bonus_style caravan_bonus_style
Definition packets_gen.h:132
packet_game_info::min_tech_cost
int min_tech_cost
Definition packets_gen.h:125
packet_game_info::tech
int tech
Definition packets_gen.h:225
packet_game_info::illness_on
bool illness_on
Definition packets_gen.h:181
packet_game_info::civil_war_bonus_unhappy
int civil_war_bonus_unhappy
Definition packets_gen.h:249
packet_game_info::only_killing_makes_veteran
bool only_killing_makes_veteran
Definition packets_gen.h:189
packet_game_info::poison_empties_food_stock
bool poison_empties_food_stock
Definition packets_gen.h:210
packet_game_info::tech_loss_allow_holes
bool tech_loss_allow_holes
Definition packets_gen.h:215
packet_game_info::diplchance_initial_odds
bv_actions diplchance_initial_odds
Definition packets_gen.h:148
packet_game_info::tech_trade_allow_holes
bool tech_trade_allow_holes
Definition packets_gen.h:212
packet_game_info::heating
int heating
Definition packets_gen.h:178
packet_game_info::turn
int turn
Definition packets_gen.h:241
packet_game_info::low_firepower_nonnat_bombard
int low_firepower_nonnat_bombard
Definition packets_gen.h:196
packet_game_info::year
int year
Definition packets_gen.h:243
packet_game_info::border_size_effect
int border_size_effect
Definition packets_gen.h:128
packet_game_info::tech_upkeep_divider
int tech_upkeep_divider
Definition packets_gen.h:228
packet_game_info::sciencebox
int sciencebox
Definition packets_gen.h:220
packet_game_info::pillage_select
bool pillage_select
Definition packets_gen.h:208
packet_game_info::top_cities_count
int top_cities_count
Definition packets_gen.h:245
packet_game_info::phase
int phase
Definition packets_gen.h:206
packet_game_info::tech_parasite_allow_holes
bool tech_parasite_allow_holes
Definition packets_gen.h:214
packet_game_info::muuk_shield_wipe
bool muuk_shield_wipe
Definition packets_gen.h:202
packet_game_info::base_bribe_cost
int base_bribe_cost
Definition packets_gen.h:131
packet_game_info::trademindist
int trademindist
Definition packets_gen.h:236
packet_game_info::nuclear_winter
bool nuclear_winter
Definition packets_gen.h:204
packet_game_info::low_firepower_combat_bonus
int low_firepower_combat_bonus
Definition packets_gen.h:195
packet_game_info::culture_migration_pml
int culture_migration_pml
Definition packets_gen.h:135
packet_game_info::border_city_permanent_radius_sq
int border_city_permanent_radius_sq
Definition packets_gen.h:129
packet_game_info::unreachable_protects
bool unreachable_protects
Definition packets_gen.h:219
packet_game_info::culture_vic_points
int culture_vic_points
Definition packets_gen.h:133
packet_game_info::persistent_ready
enum persistent_ready persistent_ready
Definition packets_gen.h:118
packet_game_info::low_firepower_badwallattacker
int low_firepower_badwallattacker
Definition packets_gen.h:193
packet_game_info::airlift_to_always_enabled
bool airlift_to_always_enabled
Definition packets_gen.h:121
packet_game_info::fogofwar
bool fogofwar
Definition packets_gen.h:150
packet_game_info::small_wonder_visibility
enum wonder_visib_type small_wonder_visibility
Definition packets_gen.h:251
packet_game_info::tech_cost_style
enum tech_cost_style tech_cost_style
Definition packets_gen.h:226
packet_game_info::foodbox
int foodbox
Definition packets_gen.h:152
packet_game_info::combat_odds_scaled_veterancy
bool combat_odds_scaled_veterancy
Definition packets_gen.h:191
packet_game_info::unit_builders_nationality
bool unit_builders_nationality
Definition packets_gen.h:141
packet_game_info::victory_conditions
enum victory_condition_type victory_conditions
Definition packets_gen.h:223
packet_game_info::civil_war_bonus_celebrating
int civil_war_bonus_celebrating
Definition packets_gen.h:248
packet_game_info::border_city_radius_sq
int border_city_radius_sq
Definition packets_gen.h:127
packet_game_info::global_warming
bool global_warming
Definition packets_gen.h:163
packet_game_info::citymindist
int citymindist
Definition packets_gen.h:145
packet_game_info::default_government_id
Government_type_id default_government_id
Definition packets_gen.h:170
packet_game_info::forced_luxury
int forced_luxury
Definition packets_gen.h:154
packet_game_info::global_advance_count
int global_advance_count
Definition packets_gen.h:161
packet_game_info::min_city_center_output
int min_city_center_output[O_LAST]
Definition packets_gen.h:199
packet_game_info::killcitizen
bool killcitizen
Definition packets_gen.h:187
packet_game_info::timeout
int timeout
Definition packets_gen.h:233
packet_game_load
Definition packets_gen.h:1507
packet_game_load::load_successful
bool load_successful
Definition packets_gen.h:1508
packet_game_load::load_filename
char load_filename[MAX_LEN_PACKET]
Definition packets_gen.h:1509
packet_investigate_finished
Definition packets_gen.h:37
packet_investigate_finished::city_id
int city_id
Definition packets_gen.h:39
packet_investigate_finished::unit_id
int unit_id
Definition packets_gen.h:38
packet_investigate_started
Definition packets_gen.h:32
packet_investigate_started::city_id
int city_id
Definition packets_gen.h:34
packet_investigate_started::unit_id
int unit_id
Definition packets_gen.h:33
packet_map_info
Definition packets_gen.h:267
packet_map_info::wrap_id
int wrap_id
Definition packets_gen.h:271
packet_map_info::south_latitude
int south_latitude
Definition packets_gen.h:273
packet_map_info::ysize
int ysize
Definition packets_gen.h:269
packet_map_info::topology_id
int topology_id
Definition packets_gen.h:270
packet_map_info::xsize
int xsize
Definition packets_gen.h:268
packet_map_info::north_latitude
int north_latitude
Definition packets_gen.h:272
packet_nation_availability
Definition packets_gen.h:1152
packet_nation_availability::ncount
int ncount
Definition packets_gen.h:1153
packet_nation_availability::is_pickable
bool is_pickable[MAX_NUM_NATIONS]
Definition packets_gen.h:1154
packet_nation_availability::nationset_change
bool nationset_change
Definition packets_gen.h:1155
packet_nation_select_req
Definition packets_gen.h:72
packet_nation_select_req::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:76
packet_nation_select_req::nation_no
Nation_type_id nation_no
Definition packets_gen.h:74
packet_nation_select_req::player_no
int player_no
Definition packets_gen.h:73
packet_nation_select_req::is_male
bool is_male
Definition packets_gen.h:75
packet_nation_select_req::style
int style
Definition packets_gen.h:77
packet_new_year
Definition packets_gen.h:892
packet_new_year::year
int year
Definition packets_gen.h:893
packet_new_year::turn
int turn
Definition packets_gen.h:895
packet_new_year::fragments
int fragments
Definition packets_gen.h:894
packet_nuke_tile_info
Definition packets_gen.h:276
packet_nuke_tile_info::tile
int tile
Definition packets_gen.h:277
packet_page_msg_part
Definition packets_gen.h:840
packet_page_msg_part::lines
char lines[MAX_LEN_CONTENT]
Definition packets_gen.h:841
packet_page_msg
Definition packets_gen.h:832
packet_page_msg::event
enum event_type event
Definition packets_gen.h:835
packet_page_msg::headline
char headline[MAX_LEN_MSG]
Definition packets_gen.h:834
packet_page_msg::parts
int parts
Definition packets_gen.h:837
packet_page_msg::caption
char caption[MAX_LEN_MSG]
Definition packets_gen.h:833
packet_page_msg::len
int len
Definition packets_gen.h:836
packet_play_music
Definition packets_gen.h:1857
packet_play_music::tag
char tag[MAX_LEN_NAME]
Definition packets_gen.h:1858
packet_player_attribute_block
Definition packets_gen.h:578
packet_player_attribute_block::__dummy
char __dummy
Definition packets_gen.h:579
packet_player_attribute_chunk
Definition packets_gen.h:582
packet_player_attribute_chunk::chunk_length
int chunk_length
Definition packets_gen.h:585
packet_player_attribute_chunk::data
unsigned char data[ATTRIBUTE_CHUNK_SIZE]
Definition packets_gen.h:586
packet_player_attribute_chunk::total_length
int total_length
Definition packets_gen.h:584
packet_player_attribute_chunk::offset
int offset
Definition packets_gen.h:583
packet_player_change_government
Definition packets_gen.h:569
packet_player_change_government::government
Government_type_id government
Definition packets_gen.h:570
packet_player_diplstate
Definition packets_gen.h:589
packet_player_diplstate::plr1
int plr1
Definition packets_gen.h:591
packet_player_diplstate::diplstate_id
int diplstate_id
Definition packets_gen.h:590
packet_player_diplstate::type
enum diplstate_type type
Definition packets_gen.h:593
packet_player_diplstate::has_reason_to_cancel
int has_reason_to_cancel
Definition packets_gen.h:595
packet_player_diplstate::turns_left
int turns_left
Definition packets_gen.h:594
packet_player_diplstate::plr2
int plr2
Definition packets_gen.h:592
packet_player_diplstate::contact_turns_left
int contact_turns_left
Definition packets_gen.h:596
packet_player_info
Definition packets_gen.h:508
packet_player_info::ai_skill_level
enum ai_level ai_skill_level
Definition packets_gen.h:539
packet_player_info::phase_done
bool phase_done
Definition packets_gen.h:525
packet_player_info::is_alive
bool is_alive
Definition packets_gen.h:528
packet_player_info::is_male
bool is_male
Definition packets_gen.h:514
packet_player_info::luxury
int luxury
Definition packets_gen.h:533
packet_player_info::turns_alive
int turns_alive
Definition packets_gen.h:527
packet_player_info::color_red
int color_red
Definition packets_gen.h:548
packet_player_info::is_ready
bool is_ready
Definition packets_gen.h:524
packet_player_info::username
char username[MAX_LEN_NAME]
Definition packets_gen.h:511
packet_player_info::tech_upkeep
int tech_upkeep
Definition packets_gen.h:535
packet_player_info::style
int style
Definition packets_gen.h:520
packet_player_info::culture
int culture
Definition packets_gen.h:544
packet_player_info::flags
bv_plr_flags flags
Definition packets_gen.h:551
packet_player_info::mood
enum mood_type mood
Definition packets_gen.h:519
packet_player_info::color_green
int color_green
Definition packets_gen.h:549
packet_player_info::color_valid
bool color_valid
Definition packets_gen.h:546
packet_player_info::gives_shared_vision
bv_player gives_shared_vision
Definition packets_gen.h:541
packet_player_info::team
int team
Definition packets_gen.h:523
packet_player_info::love
int love[MAX_NUM_PLAYER_SLOTS]
Definition packets_gen.h:545
packet_player_info::autoselect_weight
int autoselect_weight
Definition packets_gen.h:529
packet_player_info::was_created
bool was_created
Definition packets_gen.h:515
packet_player_info::target_government
Government_type_id target_government
Definition packets_gen.h:517
packet_player_info::multiplier_target
int multiplier_target[MAX_NUM_MULTIPLIERS]
Definition packets_gen.h:555
packet_player_info::is_connected
bool is_connected
Definition packets_gen.h:537
packet_player_info::unassigned_user
bool unassigned_user
Definition packets_gen.h:512
packet_player_info::multiplier_changed
int multiplier_changed[MAX_NUM_MULTIPLIERS]
Definition packets_gen.h:556
packet_player_info::gives_shared_tiles
bv_player gives_shared_tiles
Definition packets_gen.h:542
packet_player_info::nturns_idle
int nturns_idle
Definition packets_gen.h:526
packet_player_info::score
int score
Definition packets_gen.h:513
packet_player_info::multip_count
int multip_count
Definition packets_gen.h:553
packet_player_info::nation
Nation_type_id nation
Definition packets_gen.h:522
packet_player_info::science_cost
int science_cost
Definition packets_gen.h:536
packet_player_info::barbarian_type
enum barbarian_type barbarian_type
Definition packets_gen.h:540
packet_player_info::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:510
packet_player_info::government
Government_type_id government
Definition packets_gen.h:516
packet_player_info::real_embassy
bv_player real_embassy
Definition packets_gen.h:518
packet_player_info::wonders
int wonders[B_LAST]
Definition packets_gen.h:552
packet_player_info::tax
int tax
Definition packets_gen.h:531
packet_player_info::music_style
int music_style
Definition packets_gen.h:521
packet_player_info::history
int history
Definition packets_gen.h:543
packet_player_info::science
int science
Definition packets_gen.h:532
packet_player_info::gold
int gold
Definition packets_gen.h:530
packet_player_info::revolution_finishes
int revolution_finishes
Definition packets_gen.h:538
packet_player_info::color_changeable
bool color_changeable
Definition packets_gen.h:547
packet_player_info::color_blue
int color_blue
Definition packets_gen.h:550
packet_player_info::infrapoints
int infrapoints
Definition packets_gen.h:534
packet_player_info::playerno
int playerno
Definition packets_gen.h:509
packet_player_multiplier
Definition packets_gen.h:599
packet_player_multiplier::count
int count
Definition packets_gen.h:600
packet_player_multiplier::multipliers
int multipliers[MAX_NUM_MULTIPLIERS]
Definition packets_gen.h:601
packet_player_phase_done
Definition packets_gen.h:559
packet_player_phase_done::turn
int turn
Definition packets_gen.h:560
packet_player_place_infra
Definition packets_gen.h:573
packet_player_place_infra::tile
int tile
Definition packets_gen.h:574
packet_player_place_infra::extra
int extra
Definition packets_gen.h:575
packet_player_rates
Definition packets_gen.h:563
packet_player_rates::science
int science
Definition packets_gen.h:566
packet_player_rates::luxury
int luxury
Definition packets_gen.h:565
packet_player_rates::tax
int tax
Definition packets_gen.h:564
packet_player_ready
Definition packets_gen.h:80
packet_player_ready::player_no
int player_no
Definition packets_gen.h:81
packet_player_ready::is_ready
bool is_ready
Definition packets_gen.h:82
packet_player_remove
Definition packets_gen.h:504
packet_player_remove::playerno
int playerno
Definition packets_gen.h:505
packet_player_research
Definition packets_gen.h:620
packet_player_research::tech
int tech
Definition packets_gen.h:621
packet_player_tech_goal
Definition packets_gen.h:624
packet_player_tech_goal::tech
int tech
Definition packets_gen.h:625
packet_processing_finished
Definition packets_gen.h:28
packet_processing_finished::__dummy
char __dummy
Definition packets_gen.h:29
packet_processing_started
Definition packets_gen.h:24
packet_processing_started::__dummy
char __dummy
Definition packets_gen.h:25
packet_report_req
Definition packets_gen.h:844
packet_report_req::type
enum report_type type
Definition packets_gen.h:845
packet_research_info
Definition packets_gen.h:604
packet_research_info::tech_goal
int tech_goal
Definition packets_gen.h:611
packet_research_info::researching
int researching
Definition packets_gen.h:608
packet_research_info::inventions
char inventions[A_LAST+1]
Definition packets_gen.h:613
packet_research_info::techs_researched
int techs_researched
Definition packets_gen.h:606
packet_research_info::id
int id
Definition packets_gen.h:605
packet_research_info::future_tech
int future_tech
Definition packets_gen.h:607
packet_research_info::bulbs_researched
int bulbs_researched
Definition packets_gen.h:610
packet_research_info::researching_cost
int researching_cost
Definition packets_gen.h:609
packet_research_info::total_bulbs_prod
int total_bulbs_prod
Definition packets_gen.h:612
packet_ruleset_achievement
Definition packets_gen.h:1357
packet_ruleset_achievement::id
int id
Definition packets_gen.h:1358
packet_ruleset_achievement::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1360
packet_ruleset_achievement::unique
bool unique
Definition packets_gen.h:1362
packet_ruleset_achievement::value
int value
Definition packets_gen.h:1363
packet_ruleset_achievement::type
enum achievement_type type
Definition packets_gen.h:1361
packet_ruleset_achievement::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1359
packet_ruleset_action_auto
Definition packets_gen.h:1396
packet_ruleset_action_auto::id
int id
Definition packets_gen.h:1397
packet_ruleset_action_auto::alternatives
action_id alternatives[MAX_NUM_ACTIONS]
Definition packets_gen.h:1402
packet_ruleset_action_auto::reqs_count
int reqs_count
Definition packets_gen.h:1399
packet_ruleset_action_auto::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1400
packet_ruleset_action_auto::alternatives_count
int alternatives_count
Definition packets_gen.h:1401
packet_ruleset_action_auto::cause
enum action_auto_perf_cause cause
Definition packets_gen.h:1398
packet_ruleset_action_enabler
Definition packets_gen.h:1388
packet_ruleset_action_enabler::enabled_action
action_id enabled_action
Definition packets_gen.h:1389
packet_ruleset_action_enabler::actor_reqs_count
int actor_reqs_count
Definition packets_gen.h:1390
packet_ruleset_action_enabler::actor_reqs
struct requirement actor_reqs[MAX_NUM_REQS]
Definition packets_gen.h:1391
packet_ruleset_action_enabler::target_reqs
struct requirement target_reqs[MAX_NUM_REQS]
Definition packets_gen.h:1393
packet_ruleset_action_enabler::target_reqs_count
int target_reqs_count
Definition packets_gen.h:1392
packet_ruleset_action
Definition packets_gen.h:1373
packet_ruleset_action::quiet
bool quiet
Definition packets_gen.h:1376
packet_ruleset_action::sub_tgt_kind
enum action_sub_target_kind sub_tgt_kind
Definition packets_gen.h:1382
packet_ruleset_action::act_kind
enum action_actor_kind act_kind
Definition packets_gen.h:1380
packet_ruleset_action::actor_consuming_always
bool actor_consuming_always
Definition packets_gen.h:1379
packet_ruleset_action::blocked_by
bv_actions blocked_by
Definition packets_gen.h:1385
packet_ruleset_action::max_distance
int max_distance
Definition packets_gen.h:1384
packet_ruleset_action::id
action_id id
Definition packets_gen.h:1374
packet_ruleset_action::min_distance
int min_distance
Definition packets_gen.h:1383
packet_ruleset_action::sub_results
bv_action_sub_results sub_results
Definition packets_gen.h:1378
packet_ruleset_action::ui_name
char ui_name[MAX_LEN_NAME]
Definition packets_gen.h:1375
packet_ruleset_action::tgt_kind
enum action_target_kind tgt_kind
Definition packets_gen.h:1381
packet_ruleset_action::result
enum action_result result
Definition packets_gen.h:1377
packet_ruleset_base
Definition packets_gen.h:1310
packet_ruleset_base::vision_subs_sq
int vision_subs_sq
Definition packets_gen.h:1316
packet_ruleset_base::vision_invis_sq
int vision_invis_sq
Definition packets_gen.h:1315
packet_ruleset_base::border_sq
int border_sq
Definition packets_gen.h:1313
packet_ruleset_base::vision_main_sq
int vision_main_sq
Definition packets_gen.h:1314
packet_ruleset_base::gui_type
enum base_gui_type gui_type
Definition packets_gen.h:1312
packet_ruleset_base::id
int id
Definition packets_gen.h:1311
packet_ruleset_building
Definition packets_gen.h:1175
packet_ruleset_building::flags
bv_impr_flags flags
Definition packets_gen.h:1190
packet_ruleset_building::id
Impr_type_id id
Definition packets_gen.h:1176
packet_ruleset_building::build_cost
int build_cost
Definition packets_gen.h:1187
packet_ruleset_building::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1194
packet_ruleset_building::obs_reqs
struct requirement obs_reqs[MAX_NUM_REQS]
Definition packets_gen.h:1186
packet_ruleset_building::upkeep
int upkeep
Definition packets_gen.h:1188
packet_ruleset_building::soundtag_alt
char soundtag_alt[MAX_LEN_NAME]
Definition packets_gen.h:1192
packet_ruleset_building::reqs_count
int reqs_count
Definition packets_gen.h:1183
packet_ruleset_building::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1184
packet_ruleset_building::genus
enum impr_genus_id genus
Definition packets_gen.h:1177
packet_ruleset_building::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1178
packet_ruleset_building::soundtag
char soundtag[MAX_LEN_NAME]
Definition packets_gen.h:1191
packet_ruleset_building::sabotage
int sabotage
Definition packets_gen.h:1189
packet_ruleset_building::soundtag_alt2
char soundtag_alt2[MAX_LEN_NAME]
Definition packets_gen.h:1193
packet_ruleset_building::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1179
packet_ruleset_building::obs_count
int obs_count
Definition packets_gen.h:1185
packet_ruleset_building::graphic_alt2
char graphic_alt2[MAX_LEN_NAME]
Definition packets_gen.h:1182
packet_ruleset_building::graphic_str
char graphic_str[MAX_LEN_NAME]
Definition packets_gen.h:1180
packet_ruleset_building::graphic_alt
char graphic_alt[MAX_LEN_NAME]
Definition packets_gen.h:1181
packet_ruleset_choices
Definition packets_gen.h:1498
packet_ruleset_choices::ruleset_count
int ruleset_count
Definition packets_gen.h:1499
packet_ruleset_choices::rulesets
char rulesets[MAX_NUM_RULESETS][MAX_RULESET_NAME_LENGTH]
Definition packets_gen.h:1500
packet_ruleset_city
Definition packets_gen.h:1164
packet_ruleset_city::citizens_graphic
char citizens_graphic[MAX_LEN_NAME]
Definition packets_gen.h:1168
packet_ruleset_city::style_id
int style_id
Definition packets_gen.h:1165
packet_ruleset_city::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1166
packet_ruleset_city::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1167
packet_ruleset_city::reqs_count
int reqs_count
Definition packets_gen.h:1169
packet_ruleset_city::graphic_alt
char graphic_alt[MAX_LEN_NAME]
Definition packets_gen.h:1172
packet_ruleset_city::graphic
char graphic[MAX_LEN_NAME]
Definition packets_gen.h:1171
packet_ruleset_city::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1170
packet_ruleset_clause
Definition packets_gen.h:1439
packet_ruleset_clause::type
enum clause_type type
Definition packets_gen.h:1440
packet_ruleset_clause::receiver_reqs
struct requirement receiver_reqs[MAX_NUM_REQS]
Definition packets_gen.h:1445
packet_ruleset_clause::receiver_reqs_count
int receiver_reqs_count
Definition packets_gen.h:1444
packet_ruleset_clause::giver_reqs_count
int giver_reqs_count
Definition packets_gen.h:1442
packet_ruleset_clause::enabled
bool enabled
Definition packets_gen.h:1441
packet_ruleset_clause::giver_reqs
struct requirement giver_reqs[MAX_NUM_REQS]
Definition packets_gen.h:1443
packet_ruleset_control
Definition packets_gen.h:1448
packet_ruleset_control::num_goods_types
int num_goods_types
Definition packets_gen.h:1458
packet_ruleset_control::preferred_soundset
char preferred_soundset[MAX_LEN_NAME]
Definition packets_gen.h:1472
packet_ruleset_control::num_styles
int num_styles
Definition packets_gen.h:1462
packet_ruleset_control::num_extra_types
int num_extra_types
Definition packets_gen.h:1454
packet_ruleset_control::num_unit_types
int num_unit_types
Definition packets_gen.h:1450
packet_ruleset_control::version
char version[MAX_LEN_NAME]
Definition packets_gen.h:1476
packet_ruleset_control::num_impr_types
int num_impr_types
Definition packets_gen.h:1451
packet_ruleset_control::nation_count
int nation_count
Definition packets_gen.h:1465
packet_ruleset_control::num_road_types
int num_road_types
Definition packets_gen.h:1456
packet_ruleset_control::terrain_count
int terrain_count
Definition packets_gen.h:1467
packet_ruleset_control::preferred_tileset
char preferred_tileset[MAX_LEN_NAME]
Definition packets_gen.h:1471
packet_ruleset_control::popup_tech_help
bool popup_tech_help
Definition packets_gen.h:1474
packet_ruleset_control::num_music_styles
int num_music_styles
Definition packets_gen.h:1463
packet_ruleset_control::num_tech_types
int num_tech_types
Definition packets_gen.h:1453
packet_ruleset_control::government_count
int government_count
Definition packets_gen.h:1464
packet_ruleset_control::num_disaster_types
int num_disaster_types
Definition packets_gen.h:1459
packet_ruleset_control::alt_dir
char alt_dir[MAX_LEN_NAME]
Definition packets_gen.h:1477
packet_ruleset_control::num_achievement_types
int num_achievement_types
Definition packets_gen.h:1460
packet_ruleset_control::num_counters
int num_counters
Definition packets_gen.h:1479
packet_ruleset_control::num_specialist_types
int num_specialist_types
Definition packets_gen.h:1468
packet_ruleset_control::preferred_musicset
char preferred_musicset[MAX_LEN_NAME]
Definition packets_gen.h:1473
packet_ruleset_control::num_tech_classes
int num_tech_classes
Definition packets_gen.h:1452
packet_ruleset_control::num_unit_classes
int num_unit_classes
Definition packets_gen.h:1449
packet_ruleset_control::num_city_styles
int num_city_styles
Definition packets_gen.h:1466
packet_ruleset_control::num_resource_types
int num_resource_types
Definition packets_gen.h:1457
packet_ruleset_control::num_multipliers
int num_multipliers
Definition packets_gen.h:1461
packet_ruleset_control::num_nation_sets
int num_nation_sets
Definition packets_gen.h:1470
packet_ruleset_control::desc_length
int desc_length
Definition packets_gen.h:1478
packet_ruleset_control::num_nation_groups
int num_nation_groups
Definition packets_gen.h:1469
packet_ruleset_control::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1475
packet_ruleset_control::num_base_types
int num_base_types
Definition packets_gen.h:1455
packet_ruleset_counter
Definition packets_gen.h:1405
packet_ruleset_counter::checkpoint
int checkpoint
Definition packets_gen.h:1410
packet_ruleset_counter::behaviour
enum counter_behaviour behaviour
Definition packets_gen.h:1412
packet_ruleset_counter::type
enum counter_target type
Definition packets_gen.h:1411
packet_ruleset_counter::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1406
packet_ruleset_counter::def
int def
Definition packets_gen.h:1409
packet_ruleset_counter::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1407
packet_ruleset_counter::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1408
packet_ruleset_description_part
Definition packets_gen.h:1486
packet_ruleset_description_part::text
char text[MAX_LEN_CONTENT]
Definition packets_gen.h:1487
packet_ruleset_disaster
Definition packets_gen.h:1347
packet_ruleset_disaster::frequency
int frequency
Definition packets_gen.h:1353
packet_ruleset_disaster::id
int id
Definition packets_gen.h:1348
packet_ruleset_disaster::reqs_count
int reqs_count
Definition packets_gen.h:1351
packet_ruleset_disaster::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1350
packet_ruleset_disaster::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1352
packet_ruleset_disaster::effects
bv_disaster_effects effects
Definition packets_gen.h:1354
packet_ruleset_disaster::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1349
packet_ruleset_effect
Definition packets_gen.h:1589
packet_ruleset_effect::reqs_count
int reqs_count
Definition packets_gen.h:1594
packet_ruleset_effect::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1595
packet_ruleset_effect::multiplier
Multiplier_type_id multiplier
Definition packets_gen.h:1593
packet_ruleset_effect::effect_value
int effect_value
Definition packets_gen.h:1591
packet_ruleset_effect::has_multiplier
bool has_multiplier
Definition packets_gen.h:1592
packet_ruleset_effect::effect_type
enum effect_type effect_type
Definition packets_gen.h:1590
packet_ruleset_extra_flag
Definition packets_gen.h:1304
packet_ruleset_extra_flag::helptxt
char helptxt[MAX_LEN_PACKET]
Definition packets_gen.h:1307
packet_ruleset_extra_flag::id
int id
Definition packets_gen.h:1305
packet_ruleset_extra_flag::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1306
packet_ruleset_extra
Definition packets_gen.h:1260
packet_ruleset_extra::id
int id
Definition packets_gen.h:1261
packet_ruleset_extra::removal_time
int removal_time
Definition packets_gen.h:1290
packet_ruleset_extra::defense_bonus
int defense_bonus
Definition packets_gen.h:1293
packet_ruleset_extra::infracost
int infracost
Definition packets_gen.h:1292
packet_ruleset_extra::native_to
bv_unit_classes native_to
Definition packets_gen.h:1295
packet_ruleset_extra::appearance_reqs_count
int appearance_reqs_count
Definition packets_gen.h:1280
packet_ruleset_extra::build_time_factor
int build_time_factor
Definition packets_gen.h:1289
packet_ruleset_extra::rmact_gfx_alt2
char rmact_gfx_alt2[MAX_LEN_NAME]
Definition packets_gen.h:1272
packet_ruleset_extra::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1276
packet_ruleset_extra::generated
bool generated
Definition packets_gen.h:1287
packet_ruleset_extra::disappearance_reqs_count
int disappearance_reqs_count
Definition packets_gen.h:1283
packet_ruleset_extra::appearance_chance
int appearance_chance
Definition packets_gen.h:1279
packet_ruleset_extra::graphic_alt
char graphic_alt[MAX_LEN_NAME]
Definition packets_gen.h:1274
packet_ruleset_extra::rmcauses
bv_rmcauses rmcauses
Definition packets_gen.h:1266
packet_ruleset_extra::act_gfx_alt2
char act_gfx_alt2[MAX_LEN_NAME]
Definition packets_gen.h:1269
packet_ruleset_extra::removal_time_factor
int removal_time_factor
Definition packets_gen.h:1291
packet_ruleset_extra::reqs_count
int reqs_count
Definition packets_gen.h:1275
packet_ruleset_extra::buildable
bool buildable
Definition packets_gen.h:1286
packet_ruleset_extra::disappearance_reqs
struct requirement disappearance_reqs[MAX_NUM_REQS]
Definition packets_gen.h:1284
packet_ruleset_extra::flags
bv_extra_flags flags
Definition packets_gen.h:1296
packet_ruleset_extra::act_gfx_alt
char act_gfx_alt[MAX_LEN_NAME]
Definition packets_gen.h:1268
packet_ruleset_extra::hidden_by
bv_extras hidden_by
Definition packets_gen.h:1297
packet_ruleset_extra::activity_gfx
char activity_gfx[MAX_LEN_NAME]
Definition packets_gen.h:1267
packet_ruleset_extra::build_time
int build_time
Definition packets_gen.h:1288
packet_ruleset_extra::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1263
packet_ruleset_extra::eus
enum extra_unit_seen_type eus
Definition packets_gen.h:1294
packet_ruleset_extra::appearance_reqs
struct requirement appearance_reqs[MAX_NUM_REQS]
Definition packets_gen.h:1281
packet_ruleset_extra::category
int category
Definition packets_gen.h:1264
packet_ruleset_extra::disappearance_chance
int disappearance_chance
Definition packets_gen.h:1282
packet_ruleset_extra::rmreqs_count
int rmreqs_count
Definition packets_gen.h:1277
packet_ruleset_extra::bridged_over
bv_extras bridged_over
Definition packets_gen.h:1298
packet_ruleset_extra::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1262
packet_ruleset_extra::graphic_str
char graphic_str[MAX_LEN_NAME]
Definition packets_gen.h:1273
packet_ruleset_extra::no_aggr_near_city
int no_aggr_near_city
Definition packets_gen.h:1300
packet_ruleset_extra::rmact_gfx_alt
char rmact_gfx_alt[MAX_LEN_NAME]
Definition packets_gen.h:1271
packet_ruleset_extra::rmact_gfx
char rmact_gfx[MAX_LEN_NAME]
Definition packets_gen.h:1270
packet_ruleset_extra::conflicts
bv_extras conflicts
Definition packets_gen.h:1299
packet_ruleset_extra::rmreqs
struct requirement rmreqs[MAX_NUM_REQS]
Definition packets_gen.h:1278
packet_ruleset_extra::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1301
packet_ruleset_extra::visibility_req
int visibility_req
Definition packets_gen.h:1285
packet_ruleset_extra::causes
bv_causes causes
Definition packets_gen.h:1265
packet_ruleset_game
Definition packets_gen.h:1015
packet_ruleset_game::work_raise_chance
int work_raise_chance[MAX_VET_LEVELS]
Definition packets_gen.h:1026
packet_ruleset_game::base_raise_chance
int base_raise_chance[MAX_VET_LEVELS]
Definition packets_gen.h:1025
packet_ruleset_game::global_init_techs
int global_init_techs[MAX_NUM_TECH_LIST]
Definition packets_gen.h:1018
packet_ruleset_game::veteran_levels
int veteran_levels
Definition packets_gen.h:1021
packet_ruleset_game::move_bonus
int move_bonus[MAX_VET_LEVELS]
Definition packets_gen.h:1024
packet_ruleset_game::global_init_techs_count
int global_init_techs_count
Definition packets_gen.h:1017
packet_ruleset_game::background_red
int background_red
Definition packets_gen.h:1027
packet_ruleset_game::veteran_name
char veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME]
Definition packets_gen.h:1022
packet_ruleset_game::global_init_buildings
Impr_type_id global_init_buildings[MAX_NUM_BUILDING_LIST]
Definition packets_gen.h:1020
packet_ruleset_game::global_init_buildings_count
int global_init_buildings_count
Definition packets_gen.h:1019
packet_ruleset_game::default_specialist
int default_specialist
Definition packets_gen.h:1016
packet_ruleset_game::background_green
int background_green
Definition packets_gen.h:1028
packet_ruleset_game::power_fact
int power_fact[MAX_VET_LEVELS]
Definition packets_gen.h:1023
packet_ruleset_game::background_blue
int background_blue
Definition packets_gen.h:1029
packet_ruleset_goods
Definition packets_gen.h:1334
packet_ruleset_goods::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1344
packet_ruleset_goods::flags
bv_goods_flags flags
Definition packets_gen.h:1343
packet_ruleset_goods::from_pct
int from_pct
Definition packets_gen.h:1340
packet_ruleset_goods::onetime_pct
int onetime_pct
Definition packets_gen.h:1342
packet_ruleset_goods::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1336
packet_ruleset_goods::reqs_count
int reqs_count
Definition packets_gen.h:1338
packet_ruleset_goods::to_pct
int to_pct
Definition packets_gen.h:1341
packet_ruleset_goods::id
int id
Definition packets_gen.h:1335
packet_ruleset_goods::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1337
packet_ruleset_goods::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1339
packet_ruleset_government_ruler_title
Definition packets_gen.h:1044
packet_ruleset_government_ruler_title::nation
Nation_type_id nation
Definition packets_gen.h:1046
packet_ruleset_government_ruler_title::female_title
char female_title[MAX_LEN_NAME]
Definition packets_gen.h:1048
packet_ruleset_government_ruler_title::gov
Government_type_id gov
Definition packets_gen.h:1045
packet_ruleset_government_ruler_title::male_title
char male_title[MAX_LEN_NAME]
Definition packets_gen.h:1047
packet_ruleset_government
Definition packets_gen.h:1081
packet_ruleset_government::graphic_alt
char graphic_alt[MAX_LEN_NAME]
Definition packets_gen.h:1088
packet_ruleset_government::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1086
packet_ruleset_government::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1085
packet_ruleset_government::id
Government_type_id id
Definition packets_gen.h:1082
packet_ruleset_government::graphic_str
char graphic_str[MAX_LEN_NAME]
Definition packets_gen.h:1087
packet_ruleset_government::reqs_count
int reqs_count
Definition packets_gen.h:1083
packet_ruleset_government::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1084
packet_ruleset_government::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1089
packet_ruleset_impr_flag
Definition packets_gen.h:1197
packet_ruleset_impr_flag::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1199
packet_ruleset_impr_flag::helptxt
char helptxt[MAX_LEN_PACKET]
Definition packets_gen.h:1200
packet_ruleset_impr_flag::id
int id
Definition packets_gen.h:1198
packet_ruleset_multiplier
Definition packets_gen.h:1423
packet_ruleset_multiplier::stop
int stop
Definition packets_gen.h:1426
packet_ruleset_multiplier::step
int step
Definition packets_gen.h:1427
packet_ruleset_multiplier::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1432
packet_ruleset_multiplier::id
Multiplier_type_id id
Definition packets_gen.h:1424
packet_ruleset_multiplier::offset
int offset
Definition packets_gen.h:1429
packet_ruleset_multiplier::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1435
packet_ruleset_multiplier::def
int def
Definition packets_gen.h:1428
packet_ruleset_multiplier::start
int start
Definition packets_gen.h:1425
packet_ruleset_multiplier::minimum_turns
int minimum_turns
Definition packets_gen.h:1431
packet_ruleset_multiplier::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1433
packet_ruleset_multiplier::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1436
packet_ruleset_multiplier::factor
int factor
Definition packets_gen.h:1430
packet_ruleset_multiplier::reqs_count
int reqs_count
Definition packets_gen.h:1434
packet_ruleset_music
Definition packets_gen.h:1415
packet_ruleset_music::music_combat
char music_combat[MAX_LEN_NAME]
Definition packets_gen.h:1418
packet_ruleset_music::id
int id
Definition packets_gen.h:1416
packet_ruleset_music::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1420
packet_ruleset_music::reqs_count
int reqs_count
Definition packets_gen.h:1419
packet_ruleset_music::music_peaceful
char music_peaceful[MAX_LEN_NAME]
Definition packets_gen.h:1417
packet_ruleset_nation_groups
Definition packets_gen.h:1118
packet_ruleset_nation_groups::ngroups
int ngroups
Definition packets_gen.h:1119
packet_ruleset_nation_groups::groups
char groups[MAX_NUM_NATION_GROUPS][MAX_LEN_NAME]
Definition packets_gen.h:1120
packet_ruleset_nation_groups::hidden
bool hidden[MAX_NUM_NATION_GROUPS]
Definition packets_gen.h:1121
packet_ruleset_nation_sets
Definition packets_gen.h:1111
packet_ruleset_nation_sets::rule_names
char rule_names[MAX_NUM_NATION_SETS][MAX_LEN_NAME]
Definition packets_gen.h:1114
packet_ruleset_nation_sets::names
char names[MAX_NUM_NATION_SETS][MAX_LEN_NAME]
Definition packets_gen.h:1113
packet_ruleset_nation_sets::nsets
int nsets
Definition packets_gen.h:1112
packet_ruleset_nation_sets::descriptions
char descriptions[MAX_NUM_NATION_SETS][MAX_LEN_MSG]
Definition packets_gen.h:1115
packet_ruleset_nation
Definition packets_gen.h:1124
packet_ruleset_nation::ngroups
int ngroups
Definition packets_gen.h:1141
packet_ruleset_nation::init_techs
int init_techs[MAX_NUM_TECH_LIST]
Definition packets_gen.h:1145
packet_ruleset_nation::leader_name
char leader_name[MAX_NUM_LEADERS][MAX_LEN_NAME]
Definition packets_gen.h:1135
packet_ruleset_nation::style
int style
Definition packets_gen.h:1133
packet_ruleset_nation::is_playable
bool is_playable
Definition packets_gen.h:1137
packet_ruleset_nation::id
Nation_type_id id
Definition packets_gen.h:1125
packet_ruleset_nation::noun_plural
char noun_plural[MAX_LEN_NAME]
Definition packets_gen.h:1129
packet_ruleset_nation::init_units_count
int init_units_count
Definition packets_gen.h:1146
packet_ruleset_nation::adjective
char adjective[MAX_LEN_NAME]
Definition packets_gen.h:1127
packet_ruleset_nation::init_buildings
Impr_type_id init_buildings[MAX_NUM_BUILDING_LIST]
Definition packets_gen.h:1149
packet_ruleset_nation::init_units
Unit_type_id init_units[MAX_NUM_UNIT_LIST]
Definition packets_gen.h:1147
packet_ruleset_nation::init_techs_count
int init_techs_count
Definition packets_gen.h:1144
packet_ruleset_nation::leader_is_male
bool leader_is_male[MAX_NUM_LEADERS]
Definition packets_gen.h:1136
packet_ruleset_nation::translation_domain
char translation_domain[MAX_LEN_NAME]
Definition packets_gen.h:1126
packet_ruleset_nation::graphic_str
char graphic_str[MAX_LEN_NAME]
Definition packets_gen.h:1130
packet_ruleset_nation::init_government_id
Government_type_id init_government_id
Definition packets_gen.h:1143
packet_ruleset_nation::leader_count
int leader_count
Definition packets_gen.h:1134
packet_ruleset_nation::groups
int groups[MAX_NUM_NATION_GROUPS]
Definition packets_gen.h:1142
packet_ruleset_nation::barbarian_type
enum barbarian_type barbarian_type
Definition packets_gen.h:1138
packet_ruleset_nation::sets
int sets[MAX_NUM_NATION_SETS]
Definition packets_gen.h:1140
packet_ruleset_nation::init_buildings_count
int init_buildings_count
Definition packets_gen.h:1148
packet_ruleset_nation::graphic_alt
char graphic_alt[MAX_LEN_NAME]
Definition packets_gen.h:1131
packet_ruleset_nation::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1128
packet_ruleset_nation::legend
char legend[MAX_LEN_MSG]
Definition packets_gen.h:1132
packet_ruleset_nation::nsets
int nsets
Definition packets_gen.h:1139
packet_ruleset_resource
Definition packets_gen.h:1598
packet_ruleset_resource::id
int id
Definition packets_gen.h:1599
packet_ruleset_resource::output
int output[O_LAST]
Definition packets_gen.h:1600
packet_ruleset_road
Definition packets_gen.h:1319
packet_ruleset_road::flags
bv_road_flags flags
Definition packets_gen.h:1331
packet_ruleset_road::tile_incr_const
int tile_incr_const[O_LAST]
Definition packets_gen.h:1326
packet_ruleset_road::gui_type
enum road_gui_type gui_type
Definition packets_gen.h:1321
packet_ruleset_road::integrates
bv_max_extras integrates
Definition packets_gen.h:1330
packet_ruleset_road::move_cost
int move_cost
Definition packets_gen.h:1324
packet_ruleset_road::compat
enum road_compat compat
Definition packets_gen.h:1329
packet_ruleset_road::move_mode
enum road_move_mode move_mode
Definition packets_gen.h:1325
packet_ruleset_road::first_reqs_count
int first_reqs_count
Definition packets_gen.h:1322
packet_ruleset_road::tile_bonus
int tile_bonus[O_LAST]
Definition packets_gen.h:1328
packet_ruleset_road::tile_incr
int tile_incr[O_LAST]
Definition packets_gen.h:1327
packet_ruleset_road::id
int id
Definition packets_gen.h:1320
packet_ruleset_road::first_reqs
struct requirement first_reqs[MAX_NUM_REQS]
Definition packets_gen.h:1323
packet_ruleset_select
Definition packets_gen.h:1503
packet_ruleset_select::modpack
char modpack[MAX_RULESET_NAME_LENGTH]
Definition packets_gen.h:1504
packet_ruleset_specialist
Definition packets_gen.h:1032
packet_ruleset_specialist::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1035
packet_ruleset_specialist::graphic_alt
char graphic_alt[MAX_LEN_NAME]
Definition packets_gen.h:1038
packet_ruleset_specialist::reqs
struct requirement reqs[MAX_NUM_REQS]
Definition packets_gen.h:1040
packet_ruleset_specialist::id
Specialist_type_id id
Definition packets_gen.h:1033
packet_ruleset_specialist::reqs_count
int reqs_count
Definition packets_gen.h:1039
packet_ruleset_specialist::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1041
packet_ruleset_specialist::short_name
char short_name[MAX_LEN_NAME]
Definition packets_gen.h:1036
packet_ruleset_specialist::graphic_str
char graphic_str[MAX_LEN_NAME]
Definition packets_gen.h:1037
packet_ruleset_specialist::plural_name
char plural_name[MAX_LEN_NAME]
Definition packets_gen.h:1034
packet_ruleset_style
Definition packets_gen.h:1158
packet_ruleset_style::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1160
packet_ruleset_style::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1161
packet_ruleset_style::id
int id
Definition packets_gen.h:1159
packet_ruleset_summary
Definition packets_gen.h:1482
packet_ruleset_summary::text
char text[MAX_LEN_CONTENT]
Definition packets_gen.h:1483
packet_ruleset_tech_class
Definition packets_gen.h:1068
packet_ruleset_tech_class::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1070
packet_ruleset_tech_class::id
int id
Definition packets_gen.h:1069
packet_ruleset_tech_class::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1071
packet_ruleset_tech_class::cost_pct
int cost_pct
Definition packets_gen.h:1072
packet_ruleset_tech_flag
Definition packets_gen.h:1075
packet_ruleset_tech_flag::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1077
packet_ruleset_tech_flag::id
int id
Definition packets_gen.h:1076
packet_ruleset_tech_flag::helptxt
char helptxt[MAX_LEN_PACKET]
Definition packets_gen.h:1078
packet_ruleset_tech
Definition packets_gen.h:1051
packet_ruleset_tech::research_reqs_count
int research_reqs_count
Definition packets_gen.h:1054
packet_ruleset_tech::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1061
packet_ruleset_tech::removed
bool removed
Definition packets_gen.h:1057
packet_ruleset_tech::research_reqs
struct requirement research_reqs[MAX_NUM_REQS]
Definition packets_gen.h:1055
packet_ruleset_tech::id
int id
Definition packets_gen.h:1052
packet_ruleset_tech::graphic_str
char graphic_str[MAX_LEN_NAME]
Definition packets_gen.h:1064
packet_ruleset_tech::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1062
packet_ruleset_tech::num_reqs
int num_reqs
Definition packets_gen.h:1060
packet_ruleset_tech::graphic_alt
char graphic_alt[MAX_LEN_NAME]
Definition packets_gen.h:1065
packet_ruleset_tech::flags
bv_tech_flags flags
Definition packets_gen.h:1058
packet_ruleset_tech::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1063
packet_ruleset_tech::tclass
int tclass
Definition packets_gen.h:1056
packet_ruleset_tech::root_req
int root_req
Definition packets_gen.h:1053
packet_ruleset_tech::cost
float cost
Definition packets_gen.h:1059
packet_ruleset_terrain_control
Definition packets_gen.h:1092
packet_ruleset_terrain_control::lake_max_size
int lake_max_size
Definition packets_gen.h:1097
packet_ruleset_terrain_control::min_start_native_area
int min_start_native_area
Definition packets_gen.h:1098
packet_ruleset_terrain_control::ocean_reclaim_requirement_pct
int ocean_reclaim_requirement_pct
Definition packets_gen.h:1093
packet_ruleset_terrain_control::pythagorean_diagonal
bool pythagorean_diagonal
Definition packets_gen.h:1101
packet_ruleset_terrain_control::terrain_thaw_requirement_pct
int terrain_thaw_requirement_pct
Definition packets_gen.h:1095
packet_ruleset_terrain_control::infrapoints
bool infrapoints
Definition packets_gen.h:1102
packet_ruleset_terrain_control::gui_type_base0
char gui_type_base0[MAX_LEN_NAME]
Definition packets_gen.h:1103
packet_ruleset_terrain_control::move_fragments
int move_fragments
Definition packets_gen.h:1099
packet_ruleset_terrain_control::land_channel_requirement_pct
int land_channel_requirement_pct
Definition packets_gen.h:1094
packet_ruleset_terrain_control::igter_cost
int igter_cost
Definition packets_gen.h:1100
packet_ruleset_terrain_control::gui_type_base1
char gui_type_base1[MAX_LEN_NAME]
Definition packets_gen.h:1104
packet_ruleset_terrain_control::terrain_freeze_requirement_pct
int terrain_freeze_requirement_pct
Definition packets_gen.h:1096
packet_ruleset_terrain_flag
Definition packets_gen.h:1243
packet_ruleset_terrain_flag::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1245
packet_ruleset_terrain_flag::id
int id
Definition packets_gen.h:1244
packet_ruleset_terrain_flag::helptxt
char helptxt[MAX_LEN_PACKET]
Definition packets_gen.h:1246
packet_ruleset_terrain
Definition packets_gen.h:1203
packet_ruleset_terrain::extra_removal_times
int extra_removal_times[MAX_EXTRA_TYPES]
Definition packets_gen.h:1236
packet_ruleset_terrain::cultivate_time
int cultivate_time
Definition packets_gen.h:1223
packet_ruleset_terrain::irrigation_food_incr
int irrigation_food_incr
Definition packets_gen.h:1226
packet_ruleset_terrain::base_time
int base_time
Definition packets_gen.h:1220
packet_ruleset_terrain::transform_result
Terrain_type_id transform_result
Definition packets_gen.h:1231
packet_ruleset_terrain::tclass
int tclass
Definition packets_gen.h:1205
packet_ruleset_terrain::extra_count
int extra_count
Definition packets_gen.h:1235
packet_ruleset_terrain::mining_shield_incr
int mining_shield_incr
Definition packets_gen.h:1228
packet_ruleset_terrain::resource_freq
int resource_freq[MAX_EXTRA_TYPES]
Definition packets_gen.h:1218
packet_ruleset_terrain::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1240
packet_ruleset_terrain::resources
Resource_type_id resources[MAX_EXTRA_TYPES]
Definition packets_gen.h:1217
packet_ruleset_terrain::irrigation_time
int irrigation_time
Definition packets_gen.h:1227
packet_ruleset_terrain::placing_time
int placing_time
Definition packets_gen.h:1233
packet_ruleset_terrain::flags
bv_terrain_flags flags
Definition packets_gen.h:1206
packet_ruleset_terrain::transform_time
int transform_time
Definition packets_gen.h:1232
packet_ruleset_terrain::defense_bonus
int defense_bonus
Definition packets_gen.h:1214
packet_ruleset_terrain::plant_time
int plant_time
Definition packets_gen.h:1225
packet_ruleset_terrain::graphic_str
char graphic_str[MAX_LEN_NAME]
Definition packets_gen.h:1210
packet_ruleset_terrain::num_resources
int num_resources
Definition packets_gen.h:1216
packet_ruleset_terrain::output
int output[O_LAST]
Definition packets_gen.h:1215
packet_ruleset_terrain::animal
int animal
Definition packets_gen.h:1230
packet_ruleset_terrain::color_red
int color_red
Definition packets_gen.h:1237
packet_ruleset_terrain::native_to
bv_unit_classes native_to
Definition packets_gen.h:1207
packet_ruleset_terrain::pillage_time
int pillage_time
Definition packets_gen.h:1234
packet_ruleset_terrain::cultivate_result
Terrain_type_id cultivate_result
Definition packets_gen.h:1222
packet_ruleset_terrain::color_green
int color_green
Definition packets_gen.h:1238
packet_ruleset_terrain::road_time
int road_time
Definition packets_gen.h:1221
packet_ruleset_terrain::plant_result
Terrain_type_id plant_result
Definition packets_gen.h:1224
packet_ruleset_terrain::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1208
packet_ruleset_terrain::road_output_incr_pct
int road_output_incr_pct[O_LAST]
Definition packets_gen.h:1219
packet_ruleset_terrain::movement_cost
int movement_cost
Definition packets_gen.h:1213
packet_ruleset_terrain::graphic_alt
char graphic_alt[MAX_LEN_NAME]
Definition packets_gen.h:1211
packet_ruleset_terrain::graphic_alt2
char graphic_alt2[MAX_LEN_NAME]
Definition packets_gen.h:1212
packet_ruleset_terrain::mining_time
int mining_time
Definition packets_gen.h:1229
packet_ruleset_terrain::id
Terrain_type_id id
Definition packets_gen.h:1204
packet_ruleset_terrain::color_blue
int color_blue
Definition packets_gen.h:1239
packet_ruleset_terrain::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1209
packet_ruleset_trade
Definition packets_gen.h:1366
packet_ruleset_trade::cancelling
enum trade_route_illegal_cancelling cancelling
Definition packets_gen.h:1369
packet_ruleset_trade::trade_pct
int trade_pct
Definition packets_gen.h:1368
packet_ruleset_trade::id
int id
Definition packets_gen.h:1367
packet_ruleset_trade::bonus_type
enum trade_route_bonus_type bonus_type
Definition packets_gen.h:1370
packet_ruleset_unit_bonus
Definition packets_gen.h:995
packet_ruleset_unit_bonus::type
enum combat_bonus_type type
Definition packets_gen.h:998
packet_ruleset_unit_bonus::unit
Unit_type_id unit
Definition packets_gen.h:996
packet_ruleset_unit_bonus::quiet
bool quiet
Definition packets_gen.h:1000
packet_ruleset_unit_bonus::value
int value
Definition packets_gen.h:999
packet_ruleset_unit_bonus::flag
enum unit_type_flag_id flag
Definition packets_gen.h:997
packet_ruleset_unit_class_flag
Definition packets_gen.h:1009
packet_ruleset_unit_class_flag::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1011
packet_ruleset_unit_class_flag::helptxt
char helptxt[MAX_LEN_PACKET]
Definition packets_gen.h:1012
packet_ruleset_unit_class_flag::id
int id
Definition packets_gen.h:1010
packet_ruleset_unit_class
Definition packets_gen.h:1249
packet_ruleset_unit_class::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:1252
packet_ruleset_unit_class::flags
bv_unit_class_flags flags
Definition packets_gen.h:1256
packet_ruleset_unit_class::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1251
packet_ruleset_unit_class::non_native_def_pct
int non_native_def_pct
Definition packets_gen.h:1255
packet_ruleset_unit_class::hp_loss_pct
int hp_loss_pct
Definition packets_gen.h:1254
packet_ruleset_unit_class::id
int id
Definition packets_gen.h:1250
packet_ruleset_unit_class::min_speed
int min_speed
Definition packets_gen.h:1253
packet_ruleset_unit_class::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:1257
packet_ruleset_unit_flag
Definition packets_gen.h:1003
packet_ruleset_unit_flag::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1005
packet_ruleset_unit_flag::id
int id
Definition packets_gen.h:1004
packet_ruleset_unit_flag::helptxt
char helptxt[MAX_LEN_PACKET]
Definition packets_gen.h:1006
packet_ruleset_unit
Definition packets_gen.h:944
packet_ruleset_unit::paratroopers_range
int paratroopers_range
Definition packets_gen.h:973
packet_ruleset_unit::graphic_alt
char graphic_alt[MAX_LEN_NAME]
Definition packets_gen.h:949
packet_ruleset_unit::vlayer
enum vision_layer vlayer
Definition packets_gen.h:988
packet_ruleset_unit::tp_defense
enum transp_def_type tp_defense
Definition packets_gen.h:983
packet_ruleset_unit::unit_class_id
int unit_class_id
Definition packets_gen.h:955
packet_ruleset_unit::rule_name
char rule_name[MAX_LEN_NAME]
Definition packets_gen.h:947
packet_ruleset_unit::vision_radius_sq
int vision_radius_sq
Definition packets_gen.h:963
packet_ruleset_unit::obsoleted_by
int obsoleted_by
Definition packets_gen.h:967
packet_ruleset_unit::upkeep
int upkeep[O_LAST]
Definition packets_gen.h:972
packet_ruleset_unit::power_fact
int power_fact[MAX_VET_LEVELS]
Definition packets_gen.h:976
packet_ruleset_unit::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:946
packet_ruleset_unit::hp
int hp
Definition packets_gen.h:965
packet_ruleset_unit::pop_cost
int pop_cost
Definition packets_gen.h:957
packet_ruleset_unit::city_slots
int city_slots
Definition packets_gen.h:982
packet_ruleset_unit::graphic_alt2
char graphic_alt2[MAX_LEN_NAME]
Definition packets_gen.h:950
packet_ruleset_unit::firepower
int firepower
Definition packets_gen.h:966
packet_ruleset_unit::fuel
int fuel
Definition packets_gen.h:970
packet_ruleset_unit::graphic_str
char graphic_str[MAX_LEN_NAME]
Definition packets_gen.h:948
packet_ruleset_unit::convert_time
int convert_time
Definition packets_gen.h:969
packet_ruleset_unit::sound_fight_alt
char sound_fight_alt[MAX_LEN_NAME]
Definition packets_gen.h:954
packet_ruleset_unit::disembarks
bv_unit_classes disembarks
Definition packets_gen.h:987
packet_ruleset_unit::veteran_levels
int veteran_levels
Definition packets_gen.h:974
packet_ruleset_unit::move_rate
int move_rate
Definition packets_gen.h:960
packet_ruleset_unit::attack_strength
int attack_strength
Definition packets_gen.h:958
packet_ruleset_unit::cargo
bv_unit_classes cargo
Definition packets_gen.h:984
packet_ruleset_unit::build_cost
int build_cost
Definition packets_gen.h:956
packet_ruleset_unit::transport_capacity
int transport_capacity
Definition packets_gen.h:964
packet_ruleset_unit::flags
bv_unit_type_flags flags
Definition packets_gen.h:990
packet_ruleset_unit::sound_move_alt
char sound_move_alt[MAX_LEN_NAME]
Definition packets_gen.h:952
packet_ruleset_unit::happy_cost
int happy_cost
Definition packets_gen.h:971
packet_ruleset_unit::worker
bool worker
Definition packets_gen.h:992
packet_ruleset_unit::targets
bv_unit_classes targets
Definition packets_gen.h:985
packet_ruleset_unit::defense_strength
int defense_strength
Definition packets_gen.h:959
packet_ruleset_unit::build_reqs
struct requirement build_reqs[MAX_NUM_REQS]
Definition packets_gen.h:962
packet_ruleset_unit::base_raise_chance
int base_raise_chance[MAX_VET_LEVELS]
Definition packets_gen.h:978
packet_ruleset_unit::work_raise_chance
int work_raise_chance[MAX_VET_LEVELS]
Definition packets_gen.h:979
packet_ruleset_unit::sound_fight
char sound_fight[MAX_LEN_NAME]
Definition packets_gen.h:953
packet_ruleset_unit::embarks
bv_unit_classes embarks
Definition packets_gen.h:986
packet_ruleset_unit::build_reqs_count
int build_reqs_count
Definition packets_gen.h:961
packet_ruleset_unit::city_size
int city_size
Definition packets_gen.h:981
packet_ruleset_unit::bombard_rate
int bombard_rate
Definition packets_gen.h:980
packet_ruleset_unit::veteran_name
char veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME]
Definition packets_gen.h:975
packet_ruleset_unit::converted_to
int converted_to
Definition packets_gen.h:968
packet_ruleset_unit::sound_move
char sound_move[MAX_LEN_NAME]
Definition packets_gen.h:951
packet_ruleset_unit::helptext
char helptext[MAX_LEN_PACKET]
Definition packets_gen.h:989
packet_ruleset_unit::roles
bv_unit_type_roles roles
Definition packets_gen.h:991
packet_ruleset_unit::id
Unit_type_id id
Definition packets_gen.h:945
packet_ruleset_unit::move_bonus
int move_bonus[MAX_VET_LEVELS]
Definition packets_gen.h:977
packet_rulesets_ready
Definition packets_gen.h:1107
packet_rulesets_ready::__dummy
char __dummy
Definition packets_gen.h:1108
packet_save_scenario
Definition packets_gen.h:1624
packet_save_scenario::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1625
packet_scenario_description
Definition packets_gen.h:1620
packet_scenario_description::description
char description[MAX_LEN_CONTENT]
Definition packets_gen.h:1621
packet_scenario_info
Definition packets_gen.h:1603
packet_scenario_info::lake_flooding
bool lake_flooding
Definition packets_gen.h:1611
packet_scenario_info::req_caps
char req_caps[257]
Definition packets_gen.h:1617
packet_scenario_info::datafile
char datafile[MAX_LEN_NAME]
Definition packets_gen.h:1615
packet_scenario_info::have_resources
bool have_resources
Definition packets_gen.h:1616
packet_scenario_info::is_scenario
bool is_scenario
Definition packets_gen.h:1604
packet_scenario_info::ruleset_locked
bool ruleset_locked
Definition packets_gen.h:1614
packet_scenario_info::allow_ai_type_fallback
bool allow_ai_type_fallback
Definition packets_gen.h:1613
packet_scenario_info::players
bool players
Definition packets_gen.h:1607
packet_scenario_info::authors
char authors[MAX_LEN_PACKET/3]
Definition packets_gen.h:1606
packet_scenario_info::name
char name[256]
Definition packets_gen.h:1605
packet_scenario_info::prevent_new_cities
bool prevent_new_cities
Definition packets_gen.h:1610
packet_scenario_info::handmade
bool handmade
Definition packets_gen.h:1612
packet_scenario_info::startpos_nations
bool startpos_nations
Definition packets_gen.h:1608
packet_scenario_info::save_random
bool save_random
Definition packets_gen.h:1609
packet_server_info
Definition packets_gen.h:317
packet_server_info::major_version
int major_version
Definition packets_gen.h:319
packet_server_info::version_label
char version_label[48]
Definition packets_gen.h:318
packet_server_info::patch_version
int patch_version
Definition packets_gen.h:321
packet_server_info::minor_version
int minor_version
Definition packets_gen.h:320
packet_server_info::emerg_version
int emerg_version
Definition packets_gen.h:322
packet_server_join_reply
Definition packets_gen.h:51
packet_server_join_reply::challenge_file
char challenge_file[4095]
Definition packets_gen.h:55
packet_server_join_reply::you_can_join
bool you_can_join
Definition packets_gen.h:52
packet_server_join_reply::conn_id
int conn_id
Definition packets_gen.h:56
packet_server_join_reply::capability
char capability[512]
Definition packets_gen.h:54
packet_server_join_req
Definition packets_gen.h:42
packet_server_join_req::version_label
char version_label[48]
Definition packets_gen.h:45
packet_server_join_req::capability
char capability[512]
Definition packets_gen.h:44
packet_server_join_req::minor_version
int minor_version
Definition packets_gen.h:47
packet_server_join_req::patch_version
int patch_version
Definition packets_gen.h:48
packet_server_join_req::major_version
int major_version
Definition packets_gen.h:46
packet_server_join_req::username
char username[48]
Definition packets_gen.h:43
packet_server_setting_bitwise
Definition packets_gen.h:1571
packet_server_setting_bitwise::support_names
char support_names[64][MAX_LEN_NAME]
Definition packets_gen.h:1580
packet_server_setting_bitwise::val
int val
Definition packets_gen.h:1577
packet_server_setting_bitwise::initial_setting
bool initial_setting
Definition packets_gen.h:1575
packet_server_setting_bitwise::bits_num
int bits_num
Definition packets_gen.h:1579
packet_server_setting_bitwise::default_val
int default_val
Definition packets_gen.h:1578
packet_server_setting_bitwise::is_changeable
bool is_changeable
Definition packets_gen.h:1574
packet_server_setting_bitwise::pretty_names
char pretty_names[64][MAX_LEN_ENUM]
Definition packets_gen.h:1581
packet_server_setting_bitwise::setdef
enum setting_default_level setdef
Definition packets_gen.h:1576
packet_server_setting_bitwise::is_visible
bool is_visible
Definition packets_gen.h:1573
packet_server_setting_bitwise::id
int id
Definition packets_gen.h:1572
packet_server_setting_bool
Definition packets_gen.h:1526
packet_server_setting_bool::val
bool val
Definition packets_gen.h:1532
packet_server_setting_bool::setdef
enum setting_default_level setdef
Definition packets_gen.h:1531
packet_server_setting_bool::is_changeable
bool is_changeable
Definition packets_gen.h:1529
packet_server_setting_bool::is_visible
bool is_visible
Definition packets_gen.h:1528
packet_server_setting_bool::default_val
bool default_val
Definition packets_gen.h:1533
packet_server_setting_bool::id
int id
Definition packets_gen.h:1527
packet_server_setting_bool::initial_setting
bool initial_setting
Definition packets_gen.h:1530
packet_server_setting_const
Definition packets_gen.h:1518
packet_server_setting_const::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:1520
packet_server_setting_const::category
int category
Definition packets_gen.h:1523
packet_server_setting_const::short_help
char short_help[MAX_LEN_PACKET]
Definition packets_gen.h:1521
packet_server_setting_const::id
int id
Definition packets_gen.h:1519
packet_server_setting_const::extra_help
char extra_help[MAX_LEN_PACKET]
Definition packets_gen.h:1522
packet_server_setting_control
Definition packets_gen.h:1512
packet_server_setting_control::categories_num
int categories_num
Definition packets_gen.h:1514
packet_server_setting_control::settings_num
int settings_num
Definition packets_gen.h:1513
packet_server_setting_control::category_names
char category_names[256][MAX_LEN_NAME]
Definition packets_gen.h:1515
packet_server_setting_enum
Definition packets_gen.h:1558
packet_server_setting_enum::initial_setting
bool initial_setting
Definition packets_gen.h:1562
packet_server_setting_enum::is_visible
bool is_visible
Definition packets_gen.h:1560
packet_server_setting_enum::is_changeable
bool is_changeable
Definition packets_gen.h:1561
packet_server_setting_enum::setdef
enum setting_default_level setdef
Definition packets_gen.h:1563
packet_server_setting_enum::default_val
int default_val
Definition packets_gen.h:1565
packet_server_setting_enum::values_num
int values_num
Definition packets_gen.h:1566
packet_server_setting_enum::id
int id
Definition packets_gen.h:1559
packet_server_setting_enum::val
int val
Definition packets_gen.h:1564
packet_server_setting_enum::pretty_names
char pretty_names[64][MAX_LEN_ENUM]
Definition packets_gen.h:1568
packet_server_setting_enum::support_names
char support_names[64][MAX_LEN_NAME]
Definition packets_gen.h:1567
packet_server_setting_int
Definition packets_gen.h:1536
packet_server_setting_int::is_changeable
bool is_changeable
Definition packets_gen.h:1539
packet_server_setting_int::max_val
int max_val
Definition packets_gen.h:1545
packet_server_setting_int::is_visible
bool is_visible
Definition packets_gen.h:1538
packet_server_setting_int::min_val
int min_val
Definition packets_gen.h:1544
packet_server_setting_int::id
int id
Definition packets_gen.h:1537
packet_server_setting_int::val
int val
Definition packets_gen.h:1542
packet_server_setting_int::initial_setting
bool initial_setting
Definition packets_gen.h:1540
packet_server_setting_int::default_val
int default_val
Definition packets_gen.h:1543
packet_server_setting_int::setdef
enum setting_default_level setdef
Definition packets_gen.h:1541
packet_server_setting_str
Definition packets_gen.h:1548
packet_server_setting_str::default_val
char default_val[MAX_LEN_PACKET]
Definition packets_gen.h:1555
packet_server_setting_str::id
int id
Definition packets_gen.h:1549
packet_server_setting_str::val
char val[MAX_LEN_PACKET]
Definition packets_gen.h:1554
packet_server_setting_str::is_visible
bool is_visible
Definition packets_gen.h:1550
packet_server_setting_str::setdef
enum setting_default_level setdef
Definition packets_gen.h:1553
packet_server_setting_str::initial_setting
bool initial_setting
Definition packets_gen.h:1552
packet_server_setting_str::is_changeable
bool is_changeable
Definition packets_gen.h:1551
packet_server_shutdown
Definition packets_gen.h:68
packet_server_shutdown::__dummy
char __dummy
Definition packets_gen.h:69
packet_set_topology
Definition packets_gen.h:1584
packet_set_topology::wrap_id
int wrap_id
Definition packets_gen.h:1586
packet_set_topology::topology_id
int topology_id
Definition packets_gen.h:1585
packet_single_want_hack_reply
Definition packets_gen.h:1494
packet_single_want_hack_reply::you_have_hack
bool you_have_hack
Definition packets_gen.h:1495
packet_single_want_hack_req
Definition packets_gen.h:1490
packet_single_want_hack_req::token
char token[MAX_LEN_NAME]
Definition packets_gen.h:1491
packet_spaceship_info
Definition packets_gen.h:923
packet_spaceship_info::sship_state
int sship_state
Definition packets_gen.h:925
packet_spaceship_info::propulsion
int propulsion
Definition packets_gen.h:930
packet_spaceship_info::habitation
int habitation
Definition packets_gen.h:931
packet_spaceship_info::mass
int mass
Definition packets_gen.h:936
packet_spaceship_info::life_support
int life_support
Definition packets_gen.h:932
packet_spaceship_info::structure
bv_spaceship_structure structure
Definition packets_gen.h:937
packet_spaceship_info::structurals
int structurals
Definition packets_gen.h:926
packet_spaceship_info::fuel
int fuel
Definition packets_gen.h:929
packet_spaceship_info::population
int population
Definition packets_gen.h:935
packet_spaceship_info::success_rate
float success_rate
Definition packets_gen.h:940
packet_spaceship_info::player_num
int player_num
Definition packets_gen.h:924
packet_spaceship_info::launch_year
int launch_year
Definition packets_gen.h:934
packet_spaceship_info::travel_time
float travel_time
Definition packets_gen.h:941
packet_spaceship_info::energy_rate
float energy_rate
Definition packets_gen.h:939
packet_spaceship_info::solar_panels
int solar_panels
Definition packets_gen.h:933
packet_spaceship_info::support_rate
float support_rate
Definition packets_gen.h:938
packet_spaceship_info::modules
int modules
Definition packets_gen.h:928
packet_spaceship_info::components
int components
Definition packets_gen.h:927
packet_spaceship_launch
Definition packets_gen.h:914
packet_spaceship_launch::__dummy
char __dummy
Definition packets_gen.h:915
packet_spaceship_place
Definition packets_gen.h:918
packet_spaceship_place::num
int num
Definition packets_gen.h:920
packet_spaceship_place::type
enum spaceship_place_type type
Definition packets_gen.h:919
packet_start_phase
Definition packets_gen.h:888
packet_start_phase::phase
int phase
Definition packets_gen.h:889
packet_team_name_info
Definition packets_gen.h:280
packet_team_name_info::team_name
char team_name[MAX_LEN_NAME]
Definition packets_gen.h:282
packet_team_name_info::team_id
int team_id
Definition packets_gen.h:281
packet_thaw_client
Definition packets_gen.h:910
packet_thaw_client::__dummy
char __dummy
Definition packets_gen.h:911
packet_tile_info
Definition packets_gen.h:99
packet_tile_info::resource
Resource_type_id resource
Definition packets_gen.h:107
packet_tile_info::extras
bv_extras extras
Definition packets_gen.h:108
packet_tile_info::place_turn
int place_turn
Definition packets_gen.h:110
packet_tile_info::placing
int placing
Definition packets_gen.h:109
packet_tile_info::owner
int owner
Definition packets_gen.h:103
packet_tile_info::known
enum known_type known
Definition packets_gen.h:102
packet_tile_info::label
char label[MAX_LEN_MAP_LABEL]
Definition packets_gen.h:112
packet_tile_info::extras_owner
int extras_owner
Definition packets_gen.h:104
packet_tile_info::tile
int tile
Definition packets_gen.h:100
packet_tile_info::continent
Continent_id continent
Definition packets_gen.h:101
packet_tile_info::terrain
Terrain_type_id terrain
Definition packets_gen.h:106
packet_tile_info::worked
int worked
Definition packets_gen.h:105
packet_tile_info::spec_sprite
char spec_sprite[MAX_LEN_NAME]
Definition packets_gen.h:111
packet_timeout_info
Definition packets_gen.h:262
packet_timeout_info::seconds_to_phasedone
float seconds_to_phasedone
Definition packets_gen.h:263
packet_timeout_info::last_turn_change_time
float last_turn_change_time
Definition packets_gen.h:264
packet_trade_route_info
Definition packets_gen.h:412
packet_trade_route_info::city
int city
Definition packets_gen.h:413
packet_trade_route_info::value
int value
Definition packets_gen.h:416
packet_trade_route_info::partner
int partner
Definition packets_gen.h:415
packet_trade_route_info::goods
Goods_type_id goods
Definition packets_gen.h:418
packet_trade_route_info::direction
enum route_direction direction
Definition packets_gen.h:417
packet_trade_route_info::index
int index
Definition packets_gen.h:414
packet_unit_action_answer
Definition packets_gen.h:739
packet_unit_action_answer::request_kind
int request_kind
Definition packets_gen.h:744
packet_unit_action_answer::action_type
action_id action_type
Definition packets_gen.h:743
packet_unit_action_answer::cost
int cost
Definition packets_gen.h:742
packet_unit_action_answer::actor_id
int actor_id
Definition packets_gen.h:740
packet_unit_action_answer::target_id
int target_id
Definition packets_gen.h:741
packet_unit_action_query
Definition packets_gen.h:720
packet_unit_action_query::target_id
int target_id
Definition packets_gen.h:722
packet_unit_action_query::request_kind
int request_kind
Definition packets_gen.h:724
packet_unit_action_query::actor_id
int actor_id
Definition packets_gen.h:721
packet_unit_action_query::action_type
action_id action_type
Definition packets_gen.h:723
packet_unit_actions
Definition packets_gen.h:755
packet_unit_actions::target_unit_id
int target_unit_id
Definition packets_gen.h:757
packet_unit_actions::target_city_id
int target_city_id
Definition packets_gen.h:758
packet_unit_actions::action_probabilities
struct act_prob action_probabilities[MAX_NUM_ACTIONS]
Definition packets_gen.h:762
packet_unit_actions::target_extra_id
int target_extra_id
Definition packets_gen.h:760
packet_unit_actions::request_kind
int request_kind
Definition packets_gen.h:761
packet_unit_actions::actor_unit_id
int actor_unit_id
Definition packets_gen.h:756
packet_unit_actions::target_tile_id
int target_tile_id
Definition packets_gen.h:759
packet_unit_change_activity
Definition packets_gen.h:765
packet_unit_change_activity::activity
enum unit_activity activity
Definition packets_gen.h:767
packet_unit_change_activity::unit_id
int unit_id
Definition packets_gen.h:766
packet_unit_change_activity::target
int target
Definition packets_gen.h:768
packet_unit_combat_info
Definition packets_gen.h:690
packet_unit_combat_info::defender_hp
int defender_hp
Definition packets_gen.h:694
packet_unit_combat_info::attacker_hp
int attacker_hp
Definition packets_gen.h:693
packet_unit_combat_info::make_att_veteran
bool make_att_veteran
Definition packets_gen.h:695
packet_unit_combat_info::make_def_veteran
bool make_def_veteran
Definition packets_gen.h:696
packet_unit_combat_info::attacker_unit_id
int attacker_unit_id
Definition packets_gen.h:691
packet_unit_combat_info::defender_unit_id
int defender_unit_id
Definition packets_gen.h:692
packet_unit_do_action
Definition packets_gen.h:731
packet_unit_do_action::action_type
action_id action_type
Definition packets_gen.h:736
packet_unit_do_action::name
char name[MAX_LEN_NAME]
Definition packets_gen.h:735
packet_unit_do_action::sub_tgt_id
int sub_tgt_id
Definition packets_gen.h:734
packet_unit_do_action::actor_id
int actor_id
Definition packets_gen.h:732
packet_unit_do_action::target_id
int target_id
Definition packets_gen.h:733
packet_unit_get_actions
Definition packets_gen.h:747
packet_unit_get_actions::target_extra_id
int target_extra_id
Definition packets_gen.h:751
packet_unit_get_actions::target_tile_id
int target_tile_id
Definition packets_gen.h:750
packet_unit_get_actions::actor_unit_id
int actor_unit_id
Definition packets_gen.h:748
packet_unit_get_actions::target_unit_id
int target_unit_id
Definition packets_gen.h:749
packet_unit_get_actions::request_kind
int request_kind
Definition packets_gen.h:752
packet_unit_info
Definition packets_gen.h:632
packet_unit_info::movesleft
int movesleft
Definition packets_gen.h:652
packet_unit_info::upkeep
int upkeep[O_LAST]
Definition packets_gen.h:639
packet_unit_info::carrying
int carrying
Definition packets_gen.h:651
packet_unit_info::action_decision_want
enum action_decision action_decision_want
Definition packets_gen.h:669
packet_unit_info::owner
int owner
Definition packets_gen.h:634
packet_unit_info::has_orders
bool has_orders
Definition packets_gen.h:663
packet_unit_info::orders
struct unit_order orders[MAX_LEN_ROUTE]
Definition packets_gen.h:668
packet_unit_info::fuel
int fuel
Definition packets_gen.h:654
packet_unit_info::activity
enum unit_activity activity
Definition packets_gen.h:658
packet_unit_info::activity_tgt
int activity_tgt
Definition packets_gen.h:659
packet_unit_info::current_form_turn
int current_form_turn
Definition packets_gen.h:648
packet_unit_info::nationality
int nationality
Definition packets_gen.h:635
packet_unit_info::transported
bool transported
Definition packets_gen.h:644
packet_unit_info::goto_tile
int goto_tile
Definition packets_gen.h:657
packet_unit_info::orders_index
int orders_index
Definition packets_gen.h:665
packet_unit_info::type
Unit_type_id type
Definition packets_gen.h:649
packet_unit_info::changed_from
enum unit_activity changed_from
Definition packets_gen.h:660
packet_unit_info::homecity
int homecity
Definition packets_gen.h:638
packet_unit_info::orders_length
int orders_length
Definition packets_gen.h:664
packet_unit_info::transported_by
int transported_by
Definition packets_gen.h:650
packet_unit_info::veteran
int veteran
Definition packets_gen.h:640
packet_unit_info::orders_repeat
bool orders_repeat
Definition packets_gen.h:666
packet_unit_info::activity_count
int activity_count
Definition packets_gen.h:655
packet_unit_info::id
int id
Definition packets_gen.h:633
packet_unit_info::occupied
bool occupied
Definition packets_gen.h:643
packet_unit_info::action_decision_tile
int action_decision_tile
Definition packets_gen.h:670
packet_unit_info::battlegroup
int battlegroup
Definition packets_gen.h:662
packet_unit_info::facing
enum direction8 facing
Definition packets_gen.h:637
packet_unit_info::orders_vigilant
bool orders_vigilant
Definition packets_gen.h:667
packet_unit_info::hp
int hp
Definition packets_gen.h:653
packet_unit_info::changed_from_count
int changed_from_count
Definition packets_gen.h:656
packet_unit_info::stay
bool stay
Definition packets_gen.h:646
packet_unit_info::tile
int tile
Definition packets_gen.h:636
packet_unit_info::birth_turn
int birth_turn
Definition packets_gen.h:647
packet_unit_info::ssa_controller
enum server_side_agent ssa_controller
Definition packets_gen.h:641
packet_unit_info::done_moving
bool done_moving
Definition packets_gen.h:645
packet_unit_info::paradropped
bool paradropped
Definition packets_gen.h:642
packet_unit_info::changed_from_tgt
int changed_from_tgt
Definition packets_gen.h:661
packet_unit_orders
Definition packets_gen.h:705
packet_unit_orders::src_tile
int src_tile
Definition packets_gen.h:707
packet_unit_orders::length
int length
Definition packets_gen.h:708
packet_unit_orders::unit_id
int unit_id
Definition packets_gen.h:706
packet_unit_orders::dest_tile
int dest_tile
Definition packets_gen.h:712
packet_unit_orders::repeat
bool repeat
Definition packets_gen.h:709
packet_unit_orders::vigilant
bool vigilant
Definition packets_gen.h:710
packet_unit_orders::orders
struct unit_order orders[MAX_LEN_ROUTE]
Definition packets_gen.h:711
packet_unit_remove
Definition packets_gen.h:628
packet_unit_remove::unit_id
int unit_id
Definition packets_gen.h:629
packet_unit_server_side_agent_set
Definition packets_gen.h:715
packet_unit_server_side_agent_set::unit_id
int unit_id
Definition packets_gen.h:716
packet_unit_server_side_agent_set::agent
enum server_side_agent agent
Definition packets_gen.h:717
packet_unit_short_info
Definition packets_gen.h:673
packet_unit_short_info::activity
int activity
Definition packets_gen.h:683
packet_unit_short_info::packet_use
int packet_use
Definition packets_gen.h:686
packet_unit_short_info::tile
int tile
Definition packets_gen.h:676
packet_unit_short_info::transported
bool transported
Definition packets_gen.h:681
packet_unit_short_info::hp
int hp
Definition packets_gen.h:682
packet_unit_short_info::id
int id
Definition packets_gen.h:674
packet_unit_short_info::veteran
int veteran
Definition packets_gen.h:679
packet_unit_short_info::info_city_id
int info_city_id
Definition packets_gen.h:687
packet_unit_short_info::type
Unit_type_id type
Definition packets_gen.h:678
packet_unit_short_info::owner
int owner
Definition packets_gen.h:675
packet_unit_short_info::occupied
bool occupied
Definition packets_gen.h:680
packet_unit_short_info::transported_by
int transported_by
Definition packets_gen.h:685
packet_unit_short_info::facing
enum direction8 facing
Definition packets_gen.h:677
packet_unit_short_info::activity_tgt
int activity_tgt
Definition packets_gen.h:684
packet_unit_sscs_set
Definition packets_gen.h:699
packet_unit_sscs_set::type
enum unit_ss_data_type type
Definition packets_gen.h:701
packet_unit_sscs_set::unit_id
int unit_id
Definition packets_gen.h:700
packet_unit_sscs_set::value
int value
Definition packets_gen.h:702
packet_unit_type_upgrade
Definition packets_gen.h:727
packet_unit_type_upgrade::type
Unit_type_id type
Definition packets_gen.h:728
packet_unknown_research
Definition packets_gen.h:616
packet_unknown_research::id
int id
Definition packets_gen.h:617
packet_vote_new
Definition packets_gen.h:1628
packet_vote_new::flags
int flags
Definition packets_gen.h:1633
packet_vote_new::vote_no
int vote_no
Definition packets_gen.h:1629
packet_vote_new::desc
char desc[512]
Definition packets_gen.h:1631
packet_vote_new::percent_required
int percent_required
Definition packets_gen.h:1632
packet_vote_new::user
char user[MAX_LEN_NAME]
Definition packets_gen.h:1630
packet_vote_remove
Definition packets_gen.h:1644
packet_vote_remove::vote_no
int vote_no
Definition packets_gen.h:1645
packet_vote_resolve
Definition packets_gen.h:1648
packet_vote_resolve::passed
bool passed
Definition packets_gen.h:1650
packet_vote_resolve::vote_no
int vote_no
Definition packets_gen.h:1649
packet_vote_submit
Definition packets_gen.h:1653
packet_vote_submit::vote_no
int vote_no
Definition packets_gen.h:1654
packet_vote_submit::value
int value
Definition packets_gen.h:1655
packet_vote_update
Definition packets_gen.h:1636
packet_vote_update::abstain
int abstain
Definition packets_gen.h:1640
packet_vote_update::num_voters
int num_voters
Definition packets_gen.h:1641
packet_vote_update::yes
int yes
Definition packets_gen.h:1638
packet_vote_update::no
int no
Definition packets_gen.h:1639
packet_vote_update::vote_no
int vote_no
Definition packets_gen.h:1637
packet_web_city_info_addition
Definition packets_gen.h:1861
packet_web_city_info_addition::can_build_improvement
bv_imprs can_build_improvement
Definition packets_gen.h:1868
packet_web_city_info_addition::output_shield
int output_shield[MAX_CITY_TILES+1]
Definition packets_gen.h:1870
packet_web_city_info_addition::id
int id
Definition packets_gen.h:1862
packet_web_city_info_addition::cma_enabled
bool cma_enabled
Definition packets_gen.h:1863
packet_web_city_info_addition::output_trade
int output_trade[MAX_CITY_TILES+1]
Definition packets_gen.h:1871
packet_web_city_info_addition::output_food
int output_food[MAX_CITY_TILES+1]
Definition packets_gen.h:1869
packet_web_city_info_addition::granary_size
int granary_size
Definition packets_gen.h:1865
packet_web_city_info_addition::can_build_unit
bv_utypes can_build_unit
Definition packets_gen.h:1867
packet_web_city_info_addition::granary_turns
int granary_turns
Definition packets_gen.h:1866
packet_web_cma_clear
Definition packets_gen.h:1879
packet_web_cma_clear::id
int id
Definition packets_gen.h:1880
packet_web_cma_set
Definition packets_gen.h:1874
packet_web_cma_set::id
int id
Definition packets_gen.h:1875
packet_web_player_info_addition
Definition packets_gen.h:1883
packet_web_player_info_addition::expected_income
int expected_income
Definition packets_gen.h:1885
packet_web_player_info_addition::playerno
int playerno
Definition packets_gen.h:1884
packet_web_ruleset_unit_addition
Definition packets_gen.h:1888
packet_web_ruleset_unit_addition::utype_actions
bv_actions utype_actions
Definition packets_gen.h:1890
packet_web_ruleset_unit_addition::id
Unit_type_id id
Definition packets_gen.h:1889
packet_worker_task
Definition packets_gen.h:496
packet_worker_task::city_id
int city_id
Definition packets_gen.h:497
packet_worker_task::tile_id
int tile_id
Definition packets_gen.h:498
packet_worker_task::activity
enum unit_activity activity
Definition packets_gen.h:499
packet_worker_task::want
int want
Definition packets_gen.h:501
packet_worker_task::tgt
int tgt
Definition packets_gen.h:500
player
Definition player.h:247
requirement
Definition requirements.h:81
terrain
Definition terrain.h:182
tile
Definition tile.h:50
unit_order
Definition unit.h:92
worklist
Definition worklist.h:28
A_LAST
#define A_LAST
Definition tech.h:45
known_type
known_type
Definition tile.h:35
trade_route_illegal_cancelling
trade_route_illegal_cancelling
Definition traderoutes.h:29
unit.h