dfhack_proto/generated/messages/
AdventureControl.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 `AdventureControl.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:AdventureControl.MoveCommandParams)
28#[derive(PartialEq,Clone,Default,Debug)]
29pub struct MoveCommandParams {
30    // message fields
31    // @@protoc_insertion_point(field:AdventureControl.MoveCommandParams.direction)
32    pub direction: ::protobuf::MessageField<super::RemoteFortressReader::Coord>,
33    // special fields
34    // @@protoc_insertion_point(special_field:AdventureControl.MoveCommandParams.special_fields)
35    pub special_fields: ::protobuf::SpecialFields,
36}
37
38impl<'a> ::std::default::Default for &'a MoveCommandParams {
39    fn default() -> &'a MoveCommandParams {
40        <MoveCommandParams as ::protobuf::Message>::default_instance()
41    }
42}
43
44impl MoveCommandParams {
45    pub fn new() -> MoveCommandParams {
46        ::std::default::Default::default()
47    }
48
49    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
50        let mut fields = ::std::vec::Vec::with_capacity(1);
51        let mut oneofs = ::std::vec::Vec::with_capacity(0);
52        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::RemoteFortressReader::Coord>(
53            "direction",
54            |m: &MoveCommandParams| { &m.direction },
55            |m: &mut MoveCommandParams| { &mut m.direction },
56        ));
57        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<MoveCommandParams>(
58            "MoveCommandParams",
59            fields,
60            oneofs,
61        )
62    }
63}
64
65impl ::protobuf::Message for MoveCommandParams {
66    const NAME: &'static str = "MoveCommandParams";
67
68    fn is_initialized(&self) -> bool {
69        true
70    }
71
72    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
73        while let Some(tag) = is.read_raw_tag_or_eof()? {
74            match tag {
75                10 => {
76                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.direction)?;
77                },
78                tag => {
79                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
80                },
81            };
82        }
83        ::std::result::Result::Ok(())
84    }
85
86    // Compute sizes of nested messages
87    #[allow(unused_variables)]
88    fn compute_size(&self) -> u64 {
89        let mut my_size = 0;
90        if let Some(v) = self.direction.as_ref() {
91            let len = v.compute_size();
92            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
93        }
94        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
95        self.special_fields.cached_size().set(my_size as u32);
96        my_size
97    }
98
99    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
100        if let Some(v) = self.direction.as_ref() {
101            ::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
102        }
103        os.write_unknown_fields(self.special_fields.unknown_fields())?;
104        ::std::result::Result::Ok(())
105    }
106
107    fn special_fields(&self) -> &::protobuf::SpecialFields {
108        &self.special_fields
109    }
110
111    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
112        &mut self.special_fields
113    }
114
115    fn new() -> MoveCommandParams {
116        MoveCommandParams::new()
117    }
118
119    fn clear(&mut self) {
120        self.direction.clear();
121        self.special_fields.clear();
122    }
123
124    fn default_instance() -> &'static MoveCommandParams {
125        static instance: MoveCommandParams = MoveCommandParams {
126            direction: ::protobuf::MessageField::none(),
127            special_fields: ::protobuf::SpecialFields::new(),
128        };
129        &instance
130    }
131}
132
133impl ::protobuf::MessageFull for MoveCommandParams {
134    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
135        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
136        descriptor.get(|| file_descriptor().message_by_package_relative_name("MoveCommandParams").unwrap()).clone()
137    }
138}
139
140impl ::std::fmt::Display for MoveCommandParams {
141    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
142        ::protobuf::text_format::fmt(self, f)
143    }
144}
145
146impl ::protobuf::reflect::ProtobufValue for MoveCommandParams {
147    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
148}
149
150// @@protoc_insertion_point(message:AdventureControl.MovementOption)
151#[derive(PartialEq,Clone,Default,Debug)]
152pub struct MovementOption {
153    // message fields
154    // @@protoc_insertion_point(field:AdventureControl.MovementOption.dest)
155    pub dest: ::protobuf::MessageField<super::RemoteFortressReader::Coord>,
156    // @@protoc_insertion_point(field:AdventureControl.MovementOption.source)
157    pub source: ::protobuf::MessageField<super::RemoteFortressReader::Coord>,
158    // @@protoc_insertion_point(field:AdventureControl.MovementOption.grab)
159    pub grab: ::protobuf::MessageField<super::RemoteFortressReader::Coord>,
160    // @@protoc_insertion_point(field:AdventureControl.MovementOption.movement_type)
161    pub movement_type: ::std::option::Option<::protobuf::EnumOrUnknown<CarefulMovementType>>,
162    // special fields
163    // @@protoc_insertion_point(special_field:AdventureControl.MovementOption.special_fields)
164    pub special_fields: ::protobuf::SpecialFields,
165}
166
167impl<'a> ::std::default::Default for &'a MovementOption {
168    fn default() -> &'a MovementOption {
169        <MovementOption as ::protobuf::Message>::default_instance()
170    }
171}
172
173impl MovementOption {
174    pub fn new() -> MovementOption {
175        ::std::default::Default::default()
176    }
177
178    // optional .AdventureControl.CarefulMovementType movement_type = 4;
179
180    pub fn movement_type(&self) -> CarefulMovementType {
181        match self.movement_type {
182            Some(e) => e.enum_value_or(CarefulMovementType::DEFAULT_MOVEMENT),
183            None => CarefulMovementType::DEFAULT_MOVEMENT,
184        }
185    }
186
187    pub fn clear_movement_type(&mut self) {
188        self.movement_type = ::std::option::Option::None;
189    }
190
191    pub fn has_movement_type(&self) -> bool {
192        self.movement_type.is_some()
193    }
194
195    // Param is passed by value, moved
196    pub fn set_movement_type(&mut self, v: CarefulMovementType) {
197        self.movement_type = ::std::option::Option::Some(::protobuf::EnumOrUnknown::new(v));
198    }
199
200    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
201        let mut fields = ::std::vec::Vec::with_capacity(4);
202        let mut oneofs = ::std::vec::Vec::with_capacity(0);
203        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::RemoteFortressReader::Coord>(
204            "dest",
205            |m: &MovementOption| { &m.dest },
206            |m: &mut MovementOption| { &mut m.dest },
207        ));
208        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::RemoteFortressReader::Coord>(
209            "source",
210            |m: &MovementOption| { &m.source },
211            |m: &mut MovementOption| { &mut m.source },
212        ));
213        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::RemoteFortressReader::Coord>(
214            "grab",
215            |m: &MovementOption| { &m.grab },
216            |m: &mut MovementOption| { &mut m.grab },
217        ));
218        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
219            "movement_type",
220            |m: &MovementOption| { &m.movement_type },
221            |m: &mut MovementOption| { &mut m.movement_type },
222        ));
223        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<MovementOption>(
224            "MovementOption",
225            fields,
226            oneofs,
227        )
228    }
229}
230
231impl ::protobuf::Message for MovementOption {
232    const NAME: &'static str = "MovementOption";
233
234    fn is_initialized(&self) -> bool {
235        true
236    }
237
238    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
239        while let Some(tag) = is.read_raw_tag_or_eof()? {
240            match tag {
241                10 => {
242                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.dest)?;
243                },
244                18 => {
245                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.source)?;
246                },
247                26 => {
248                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.grab)?;
249                },
250                32 => {
251                    self.movement_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
252                },
253                tag => {
254                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
255                },
256            };
257        }
258        ::std::result::Result::Ok(())
259    }
260
261    // Compute sizes of nested messages
262    #[allow(unused_variables)]
263    fn compute_size(&self) -> u64 {
264        let mut my_size = 0;
265        if let Some(v) = self.dest.as_ref() {
266            let len = v.compute_size();
267            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
268        }
269        if let Some(v) = self.source.as_ref() {
270            let len = v.compute_size();
271            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
272        }
273        if let Some(v) = self.grab.as_ref() {
274            let len = v.compute_size();
275            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
276        }
277        if let Some(v) = self.movement_type {
278            my_size += ::protobuf::rt::int32_size(4, v.value());
279        }
280        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
281        self.special_fields.cached_size().set(my_size as u32);
282        my_size
283    }
284
285    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
286        if let Some(v) = self.dest.as_ref() {
287            ::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
288        }
289        if let Some(v) = self.source.as_ref() {
290            ::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
291        }
292        if let Some(v) = self.grab.as_ref() {
293            ::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
294        }
295        if let Some(v) = self.movement_type {
296            os.write_enum(4, ::protobuf::EnumOrUnknown::value(&v))?;
297        }
298        os.write_unknown_fields(self.special_fields.unknown_fields())?;
299        ::std::result::Result::Ok(())
300    }
301
302    fn special_fields(&self) -> &::protobuf::SpecialFields {
303        &self.special_fields
304    }
305
306    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
307        &mut self.special_fields
308    }
309
310    fn new() -> MovementOption {
311        MovementOption::new()
312    }
313
314    fn clear(&mut self) {
315        self.dest.clear();
316        self.source.clear();
317        self.grab.clear();
318        self.movement_type = ::std::option::Option::None;
319        self.special_fields.clear();
320    }
321
322    fn default_instance() -> &'static MovementOption {
323        static instance: MovementOption = MovementOption {
324            dest: ::protobuf::MessageField::none(),
325            source: ::protobuf::MessageField::none(),
326            grab: ::protobuf::MessageField::none(),
327            movement_type: ::std::option::Option::None,
328            special_fields: ::protobuf::SpecialFields::new(),
329        };
330        &instance
331    }
332}
333
334impl ::protobuf::MessageFull for MovementOption {
335    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
336        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
337        descriptor.get(|| file_descriptor().message_by_package_relative_name("MovementOption").unwrap()).clone()
338    }
339}
340
341impl ::std::fmt::Display for MovementOption {
342    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
343        ::protobuf::text_format::fmt(self, f)
344    }
345}
346
347impl ::protobuf::reflect::ProtobufValue for MovementOption {
348    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
349}
350
351// @@protoc_insertion_point(message:AdventureControl.MenuContents)
352#[derive(PartialEq,Clone,Default,Debug)]
353pub struct MenuContents {
354    // message fields
355    // @@protoc_insertion_point(field:AdventureControl.MenuContents.current_menu)
356    pub current_menu: ::std::option::Option<::protobuf::EnumOrUnknown<AdvmodeMenu>>,
357    // @@protoc_insertion_point(field:AdventureControl.MenuContents.movements)
358    pub movements: ::std::vec::Vec<MovementOption>,
359    // special fields
360    // @@protoc_insertion_point(special_field:AdventureControl.MenuContents.special_fields)
361    pub special_fields: ::protobuf::SpecialFields,
362}
363
364impl<'a> ::std::default::Default for &'a MenuContents {
365    fn default() -> &'a MenuContents {
366        <MenuContents as ::protobuf::Message>::default_instance()
367    }
368}
369
370impl MenuContents {
371    pub fn new() -> MenuContents {
372        ::std::default::Default::default()
373    }
374
375    // optional .AdventureControl.AdvmodeMenu current_menu = 1;
376
377    pub fn current_menu(&self) -> AdvmodeMenu {
378        match self.current_menu {
379            Some(e) => e.enum_value_or(AdvmodeMenu::Default),
380            None => AdvmodeMenu::Default,
381        }
382    }
383
384    pub fn clear_current_menu(&mut self) {
385        self.current_menu = ::std::option::Option::None;
386    }
387
388    pub fn has_current_menu(&self) -> bool {
389        self.current_menu.is_some()
390    }
391
392    // Param is passed by value, moved
393    pub fn set_current_menu(&mut self, v: AdvmodeMenu) {
394        self.current_menu = ::std::option::Option::Some(::protobuf::EnumOrUnknown::new(v));
395    }
396
397    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
398        let mut fields = ::std::vec::Vec::with_capacity(2);
399        let mut oneofs = ::std::vec::Vec::with_capacity(0);
400        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
401            "current_menu",
402            |m: &MenuContents| { &m.current_menu },
403            |m: &mut MenuContents| { &mut m.current_menu },
404        ));
405        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
406            "movements",
407            |m: &MenuContents| { &m.movements },
408            |m: &mut MenuContents| { &mut m.movements },
409        ));
410        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<MenuContents>(
411            "MenuContents",
412            fields,
413            oneofs,
414        )
415    }
416}
417
418impl ::protobuf::Message for MenuContents {
419    const NAME: &'static str = "MenuContents";
420
421    fn is_initialized(&self) -> bool {
422        true
423    }
424
425    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
426        while let Some(tag) = is.read_raw_tag_or_eof()? {
427            match tag {
428                8 => {
429                    self.current_menu = ::std::option::Option::Some(is.read_enum_or_unknown()?);
430                },
431                18 => {
432                    self.movements.push(is.read_message()?);
433                },
434                tag => {
435                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
436                },
437            };
438        }
439        ::std::result::Result::Ok(())
440    }
441
442    // Compute sizes of nested messages
443    #[allow(unused_variables)]
444    fn compute_size(&self) -> u64 {
445        let mut my_size = 0;
446        if let Some(v) = self.current_menu {
447            my_size += ::protobuf::rt::int32_size(1, v.value());
448        }
449        for value in &self.movements {
450            let len = value.compute_size();
451            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
452        };
453        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
454        self.special_fields.cached_size().set(my_size as u32);
455        my_size
456    }
457
458    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
459        if let Some(v) = self.current_menu {
460            os.write_enum(1, ::protobuf::EnumOrUnknown::value(&v))?;
461        }
462        for v in &self.movements {
463            ::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
464        };
465        os.write_unknown_fields(self.special_fields.unknown_fields())?;
466        ::std::result::Result::Ok(())
467    }
468
469    fn special_fields(&self) -> &::protobuf::SpecialFields {
470        &self.special_fields
471    }
472
473    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
474        &mut self.special_fields
475    }
476
477    fn new() -> MenuContents {
478        MenuContents::new()
479    }
480
481    fn clear(&mut self) {
482        self.current_menu = ::std::option::Option::None;
483        self.movements.clear();
484        self.special_fields.clear();
485    }
486
487    fn default_instance() -> &'static MenuContents {
488        static instance: MenuContents = MenuContents {
489            current_menu: ::std::option::Option::None,
490            movements: ::std::vec::Vec::new(),
491            special_fields: ::protobuf::SpecialFields::new(),
492        };
493        &instance
494    }
495}
496
497impl ::protobuf::MessageFull for MenuContents {
498    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
499        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
500        descriptor.get(|| file_descriptor().message_by_package_relative_name("MenuContents").unwrap()).clone()
501    }
502}
503
504impl ::std::fmt::Display for MenuContents {
505    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
506        ::protobuf::text_format::fmt(self, f)
507    }
508}
509
510impl ::protobuf::reflect::ProtobufValue for MenuContents {
511    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
512}
513
514// @@protoc_insertion_point(message:AdventureControl.MiscMoveParams)
515#[derive(PartialEq,Clone,Default,Debug)]
516pub struct MiscMoveParams {
517    // message fields
518    // @@protoc_insertion_point(field:AdventureControl.MiscMoveParams.type)
519    pub type_: ::std::option::Option<::protobuf::EnumOrUnknown<MiscMoveType>>,
520    // special fields
521    // @@protoc_insertion_point(special_field:AdventureControl.MiscMoveParams.special_fields)
522    pub special_fields: ::protobuf::SpecialFields,
523}
524
525impl<'a> ::std::default::Default for &'a MiscMoveParams {
526    fn default() -> &'a MiscMoveParams {
527        <MiscMoveParams as ::protobuf::Message>::default_instance()
528    }
529}
530
531impl MiscMoveParams {
532    pub fn new() -> MiscMoveParams {
533        ::std::default::Default::default()
534    }
535
536    // optional .AdventureControl.MiscMoveType type = 1;
537
538    pub fn type_(&self) -> MiscMoveType {
539        match self.type_ {
540            Some(e) => e.enum_value_or(MiscMoveType::SET_CLIMB),
541            None => MiscMoveType::SET_CLIMB,
542        }
543    }
544
545    pub fn clear_type_(&mut self) {
546        self.type_ = ::std::option::Option::None;
547    }
548
549    pub fn has_type(&self) -> bool {
550        self.type_.is_some()
551    }
552
553    // Param is passed by value, moved
554    pub fn set_type(&mut self, v: MiscMoveType) {
555        self.type_ = ::std::option::Option::Some(::protobuf::EnumOrUnknown::new(v));
556    }
557
558    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
559        let mut fields = ::std::vec::Vec::with_capacity(1);
560        let mut oneofs = ::std::vec::Vec::with_capacity(0);
561        fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
562            "type",
563            |m: &MiscMoveParams| { &m.type_ },
564            |m: &mut MiscMoveParams| { &mut m.type_ },
565        ));
566        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<MiscMoveParams>(
567            "MiscMoveParams",
568            fields,
569            oneofs,
570        )
571    }
572}
573
574impl ::protobuf::Message for MiscMoveParams {
575    const NAME: &'static str = "MiscMoveParams";
576
577    fn is_initialized(&self) -> bool {
578        true
579    }
580
581    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
582        while let Some(tag) = is.read_raw_tag_or_eof()? {
583            match tag {
584                8 => {
585                    self.type_ = ::std::option::Option::Some(is.read_enum_or_unknown()?);
586                },
587                tag => {
588                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
589                },
590            };
591        }
592        ::std::result::Result::Ok(())
593    }
594
595    // Compute sizes of nested messages
596    #[allow(unused_variables)]
597    fn compute_size(&self) -> u64 {
598        let mut my_size = 0;
599        if let Some(v) = self.type_ {
600            my_size += ::protobuf::rt::int32_size(1, v.value());
601        }
602        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
603        self.special_fields.cached_size().set(my_size as u32);
604        my_size
605    }
606
607    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
608        if let Some(v) = self.type_ {
609            os.write_enum(1, ::protobuf::EnumOrUnknown::value(&v))?;
610        }
611        os.write_unknown_fields(self.special_fields.unknown_fields())?;
612        ::std::result::Result::Ok(())
613    }
614
615    fn special_fields(&self) -> &::protobuf::SpecialFields {
616        &self.special_fields
617    }
618
619    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
620        &mut self.special_fields
621    }
622
623    fn new() -> MiscMoveParams {
624        MiscMoveParams::new()
625    }
626
627    fn clear(&mut self) {
628        self.type_ = ::std::option::Option::None;
629        self.special_fields.clear();
630    }
631
632    fn default_instance() -> &'static MiscMoveParams {
633        static instance: MiscMoveParams = MiscMoveParams {
634            type_: ::std::option::Option::None,
635            special_fields: ::protobuf::SpecialFields::new(),
636        };
637        &instance
638    }
639}
640
641impl ::protobuf::MessageFull for MiscMoveParams {
642    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
643        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
644        descriptor.get(|| file_descriptor().message_by_package_relative_name("MiscMoveParams").unwrap()).clone()
645    }
646}
647
648impl ::std::fmt::Display for MiscMoveParams {
649    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
650        ::protobuf::text_format::fmt(self, f)
651    }
652}
653
654impl ::protobuf::reflect::ProtobufValue for MiscMoveParams {
655    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
656}
657
658#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
659// @@protoc_insertion_point(enum:AdventureControl.AdvmodeMenu)
660pub enum AdvmodeMenu {
661    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Default)
662    Default = 0,
663    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Look)
664    Look = 1,
665    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.ConversationAddress)
666    ConversationAddress = 2,
667    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.ConversationSelect)
668    ConversationSelect = 3,
669    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.ConversationSpeak)
670    ConversationSpeak = 4,
671    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Inventory)
672    Inventory = 5,
673    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Drop)
674    Drop = 6,
675    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.ThrowItem)
676    ThrowItem = 7,
677    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Wear)
678    Wear = 8,
679    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Remove)
680    Remove = 9,
681    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Interact)
682    Interact = 10,
683    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Put)
684    Put = 11,
685    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.PutContainer)
686    PutContainer = 12,
687    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Eat)
688    Eat = 13,
689    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.ThrowAim)
690    ThrowAim = 14,
691    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Fire)
692    Fire = 15,
693    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Get)
694    Get = 16,
695    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk17)
696    Unk17 = 17,
697    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.CombatPrefs)
698    CombatPrefs = 18,
699    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Companions)
700    Companions = 19,
701    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.MovementPrefs)
702    MovementPrefs = 20,
703    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.SpeedPrefs)
704    SpeedPrefs = 21,
705    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.InteractAction)
706    InteractAction = 22,
707    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.MoveCarefully)
708    MoveCarefully = 23,
709    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Announcements)
710    Announcements = 24,
711    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.UseBuilding)
712    UseBuilding = 25,
713    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Travel)
714    Travel = 26,
715    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk27)
716    Unk27 = 27,
717    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk28)
718    Unk28 = 28,
719    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.SleepConfirm)
720    SleepConfirm = 29,
721    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.SelectInteractionTarget)
722    SelectInteractionTarget = 30,
723    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk31)
724    Unk31 = 31,
725    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk32)
726    Unk32 = 32,
727    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.FallAction)
728    FallAction = 33,
729    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.ViewTracks)
730    ViewTracks = 34,
731    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Jump)
732    Jump = 35,
733    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk36)
734    Unk36 = 36,
735    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.AttackConfirm)
736    AttackConfirm = 37,
737    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.AttackType)
738    AttackType = 38,
739    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.AttackBodypart)
740    AttackBodypart = 39,
741    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.AttackStrike)
742    AttackStrike = 40,
743    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk41)
744    Unk41 = 41,
745    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk42)
746    Unk42 = 42,
747    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.DodgeDirection)
748    DodgeDirection = 43,
749    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk44)
750    Unk44 = 44,
751    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Unk45)
752    Unk45 = 45,
753    // @@protoc_insertion_point(enum_value:AdventureControl.AdvmodeMenu.Build)
754    Build = 46,
755}
756
757impl ::protobuf::Enum for AdvmodeMenu {
758    const NAME: &'static str = "AdvmodeMenu";
759
760    fn value(&self) -> i32 {
761        *self as i32
762    }
763
764    fn from_i32(value: i32) -> ::std::option::Option<AdvmodeMenu> {
765        match value {
766            0 => ::std::option::Option::Some(AdvmodeMenu::Default),
767            1 => ::std::option::Option::Some(AdvmodeMenu::Look),
768            2 => ::std::option::Option::Some(AdvmodeMenu::ConversationAddress),
769            3 => ::std::option::Option::Some(AdvmodeMenu::ConversationSelect),
770            4 => ::std::option::Option::Some(AdvmodeMenu::ConversationSpeak),
771            5 => ::std::option::Option::Some(AdvmodeMenu::Inventory),
772            6 => ::std::option::Option::Some(AdvmodeMenu::Drop),
773            7 => ::std::option::Option::Some(AdvmodeMenu::ThrowItem),
774            8 => ::std::option::Option::Some(AdvmodeMenu::Wear),
775            9 => ::std::option::Option::Some(AdvmodeMenu::Remove),
776            10 => ::std::option::Option::Some(AdvmodeMenu::Interact),
777            11 => ::std::option::Option::Some(AdvmodeMenu::Put),
778            12 => ::std::option::Option::Some(AdvmodeMenu::PutContainer),
779            13 => ::std::option::Option::Some(AdvmodeMenu::Eat),
780            14 => ::std::option::Option::Some(AdvmodeMenu::ThrowAim),
781            15 => ::std::option::Option::Some(AdvmodeMenu::Fire),
782            16 => ::std::option::Option::Some(AdvmodeMenu::Get),
783            17 => ::std::option::Option::Some(AdvmodeMenu::Unk17),
784            18 => ::std::option::Option::Some(AdvmodeMenu::CombatPrefs),
785            19 => ::std::option::Option::Some(AdvmodeMenu::Companions),
786            20 => ::std::option::Option::Some(AdvmodeMenu::MovementPrefs),
787            21 => ::std::option::Option::Some(AdvmodeMenu::SpeedPrefs),
788            22 => ::std::option::Option::Some(AdvmodeMenu::InteractAction),
789            23 => ::std::option::Option::Some(AdvmodeMenu::MoveCarefully),
790            24 => ::std::option::Option::Some(AdvmodeMenu::Announcements),
791            25 => ::std::option::Option::Some(AdvmodeMenu::UseBuilding),
792            26 => ::std::option::Option::Some(AdvmodeMenu::Travel),
793            27 => ::std::option::Option::Some(AdvmodeMenu::Unk27),
794            28 => ::std::option::Option::Some(AdvmodeMenu::Unk28),
795            29 => ::std::option::Option::Some(AdvmodeMenu::SleepConfirm),
796            30 => ::std::option::Option::Some(AdvmodeMenu::SelectInteractionTarget),
797            31 => ::std::option::Option::Some(AdvmodeMenu::Unk31),
798            32 => ::std::option::Option::Some(AdvmodeMenu::Unk32),
799            33 => ::std::option::Option::Some(AdvmodeMenu::FallAction),
800            34 => ::std::option::Option::Some(AdvmodeMenu::ViewTracks),
801            35 => ::std::option::Option::Some(AdvmodeMenu::Jump),
802            36 => ::std::option::Option::Some(AdvmodeMenu::Unk36),
803            37 => ::std::option::Option::Some(AdvmodeMenu::AttackConfirm),
804            38 => ::std::option::Option::Some(AdvmodeMenu::AttackType),
805            39 => ::std::option::Option::Some(AdvmodeMenu::AttackBodypart),
806            40 => ::std::option::Option::Some(AdvmodeMenu::AttackStrike),
807            41 => ::std::option::Option::Some(AdvmodeMenu::Unk41),
808            42 => ::std::option::Option::Some(AdvmodeMenu::Unk42),
809            43 => ::std::option::Option::Some(AdvmodeMenu::DodgeDirection),
810            44 => ::std::option::Option::Some(AdvmodeMenu::Unk44),
811            45 => ::std::option::Option::Some(AdvmodeMenu::Unk45),
812            46 => ::std::option::Option::Some(AdvmodeMenu::Build),
813            _ => ::std::option::Option::None
814        }
815    }
816
817    fn from_str(str: &str) -> ::std::option::Option<AdvmodeMenu> {
818        match str {
819            "Default" => ::std::option::Option::Some(AdvmodeMenu::Default),
820            "Look" => ::std::option::Option::Some(AdvmodeMenu::Look),
821            "ConversationAddress" => ::std::option::Option::Some(AdvmodeMenu::ConversationAddress),
822            "ConversationSelect" => ::std::option::Option::Some(AdvmodeMenu::ConversationSelect),
823            "ConversationSpeak" => ::std::option::Option::Some(AdvmodeMenu::ConversationSpeak),
824            "Inventory" => ::std::option::Option::Some(AdvmodeMenu::Inventory),
825            "Drop" => ::std::option::Option::Some(AdvmodeMenu::Drop),
826            "ThrowItem" => ::std::option::Option::Some(AdvmodeMenu::ThrowItem),
827            "Wear" => ::std::option::Option::Some(AdvmodeMenu::Wear),
828            "Remove" => ::std::option::Option::Some(AdvmodeMenu::Remove),
829            "Interact" => ::std::option::Option::Some(AdvmodeMenu::Interact),
830            "Put" => ::std::option::Option::Some(AdvmodeMenu::Put),
831            "PutContainer" => ::std::option::Option::Some(AdvmodeMenu::PutContainer),
832            "Eat" => ::std::option::Option::Some(AdvmodeMenu::Eat),
833            "ThrowAim" => ::std::option::Option::Some(AdvmodeMenu::ThrowAim),
834            "Fire" => ::std::option::Option::Some(AdvmodeMenu::Fire),
835            "Get" => ::std::option::Option::Some(AdvmodeMenu::Get),
836            "Unk17" => ::std::option::Option::Some(AdvmodeMenu::Unk17),
837            "CombatPrefs" => ::std::option::Option::Some(AdvmodeMenu::CombatPrefs),
838            "Companions" => ::std::option::Option::Some(AdvmodeMenu::Companions),
839            "MovementPrefs" => ::std::option::Option::Some(AdvmodeMenu::MovementPrefs),
840            "SpeedPrefs" => ::std::option::Option::Some(AdvmodeMenu::SpeedPrefs),
841            "InteractAction" => ::std::option::Option::Some(AdvmodeMenu::InteractAction),
842            "MoveCarefully" => ::std::option::Option::Some(AdvmodeMenu::MoveCarefully),
843            "Announcements" => ::std::option::Option::Some(AdvmodeMenu::Announcements),
844            "UseBuilding" => ::std::option::Option::Some(AdvmodeMenu::UseBuilding),
845            "Travel" => ::std::option::Option::Some(AdvmodeMenu::Travel),
846            "Unk27" => ::std::option::Option::Some(AdvmodeMenu::Unk27),
847            "Unk28" => ::std::option::Option::Some(AdvmodeMenu::Unk28),
848            "SleepConfirm" => ::std::option::Option::Some(AdvmodeMenu::SleepConfirm),
849            "SelectInteractionTarget" => ::std::option::Option::Some(AdvmodeMenu::SelectInteractionTarget),
850            "Unk31" => ::std::option::Option::Some(AdvmodeMenu::Unk31),
851            "Unk32" => ::std::option::Option::Some(AdvmodeMenu::Unk32),
852            "FallAction" => ::std::option::Option::Some(AdvmodeMenu::FallAction),
853            "ViewTracks" => ::std::option::Option::Some(AdvmodeMenu::ViewTracks),
854            "Jump" => ::std::option::Option::Some(AdvmodeMenu::Jump),
855            "Unk36" => ::std::option::Option::Some(AdvmodeMenu::Unk36),
856            "AttackConfirm" => ::std::option::Option::Some(AdvmodeMenu::AttackConfirm),
857            "AttackType" => ::std::option::Option::Some(AdvmodeMenu::AttackType),
858            "AttackBodypart" => ::std::option::Option::Some(AdvmodeMenu::AttackBodypart),
859            "AttackStrike" => ::std::option::Option::Some(AdvmodeMenu::AttackStrike),
860            "Unk41" => ::std::option::Option::Some(AdvmodeMenu::Unk41),
861            "Unk42" => ::std::option::Option::Some(AdvmodeMenu::Unk42),
862            "DodgeDirection" => ::std::option::Option::Some(AdvmodeMenu::DodgeDirection),
863            "Unk44" => ::std::option::Option::Some(AdvmodeMenu::Unk44),
864            "Unk45" => ::std::option::Option::Some(AdvmodeMenu::Unk45),
865            "Build" => ::std::option::Option::Some(AdvmodeMenu::Build),
866            _ => ::std::option::Option::None
867        }
868    }
869
870    const VALUES: &'static [AdvmodeMenu] = &[
871        AdvmodeMenu::Default,
872        AdvmodeMenu::Look,
873        AdvmodeMenu::ConversationAddress,
874        AdvmodeMenu::ConversationSelect,
875        AdvmodeMenu::ConversationSpeak,
876        AdvmodeMenu::Inventory,
877        AdvmodeMenu::Drop,
878        AdvmodeMenu::ThrowItem,
879        AdvmodeMenu::Wear,
880        AdvmodeMenu::Remove,
881        AdvmodeMenu::Interact,
882        AdvmodeMenu::Put,
883        AdvmodeMenu::PutContainer,
884        AdvmodeMenu::Eat,
885        AdvmodeMenu::ThrowAim,
886        AdvmodeMenu::Fire,
887        AdvmodeMenu::Get,
888        AdvmodeMenu::Unk17,
889        AdvmodeMenu::CombatPrefs,
890        AdvmodeMenu::Companions,
891        AdvmodeMenu::MovementPrefs,
892        AdvmodeMenu::SpeedPrefs,
893        AdvmodeMenu::InteractAction,
894        AdvmodeMenu::MoveCarefully,
895        AdvmodeMenu::Announcements,
896        AdvmodeMenu::UseBuilding,
897        AdvmodeMenu::Travel,
898        AdvmodeMenu::Unk27,
899        AdvmodeMenu::Unk28,
900        AdvmodeMenu::SleepConfirm,
901        AdvmodeMenu::SelectInteractionTarget,
902        AdvmodeMenu::Unk31,
903        AdvmodeMenu::Unk32,
904        AdvmodeMenu::FallAction,
905        AdvmodeMenu::ViewTracks,
906        AdvmodeMenu::Jump,
907        AdvmodeMenu::Unk36,
908        AdvmodeMenu::AttackConfirm,
909        AdvmodeMenu::AttackType,
910        AdvmodeMenu::AttackBodypart,
911        AdvmodeMenu::AttackStrike,
912        AdvmodeMenu::Unk41,
913        AdvmodeMenu::Unk42,
914        AdvmodeMenu::DodgeDirection,
915        AdvmodeMenu::Unk44,
916        AdvmodeMenu::Unk45,
917        AdvmodeMenu::Build,
918    ];
919}
920
921impl ::protobuf::EnumFull for AdvmodeMenu {
922    fn enum_descriptor() -> ::protobuf::reflect::EnumDescriptor {
923        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::Lazy::new();
924        descriptor.get(|| file_descriptor().enum_by_package_relative_name("AdvmodeMenu").unwrap()).clone()
925    }
926
927    fn descriptor(&self) -> ::protobuf::reflect::EnumValueDescriptor {
928        let index = *self as usize;
929        Self::enum_descriptor().value_by_index(index)
930    }
931}
932
933impl ::std::default::Default for AdvmodeMenu {
934    fn default() -> Self {
935        AdvmodeMenu::Default
936    }
937}
938
939impl AdvmodeMenu {
940    fn generated_enum_descriptor_data() -> ::protobuf::reflect::GeneratedEnumDescriptorData {
941        ::protobuf::reflect::GeneratedEnumDescriptorData::new::<AdvmodeMenu>("AdvmodeMenu")
942    }
943}
944
945#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
946// @@protoc_insertion_point(enum:AdventureControl.CarefulMovementType)
947pub enum CarefulMovementType {
948    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.DEFAULT_MOVEMENT)
949    DEFAULT_MOVEMENT = 0,
950    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.RELEASE_ITEM_HOLD)
951    RELEASE_ITEM_HOLD = 1,
952    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.RELEASE_TILE_HOLD)
953    RELEASE_TILE_HOLD = 2,
954    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.ATTACK_CREATURE)
955    ATTACK_CREATURE = 3,
956    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.HOLD_TILE)
957    HOLD_TILE = 4,
958    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.MOVE)
959    MOVE = 5,
960    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.CLIMB)
961    CLIMB = 6,
962    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.HOLD_ITEM)
963    HOLD_ITEM = 7,
964    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.BUILDING_INTERACT)
965    BUILDING_INTERACT = 8,
966    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.ITEM_INTERACT)
967    ITEM_INTERACT = 9,
968    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.ITEM_INTERACT_GUIDE)
969    ITEM_INTERACT_GUIDE = 10,
970    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.ITEM_INTERACT_RIDE)
971    ITEM_INTERACT_RIDE = 11,
972    // @@protoc_insertion_point(enum_value:AdventureControl.CarefulMovementType.ITEM_INTERACT_PUSH)
973    ITEM_INTERACT_PUSH = 12,
974}
975
976impl ::protobuf::Enum for CarefulMovementType {
977    const NAME: &'static str = "CarefulMovementType";
978
979    fn value(&self) -> i32 {
980        *self as i32
981    }
982
983    fn from_i32(value: i32) -> ::std::option::Option<CarefulMovementType> {
984        match value {
985            0 => ::std::option::Option::Some(CarefulMovementType::DEFAULT_MOVEMENT),
986            1 => ::std::option::Option::Some(CarefulMovementType::RELEASE_ITEM_HOLD),
987            2 => ::std::option::Option::Some(CarefulMovementType::RELEASE_TILE_HOLD),
988            3 => ::std::option::Option::Some(CarefulMovementType::ATTACK_CREATURE),
989            4 => ::std::option::Option::Some(CarefulMovementType::HOLD_TILE),
990            5 => ::std::option::Option::Some(CarefulMovementType::MOVE),
991            6 => ::std::option::Option::Some(CarefulMovementType::CLIMB),
992            7 => ::std::option::Option::Some(CarefulMovementType::HOLD_ITEM),
993            8 => ::std::option::Option::Some(CarefulMovementType::BUILDING_INTERACT),
994            9 => ::std::option::Option::Some(CarefulMovementType::ITEM_INTERACT),
995            10 => ::std::option::Option::Some(CarefulMovementType::ITEM_INTERACT_GUIDE),
996            11 => ::std::option::Option::Some(CarefulMovementType::ITEM_INTERACT_RIDE),
997            12 => ::std::option::Option::Some(CarefulMovementType::ITEM_INTERACT_PUSH),
998            _ => ::std::option::Option::None
999        }
1000    }
1001
1002    fn from_str(str: &str) -> ::std::option::Option<CarefulMovementType> {
1003        match str {
1004            "DEFAULT_MOVEMENT" => ::std::option::Option::Some(CarefulMovementType::DEFAULT_MOVEMENT),
1005            "RELEASE_ITEM_HOLD" => ::std::option::Option::Some(CarefulMovementType::RELEASE_ITEM_HOLD),
1006            "RELEASE_TILE_HOLD" => ::std::option::Option::Some(CarefulMovementType::RELEASE_TILE_HOLD),
1007            "ATTACK_CREATURE" => ::std::option::Option::Some(CarefulMovementType::ATTACK_CREATURE),
1008            "HOLD_TILE" => ::std::option::Option::Some(CarefulMovementType::HOLD_TILE),
1009            "MOVE" => ::std::option::Option::Some(CarefulMovementType::MOVE),
1010            "CLIMB" => ::std::option::Option::Some(CarefulMovementType::CLIMB),
1011            "HOLD_ITEM" => ::std::option::Option::Some(CarefulMovementType::HOLD_ITEM),
1012            "BUILDING_INTERACT" => ::std::option::Option::Some(CarefulMovementType::BUILDING_INTERACT),
1013            "ITEM_INTERACT" => ::std::option::Option::Some(CarefulMovementType::ITEM_INTERACT),
1014            "ITEM_INTERACT_GUIDE" => ::std::option::Option::Some(CarefulMovementType::ITEM_INTERACT_GUIDE),
1015            "ITEM_INTERACT_RIDE" => ::std::option::Option::Some(CarefulMovementType::ITEM_INTERACT_RIDE),
1016            "ITEM_INTERACT_PUSH" => ::std::option::Option::Some(CarefulMovementType::ITEM_INTERACT_PUSH),
1017            _ => ::std::option::Option::None
1018        }
1019    }
1020
1021    const VALUES: &'static [CarefulMovementType] = &[
1022        CarefulMovementType::DEFAULT_MOVEMENT,
1023        CarefulMovementType::RELEASE_ITEM_HOLD,
1024        CarefulMovementType::RELEASE_TILE_HOLD,
1025        CarefulMovementType::ATTACK_CREATURE,
1026        CarefulMovementType::HOLD_TILE,
1027        CarefulMovementType::MOVE,
1028        CarefulMovementType::CLIMB,
1029        CarefulMovementType::HOLD_ITEM,
1030        CarefulMovementType::BUILDING_INTERACT,
1031        CarefulMovementType::ITEM_INTERACT,
1032        CarefulMovementType::ITEM_INTERACT_GUIDE,
1033        CarefulMovementType::ITEM_INTERACT_RIDE,
1034        CarefulMovementType::ITEM_INTERACT_PUSH,
1035    ];
1036}
1037
1038impl ::protobuf::EnumFull for CarefulMovementType {
1039    fn enum_descriptor() -> ::protobuf::reflect::EnumDescriptor {
1040        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::Lazy::new();
1041        descriptor.get(|| file_descriptor().enum_by_package_relative_name("CarefulMovementType").unwrap()).clone()
1042    }
1043
1044    fn descriptor(&self) -> ::protobuf::reflect::EnumValueDescriptor {
1045        let index = *self as usize;
1046        Self::enum_descriptor().value_by_index(index)
1047    }
1048}
1049
1050impl ::std::default::Default for CarefulMovementType {
1051    fn default() -> Self {
1052        CarefulMovementType::DEFAULT_MOVEMENT
1053    }
1054}
1055
1056impl CarefulMovementType {
1057    fn generated_enum_descriptor_data() -> ::protobuf::reflect::GeneratedEnumDescriptorData {
1058        ::protobuf::reflect::GeneratedEnumDescriptorData::new::<CarefulMovementType>("CarefulMovementType")
1059    }
1060}
1061
1062#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
1063// @@protoc_insertion_point(enum:AdventureControl.MiscMoveType)
1064pub enum MiscMoveType {
1065    // @@protoc_insertion_point(enum_value:AdventureControl.MiscMoveType.SET_CLIMB)
1066    SET_CLIMB = 0,
1067    // @@protoc_insertion_point(enum_value:AdventureControl.MiscMoveType.SET_STAND)
1068    SET_STAND = 1,
1069    // @@protoc_insertion_point(enum_value:AdventureControl.MiscMoveType.SET_CANCEL)
1070    SET_CANCEL = 2,
1071}
1072
1073impl ::protobuf::Enum for MiscMoveType {
1074    const NAME: &'static str = "MiscMoveType";
1075
1076    fn value(&self) -> i32 {
1077        *self as i32
1078    }
1079
1080    fn from_i32(value: i32) -> ::std::option::Option<MiscMoveType> {
1081        match value {
1082            0 => ::std::option::Option::Some(MiscMoveType::SET_CLIMB),
1083            1 => ::std::option::Option::Some(MiscMoveType::SET_STAND),
1084            2 => ::std::option::Option::Some(MiscMoveType::SET_CANCEL),
1085            _ => ::std::option::Option::None
1086        }
1087    }
1088
1089    fn from_str(str: &str) -> ::std::option::Option<MiscMoveType> {
1090        match str {
1091            "SET_CLIMB" => ::std::option::Option::Some(MiscMoveType::SET_CLIMB),
1092            "SET_STAND" => ::std::option::Option::Some(MiscMoveType::SET_STAND),
1093            "SET_CANCEL" => ::std::option::Option::Some(MiscMoveType::SET_CANCEL),
1094            _ => ::std::option::Option::None
1095        }
1096    }
1097
1098    const VALUES: &'static [MiscMoveType] = &[
1099        MiscMoveType::SET_CLIMB,
1100        MiscMoveType::SET_STAND,
1101        MiscMoveType::SET_CANCEL,
1102    ];
1103}
1104
1105impl ::protobuf::EnumFull for MiscMoveType {
1106    fn enum_descriptor() -> ::protobuf::reflect::EnumDescriptor {
1107        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::Lazy::new();
1108        descriptor.get(|| file_descriptor().enum_by_package_relative_name("MiscMoveType").unwrap()).clone()
1109    }
1110
1111    fn descriptor(&self) -> ::protobuf::reflect::EnumValueDescriptor {
1112        let index = *self as usize;
1113        Self::enum_descriptor().value_by_index(index)
1114    }
1115}
1116
1117impl ::std::default::Default for MiscMoveType {
1118    fn default() -> Self {
1119        MiscMoveType::SET_CLIMB
1120    }
1121}
1122
1123impl MiscMoveType {
1124    fn generated_enum_descriptor_data() -> ::protobuf::reflect::GeneratedEnumDescriptorData {
1125        ::protobuf::reflect::GeneratedEnumDescriptorData::new::<MiscMoveType>("MiscMoveType")
1126    }
1127}
1128
1129static file_descriptor_proto_data: &'static [u8] = b"\
1130    \n\x16AdventureControl.proto\x12\x10AdventureControl\x1a\x1aRemoteFortre\
1131    ssReader.proto\"N\n\x11MoveCommandParams\x129\n\tdirection\x18\x01\x20\
1132    \x01(\x0b2\x1b.RemoteFortressReader.CoordR\tdirection\"\xf3\x01\n\x0eMov\
1133    ementOption\x12/\n\x04dest\x18\x01\x20\x01(\x0b2\x1b.RemoteFortressReade\
1134    r.CoordR\x04dest\x123\n\x06source\x18\x02\x20\x01(\x0b2\x1b.RemoteFortre\
1135    ssReader.CoordR\x06source\x12/\n\x04grab\x18\x03\x20\x01(\x0b2\x1b.Remot\
1136    eFortressReader.CoordR\x04grab\x12J\n\rmovement_type\x18\x04\x20\x01(\
1137    \x0e2%.AdventureControl.CarefulMovementTypeR\x0cmovementType\"\x90\x01\n\
1138    \x0cMenuContents\x12@\n\x0ccurrent_menu\x18\x01\x20\x01(\x0e2\x1d.Advent\
1139    ureControl.AdvmodeMenuR\x0bcurrentMenu\x12>\n\tmovements\x18\x02\x20\x03\
1140    (\x0b2\x20.AdventureControl.MovementOptionR\tmovements\"D\n\x0eMiscMoveP\
1141    arams\x122\n\x04type\x18\x01\x20\x01(\x0e2\x1e.AdventureControl.MiscMove\
1142    TypeR\x04type*\xc7\x05\n\x0bAdvmodeMenu\x12\x0b\n\x07Default\x10\0\x12\
1143    \x08\n\x04Look\x10\x01\x12\x17\n\x13ConversationAddress\x10\x02\x12\x16\
1144    \n\x12ConversationSelect\x10\x03\x12\x15\n\x11ConversationSpeak\x10\x04\
1145    \x12\r\n\tInventory\x10\x05\x12\x08\n\x04Drop\x10\x06\x12\r\n\tThrowItem\
1146    \x10\x07\x12\x08\n\x04Wear\x10\x08\x12\n\n\x06Remove\x10\t\x12\x0c\n\x08\
1147    Interact\x10\n\x12\x07\n\x03Put\x10\x0b\x12\x10\n\x0cPutContainer\x10\
1148    \x0c\x12\x07\n\x03Eat\x10\r\x12\x0c\n\x08ThrowAim\x10\x0e\x12\x08\n\x04F\
1149    ire\x10\x0f\x12\x07\n\x03Get\x10\x10\x12\t\n\x05Unk17\x10\x11\x12\x0f\n\
1150    \x0bCombatPrefs\x10\x12\x12\x0e\n\nCompanions\x10\x13\x12\x11\n\rMovemen\
1151    tPrefs\x10\x14\x12\x0e\n\nSpeedPrefs\x10\x15\x12\x12\n\x0eInteractAction\
1152    \x10\x16\x12\x11\n\rMoveCarefully\x10\x17\x12\x11\n\rAnnouncements\x10\
1153    \x18\x12\x0f\n\x0bUseBuilding\x10\x19\x12\n\n\x06Travel\x10\x1a\x12\t\n\
1154    \x05Unk27\x10\x1b\x12\t\n\x05Unk28\x10\x1c\x12\x10\n\x0cSleepConfirm\x10\
1155    \x1d\x12\x1b\n\x17SelectInteractionTarget\x10\x1e\x12\t\n\x05Unk31\x10\
1156    \x1f\x12\t\n\x05Unk32\x10\x20\x12\x0e\n\nFallAction\x10!\x12\x0e\n\nView\
1157    Tracks\x10\"\x12\x08\n\x04Jump\x10#\x12\t\n\x05Unk36\x10$\x12\x11\n\rAtt\
1158    ackConfirm\x10%\x12\x0e\n\nAttackType\x10&\x12\x12\n\x0eAttackBodypart\
1159    \x10'\x12\x10\n\x0cAttackStrike\x10(\x12\t\n\x05Unk41\x10)\x12\t\n\x05Un\
1160    k42\x10*\x12\x12\n\x0eDodgeDirection\x10+\x12\t\n\x05Unk44\x10,\x12\t\n\
1161    \x05Unk45\x10-\x12\t\n\x05Build\x10.*\x94\x02\n\x13CarefulMovementType\
1162    \x12\x14\n\x10DEFAULT_MOVEMENT\x10\0\x12\x15\n\x11RELEASE_ITEM_HOLD\x10\
1163    \x01\x12\x15\n\x11RELEASE_TILE_HOLD\x10\x02\x12\x13\n\x0fATTACK_CREATURE\
1164    \x10\x03\x12\r\n\tHOLD_TILE\x10\x04\x12\x08\n\x04MOVE\x10\x05\x12\t\n\
1165    \x05CLIMB\x10\x06\x12\r\n\tHOLD_ITEM\x10\x07\x12\x15\n\x11BUILDING_INTER\
1166    ACT\x10\x08\x12\x11\n\rITEM_INTERACT\x10\t\x12\x17\n\x13ITEM_INTERACT_GU\
1167    IDE\x10\n\x12\x16\n\x12ITEM_INTERACT_RIDE\x10\x0b\x12\x16\n\x12ITEM_INTE\
1168    RACT_PUSH\x10\x0c*<\n\x0cMiscMoveType\x12\r\n\tSET_CLIMB\x10\0\x12\r\n\t\
1169    SET_STAND\x10\x01\x12\x0e\n\nSET_CANCEL\x10\x02B\x02H\x03b\x06proto2\
1170";
1171
1172/// `FileDescriptorProto` object which was a source for this generated file
1173fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
1174    static file_descriptor_proto_lazy: ::protobuf::rt::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::Lazy::new();
1175    file_descriptor_proto_lazy.get(|| {
1176        ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
1177    })
1178}
1179
1180/// `FileDescriptor` object which allows dynamic access to files
1181pub fn file_descriptor() -> &'static ::protobuf::reflect::FileDescriptor {
1182    static generated_file_descriptor_lazy: ::protobuf::rt::Lazy<::protobuf::reflect::GeneratedFileDescriptor> = ::protobuf::rt::Lazy::new();
1183    static file_descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::FileDescriptor> = ::protobuf::rt::Lazy::new();
1184    file_descriptor.get(|| {
1185        let generated_file_descriptor = generated_file_descriptor_lazy.get(|| {
1186            let mut deps = ::std::vec::Vec::with_capacity(1);
1187            deps.push(super::RemoteFortressReader::file_descriptor().clone());
1188            let mut messages = ::std::vec::Vec::with_capacity(4);
1189            messages.push(MoveCommandParams::generated_message_descriptor_data());
1190            messages.push(MovementOption::generated_message_descriptor_data());
1191            messages.push(MenuContents::generated_message_descriptor_data());
1192            messages.push(MiscMoveParams::generated_message_descriptor_data());
1193            let mut enums = ::std::vec::Vec::with_capacity(3);
1194            enums.push(AdvmodeMenu::generated_enum_descriptor_data());
1195            enums.push(CarefulMovementType::generated_enum_descriptor_data());
1196            enums.push(MiscMoveType::generated_enum_descriptor_data());
1197            ::protobuf::reflect::GeneratedFileDescriptor::new_generated(
1198                file_descriptor_proto(),
1199                deps,
1200                messages,
1201                enums,
1202            )
1203        });
1204        ::protobuf::reflect::FileDescriptor::new_generated_2(generated_file_descriptor)
1205    })
1206}