dfhack_proto/generated/messages/
AdventureControl.rs

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