dfhack_proto/generated/messages/
isoworldremote.rs

1// This file is generated by rust-protobuf 3.7.2. Do not edit
2// .proto file is parsed by pure
3// @generated
4
5// https://github.com/rust-lang/rust-clippy/issues/702
6#![allow(unknown_lints)]
7#![allow(clippy::all)]
8
9#![allow(unused_attributes)]
10#![cfg_attr(rustfmt, rustfmt::skip)]
11
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_results)]
19#![allow(unused_mut)]
20
21//! Generated file from `isoworldremote.proto`
22
23/// Generated files are compatible only with the same version
24/// of protobuf runtime.
25const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
26
27// @@protoc_insertion_point(message:isoworldremote.ColorDefinition)
28#[derive(PartialEq,Clone,Default,Debug)]
29pub struct ColorDefinition {
30    // message fields
31    // @@protoc_insertion_point(field:isoworldremote.ColorDefinition.red)
32    pub red: ::std::option::Option<i32>,
33    // @@protoc_insertion_point(field:isoworldremote.ColorDefinition.green)
34    pub green: ::std::option::Option<i32>,
35    // @@protoc_insertion_point(field:isoworldremote.ColorDefinition.blue)
36    pub blue: ::std::option::Option<i32>,
37    // special fields
38    // @@protoc_insertion_point(special_field:isoworldremote.ColorDefinition.special_fields)
39    pub special_fields: ::protobuf::SpecialFields,
40}
41
42impl<'a> ::std::default::Default for &'a ColorDefinition {
43    fn default() -> &'a ColorDefinition {
44        <ColorDefinition as ::protobuf::Message>::default_instance()
45    }
46}
47
48impl ColorDefinition {
49    pub fn new() -> ColorDefinition {
50        ::std::default::Default::default()
51    }
52
53    // required int32 red = 1;
54
55    pub fn red(&self) -> i32 {
56        self.red.unwrap_or(0)
57    }
58
59    pub fn clear_red(&mut self) {
60        self.red = ::std::option::Option::None;
61    }
62
63    pub fn has_red(&self) -> bool {
64        self.red.is_some()
65    }
66
67    // Param is passed by value, moved
68    pub fn set_red(&mut self, v: i32) {
69        self.red = ::std::option::Option::Some(v);
70    }
71
72    // required int32 green = 2;
73
74    pub fn green(&self) -> i32 {
75        self.green.unwrap_or(0)
76    }
77
78    pub fn clear_green(&mut self) {
79        self.green = ::std::option::Option::None;
80    }
81
82    pub fn has_green(&self) -> bool {
83        self.green.is_some()
84    }
85
86    // Param is passed by value, moved
87    pub fn set_green(&mut self, v: i32) {
88        self.green = ::std::option::Option::Some(v);
89    }
90
91    // required int32 blue = 3;
92
93    pub fn blue(&self) -> i32 {
94        self.blue.unwrap_or(0)
95    }
96
97    pub fn clear_blue(&mut self) {
98        self.blue = ::std::option::Option::None;
99    }
100
101    pub fn has_blue(&self) -> bool {
102        self.blue.is_some()
103    }
104
105    // Param is passed by value, moved
106    pub fn set_blue(&mut self, v: i32) {
107        self.blue = ::std::option::Option::Some(v);
108    }
109
110    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
111        let mut fields = ::std::vec::Vec::with_capacity(3);
112        let mut oneofs = ::std::vec::Vec::with_capacity(0);
113        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
114            "red",
115            |m: &ColorDefinition| { &m.red },
116            |m: &mut ColorDefinition| { &mut m.red },
117        ));
118        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
119            "green",
120            |m: &ColorDefinition| { &m.green },
121            |m: &mut ColorDefinition| { &mut m.green },
122        ));
123        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
124            "blue",
125            |m: &ColorDefinition| { &m.blue },
126            |m: &mut ColorDefinition| { &mut m.blue },
127        ));
128        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<ColorDefinition>(
129            "ColorDefinition",
130            fields,
131            oneofs,
132        )
133    }
134}
135
136impl ::protobuf::Message for ColorDefinition {
137    const NAME: &'static str = "ColorDefinition";
138
139    fn is_initialized(&self) -> bool {
140        if self.red.is_none() {
141            return false;
142        }
143        if self.green.is_none() {
144            return false;
145        }
146        if self.blue.is_none() {
147            return false;
148        }
149        true
150    }
151
152    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
153        while let Some(tag) = is.read_raw_tag_or_eof()? {
154            match tag {
155                8 => {
156                    self.red = ::std::option::Option::Some(is.read_int32()?);
157                },
158                16 => {
159                    self.green = ::std::option::Option::Some(is.read_int32()?);
160                },
161                24 => {
162                    self.blue = ::std::option::Option::Some(is.read_int32()?);
163                },
164                tag => {
165                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
166                },
167            };
168        }
169        ::std::result::Result::Ok(())
170    }
171
172    // Compute sizes of nested messages
173    #[allow(unused_variables)]
174    fn compute_size(&self) -> u64 {
175        let mut my_size = 0;
176        if let Some(v) = self.red {
177            my_size += ::protobuf::rt::int32_size(1, v);
178        }
179        if let Some(v) = self.green {
180            my_size += ::protobuf::rt::int32_size(2, v);
181        }
182        if let Some(v) = self.blue {
183            my_size += ::protobuf::rt::int32_size(3, v);
184        }
185        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
186        self.special_fields.cached_size().set(my_size as u32);
187        my_size
188    }
189
190    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
191        if let Some(v) = self.red {
192            os.write_int32(1, v)?;
193        }
194        if let Some(v) = self.green {
195            os.write_int32(2, v)?;
196        }
197        if let Some(v) = self.blue {
198            os.write_int32(3, v)?;
199        }
200        os.write_unknown_fields(self.special_fields.unknown_fields())?;
201        ::std::result::Result::Ok(())
202    }
203
204    fn special_fields(&self) -> &::protobuf::SpecialFields {
205        &self.special_fields
206    }
207
208    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
209        &mut self.special_fields
210    }
211
212    fn new() -> ColorDefinition {
213        ColorDefinition::new()
214    }
215
216    fn clear(&mut self) {
217        self.red = ::std::option::Option::None;
218        self.green = ::std::option::Option::None;
219        self.blue = ::std::option::Option::None;
220        self.special_fields.clear();
221    }
222
223    fn default_instance() -> &'static ColorDefinition {
224        static instance: ColorDefinition = ColorDefinition {
225            red: ::std::option::Option::None,
226            green: ::std::option::Option::None,
227            blue: ::std::option::Option::None,
228            special_fields: ::protobuf::SpecialFields::new(),
229        };
230        &instance
231    }
232}
233
234impl ::protobuf::MessageFull for ColorDefinition {
235    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
236        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
237        descriptor.get(|| file_descriptor().message_by_package_relative_name("ColorDefinition").unwrap()).clone()
238    }
239}
240
241impl ::std::fmt::Display for ColorDefinition {
242    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
243        ::protobuf::text_format::fmt(self, f)
244    }
245}
246
247impl ::protobuf::reflect::ProtobufValue for ColorDefinition {
248    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
249}
250
251// @@protoc_insertion_point(message:isoworldremote.EmbarkTileLayer)
252#[derive(PartialEq,Clone,Default,Debug)]
253pub struct EmbarkTileLayer {
254    // message fields
255    // @@protoc_insertion_point(field:isoworldremote.EmbarkTileLayer.mat_type_table)
256    pub mat_type_table: ::std::vec::Vec<::protobuf::EnumOrUnknown<BasicMaterial>>,
257    // @@protoc_insertion_point(field:isoworldremote.EmbarkTileLayer.mat_subtype_table)
258    pub mat_subtype_table: ::std::vec::Vec<i32>,
259    // @@protoc_insertion_point(field:isoworldremote.EmbarkTileLayer.tile_shape_table)
260    pub tile_shape_table: ::std::vec::Vec<::protobuf::EnumOrUnknown<BasicShape>>,
261    // @@protoc_insertion_point(field:isoworldremote.EmbarkTileLayer.tile_color_table)
262    pub tile_color_table: ::std::vec::Vec<ColorDefinition>,
263    // special fields
264    // @@protoc_insertion_point(special_field:isoworldremote.EmbarkTileLayer.special_fields)
265    pub special_fields: ::protobuf::SpecialFields,
266}
267
268impl<'a> ::std::default::Default for &'a EmbarkTileLayer {
269    fn default() -> &'a EmbarkTileLayer {
270        <EmbarkTileLayer as ::protobuf::Message>::default_instance()
271    }
272}
273
274impl EmbarkTileLayer {
275    pub fn new() -> EmbarkTileLayer {
276        ::std::default::Default::default()
277    }
278
279    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
280        let mut fields = ::std::vec::Vec::with_capacity(4);
281        let mut oneofs = ::std::vec::Vec::with_capacity(0);
282        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
283            "mat_type_table",
284            |m: &EmbarkTileLayer| { &m.mat_type_table },
285            |m: &mut EmbarkTileLayer| { &mut m.mat_type_table },
286        ));
287        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
288            "mat_subtype_table",
289            |m: &EmbarkTileLayer| { &m.mat_subtype_table },
290            |m: &mut EmbarkTileLayer| { &mut m.mat_subtype_table },
291        ));
292        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
293            "tile_shape_table",
294            |m: &EmbarkTileLayer| { &m.tile_shape_table },
295            |m: &mut EmbarkTileLayer| { &mut m.tile_shape_table },
296        ));
297        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
298            "tile_color_table",
299            |m: &EmbarkTileLayer| { &m.tile_color_table },
300            |m: &mut EmbarkTileLayer| { &mut m.tile_color_table },
301        ));
302        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<EmbarkTileLayer>(
303            "EmbarkTileLayer",
304            fields,
305            oneofs,
306        )
307    }
308}
309
310impl ::protobuf::Message for EmbarkTileLayer {
311    const NAME: &'static str = "EmbarkTileLayer";
312
313    fn is_initialized(&self) -> bool {
314        for v in &self.tile_color_table {
315            if !v.is_initialized() {
316                return false;
317            }
318        };
319        true
320    }
321
322    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
323        while let Some(tag) = is.read_raw_tag_or_eof()? {
324            match tag {
325                32 => {
326                    self.mat_type_table.push(is.read_enum_or_unknown()?);
327                },
328                34 => {
329                    ::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.mat_type_table)?
330                },
331                42 => {
332                    is.read_repeated_packed_int32_into(&mut self.mat_subtype_table)?;
333                },
334                40 => {
335                    self.mat_subtype_table.push(is.read_int32()?);
336                },
337                48 => {
338                    self.tile_shape_table.push(is.read_enum_or_unknown()?);
339                },
340                50 => {
341                    ::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.tile_shape_table)?
342                },
343                58 => {
344                    self.tile_color_table.push(is.read_message()?);
345                },
346                tag => {
347                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
348                },
349            };
350        }
351        ::std::result::Result::Ok(())
352    }
353
354    // Compute sizes of nested messages
355    #[allow(unused_variables)]
356    fn compute_size(&self) -> u64 {
357        let mut my_size = 0;
358        my_size += ::protobuf::rt::vec_packed_enum_or_unknown_size(4, &self.mat_type_table);
359        my_size += ::protobuf::rt::vec_packed_int32_size(5, &self.mat_subtype_table);
360        my_size += ::protobuf::rt::vec_packed_enum_or_unknown_size(6, &self.tile_shape_table);
361        for value in &self.tile_color_table {
362            let len = value.compute_size();
363            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
364        };
365        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
366        self.special_fields.cached_size().set(my_size as u32);
367        my_size
368    }
369
370    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
371        os.write_repeated_packed_enum_or_unknown(4, &self.mat_type_table)?;
372        os.write_repeated_packed_int32(5, &self.mat_subtype_table)?;
373        os.write_repeated_packed_enum_or_unknown(6, &self.tile_shape_table)?;
374        for v in &self.tile_color_table {
375            ::protobuf::rt::write_message_field_with_cached_size(7, v, os)?;
376        };
377        os.write_unknown_fields(self.special_fields.unknown_fields())?;
378        ::std::result::Result::Ok(())
379    }
380
381    fn special_fields(&self) -> &::protobuf::SpecialFields {
382        &self.special_fields
383    }
384
385    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
386        &mut self.special_fields
387    }
388
389    fn new() -> EmbarkTileLayer {
390        EmbarkTileLayer::new()
391    }
392
393    fn clear(&mut self) {
394        self.mat_type_table.clear();
395        self.mat_subtype_table.clear();
396        self.tile_shape_table.clear();
397        self.tile_color_table.clear();
398        self.special_fields.clear();
399    }
400
401    fn default_instance() -> &'static EmbarkTileLayer {
402        static instance: EmbarkTileLayer = EmbarkTileLayer {
403            mat_type_table: ::std::vec::Vec::new(),
404            mat_subtype_table: ::std::vec::Vec::new(),
405            tile_shape_table: ::std::vec::Vec::new(),
406            tile_color_table: ::std::vec::Vec::new(),
407            special_fields: ::protobuf::SpecialFields::new(),
408        };
409        &instance
410    }
411}
412
413impl ::protobuf::MessageFull for EmbarkTileLayer {
414    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
415        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
416        descriptor.get(|| file_descriptor().message_by_package_relative_name("EmbarkTileLayer").unwrap()).clone()
417    }
418}
419
420impl ::std::fmt::Display for EmbarkTileLayer {
421    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
422        ::protobuf::text_format::fmt(self, f)
423    }
424}
425
426impl ::protobuf::reflect::ProtobufValue for EmbarkTileLayer {
427    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
428}
429
430// @@protoc_insertion_point(message:isoworldremote.EmbarkTile)
431#[derive(PartialEq,Clone,Default,Debug)]
432pub struct EmbarkTile {
433    // message fields
434    // @@protoc_insertion_point(field:isoworldremote.EmbarkTile.world_x)
435    pub world_x: ::std::option::Option<i32>,
436    // @@protoc_insertion_point(field:isoworldremote.EmbarkTile.world_y)
437    pub world_y: ::std::option::Option<i32>,
438    // @@protoc_insertion_point(field:isoworldremote.EmbarkTile.world_z)
439    pub world_z: ::std::option::Option<i32>,
440    // @@protoc_insertion_point(field:isoworldremote.EmbarkTile.tile_layer)
441    pub tile_layer: ::std::vec::Vec<EmbarkTileLayer>,
442    // @@protoc_insertion_point(field:isoworldremote.EmbarkTile.current_year)
443    pub current_year: ::std::option::Option<i32>,
444    // @@protoc_insertion_point(field:isoworldremote.EmbarkTile.current_season)
445    pub current_season: ::std::option::Option<i32>,
446    // @@protoc_insertion_point(field:isoworldremote.EmbarkTile.is_valid)
447    pub is_valid: ::std::option::Option<bool>,
448    // special fields
449    // @@protoc_insertion_point(special_field:isoworldremote.EmbarkTile.special_fields)
450    pub special_fields: ::protobuf::SpecialFields,
451}
452
453impl<'a> ::std::default::Default for &'a EmbarkTile {
454    fn default() -> &'a EmbarkTile {
455        <EmbarkTile as ::protobuf::Message>::default_instance()
456    }
457}
458
459impl EmbarkTile {
460    pub fn new() -> EmbarkTile {
461        ::std::default::Default::default()
462    }
463
464    // required int32 world_x = 1;
465
466    pub fn world_x(&self) -> i32 {
467        self.world_x.unwrap_or(0)
468    }
469
470    pub fn clear_world_x(&mut self) {
471        self.world_x = ::std::option::Option::None;
472    }
473
474    pub fn has_world_x(&self) -> bool {
475        self.world_x.is_some()
476    }
477
478    // Param is passed by value, moved
479    pub fn set_world_x(&mut self, v: i32) {
480        self.world_x = ::std::option::Option::Some(v);
481    }
482
483    // required int32 world_y = 2;
484
485    pub fn world_y(&self) -> i32 {
486        self.world_y.unwrap_or(0)
487    }
488
489    pub fn clear_world_y(&mut self) {
490        self.world_y = ::std::option::Option::None;
491    }
492
493    pub fn has_world_y(&self) -> bool {
494        self.world_y.is_some()
495    }
496
497    // Param is passed by value, moved
498    pub fn set_world_y(&mut self, v: i32) {
499        self.world_y = ::std::option::Option::Some(v);
500    }
501
502    // required sint32 world_z = 3;
503
504    pub fn world_z(&self) -> i32 {
505        self.world_z.unwrap_or(0)
506    }
507
508    pub fn clear_world_z(&mut self) {
509        self.world_z = ::std::option::Option::None;
510    }
511
512    pub fn has_world_z(&self) -> bool {
513        self.world_z.is_some()
514    }
515
516    // Param is passed by value, moved
517    pub fn set_world_z(&mut self, v: i32) {
518        self.world_z = ::std::option::Option::Some(v);
519    }
520
521    // optional int32 current_year = 5;
522
523    pub fn current_year(&self) -> i32 {
524        self.current_year.unwrap_or(0)
525    }
526
527    pub fn clear_current_year(&mut self) {
528        self.current_year = ::std::option::Option::None;
529    }
530
531    pub fn has_current_year(&self) -> bool {
532        self.current_year.is_some()
533    }
534
535    // Param is passed by value, moved
536    pub fn set_current_year(&mut self, v: i32) {
537        self.current_year = ::std::option::Option::Some(v);
538    }
539
540    // optional int32 current_season = 6;
541
542    pub fn current_season(&self) -> i32 {
543        self.current_season.unwrap_or(0)
544    }
545
546    pub fn clear_current_season(&mut self) {
547        self.current_season = ::std::option::Option::None;
548    }
549
550    pub fn has_current_season(&self) -> bool {
551        self.current_season.is_some()
552    }
553
554    // Param is passed by value, moved
555    pub fn set_current_season(&mut self, v: i32) {
556        self.current_season = ::std::option::Option::Some(v);
557    }
558
559    // optional bool is_valid = 7;
560
561    pub fn is_valid(&self) -> bool {
562        self.is_valid.unwrap_or(false)
563    }
564
565    pub fn clear_is_valid(&mut self) {
566        self.is_valid = ::std::option::Option::None;
567    }
568
569    pub fn has_is_valid(&self) -> bool {
570        self.is_valid.is_some()
571    }
572
573    // Param is passed by value, moved
574    pub fn set_is_valid(&mut self, v: bool) {
575        self.is_valid = ::std::option::Option::Some(v);
576    }
577
578    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
579        let mut fields = ::std::vec::Vec::with_capacity(7);
580        let mut oneofs = ::std::vec::Vec::with_capacity(0);
581        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
582            "world_x",
583            |m: &EmbarkTile| { &m.world_x },
584            |m: &mut EmbarkTile| { &mut m.world_x },
585        ));
586        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
587            "world_y",
588            |m: &EmbarkTile| { &m.world_y },
589            |m: &mut EmbarkTile| { &mut m.world_y },
590        ));
591        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
592            "world_z",
593            |m: &EmbarkTile| { &m.world_z },
594            |m: &mut EmbarkTile| { &mut m.world_z },
595        ));
596        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
597            "tile_layer",
598            |m: &EmbarkTile| { &m.tile_layer },
599            |m: &mut EmbarkTile| { &mut m.tile_layer },
600        ));
601        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
602            "current_year",
603            |m: &EmbarkTile| { &m.current_year },
604            |m: &mut EmbarkTile| { &mut m.current_year },
605        ));
606        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
607            "current_season",
608            |m: &EmbarkTile| { &m.current_season },
609            |m: &mut EmbarkTile| { &mut m.current_season },
610        ));
611        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
612            "is_valid",
613            |m: &EmbarkTile| { &m.is_valid },
614            |m: &mut EmbarkTile| { &mut m.is_valid },
615        ));
616        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<EmbarkTile>(
617            "EmbarkTile",
618            fields,
619            oneofs,
620        )
621    }
622}
623
624impl ::protobuf::Message for EmbarkTile {
625    const NAME: &'static str = "EmbarkTile";
626
627    fn is_initialized(&self) -> bool {
628        if self.world_x.is_none() {
629            return false;
630        }
631        if self.world_y.is_none() {
632            return false;
633        }
634        if self.world_z.is_none() {
635            return false;
636        }
637        for v in &self.tile_layer {
638            if !v.is_initialized() {
639                return false;
640            }
641        };
642        true
643    }
644
645    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
646        while let Some(tag) = is.read_raw_tag_or_eof()? {
647            match tag {
648                8 => {
649                    self.world_x = ::std::option::Option::Some(is.read_int32()?);
650                },
651                16 => {
652                    self.world_y = ::std::option::Option::Some(is.read_int32()?);
653                },
654                24 => {
655                    self.world_z = ::std::option::Option::Some(is.read_sint32()?);
656                },
657                34 => {
658                    self.tile_layer.push(is.read_message()?);
659                },
660                40 => {
661                    self.current_year = ::std::option::Option::Some(is.read_int32()?);
662                },
663                48 => {
664                    self.current_season = ::std::option::Option::Some(is.read_int32()?);
665                },
666                56 => {
667                    self.is_valid = ::std::option::Option::Some(is.read_bool()?);
668                },
669                tag => {
670                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
671                },
672            };
673        }
674        ::std::result::Result::Ok(())
675    }
676
677    // Compute sizes of nested messages
678    #[allow(unused_variables)]
679    fn compute_size(&self) -> u64 {
680        let mut my_size = 0;
681        if let Some(v) = self.world_x {
682            my_size += ::protobuf::rt::int32_size(1, v);
683        }
684        if let Some(v) = self.world_y {
685            my_size += ::protobuf::rt::int32_size(2, v);
686        }
687        if let Some(v) = self.world_z {
688            my_size += ::protobuf::rt::sint32_size(3, v);
689        }
690        for value in &self.tile_layer {
691            let len = value.compute_size();
692            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
693        };
694        if let Some(v) = self.current_year {
695            my_size += ::protobuf::rt::int32_size(5, v);
696        }
697        if let Some(v) = self.current_season {
698            my_size += ::protobuf::rt::int32_size(6, v);
699        }
700        if let Some(v) = self.is_valid {
701            my_size += 1 + 1;
702        }
703        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
704        self.special_fields.cached_size().set(my_size as u32);
705        my_size
706    }
707
708    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
709        if let Some(v) = self.world_x {
710            os.write_int32(1, v)?;
711        }
712        if let Some(v) = self.world_y {
713            os.write_int32(2, v)?;
714        }
715        if let Some(v) = self.world_z {
716            os.write_sint32(3, v)?;
717        }
718        for v in &self.tile_layer {
719            ::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
720        };
721        if let Some(v) = self.current_year {
722            os.write_int32(5, v)?;
723        }
724        if let Some(v) = self.current_season {
725            os.write_int32(6, v)?;
726        }
727        if let Some(v) = self.is_valid {
728            os.write_bool(7, v)?;
729        }
730        os.write_unknown_fields(self.special_fields.unknown_fields())?;
731        ::std::result::Result::Ok(())
732    }
733
734    fn special_fields(&self) -> &::protobuf::SpecialFields {
735        &self.special_fields
736    }
737
738    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
739        &mut self.special_fields
740    }
741
742    fn new() -> EmbarkTile {
743        EmbarkTile::new()
744    }
745
746    fn clear(&mut self) {
747        self.world_x = ::std::option::Option::None;
748        self.world_y = ::std::option::Option::None;
749        self.world_z = ::std::option::Option::None;
750        self.tile_layer.clear();
751        self.current_year = ::std::option::Option::None;
752        self.current_season = ::std::option::Option::None;
753        self.is_valid = ::std::option::Option::None;
754        self.special_fields.clear();
755    }
756
757    fn default_instance() -> &'static EmbarkTile {
758        static instance: EmbarkTile = EmbarkTile {
759            world_x: ::std::option::Option::None,
760            world_y: ::std::option::Option::None,
761            world_z: ::std::option::Option::None,
762            tile_layer: ::std::vec::Vec::new(),
763            current_year: ::std::option::Option::None,
764            current_season: ::std::option::Option::None,
765            is_valid: ::std::option::Option::None,
766            special_fields: ::protobuf::SpecialFields::new(),
767        };
768        &instance
769    }
770}
771
772impl ::protobuf::MessageFull for EmbarkTile {
773    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
774        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
775        descriptor.get(|| file_descriptor().message_by_package_relative_name("EmbarkTile").unwrap()).clone()
776    }
777}
778
779impl ::std::fmt::Display for EmbarkTile {
780    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
781        ::protobuf::text_format::fmt(self, f)
782    }
783}
784
785impl ::protobuf::reflect::ProtobufValue for EmbarkTile {
786    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
787}
788
789// @@protoc_insertion_point(message:isoworldremote.TileRequest)
790#[derive(PartialEq,Clone,Default,Debug)]
791pub struct TileRequest {
792    // message fields
793    // @@protoc_insertion_point(field:isoworldremote.TileRequest.want_x)
794    pub want_x: ::std::option::Option<i32>,
795    // @@protoc_insertion_point(field:isoworldremote.TileRequest.want_y)
796    pub want_y: ::std::option::Option<i32>,
797    // special fields
798    // @@protoc_insertion_point(special_field:isoworldremote.TileRequest.special_fields)
799    pub special_fields: ::protobuf::SpecialFields,
800}
801
802impl<'a> ::std::default::Default for &'a TileRequest {
803    fn default() -> &'a TileRequest {
804        <TileRequest as ::protobuf::Message>::default_instance()
805    }
806}
807
808impl TileRequest {
809    pub fn new() -> TileRequest {
810        ::std::default::Default::default()
811    }
812
813    // optional int32 want_x = 1;
814
815    pub fn want_x(&self) -> i32 {
816        self.want_x.unwrap_or(0)
817    }
818
819    pub fn clear_want_x(&mut self) {
820        self.want_x = ::std::option::Option::None;
821    }
822
823    pub fn has_want_x(&self) -> bool {
824        self.want_x.is_some()
825    }
826
827    // Param is passed by value, moved
828    pub fn set_want_x(&mut self, v: i32) {
829        self.want_x = ::std::option::Option::Some(v);
830    }
831
832    // optional int32 want_y = 2;
833
834    pub fn want_y(&self) -> i32 {
835        self.want_y.unwrap_or(0)
836    }
837
838    pub fn clear_want_y(&mut self) {
839        self.want_y = ::std::option::Option::None;
840    }
841
842    pub fn has_want_y(&self) -> bool {
843        self.want_y.is_some()
844    }
845
846    // Param is passed by value, moved
847    pub fn set_want_y(&mut self, v: i32) {
848        self.want_y = ::std::option::Option::Some(v);
849    }
850
851    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
852        let mut fields = ::std::vec::Vec::with_capacity(2);
853        let mut oneofs = ::std::vec::Vec::with_capacity(0);
854        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
855            "want_x",
856            |m: &TileRequest| { &m.want_x },
857            |m: &mut TileRequest| { &mut m.want_x },
858        ));
859        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
860            "want_y",
861            |m: &TileRequest| { &m.want_y },
862            |m: &mut TileRequest| { &mut m.want_y },
863        ));
864        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<TileRequest>(
865            "TileRequest",
866            fields,
867            oneofs,
868        )
869    }
870}
871
872impl ::protobuf::Message for TileRequest {
873    const NAME: &'static str = "TileRequest";
874
875    fn is_initialized(&self) -> bool {
876        true
877    }
878
879    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
880        while let Some(tag) = is.read_raw_tag_or_eof()? {
881            match tag {
882                8 => {
883                    self.want_x = ::std::option::Option::Some(is.read_int32()?);
884                },
885                16 => {
886                    self.want_y = ::std::option::Option::Some(is.read_int32()?);
887                },
888                tag => {
889                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
890                },
891            };
892        }
893        ::std::result::Result::Ok(())
894    }
895
896    // Compute sizes of nested messages
897    #[allow(unused_variables)]
898    fn compute_size(&self) -> u64 {
899        let mut my_size = 0;
900        if let Some(v) = self.want_x {
901            my_size += ::protobuf::rt::int32_size(1, v);
902        }
903        if let Some(v) = self.want_y {
904            my_size += ::protobuf::rt::int32_size(2, v);
905        }
906        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
907        self.special_fields.cached_size().set(my_size as u32);
908        my_size
909    }
910
911    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
912        if let Some(v) = self.want_x {
913            os.write_int32(1, v)?;
914        }
915        if let Some(v) = self.want_y {
916            os.write_int32(2, v)?;
917        }
918        os.write_unknown_fields(self.special_fields.unknown_fields())?;
919        ::std::result::Result::Ok(())
920    }
921
922    fn special_fields(&self) -> &::protobuf::SpecialFields {
923        &self.special_fields
924    }
925
926    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
927        &mut self.special_fields
928    }
929
930    fn new() -> TileRequest {
931        TileRequest::new()
932    }
933
934    fn clear(&mut self) {
935        self.want_x = ::std::option::Option::None;
936        self.want_y = ::std::option::Option::None;
937        self.special_fields.clear();
938    }
939
940    fn default_instance() -> &'static TileRequest {
941        static instance: TileRequest = TileRequest {
942            want_x: ::std::option::Option::None,
943            want_y: ::std::option::Option::None,
944            special_fields: ::protobuf::SpecialFields::new(),
945        };
946        &instance
947    }
948}
949
950impl ::protobuf::MessageFull for TileRequest {
951    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
952        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
953        descriptor.get(|| file_descriptor().message_by_package_relative_name("TileRequest").unwrap()).clone()
954    }
955}
956
957impl ::std::fmt::Display for TileRequest {
958    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
959        ::protobuf::text_format::fmt(self, f)
960    }
961}
962
963impl ::protobuf::reflect::ProtobufValue for TileRequest {
964    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
965}
966
967// @@protoc_insertion_point(message:isoworldremote.MapRequest)
968#[derive(PartialEq,Clone,Default,Debug)]
969pub struct MapRequest {
970    // message fields
971    // @@protoc_insertion_point(field:isoworldremote.MapRequest.save_folder)
972    pub save_folder: ::std::option::Option<::std::string::String>,
973    // special fields
974    // @@protoc_insertion_point(special_field:isoworldremote.MapRequest.special_fields)
975    pub special_fields: ::protobuf::SpecialFields,
976}
977
978impl<'a> ::std::default::Default for &'a MapRequest {
979    fn default() -> &'a MapRequest {
980        <MapRequest as ::protobuf::Message>::default_instance()
981    }
982}
983
984impl MapRequest {
985    pub fn new() -> MapRequest {
986        ::std::default::Default::default()
987    }
988
989    // optional string save_folder = 1;
990
991    pub fn save_folder(&self) -> &str {
992        match self.save_folder.as_ref() {
993            Some(v) => v,
994            None => "",
995        }
996    }
997
998    pub fn clear_save_folder(&mut self) {
999        self.save_folder = ::std::option::Option::None;
1000    }
1001
1002    pub fn has_save_folder(&self) -> bool {
1003        self.save_folder.is_some()
1004    }
1005
1006    // Param is passed by value, moved
1007    pub fn set_save_folder(&mut self, v: ::std::string::String) {
1008        self.save_folder = ::std::option::Option::Some(v);
1009    }
1010
1011    // Mutable pointer to the field.
1012    // If field is not initialized, it is initialized with default value first.
1013    pub fn mut_save_folder(&mut self) -> &mut ::std::string::String {
1014        if self.save_folder.is_none() {
1015            self.save_folder = ::std::option::Option::Some(::std::string::String::new());
1016        }
1017        self.save_folder.as_mut().unwrap()
1018    }
1019
1020    // Take field
1021    pub fn take_save_folder(&mut self) -> ::std::string::String {
1022        self.save_folder.take().unwrap_or_else(|| ::std::string::String::new())
1023    }
1024
1025    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
1026        let mut fields = ::std::vec::Vec::with_capacity(1);
1027        let mut oneofs = ::std::vec::Vec::with_capacity(0);
1028        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1029            "save_folder",
1030            |m: &MapRequest| { &m.save_folder },
1031            |m: &mut MapRequest| { &mut m.save_folder },
1032        ));
1033        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<MapRequest>(
1034            "MapRequest",
1035            fields,
1036            oneofs,
1037        )
1038    }
1039}
1040
1041impl ::protobuf::Message for MapRequest {
1042    const NAME: &'static str = "MapRequest";
1043
1044    fn is_initialized(&self) -> bool {
1045        true
1046    }
1047
1048    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
1049        while let Some(tag) = is.read_raw_tag_or_eof()? {
1050            match tag {
1051                10 => {
1052                    self.save_folder = ::std::option::Option::Some(is.read_string()?);
1053                },
1054                tag => {
1055                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1056                },
1057            };
1058        }
1059        ::std::result::Result::Ok(())
1060    }
1061
1062    // Compute sizes of nested messages
1063    #[allow(unused_variables)]
1064    fn compute_size(&self) -> u64 {
1065        let mut my_size = 0;
1066        if let Some(v) = self.save_folder.as_ref() {
1067            my_size += ::protobuf::rt::string_size(1, &v);
1068        }
1069        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1070        self.special_fields.cached_size().set(my_size as u32);
1071        my_size
1072    }
1073
1074    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
1075        if let Some(v) = self.save_folder.as_ref() {
1076            os.write_string(1, v)?;
1077        }
1078        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1079        ::std::result::Result::Ok(())
1080    }
1081
1082    fn special_fields(&self) -> &::protobuf::SpecialFields {
1083        &self.special_fields
1084    }
1085
1086    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
1087        &mut self.special_fields
1088    }
1089
1090    fn new() -> MapRequest {
1091        MapRequest::new()
1092    }
1093
1094    fn clear(&mut self) {
1095        self.save_folder = ::std::option::Option::None;
1096        self.special_fields.clear();
1097    }
1098
1099    fn default_instance() -> &'static MapRequest {
1100        static instance: MapRequest = MapRequest {
1101            save_folder: ::std::option::Option::None,
1102            special_fields: ::protobuf::SpecialFields::new(),
1103        };
1104        &instance
1105    }
1106}
1107
1108impl ::protobuf::MessageFull for MapRequest {
1109    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
1110        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
1111        descriptor.get(|| file_descriptor().message_by_package_relative_name("MapRequest").unwrap()).clone()
1112    }
1113}
1114
1115impl ::std::fmt::Display for MapRequest {
1116    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1117        ::protobuf::text_format::fmt(self, f)
1118    }
1119}
1120
1121impl ::protobuf::reflect::ProtobufValue for MapRequest {
1122    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
1123}
1124
1125// @@protoc_insertion_point(message:isoworldremote.MapReply)
1126#[derive(PartialEq,Clone,Default,Debug)]
1127pub struct MapReply {
1128    // message fields
1129    // @@protoc_insertion_point(field:isoworldremote.MapReply.available)
1130    pub available: ::std::option::Option<bool>,
1131    // @@protoc_insertion_point(field:isoworldremote.MapReply.region_x)
1132    pub region_x: ::std::option::Option<i32>,
1133    // @@protoc_insertion_point(field:isoworldremote.MapReply.region_y)
1134    pub region_y: ::std::option::Option<i32>,
1135    // @@protoc_insertion_point(field:isoworldremote.MapReply.region_size_x)
1136    pub region_size_x: ::std::option::Option<i32>,
1137    // @@protoc_insertion_point(field:isoworldremote.MapReply.region_size_y)
1138    pub region_size_y: ::std::option::Option<i32>,
1139    // @@protoc_insertion_point(field:isoworldremote.MapReply.current_year)
1140    pub current_year: ::std::option::Option<i32>,
1141    // @@protoc_insertion_point(field:isoworldremote.MapReply.current_season)
1142    pub current_season: ::std::option::Option<i32>,
1143    // special fields
1144    // @@protoc_insertion_point(special_field:isoworldremote.MapReply.special_fields)
1145    pub special_fields: ::protobuf::SpecialFields,
1146}
1147
1148impl<'a> ::std::default::Default for &'a MapReply {
1149    fn default() -> &'a MapReply {
1150        <MapReply as ::protobuf::Message>::default_instance()
1151    }
1152}
1153
1154impl MapReply {
1155    pub fn new() -> MapReply {
1156        ::std::default::Default::default()
1157    }
1158
1159    // required bool available = 1;
1160
1161    pub fn available(&self) -> bool {
1162        self.available.unwrap_or(false)
1163    }
1164
1165    pub fn clear_available(&mut self) {
1166        self.available = ::std::option::Option::None;
1167    }
1168
1169    pub fn has_available(&self) -> bool {
1170        self.available.is_some()
1171    }
1172
1173    // Param is passed by value, moved
1174    pub fn set_available(&mut self, v: bool) {
1175        self.available = ::std::option::Option::Some(v);
1176    }
1177
1178    // optional int32 region_x = 2;
1179
1180    pub fn region_x(&self) -> i32 {
1181        self.region_x.unwrap_or(0)
1182    }
1183
1184    pub fn clear_region_x(&mut self) {
1185        self.region_x = ::std::option::Option::None;
1186    }
1187
1188    pub fn has_region_x(&self) -> bool {
1189        self.region_x.is_some()
1190    }
1191
1192    // Param is passed by value, moved
1193    pub fn set_region_x(&mut self, v: i32) {
1194        self.region_x = ::std::option::Option::Some(v);
1195    }
1196
1197    // optional int32 region_y = 3;
1198
1199    pub fn region_y(&self) -> i32 {
1200        self.region_y.unwrap_or(0)
1201    }
1202
1203    pub fn clear_region_y(&mut self) {
1204        self.region_y = ::std::option::Option::None;
1205    }
1206
1207    pub fn has_region_y(&self) -> bool {
1208        self.region_y.is_some()
1209    }
1210
1211    // Param is passed by value, moved
1212    pub fn set_region_y(&mut self, v: i32) {
1213        self.region_y = ::std::option::Option::Some(v);
1214    }
1215
1216    // optional int32 region_size_x = 4;
1217
1218    pub fn region_size_x(&self) -> i32 {
1219        self.region_size_x.unwrap_or(0)
1220    }
1221
1222    pub fn clear_region_size_x(&mut self) {
1223        self.region_size_x = ::std::option::Option::None;
1224    }
1225
1226    pub fn has_region_size_x(&self) -> bool {
1227        self.region_size_x.is_some()
1228    }
1229
1230    // Param is passed by value, moved
1231    pub fn set_region_size_x(&mut self, v: i32) {
1232        self.region_size_x = ::std::option::Option::Some(v);
1233    }
1234
1235    // optional int32 region_size_y = 5;
1236
1237    pub fn region_size_y(&self) -> i32 {
1238        self.region_size_y.unwrap_or(0)
1239    }
1240
1241    pub fn clear_region_size_y(&mut self) {
1242        self.region_size_y = ::std::option::Option::None;
1243    }
1244
1245    pub fn has_region_size_y(&self) -> bool {
1246        self.region_size_y.is_some()
1247    }
1248
1249    // Param is passed by value, moved
1250    pub fn set_region_size_y(&mut self, v: i32) {
1251        self.region_size_y = ::std::option::Option::Some(v);
1252    }
1253
1254    // optional int32 current_year = 6;
1255
1256    pub fn current_year(&self) -> i32 {
1257        self.current_year.unwrap_or(0)
1258    }
1259
1260    pub fn clear_current_year(&mut self) {
1261        self.current_year = ::std::option::Option::None;
1262    }
1263
1264    pub fn has_current_year(&self) -> bool {
1265        self.current_year.is_some()
1266    }
1267
1268    // Param is passed by value, moved
1269    pub fn set_current_year(&mut self, v: i32) {
1270        self.current_year = ::std::option::Option::Some(v);
1271    }
1272
1273    // optional int32 current_season = 7;
1274
1275    pub fn current_season(&self) -> i32 {
1276        self.current_season.unwrap_or(0)
1277    }
1278
1279    pub fn clear_current_season(&mut self) {
1280        self.current_season = ::std::option::Option::None;
1281    }
1282
1283    pub fn has_current_season(&self) -> bool {
1284        self.current_season.is_some()
1285    }
1286
1287    // Param is passed by value, moved
1288    pub fn set_current_season(&mut self, v: i32) {
1289        self.current_season = ::std::option::Option::Some(v);
1290    }
1291
1292    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
1293        let mut fields = ::std::vec::Vec::with_capacity(7);
1294        let mut oneofs = ::std::vec::Vec::with_capacity(0);
1295        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1296            "available",
1297            |m: &MapReply| { &m.available },
1298            |m: &mut MapReply| { &mut m.available },
1299        ));
1300        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1301            "region_x",
1302            |m: &MapReply| { &m.region_x },
1303            |m: &mut MapReply| { &mut m.region_x },
1304        ));
1305        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1306            "region_y",
1307            |m: &MapReply| { &m.region_y },
1308            |m: &mut MapReply| { &mut m.region_y },
1309        ));
1310        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1311            "region_size_x",
1312            |m: &MapReply| { &m.region_size_x },
1313            |m: &mut MapReply| { &mut m.region_size_x },
1314        ));
1315        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1316            "region_size_y",
1317            |m: &MapReply| { &m.region_size_y },
1318            |m: &mut MapReply| { &mut m.region_size_y },
1319        ));
1320        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1321            "current_year",
1322            |m: &MapReply| { &m.current_year },
1323            |m: &mut MapReply| { &mut m.current_year },
1324        ));
1325        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1326            "current_season",
1327            |m: &MapReply| { &m.current_season },
1328            |m: &mut MapReply| { &mut m.current_season },
1329        ));
1330        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<MapReply>(
1331            "MapReply",
1332            fields,
1333            oneofs,
1334        )
1335    }
1336}
1337
1338impl ::protobuf::Message for MapReply {
1339    const NAME: &'static str = "MapReply";
1340
1341    fn is_initialized(&self) -> bool {
1342        if self.available.is_none() {
1343            return false;
1344        }
1345        true
1346    }
1347
1348    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
1349        while let Some(tag) = is.read_raw_tag_or_eof()? {
1350            match tag {
1351                8 => {
1352                    self.available = ::std::option::Option::Some(is.read_bool()?);
1353                },
1354                16 => {
1355                    self.region_x = ::std::option::Option::Some(is.read_int32()?);
1356                },
1357                24 => {
1358                    self.region_y = ::std::option::Option::Some(is.read_int32()?);
1359                },
1360                32 => {
1361                    self.region_size_x = ::std::option::Option::Some(is.read_int32()?);
1362                },
1363                40 => {
1364                    self.region_size_y = ::std::option::Option::Some(is.read_int32()?);
1365                },
1366                48 => {
1367                    self.current_year = ::std::option::Option::Some(is.read_int32()?);
1368                },
1369                56 => {
1370                    self.current_season = ::std::option::Option::Some(is.read_int32()?);
1371                },
1372                tag => {
1373                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1374                },
1375            };
1376        }
1377        ::std::result::Result::Ok(())
1378    }
1379
1380    // Compute sizes of nested messages
1381    #[allow(unused_variables)]
1382    fn compute_size(&self) -> u64 {
1383        let mut my_size = 0;
1384        if let Some(v) = self.available {
1385            my_size += 1 + 1;
1386        }
1387        if let Some(v) = self.region_x {
1388            my_size += ::protobuf::rt::int32_size(2, v);
1389        }
1390        if let Some(v) = self.region_y {
1391            my_size += ::protobuf::rt::int32_size(3, v);
1392        }
1393        if let Some(v) = self.region_size_x {
1394            my_size += ::protobuf::rt::int32_size(4, v);
1395        }
1396        if let Some(v) = self.region_size_y {
1397            my_size += ::protobuf::rt::int32_size(5, v);
1398        }
1399        if let Some(v) = self.current_year {
1400            my_size += ::protobuf::rt::int32_size(6, v);
1401        }
1402        if let Some(v) = self.current_season {
1403            my_size += ::protobuf::rt::int32_size(7, v);
1404        }
1405        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1406        self.special_fields.cached_size().set(my_size as u32);
1407        my_size
1408    }
1409
1410    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
1411        if let Some(v) = self.available {
1412            os.write_bool(1, v)?;
1413        }
1414        if let Some(v) = self.region_x {
1415            os.write_int32(2, v)?;
1416        }
1417        if let Some(v) = self.region_y {
1418            os.write_int32(3, v)?;
1419        }
1420        if let Some(v) = self.region_size_x {
1421            os.write_int32(4, v)?;
1422        }
1423        if let Some(v) = self.region_size_y {
1424            os.write_int32(5, v)?;
1425        }
1426        if let Some(v) = self.current_year {
1427            os.write_int32(6, v)?;
1428        }
1429        if let Some(v) = self.current_season {
1430            os.write_int32(7, v)?;
1431        }
1432        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1433        ::std::result::Result::Ok(())
1434    }
1435
1436    fn special_fields(&self) -> &::protobuf::SpecialFields {
1437        &self.special_fields
1438    }
1439
1440    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
1441        &mut self.special_fields
1442    }
1443
1444    fn new() -> MapReply {
1445        MapReply::new()
1446    }
1447
1448    fn clear(&mut self) {
1449        self.available = ::std::option::Option::None;
1450        self.region_x = ::std::option::Option::None;
1451        self.region_y = ::std::option::Option::None;
1452        self.region_size_x = ::std::option::Option::None;
1453        self.region_size_y = ::std::option::Option::None;
1454        self.current_year = ::std::option::Option::None;
1455        self.current_season = ::std::option::Option::None;
1456        self.special_fields.clear();
1457    }
1458
1459    fn default_instance() -> &'static MapReply {
1460        static instance: MapReply = MapReply {
1461            available: ::std::option::Option::None,
1462            region_x: ::std::option::Option::None,
1463            region_y: ::std::option::Option::None,
1464            region_size_x: ::std::option::Option::None,
1465            region_size_y: ::std::option::Option::None,
1466            current_year: ::std::option::Option::None,
1467            current_season: ::std::option::Option::None,
1468            special_fields: ::protobuf::SpecialFields::new(),
1469        };
1470        &instance
1471    }
1472}
1473
1474impl ::protobuf::MessageFull for MapReply {
1475    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
1476        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
1477        descriptor.get(|| file_descriptor().message_by_package_relative_name("MapReply").unwrap()).clone()
1478    }
1479}
1480
1481impl ::std::fmt::Display for MapReply {
1482    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1483        ::protobuf::text_format::fmt(self, f)
1484    }
1485}
1486
1487impl ::protobuf::reflect::ProtobufValue for MapReply {
1488    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
1489}
1490
1491// @@protoc_insertion_point(message:isoworldremote.RawNames)
1492#[derive(PartialEq,Clone,Default,Debug)]
1493pub struct RawNames {
1494    // message fields
1495    // @@protoc_insertion_point(field:isoworldremote.RawNames.available)
1496    pub available: ::std::option::Option<bool>,
1497    // @@protoc_insertion_point(field:isoworldremote.RawNames.inorganic)
1498    pub inorganic: ::std::vec::Vec<::std::string::String>,
1499    // @@protoc_insertion_point(field:isoworldremote.RawNames.organic)
1500    pub organic: ::std::vec::Vec<::std::string::String>,
1501    // special fields
1502    // @@protoc_insertion_point(special_field:isoworldremote.RawNames.special_fields)
1503    pub special_fields: ::protobuf::SpecialFields,
1504}
1505
1506impl<'a> ::std::default::Default for &'a RawNames {
1507    fn default() -> &'a RawNames {
1508        <RawNames as ::protobuf::Message>::default_instance()
1509    }
1510}
1511
1512impl RawNames {
1513    pub fn new() -> RawNames {
1514        ::std::default::Default::default()
1515    }
1516
1517    // required bool available = 1;
1518
1519    pub fn available(&self) -> bool {
1520        self.available.unwrap_or(false)
1521    }
1522
1523    pub fn clear_available(&mut self) {
1524        self.available = ::std::option::Option::None;
1525    }
1526
1527    pub fn has_available(&self) -> bool {
1528        self.available.is_some()
1529    }
1530
1531    // Param is passed by value, moved
1532    pub fn set_available(&mut self, v: bool) {
1533        self.available = ::std::option::Option::Some(v);
1534    }
1535
1536    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
1537        let mut fields = ::std::vec::Vec::with_capacity(3);
1538        let mut oneofs = ::std::vec::Vec::with_capacity(0);
1539        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1540            "available",
1541            |m: &RawNames| { &m.available },
1542            |m: &mut RawNames| { &mut m.available },
1543        ));
1544        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
1545            "inorganic",
1546            |m: &RawNames| { &m.inorganic },
1547            |m: &mut RawNames| { &mut m.inorganic },
1548        ));
1549        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
1550            "organic",
1551            |m: &RawNames| { &m.organic },
1552            |m: &mut RawNames| { &mut m.organic },
1553        ));
1554        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<RawNames>(
1555            "RawNames",
1556            fields,
1557            oneofs,
1558        )
1559    }
1560}
1561
1562impl ::protobuf::Message for RawNames {
1563    const NAME: &'static str = "RawNames";
1564
1565    fn is_initialized(&self) -> bool {
1566        if self.available.is_none() {
1567            return false;
1568        }
1569        true
1570    }
1571
1572    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
1573        while let Some(tag) = is.read_raw_tag_or_eof()? {
1574            match tag {
1575                8 => {
1576                    self.available = ::std::option::Option::Some(is.read_bool()?);
1577                },
1578                18 => {
1579                    self.inorganic.push(is.read_string()?);
1580                },
1581                26 => {
1582                    self.organic.push(is.read_string()?);
1583                },
1584                tag => {
1585                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1586                },
1587            };
1588        }
1589        ::std::result::Result::Ok(())
1590    }
1591
1592    // Compute sizes of nested messages
1593    #[allow(unused_variables)]
1594    fn compute_size(&self) -> u64 {
1595        let mut my_size = 0;
1596        if let Some(v) = self.available {
1597            my_size += 1 + 1;
1598        }
1599        for value in &self.inorganic {
1600            my_size += ::protobuf::rt::string_size(2, &value);
1601        };
1602        for value in &self.organic {
1603            my_size += ::protobuf::rt::string_size(3, &value);
1604        };
1605        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1606        self.special_fields.cached_size().set(my_size as u32);
1607        my_size
1608    }
1609
1610    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
1611        if let Some(v) = self.available {
1612            os.write_bool(1, v)?;
1613        }
1614        for v in &self.inorganic {
1615            os.write_string(2, &v)?;
1616        };
1617        for v in &self.organic {
1618            os.write_string(3, &v)?;
1619        };
1620        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1621        ::std::result::Result::Ok(())
1622    }
1623
1624    fn special_fields(&self) -> &::protobuf::SpecialFields {
1625        &self.special_fields
1626    }
1627
1628    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
1629        &mut self.special_fields
1630    }
1631
1632    fn new() -> RawNames {
1633        RawNames::new()
1634    }
1635
1636    fn clear(&mut self) {
1637        self.available = ::std::option::Option::None;
1638        self.inorganic.clear();
1639        self.organic.clear();
1640        self.special_fields.clear();
1641    }
1642
1643    fn default_instance() -> &'static RawNames {
1644        static instance: RawNames = RawNames {
1645            available: ::std::option::Option::None,
1646            inorganic: ::std::vec::Vec::new(),
1647            organic: ::std::vec::Vec::new(),
1648            special_fields: ::protobuf::SpecialFields::new(),
1649        };
1650        &instance
1651    }
1652}
1653
1654impl ::protobuf::MessageFull for RawNames {
1655    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
1656        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
1657        descriptor.get(|| file_descriptor().message_by_package_relative_name("RawNames").unwrap()).clone()
1658    }
1659}
1660
1661impl ::std::fmt::Display for RawNames {
1662    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1663        ::protobuf::text_format::fmt(self, f)
1664    }
1665}
1666
1667impl ::protobuf::reflect::ProtobufValue for RawNames {
1668    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
1669}
1670
1671#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
1672// @@protoc_insertion_point(enum:isoworldremote.BasicMaterial)
1673pub enum BasicMaterial {
1674    // @@protoc_insertion_point(enum_value:isoworldremote.BasicMaterial.AIR)
1675    AIR = 0,
1676    // @@protoc_insertion_point(enum_value:isoworldremote.BasicMaterial.OTHER)
1677    OTHER = 1,
1678    // @@protoc_insertion_point(enum_value:isoworldremote.BasicMaterial.INORGANIC)
1679    INORGANIC = 2,
1680    // @@protoc_insertion_point(enum_value:isoworldremote.BasicMaterial.LIQUID)
1681    LIQUID = 3,
1682    // @@protoc_insertion_point(enum_value:isoworldremote.BasicMaterial.PLANT)
1683    PLANT = 4,
1684    // @@protoc_insertion_point(enum_value:isoworldremote.BasicMaterial.WOOD)
1685    WOOD = 5,
1686}
1687
1688impl ::protobuf::Enum for BasicMaterial {
1689    const NAME: &'static str = "BasicMaterial";
1690
1691    fn value(&self) -> i32 {
1692        *self as i32
1693    }
1694
1695    fn from_i32(value: i32) -> ::std::option::Option<BasicMaterial> {
1696        match value {
1697            0 => ::std::option::Option::Some(BasicMaterial::AIR),
1698            1 => ::std::option::Option::Some(BasicMaterial::OTHER),
1699            2 => ::std::option::Option::Some(BasicMaterial::INORGANIC),
1700            3 => ::std::option::Option::Some(BasicMaterial::LIQUID),
1701            4 => ::std::option::Option::Some(BasicMaterial::PLANT),
1702            5 => ::std::option::Option::Some(BasicMaterial::WOOD),
1703            _ => ::std::option::Option::None
1704        }
1705    }
1706
1707    fn from_str(str: &str) -> ::std::option::Option<BasicMaterial> {
1708        match str {
1709            "AIR" => ::std::option::Option::Some(BasicMaterial::AIR),
1710            "OTHER" => ::std::option::Option::Some(BasicMaterial::OTHER),
1711            "INORGANIC" => ::std::option::Option::Some(BasicMaterial::INORGANIC),
1712            "LIQUID" => ::std::option::Option::Some(BasicMaterial::LIQUID),
1713            "PLANT" => ::std::option::Option::Some(BasicMaterial::PLANT),
1714            "WOOD" => ::std::option::Option::Some(BasicMaterial::WOOD),
1715            _ => ::std::option::Option::None
1716        }
1717    }
1718
1719    const VALUES: &'static [BasicMaterial] = &[
1720        BasicMaterial::AIR,
1721        BasicMaterial::OTHER,
1722        BasicMaterial::INORGANIC,
1723        BasicMaterial::LIQUID,
1724        BasicMaterial::PLANT,
1725        BasicMaterial::WOOD,
1726    ];
1727}
1728
1729impl ::protobuf::EnumFull for BasicMaterial {
1730    fn enum_descriptor() -> ::protobuf::reflect::EnumDescriptor {
1731        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::Lazy::new();
1732        descriptor.get(|| file_descriptor().enum_by_package_relative_name("BasicMaterial").unwrap()).clone()
1733    }
1734
1735    fn descriptor(&self) -> ::protobuf::reflect::EnumValueDescriptor {
1736        let index = *self as usize;
1737        Self::enum_descriptor().value_by_index(index)
1738    }
1739}
1740
1741impl ::std::default::Default for BasicMaterial {
1742    fn default() -> Self {
1743        BasicMaterial::AIR
1744    }
1745}
1746
1747impl BasicMaterial {
1748    fn generated_enum_descriptor_data() -> ::protobuf::reflect::GeneratedEnumDescriptorData {
1749        ::protobuf::reflect::GeneratedEnumDescriptorData::new::<BasicMaterial>("BasicMaterial")
1750    }
1751}
1752
1753#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
1754// @@protoc_insertion_point(enum:isoworldremote.LiquidType)
1755pub enum LiquidType {
1756    // @@protoc_insertion_point(enum_value:isoworldremote.LiquidType.ICE)
1757    ICE = 0,
1758    // @@protoc_insertion_point(enum_value:isoworldremote.LiquidType.WATER)
1759    WATER = 1,
1760    // @@protoc_insertion_point(enum_value:isoworldremote.LiquidType.MAGMA)
1761    MAGMA = 2,
1762}
1763
1764impl ::protobuf::Enum for LiquidType {
1765    const NAME: &'static str = "LiquidType";
1766
1767    fn value(&self) -> i32 {
1768        *self as i32
1769    }
1770
1771    fn from_i32(value: i32) -> ::std::option::Option<LiquidType> {
1772        match value {
1773            0 => ::std::option::Option::Some(LiquidType::ICE),
1774            1 => ::std::option::Option::Some(LiquidType::WATER),
1775            2 => ::std::option::Option::Some(LiquidType::MAGMA),
1776            _ => ::std::option::Option::None
1777        }
1778    }
1779
1780    fn from_str(str: &str) -> ::std::option::Option<LiquidType> {
1781        match str {
1782            "ICE" => ::std::option::Option::Some(LiquidType::ICE),
1783            "WATER" => ::std::option::Option::Some(LiquidType::WATER),
1784            "MAGMA" => ::std::option::Option::Some(LiquidType::MAGMA),
1785            _ => ::std::option::Option::None
1786        }
1787    }
1788
1789    const VALUES: &'static [LiquidType] = &[
1790        LiquidType::ICE,
1791        LiquidType::WATER,
1792        LiquidType::MAGMA,
1793    ];
1794}
1795
1796impl ::protobuf::EnumFull for LiquidType {
1797    fn enum_descriptor() -> ::protobuf::reflect::EnumDescriptor {
1798        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::Lazy::new();
1799        descriptor.get(|| file_descriptor().enum_by_package_relative_name("LiquidType").unwrap()).clone()
1800    }
1801
1802    fn descriptor(&self) -> ::protobuf::reflect::EnumValueDescriptor {
1803        let index = *self as usize;
1804        Self::enum_descriptor().value_by_index(index)
1805    }
1806}
1807
1808impl ::std::default::Default for LiquidType {
1809    fn default() -> Self {
1810        LiquidType::ICE
1811    }
1812}
1813
1814impl LiquidType {
1815    fn generated_enum_descriptor_data() -> ::protobuf::reflect::GeneratedEnumDescriptorData {
1816        ::protobuf::reflect::GeneratedEnumDescriptorData::new::<LiquidType>("LiquidType")
1817    }
1818}
1819
1820#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
1821// @@protoc_insertion_point(enum:isoworldremote.BasicShape)
1822pub enum BasicShape {
1823    // @@protoc_insertion_point(enum_value:isoworldremote.BasicShape.NONE)
1824    NONE = 0,
1825    // @@protoc_insertion_point(enum_value:isoworldremote.BasicShape.OPEN)
1826    OPEN = 1,
1827    // @@protoc_insertion_point(enum_value:isoworldremote.BasicShape.WALL)
1828    WALL = 3,
1829    // @@protoc_insertion_point(enum_value:isoworldremote.BasicShape.FLOOR)
1830    FLOOR = 4,
1831    // @@protoc_insertion_point(enum_value:isoworldremote.BasicShape.RAMP_UP)
1832    RAMP_UP = 5,
1833    // @@protoc_insertion_point(enum_value:isoworldremote.BasicShape.RAMP_DOWN)
1834    RAMP_DOWN = 6,
1835}
1836
1837impl ::protobuf::Enum for BasicShape {
1838    const NAME: &'static str = "BasicShape";
1839
1840    fn value(&self) -> i32 {
1841        *self as i32
1842    }
1843
1844    fn from_i32(value: i32) -> ::std::option::Option<BasicShape> {
1845        match value {
1846            0 => ::std::option::Option::Some(BasicShape::NONE),
1847            1 => ::std::option::Option::Some(BasicShape::OPEN),
1848            3 => ::std::option::Option::Some(BasicShape::WALL),
1849            4 => ::std::option::Option::Some(BasicShape::FLOOR),
1850            5 => ::std::option::Option::Some(BasicShape::RAMP_UP),
1851            6 => ::std::option::Option::Some(BasicShape::RAMP_DOWN),
1852            _ => ::std::option::Option::None
1853        }
1854    }
1855
1856    fn from_str(str: &str) -> ::std::option::Option<BasicShape> {
1857        match str {
1858            "NONE" => ::std::option::Option::Some(BasicShape::NONE),
1859            "OPEN" => ::std::option::Option::Some(BasicShape::OPEN),
1860            "WALL" => ::std::option::Option::Some(BasicShape::WALL),
1861            "FLOOR" => ::std::option::Option::Some(BasicShape::FLOOR),
1862            "RAMP_UP" => ::std::option::Option::Some(BasicShape::RAMP_UP),
1863            "RAMP_DOWN" => ::std::option::Option::Some(BasicShape::RAMP_DOWN),
1864            _ => ::std::option::Option::None
1865        }
1866    }
1867
1868    const VALUES: &'static [BasicShape] = &[
1869        BasicShape::NONE,
1870        BasicShape::OPEN,
1871        BasicShape::WALL,
1872        BasicShape::FLOOR,
1873        BasicShape::RAMP_UP,
1874        BasicShape::RAMP_DOWN,
1875    ];
1876}
1877
1878impl ::protobuf::EnumFull for BasicShape {
1879    fn enum_descriptor() -> ::protobuf::reflect::EnumDescriptor {
1880        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::Lazy::new();
1881        descriptor.get(|| file_descriptor().enum_by_package_relative_name("BasicShape").unwrap()).clone()
1882    }
1883
1884    fn descriptor(&self) -> ::protobuf::reflect::EnumValueDescriptor {
1885        let index = match self {
1886            BasicShape::NONE => 0,
1887            BasicShape::OPEN => 1,
1888            BasicShape::WALL => 2,
1889            BasicShape::FLOOR => 3,
1890            BasicShape::RAMP_UP => 4,
1891            BasicShape::RAMP_DOWN => 5,
1892        };
1893        Self::enum_descriptor().value_by_index(index)
1894    }
1895}
1896
1897impl ::std::default::Default for BasicShape {
1898    fn default() -> Self {
1899        BasicShape::NONE
1900    }
1901}
1902
1903impl BasicShape {
1904    fn generated_enum_descriptor_data() -> ::protobuf::reflect::GeneratedEnumDescriptorData {
1905        ::protobuf::reflect::GeneratedEnumDescriptorData::new::<BasicShape>("BasicShape")
1906    }
1907}
1908
1909static file_descriptor_proto_data: &'static [u8] = b"\
1910    \n\x14isoworldremote.proto\x12\x0eisoworldremote\"M\n\x0fColorDefinition\
1911    \x12\x10\n\x03red\x18\x01\x20\x02(\x05R\x03red\x12\x14\n\x05green\x18\
1912    \x02\x20\x02(\x05R\x05green\x12\x12\n\x04blue\x18\x03\x20\x02(\x05R\x04b\
1913    lue\"\x9f\x02\n\x0fEmbarkTileLayer\x12G\n\x0emat_type_table\x18\x04\x20\
1914    \x03(\x0e2\x1d.isoworldremote.BasicMaterialR\x0cmatTypeTableB\x02\x10\
1915    \x01\x12.\n\x11mat_subtype_table\x18\x05\x20\x03(\x05R\x0fmatSubtypeTabl\
1916    eB\x02\x10\x01\x12H\n\x10tile_shape_table\x18\x06\x20\x03(\x0e2\x1a.isow\
1917    orldremote.BasicShapeR\x0etileShapeTableB\x02\x10\x01\x12I\n\x10tile_col\
1918    or_table\x18\x07\x20\x03(\x0b2\x1f.isoworldremote.ColorDefinitionR\x0eti\
1919    leColorTable\"\xfc\x01\n\nEmbarkTile\x12\x17\n\x07world_x\x18\x01\x20\
1920    \x02(\x05R\x06worldX\x12\x17\n\x07world_y\x18\x02\x20\x02(\x05R\x06world\
1921    Y\x12\x17\n\x07world_z\x18\x03\x20\x02(\x11R\x06worldZ\x12>\n\ntile_laye\
1922    r\x18\x04\x20\x03(\x0b2\x1f.isoworldremote.EmbarkTileLayerR\ttileLayer\
1923    \x12!\n\x0ccurrent_year\x18\x05\x20\x01(\x05R\x0bcurrentYear\x12%\n\x0ec\
1924    urrent_season\x18\x06\x20\x01(\x05R\rcurrentSeason\x12\x19\n\x08is_valid\
1925    \x18\x07\x20\x01(\x08R\x07isValid\";\n\x0bTileRequest\x12\x15\n\x06want_\
1926    x\x18\x01\x20\x01(\x05R\x05wantX\x12\x15\n\x06want_y\x18\x02\x20\x01(\
1927    \x05R\x05wantY\"-\n\nMapRequest\x12\x1f\n\x0bsave_folder\x18\x01\x20\x01\
1928    (\tR\nsaveFolder\"\xf0\x01\n\x08MapReply\x12\x1c\n\tavailable\x18\x01\
1929    \x20\x02(\x08R\tavailable\x12\x19\n\x08region_x\x18\x02\x20\x01(\x05R\
1930    \x07regionX\x12\x19\n\x08region_y\x18\x03\x20\x01(\x05R\x07regionY\x12\"\
1931    \n\rregion_size_x\x18\x04\x20\x01(\x05R\x0bregionSizeX\x12\"\n\rregion_s\
1932    ize_y\x18\x05\x20\x01(\x05R\x0bregionSizeY\x12!\n\x0ccurrent_year\x18\
1933    \x06\x20\x01(\x05R\x0bcurrentYear\x12%\n\x0ecurrent_season\x18\x07\x20\
1934    \x01(\x05R\rcurrentSeason\"`\n\x08RawNames\x12\x1c\n\tavailable\x18\x01\
1935    \x20\x02(\x08R\tavailable\x12\x1c\n\tinorganic\x18\x02\x20\x03(\tR\tinor\
1936    ganic\x12\x18\n\x07organic\x18\x03\x20\x03(\tR\x07organic*S\n\rBasicMate\
1937    rial\x12\x07\n\x03AIR\x10\0\x12\t\n\x05OTHER\x10\x01\x12\r\n\tINORGANIC\
1938    \x10\x02\x12\n\n\x06LIQUID\x10\x03\x12\t\n\x05PLANT\x10\x04\x12\x08\n\
1939    \x04WOOD\x10\x05*+\n\nLiquidType\x12\x07\n\x03ICE\x10\0\x12\t\n\x05WATER\
1940    \x10\x01\x12\t\n\x05MAGMA\x10\x02*Q\n\nBasicShape\x12\x08\n\x04NONE\x10\
1941    \0\x12\x08\n\x04OPEN\x10\x01\x12\x08\n\x04WALL\x10\x03\x12\t\n\x05FLOOR\
1942    \x10\x04\x12\x0b\n\x07RAMP_UP\x10\x05\x12\r\n\tRAMP_DOWN\x10\x06B\x02H\
1943    \x03b\x06proto2\
1944";
1945
1946/// `FileDescriptorProto` object which was a source for this generated file
1947fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
1948    static file_descriptor_proto_lazy: ::protobuf::rt::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::Lazy::new();
1949    file_descriptor_proto_lazy.get(|| {
1950        ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
1951    })
1952}
1953
1954/// `FileDescriptor` object which allows dynamic access to files
1955pub fn file_descriptor() -> &'static ::protobuf::reflect::FileDescriptor {
1956    static generated_file_descriptor_lazy: ::protobuf::rt::Lazy<::protobuf::reflect::GeneratedFileDescriptor> = ::protobuf::rt::Lazy::new();
1957    static file_descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::FileDescriptor> = ::protobuf::rt::Lazy::new();
1958    file_descriptor.get(|| {
1959        let generated_file_descriptor = generated_file_descriptor_lazy.get(|| {
1960            let mut deps = ::std::vec::Vec::with_capacity(0);
1961            let mut messages = ::std::vec::Vec::with_capacity(7);
1962            messages.push(ColorDefinition::generated_message_descriptor_data());
1963            messages.push(EmbarkTileLayer::generated_message_descriptor_data());
1964            messages.push(EmbarkTile::generated_message_descriptor_data());
1965            messages.push(TileRequest::generated_message_descriptor_data());
1966            messages.push(MapRequest::generated_message_descriptor_data());
1967            messages.push(MapReply::generated_message_descriptor_data());
1968            messages.push(RawNames::generated_message_descriptor_data());
1969            let mut enums = ::std::vec::Vec::with_capacity(3);
1970            enums.push(BasicMaterial::generated_enum_descriptor_data());
1971            enums.push(LiquidType::generated_enum_descriptor_data());
1972            enums.push(BasicShape::generated_enum_descriptor_data());
1973            ::protobuf::reflect::GeneratedFileDescriptor::new_generated(
1974                file_descriptor_proto(),
1975                deps,
1976                messages,
1977                enums,
1978            )
1979        });
1980        ::protobuf::reflect::FileDescriptor::new_generated_2(generated_file_descriptor)
1981    })
1982}