Skip to main content

engage/generated/app/
mapmoveflag.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mapmoveflag-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapmoveflag/MapMoveFlag.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct MapMoveFlag {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for MapMoveFlag {
21        const NAME: &'static str = "MapMoveFlag";
22        const NAMESPACE: &'static str = "App";
23
24        fn class() -> ::unity::Class {
25            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27        }
28    }
29    impl ::unity::IlType for MapMoveFlag {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl MapMoveFlag {
35        pub fn focus() -> Self {
36            Self { value: 1 }
37        }
38
39        pub fn escape() -> Self {
40            Self { value: 2 }
41        }
42
43        pub fn arrival() -> Self {
44            Self { value: 4 }
45        }
46
47        pub fn fixed_dir() -> Self {
48            Self { value: 8 }
49        }
50
51        pub fn fixed_speed() -> Self {
52            Self { value: 16 }
53        }
54
55        pub fn skip_invisible() -> Self {
56            Self { value: 32 }
57        }
58
59        pub fn ai() -> Self {
60            Self { value: 64 }
61        }
62
63        pub fn event() -> Self {
64            Self { value: 128 }
65        }
66
67        pub fn dispos() -> Self {
68            Self { value: 256 }
69        }
70
71        pub fn tracking() -> Self {
72            Self { value: 512 }
73        }
74
75        pub fn double_on_off() -> Self {
76            Self { value: 1024 }
77        }
78
79        pub fn parent() -> Self {
80            Self { value: 2048 }
81        }
82
83        pub fn child() -> Self {
84            Self { value: 4096 }
85        }
86    }
87}
88
89#[cfg(feature = "app-mapmoveflag-types")]
90pub use __types::*;
91
92#[cfg(feature = "app-mapmoveflag")]
93#[doc(hidden)]
94pub mod prelude {
95    pub use super::MapMoveFlag;
96    #[cfg(feature = "system-object")]
97    pub use crate::system::object::IObjectMethods;
98    #[cfg(feature = "system-enum")]
99    pub use crate::system::r#enum::IEnumMethods;
100    #[cfg(feature = "system-valuetype")]
101    pub use crate::system::valuetype::IValueTypeMethods;
102    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
103}