Freeciv-3.3: /fast/freeciv/nightly/main/common/packets_gen.h Source File

Freeciv-3.3

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