engage/generated/root/
mapnavigationsequence.rs1#[cfg(feature = "root-mapnavigationsequence-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::procinst::{IProcInst, ProcInst},
10 system::{
11 object::{IObject, Object},
12 r#enum::{Enum, IEnum},
13 valuetype::{IValueType, ValueType},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/mapnavigationsequence/MapNavigationSequence.md"))]
18 #[::unity::class(namespace = "", name = "MapNavigationSequence")]
19 #[parent(crate::app::procinst::ProcInst)]
20 pub struct MapNavigationSequence {
21 #[offset(112)]
22 #[rename(name = "m_IsHide")]
23 pub m_is_hide: bool,
24 #[offset(120)]
25 #[rename(name = "m_MapNavigationObject")]
26 pub m_map_navigation_object: crate::unity_engine::gameobject::GameObject,
27 }
28
29 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/mapnavigationsequence/MapNavigationSequence_Label.md"))]
30 #[repr(C)]
31 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
32 pub struct MapNavigationSequence_Label {
33 pub value: i32,
34 }
35 impl ::unity::ClassIdentity for MapNavigationSequence_Label {
36 const NAME: &'static str = "MapNavigationSequence.Label";
37 const NAMESPACE: &'static str = "";
38
39 fn class() -> ::unity::Class {
40 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
41 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
42 }
43 }
44 impl ::unity::IlType for MapNavigationSequence_Label {
45 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
46 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
47 }
48 }
49 impl MapNavigationSequence_Label {
50 pub fn load() -> Self {
51 Self { value: 0 }
52 }
53
54 pub fn unload() -> Self {
55 Self { value: 1 }
56 }
57
58 pub fn end() -> Self {
59 Self { value: 2 }
60 }
61 }
62}
63
64#[cfg(feature = "root-mapnavigationsequence-types")]
65pub use __types::*;
66
67#[cfg(feature = "root-mapnavigationsequence")]
68impl MapNavigationSequence {
69 #[doc = "`TryCreateBind(crate::app::procinst::ProcInst)` overload"]
70 pub fn try_create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
71 unsafe {
72 ::unity::il2cpp_call!((::unity::module_base()+0x1df86f0usize)as*mut u8,();
73(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
74 }
75 }
76
77 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
78 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
79 unsafe {
80 ::unity::il2cpp_call!((::unity::module_base()+0x1df87a0usize)as*mut u8,();
81(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
82 }
83 }
84}
85
86#[cfg(feature = "root-mapnavigationsequence")]
87pub trait IMapNavigationSequenceMethods: IMapNavigationSequence {
88 #[doc = "`LoadResources()` overload"]
89 fn load_resources(self) -> () {
90 unsafe {
91 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
92 ::unity::il2cpp_call!((::unity::module_base()+0x1df7b10usize)as*mut u8,();
93(MapNavigationSequence)__receiver)
94 }
95 }
96 #[doc = "`UnloadResources()` overload"]
97 fn unload_resources(self) -> () {
98 unsafe {
99 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100 ::unity::il2cpp_call!((::unity::module_base()+0x1df7b90usize)as*mut u8,();
101(MapNavigationSequence)__receiver)
102 }
103 }
104 #[doc = "`IsLoadingResources()` overload"]
105 fn is_loading_resources(self) -> bool {
106 unsafe {
107 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108 ::unity::il2cpp_call!((::unity::module_base()+0x1df7c10usize)as*mut u8,bool;
109(MapNavigationSequence)__receiver)
110 }
111 }
112 #[doc = "`HideInfo()` overload"]
113 fn hide_info(self) -> () {
114 unsafe {
115 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116 ::unity::il2cpp_call!((::unity::module_base()+0x1df7c90usize)as*mut u8,();
117(MapNavigationSequence)__receiver)
118 }
119 }
120 #[doc = "`ShowInfo()` overload"]
121 fn show_info(self) -> () {
122 unsafe {
123 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
124 ::unity::il2cpp_call!((::unity::module_base()+0x1df7e20usize)as*mut u8,();
125(MapNavigationSequence)__receiver)
126 }
127 }
128 #[doc = "`CreateMapNavigationMenu()` overload"]
129 fn create_map_navigation_menu(self) -> () {
130 unsafe {
131 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
132 ::unity::il2cpp_call!((::unity::module_base()+0x1df7f90usize)as*mut u8,();
133(MapNavigationSequence)__receiver)
134 }
135 }
136 #[doc = "`CloseMapNavigationRoot()` overload"]
137 fn close_map_navigation_root(self) -> () {
138 unsafe {
139 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
140 ::unity::il2cpp_call!((::unity::module_base()+0x1df8400usize)as*mut u8,();
141(MapNavigationSequence)__receiver)
142 }
143 }
144 #[doc = "`IsClosingMapNavigationRoot()` overload"]
145 fn is_closing_map_navigation_root(self) -> bool {
146 unsafe {
147 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
148 ::unity::il2cpp_call!((::unity::module_base()+0x1df8540usize)as*mut u8,bool;
149(MapNavigationSequence)__receiver)
150 }
151 }
152 #[doc = "`DestroyMapNavigationgMenu()` overload"]
153 fn destroy_map_navigationg_menu(self) -> () {
154 unsafe {
155 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
156 ::unity::il2cpp_call!((::unity::module_base()+0x1df8680usize)as*mut u8,();
157(MapNavigationSequence)__receiver)
158 }
159 }
160 #[doc = "`.ctor()` overload"]
161 fn ctor(self) -> () {
162 unsafe {
163 let __receiver = <MapNavigationSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
164 ::unity::il2cpp_call!((::unity::module_base()+0x1df8e30usize)as*mut u8,();
165(MapNavigationSequence)__receiver)
166 }
167 }
168}
169
170#[cfg(feature = "root-mapnavigationsequence")]
171impl<__T: IMapNavigationSequence> IMapNavigationSequenceMethods for __T {}
172
173#[cfg(feature = "root-mapnavigationsequence")]
174impl MapNavigationSequence {
175 pub fn load_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
176 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
177 }
178
179 pub fn unload_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
180 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
181 }
182
183 pub fn is_loading_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
184 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
185 }
186
187 pub fn hide_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
188 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
189 }
190
191 pub fn show_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
192 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
193 }
194
195 pub fn create_map_navigation_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
196 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
197 }
198
199 pub fn close_map_navigation_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
200 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
201 }
202
203 pub fn is_closing_map_navigation_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
204 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
205 }
206
207 pub fn destroy_map_navigationg_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
208 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
209 }
210
211 pub fn try_create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
212 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
213 }
214
215 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
217 }
218
219 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
221 }
222}
223
224#[cfg(feature = "root-mapnavigationsequence")]
225impl MapNavigationSequence {
226 #[doc = "`.ctor()` — no args"]
227 pub fn new() -> Self {
228 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
229 panic!(
230 "{}
231::{}
232 failed to instantiate",
233 ::core::stringify!(MapNavigationSequence),
234 ::core::stringify!(new),
235 )
236 });
237 <Self as IMapNavigationSequenceMethods>::ctor(this);
238 this
239 }
240}
241
242#[cfg(feature = "root-mapnavigationsequence")]
243#[doc(hidden)]
244pub mod prelude {
245 pub use super::{IMapNavigationSequence, IMapNavigationSequenceMethods, MapNavigationSequence, MapNavigationSequence_Label};
246 #[cfg(feature = "app-procinst")]
247 pub use crate::app::procinst::IProcInstMethods;
248 #[cfg(feature = "system-object")]
249 pub use crate::system::object::IObjectMethods;
250 #[cfg(feature = "system-enum")]
251 pub use crate::system::r#enum::IEnumMethods;
252 #[cfg(feature = "system-valuetype")]
253 pub use crate::system::valuetype::IValueTypeMethods;
254 pub use crate::{
255 app::procinst::IProcInst,
256 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
257 };
258}