Freeciv-3.1: /fast/freeciv/nightly/S3_1/common/packets_gen.h Source File

Freeciv-3.1

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