1#[cfg(feature = "root-mapnavigationstatusmenu-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 basicmenu::{BasicMenu, IBasicMenu},
11 procinst::{IProcInst, ProcInst},
12 },
13 system::object::{IObject, Object},
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/mapnavigationstatusmenu/MapNavigationStatusMenu.md"))]
17 #[::unity::class(namespace = "", name = "MapNavigationStatusMenu")]
18 #[parent(crate::app::basicmenu::BasicMenu)]
19 pub struct MapNavigationStatusMenu {
20 #[static_field]
21 #[rename(name = "m_Animator")]
22 pub m_animator: crate::unity_engine::animator::Animator,
23 #[offset(200)]
24 #[rename(name = "m_MiniMapMenu")]
25 pub m_mini_map_menu: crate::root::mapnavigationminimapmenu::MapNavigationMiniMapMenu,
26 }
27}
28
29#[cfg(feature = "root-mapnavigationstatusmenu-types")]
30pub use __types::*;
31
32#[cfg(feature = "root-mapnavigationstatusmenu")]
33impl MapNavigationStatusMenu {
34 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::unity_engine::gameobject::GameObject)` overload"]
35 pub fn create_bind(
36 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
37 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
38 ) -> () {
39 unsafe {
40 ::unity::il2cpp_call!((::unity::module_base()+0x1df8020usize)as*mut u8,();
41(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
42 }
43 }
44
45 #[doc = "`.cctor()` overload"]
46 pub fn cctor() -> () {
47 unsafe {
48 ::unity::il2cpp_call!((::unity::module_base()+0x1df9560usize)as*mut u8,();
49 )
50 }
51 }
52}
53
54#[cfg(feature = "root-mapnavigationstatusmenu")]
55pub trait IMapNavigationStatusMenuMethods: IMapNavigationStatusMenu {
56 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::root::mapnavigationstatusmenucontent::MapNavigationStatusMenuContent, crate::unity_engine::gameobject::GameObject)` overload"]
57 fn ctor(
58 self,
59 menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
60 menu_content: impl ::core::convert::Into<crate::root::mapnavigationstatusmenucontent::MapNavigationStatusMenuContent>,
61 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
62 ) -> () {
63 unsafe {
64 let __receiver =
65 <MapNavigationStatusMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
66 ::unity::il2cpp_call!((::unity::module_base()+0x1df91d0usize)as*mut u8,();
67(MapNavigationStatusMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>)::core::convert::Into::into(menu_item_list),(crate::root::mapnavigationstatusmenucontent::MapNavigationStatusMenuContent)::core::convert::Into::into(menu_content),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
68 }
69 }
70 #[doc = "`BCall()` overload"]
71 fn b_call(self) -> crate::app::basicmenu::BasicMenu_Result {
72 unsafe {
73 let __receiver =
74 <MapNavigationStatusMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 {
76 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
77 let __vi = *__vt.get(51usize).unwrap_or_else(|| {
78 panic!(
79 "unity: virtual slot {}
80 out of range (vtable len {}
81) on the runtime class behind {}
82 (method `{}
83`)",
84 51usize,
85 __vt.len(),
86 <MapNavigationStatusMenu as ::unity::ClassIdentity>::NAME,
87 "BCall",
88 )
89 });
90 let __inner: extern "C" fn(MapNavigationStatusMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
91 ::core::mem::transmute(__vi.method_ptr);
92 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
93 __inner(__receiver, __mi)
94 }
95 }
96 }
97 #[doc = "`CustomCall()` overload"]
98 fn custom_call(self) -> crate::app::basicmenu::BasicMenu_Result {
99 unsafe {
100 let __receiver =
101 <MapNavigationStatusMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
102 {
103 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
104 let __vi = *__vt.get(58usize).unwrap_or_else(|| {
105 panic!(
106 "unity: virtual slot {}
107 out of range (vtable len {}
108) on the runtime class behind {}
109 (method `{}
110`)",
111 58usize,
112 __vt.len(),
113 <MapNavigationStatusMenu as ::unity::ClassIdentity>::NAME,
114 "CustomCall",
115 )
116 });
117 let __inner: extern "C" fn(MapNavigationStatusMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
118 ::core::mem::transmute(__vi.method_ptr);
119 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
120 __inner(__receiver, __mi)
121 }
122 }
123 }
124 #[doc = "`KeyUp(bool)` overload"]
125 fn key_up(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
126 unsafe {
127 let __receiver =
128 <MapNavigationStatusMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129 {
130 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
131 let __vi = *__vt.get(40usize).unwrap_or_else(|| {
132 panic!(
133 "unity: virtual slot {}
134 out of range (vtable len {}
135) on the runtime class behind {}
136 (method `{}
137`)",
138 40usize,
139 __vt.len(),
140 <MapNavigationStatusMenu as ::unity::ClassIdentity>::NAME,
141 "KeyUp",
142 )
143 });
144 let __inner: extern "C" fn(MapNavigationStatusMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
145 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
146 __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
147 }
148 }
149 }
150 #[doc = "`KeyDown(bool)` overload"]
151 fn key_down(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
152 unsafe {
153 let __receiver =
154 <MapNavigationStatusMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155 {
156 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
157 let __vi = *__vt.get(41usize).unwrap_or_else(|| {
158 panic!(
159 "unity: virtual slot {}
160 out of range (vtable len {}
161) on the runtime class behind {}
162 (method `{}
163`)",
164 41usize,
165 __vt.len(),
166 <MapNavigationStatusMenu as ::unity::ClassIdentity>::NAME,
167 "KeyDown",
168 )
169 });
170 let __inner: extern "C" fn(MapNavigationStatusMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
171 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
172 __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
173 }
174 }
175 }
176 #[doc = "`KeyLeft(bool)` overload"]
177 fn key_left(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
178 unsafe {
179 let __receiver =
180 <MapNavigationStatusMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
181 {
182 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
183 let __vi = *__vt.get(42usize).unwrap_or_else(|| {
184 panic!(
185 "unity: virtual slot {}
186 out of range (vtable len {}
187) on the runtime class behind {}
188 (method `{}
189`)",
190 42usize,
191 __vt.len(),
192 <MapNavigationStatusMenu as ::unity::ClassIdentity>::NAME,
193 "KeyLeft",
194 )
195 });
196 let __inner: extern "C" fn(MapNavigationStatusMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
197 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
198 __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
199 }
200 }
201 }
202 #[doc = "`OnDispose()` overload"]
203 fn on_dispose(self) -> () {
204 unsafe {
205 let __receiver =
206 <MapNavigationStatusMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
207 {
208 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
209 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
210 panic!(
211 "unity: virtual slot {}
212 out of range (vtable len {}
213) on the runtime class behind {}
214 (method `{}
215`)",
216 10usize,
217 __vt.len(),
218 <MapNavigationStatusMenu as ::unity::ClassIdentity>::NAME,
219 "OnDispose",
220 )
221 });
222 let __inner: extern "C" fn(MapNavigationStatusMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
223 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
224 __inner(__receiver, __mi)
225 }
226 }
227 }
228 #[doc = "`KeyRight(bool)` overload"]
229 fn key_right(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
230 unsafe {
231 let __receiver =
232 <MapNavigationStatusMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233 {
234 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
235 let __vi = *__vt.get(43usize).unwrap_or_else(|| {
236 panic!(
237 "unity: virtual slot {}
238 out of range (vtable len {}
239) on the runtime class behind {}
240 (method `{}
241`)",
242 43usize,
243 __vt.len(),
244 <MapNavigationStatusMenu as ::unity::ClassIdentity>::NAME,
245 "KeyRight",
246 )
247 });
248 let __inner: extern "C" fn(MapNavigationStatusMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
249 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
250 __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
251 }
252 }
253 }
254}
255
256#[cfg(feature = "root-mapnavigationstatusmenu")]
257impl<__T: IMapNavigationStatusMenu> IMapNavigationStatusMenuMethods for __T {}
258
259#[cfg(feature = "root-mapnavigationstatusmenu")]
260impl MapNavigationStatusMenu {
261 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
263 }
264
265 pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
267 }
268
269 pub fn custom_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
271 }
272
273 pub fn key_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
274 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
275 }
276
277 pub fn key_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
279 }
280
281 pub fn key_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
282 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
283 }
284
285 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
286 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
287 }
288
289 pub fn key_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
290 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
291 }
292
293 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
294 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
295 }
296
297 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
298 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
299 }
300}
301
302#[cfg(feature = "root-mapnavigationstatusmenu")]
303impl MapNavigationStatusMenu {
304 #[doc = "Direct (non-virtual) call to `MapNavigationStatusMenu`'s own `BCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
305 pub unsafe fn b_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
306 let __mi = Self::b_call_method_info();
307 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
308 ::core::mem::transmute(__mi.method_ptr);
309 __inner(this.into(), ::core::option::Option::None)
310 }
311
312 #[doc = "Direct (non-virtual) call to `MapNavigationStatusMenu`'s own `CustomCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
313 pub unsafe fn custom_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
314 let __mi = Self::custom_call_method_info();
315 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
316 ::core::mem::transmute(__mi.method_ptr);
317 __inner(this.into(), ::core::option::Option::None)
318 }
319
320 #[doc = "Direct (non-virtual) call to `MapNavigationStatusMenu`'s own `KeyUp`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
321 pub unsafe fn key_up(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
322 let __mi = Self::key_up_method_info();
323 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
324 __inner(this.into(), is_trigger, ::core::option::Option::None)
325 }
326
327 #[doc = "Direct (non-virtual) call to `MapNavigationStatusMenu`'s own `KeyDown`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
328 pub unsafe fn key_down(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
329 let __mi = Self::key_down_method_info();
330 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
331 __inner(this.into(), is_trigger, ::core::option::Option::None)
332 }
333
334 #[doc = "Direct (non-virtual) call to `MapNavigationStatusMenu`'s own `KeyLeft`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
335 pub unsafe fn key_left(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
336 let __mi = Self::key_left_method_info();
337 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
338 __inner(this.into(), is_trigger, ::core::option::Option::None)
339 }
340
341 #[doc = "Direct (non-virtual) call to `MapNavigationStatusMenu`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
342 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
343 let __mi = Self::on_dispose_method_info();
344 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
345 __inner(this.into(), ::core::option::Option::None)
346 }
347
348 #[doc = "Direct (non-virtual) call to `MapNavigationStatusMenu`'s own `KeyRight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
349 pub unsafe fn key_right(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
350 let __mi = Self::key_right_method_info();
351 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
352 __inner(this.into(), is_trigger, ::core::option::Option::None)
353 }
354}
355
356#[cfg(feature = "root-mapnavigationstatusmenu")]
357impl MapNavigationStatusMenu {
358 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::root::mapnavigationstatusmenucontent::MapNavigationStatusMenuContent, crate::unity_engine::gameobject::GameObject)` — overload selector"]
359 pub fn new(
360 menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
361 menu_content: crate::root::mapnavigationstatusmenucontent::MapNavigationStatusMenuContent,
362 game_object: crate::unity_engine::gameobject::GameObject,
363 ) -> Self {
364 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
365 panic!(
366 "{}
367::{}
368 failed to instantiate",
369 ::core::stringify!(MapNavigationStatusMenu),
370 ::core::stringify!(new),
371 )
372 });
373 <Self as IMapNavigationStatusMenuMethods>::ctor(this, menu_item_list, menu_content, game_object);
374 this
375 }
376}
377
378#[cfg(feature = "root-mapnavigationstatusmenu")]
379#[doc(hidden)]
380pub mod prelude {
381 pub use super::{IMapNavigationStatusMenu, IMapNavigationStatusMenuMethods, MapNavigationStatusMenu};
382 #[cfg(feature = "app-basicmenu")]
383 pub use crate::app::basicmenu::IBasicMenuMethods;
384 #[cfg(feature = "app-procinst")]
385 pub use crate::app::procinst::IProcInstMethods;
386 #[cfg(feature = "system-object")]
387 pub use crate::system::object::IObjectMethods;
388 pub use crate::{
389 app::{basicmenu::IBasicMenu, procinst::IProcInst},
390 system::object::IObject,
391 };
392}