Skip to main content

engage/generated/app/
debugtransportermenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-debugtransportermenu-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            labelitem::{ILabelItem, LabelItem},
11            menuitem::{IMenuItem, MenuItem},
12            stringitem::{IStringItem, StringItem},
13        },
14        system::object::{IObject, Object},
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugtransportermenu/DebugTransporterMenu_AddAllMenuItem.md"))]
18    #[::unity::class(namespace = "App", name = "DebugTransporterMenu.AddAllMenuItem")]
19    #[parent(crate::app::debugtransportermenu::DebugTransporterMenu_BaseMenuItem)]
20    pub struct DebugTransporterMenu_AddAllMenuItem {}
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugtransportermenu/DebugTransporterMenu_TitleItem.md"))]
23    #[::unity::class(namespace = "App", name = "DebugTransporterMenu.TitleItem")]
24    #[parent(crate::app::labelitem::LabelItem)]
25    pub struct DebugTransporterMenu_TitleItem {}
26
27    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugtransportermenu/DebugTransporterMenu_LowestItemMenuItem.md"))]
28    #[::unity::class(namespace = "App", name = "DebugTransporterMenu.LowestItemMenuItem")]
29    #[parent(crate::app::debugtransportermenu::DebugTransporterMenu_BaseMenuItem)]
30    pub struct DebugTransporterMenu_LowestItemMenuItem {}
31
32    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugtransportermenu/DebugTransporterMenu_DeleteAllMenuItem.md"))]
33    #[::unity::class(namespace = "App", name = "DebugTransporterMenu.DeleteAllMenuItem")]
34    #[parent(crate::app::debugtransportermenu::DebugTransporterMenu_BaseMenuItem)]
35    pub struct DebugTransporterMenu_DeleteAllMenuItem {}
36
37    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugtransportermenu/DebugTransporterMenu_BaseMenuItem.md"))]
38    #[::unity::class(namespace = "App", name = "DebugTransporterMenu.BaseMenuItem")]
39    #[parent(crate::app::menuitem::MenuItem)]
40    pub struct DebugTransporterMenu_BaseMenuItem {}
41
42    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugtransportermenu/DebugTransporterMenu_FillAllMenuItem.md"))]
43    #[::unity::class(namespace = "App", name = "DebugTransporterMenu.FillAllMenuItem")]
44    #[parent(crate::app::debugtransportermenu::DebugTransporterMenu_BaseMenuItem)]
45    pub struct DebugTransporterMenu_FillAllMenuItem {}
46
47    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugtransportermenu/DebugTransporterMenu.md"))]
48    #[::unity::class(namespace = "App", name = "DebugTransporterMenu")]
49    #[parent(crate::system::object::Object)]
50    pub struct DebugTransporterMenu {}
51
52    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugtransportermenu/DebugTransporterMenu_AddByKindMenuItem.md"))]
53    #[::unity::class(namespace = "App", name = "DebugTransporterMenu.AddByKindMenuItem")]
54    #[parent(crate::app::debugtransportermenu::DebugTransporterMenu_BaseMenuItem)]
55    pub struct DebugTransporterMenu_AddByKindMenuItem {
56        #[offset(32)]
57        #[rename(name = "m_Kind")]
58        pub m_kind: crate::app::itemdata::ItemData_Kinds,
59        #[offset(40)]
60        #[rename(name = "m_Name")]
61        pub m_name: ::unity::Il2CppString,
62    }
63}
64
65#[cfg(feature = "app-debugtransportermenu-types")]
66pub use __types::*;
67
68#[cfg(feature = "app-debugtransportermenu")]
69pub trait IDebugTransporterMenu_AddAllMenuItemMethods: IDebugTransporterMenu_AddAllMenuItem {
70    #[doc = "`GetName()` overload"]
71    fn get_name(self) -> ::unity::Il2CppString {
72        unsafe {
73            let __receiver = <DebugTransporterMenu_AddAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
74                <Self as ::unity::SystemObject>::as_instance(self),
75            );
76            {
77                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
78                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
79                    panic!(
80                        "unity: virtual slot {}
81 out of range (vtable len {}
82) on the runtime class behind {}
83 (method `{}
84`)",
85                        5usize,
86                        __vt.len(),
87                        <DebugTransporterMenu_AddAllMenuItem as ::unity::ClassIdentity>::NAME,
88                        "GetName",
89                    )
90                });
91                let __inner: extern "C" fn(DebugTransporterMenu_AddAllMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
92                    ::core::mem::transmute(__vi.method_ptr);
93                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
94                __inner(__receiver, __mi)
95            }
96        }
97    }
98    #[doc = "`GetNameEnglish()` overload"]
99    fn get_name_english(self) -> ::unity::Il2CppString {
100        unsafe {
101            let __receiver = <DebugTransporterMenu_AddAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
102                <Self as ::unity::SystemObject>::as_instance(self),
103            );
104            {
105                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
106                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
107                    panic!(
108                        "unity: virtual slot {}
109 out of range (vtable len {}
110) on the runtime class behind {}
111 (method `{}
112`)",
113                        6usize,
114                        __vt.len(),
115                        <DebugTransporterMenu_AddAllMenuItem as ::unity::ClassIdentity>::NAME,
116                        "GetNameEnglish",
117                    )
118                });
119                let __inner: extern "C" fn(DebugTransporterMenu_AddAllMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
120                    ::core::mem::transmute(__vi.method_ptr);
121                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
122                __inner(__receiver, __mi)
123            }
124        }
125    }
126    #[doc = "`ACall()` overload"]
127    fn a_call(self) -> crate::app::menuitem::MenuItem_Result {
128        unsafe {
129            let __receiver = <DebugTransporterMenu_AddAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
130                <Self as ::unity::SystemObject>::as_instance(self),
131            );
132            {
133                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
134                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
135                    panic!(
136                        "unity: virtual slot {}
137 out of range (vtable len {}
138) on the runtime class behind {}
139 (method `{}
140`)",
141                        12usize,
142                        __vt.len(),
143                        <DebugTransporterMenu_AddAllMenuItem as ::unity::ClassIdentity>::NAME,
144                        "ACall",
145                    )
146                });
147                let __inner: extern "C" fn(DebugTransporterMenu_AddAllMenuItem, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
148                    ::core::mem::transmute(__vi.method_ptr);
149                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
150                __inner(__receiver, __mi)
151            }
152        }
153    }
154    #[doc = "`.ctor()` overload"]
155    fn ctor(self) -> () {
156        unsafe {
157            let __receiver = <DebugTransporterMenu_AddAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
158                <Self as ::unity::SystemObject>::as_instance(self),
159            );
160            ::unity::il2cpp_call!((::unity::module_base()+0x1bba950usize)as*mut u8,();
161(DebugTransporterMenu_AddAllMenuItem)__receiver)
162        }
163    }
164}
165
166#[cfg(feature = "app-debugtransportermenu")]
167impl<__T: IDebugTransporterMenu_AddAllMenuItem> IDebugTransporterMenu_AddAllMenuItemMethods for __T {}
168
169#[cfg(feature = "app-debugtransportermenu")]
170impl DebugTransporterMenu_AddAllMenuItem {
171    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
173    }
174
175    pub fn get_name_english_method_info() -> &'static ::unity::il2cpp::MethodInfo {
176        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
177    }
178
179    pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
180        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
181    }
182
183    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
184        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
185    }
186}
187
188#[cfg(feature = "app-debugtransportermenu")]
189impl DebugTransporterMenu_AddAllMenuItem {
190    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_AddAllMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
191    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
192        let __mi = Self::get_name_method_info();
193        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
194        __inner(this.into(), ::core::option::Option::None)
195    }
196
197    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_AddAllMenuItem`'s own `GetNameEnglish`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
198    pub unsafe fn get_name_english(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
199        let __mi = Self::get_name_english_method_info();
200        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
201        __inner(this.into(), ::core::option::Option::None)
202    }
203
204    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_AddAllMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
205    pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
206        let __mi = Self::a_call_method_info();
207        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
208            ::core::mem::transmute(__mi.method_ptr);
209        __inner(this.into(), ::core::option::Option::None)
210    }
211}
212
213#[cfg(feature = "app-debugtransportermenu")]
214impl DebugTransporterMenu_AddAllMenuItem {
215    #[doc = "`.ctor()` — no args"]
216    pub fn new() -> Self {
217        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
218            panic!(
219                "{}
220::{}
221 failed to instantiate",
222                ::core::stringify!(DebugTransporterMenu_AddAllMenuItem),
223                ::core::stringify!(new),
224            )
225        });
226        <Self as IDebugTransporterMenu_AddAllMenuItemMethods>::ctor(this);
227        this
228    }
229}
230
231#[cfg(feature = "app-debugtransportermenu")]
232pub trait IDebugTransporterMenu_TitleItemMethods: IDebugTransporterMenu_TitleItem {
233    #[doc = "`GetName()` overload"]
234    fn get_name(self) -> ::unity::Il2CppString {
235        unsafe {
236            let __receiver =
237                <DebugTransporterMenu_TitleItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
238            {
239                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
240                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
241                    panic!(
242                        "unity: virtual slot {}
243 out of range (vtable len {}
244) on the runtime class behind {}
245 (method `{}
246`)",
247                        5usize,
248                        __vt.len(),
249                        <DebugTransporterMenu_TitleItem as ::unity::ClassIdentity>::NAME,
250                        "GetName",
251                    )
252                });
253                let __inner: extern "C" fn(DebugTransporterMenu_TitleItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
254                    ::core::mem::transmute(__vi.method_ptr);
255                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
256                __inner(__receiver, __mi)
257            }
258        }
259    }
260    #[doc = "`.ctor()` overload"]
261    fn ctor(self) -> () {
262        unsafe {
263            let __receiver =
264                <DebugTransporterMenu_TitleItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
265            ::unity::il2cpp_call!((::unity::module_base()+0x1bbb5e0usize)as*mut u8,();
266(DebugTransporterMenu_TitleItem)__receiver)
267        }
268    }
269}
270
271#[cfg(feature = "app-debugtransportermenu")]
272impl<__T: IDebugTransporterMenu_TitleItem> IDebugTransporterMenu_TitleItemMethods for __T {}
273
274#[cfg(feature = "app-debugtransportermenu")]
275impl DebugTransporterMenu_TitleItem {
276    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
278    }
279
280    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
282    }
283}
284
285#[cfg(feature = "app-debugtransportermenu")]
286impl DebugTransporterMenu_TitleItem {
287    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_TitleItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
288    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
289        let __mi = Self::get_name_method_info();
290        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
291        __inner(this.into(), ::core::option::Option::None)
292    }
293}
294
295#[cfg(feature = "app-debugtransportermenu")]
296impl DebugTransporterMenu_TitleItem {
297    #[doc = "`.ctor()` — no args"]
298    pub fn new() -> Self {
299        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
300            panic!(
301                "{}
302::{}
303 failed to instantiate",
304                ::core::stringify!(DebugTransporterMenu_TitleItem),
305                ::core::stringify!(new),
306            )
307        });
308        <Self as IDebugTransporterMenu_TitleItemMethods>::ctor(this);
309        this
310    }
311}
312
313#[cfg(feature = "app-debugtransportermenu")]
314pub trait IDebugTransporterMenu_LowestItemMenuItemMethods: IDebugTransporterMenu_LowestItemMenuItem {
315    #[doc = "`GetName()` overload"]
316    fn get_name(self) -> ::unity::Il2CppString {
317        unsafe {
318            let __receiver = <DebugTransporterMenu_LowestItemMenuItem as ::unity::FromIlInstance>::from_il_instance(
319                <Self as ::unity::SystemObject>::as_instance(self),
320            );
321            {
322                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
323                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
324                    panic!(
325                        "unity: virtual slot {}
326 out of range (vtable len {}
327) on the runtime class behind {}
328 (method `{}
329`)",
330                        5usize,
331                        __vt.len(),
332                        <DebugTransporterMenu_LowestItemMenuItem as ::unity::ClassIdentity>::NAME,
333                        "GetName",
334                    )
335                });
336                let __inner: extern "C" fn(DebugTransporterMenu_LowestItemMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
337                    ::core::mem::transmute(__vi.method_ptr);
338                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
339                __inner(__receiver, __mi)
340            }
341        }
342    }
343    #[doc = "`GetNameEnglish()` overload"]
344    fn get_name_english(self) -> ::unity::Il2CppString {
345        unsafe {
346            let __receiver = <DebugTransporterMenu_LowestItemMenuItem as ::unity::FromIlInstance>::from_il_instance(
347                <Self as ::unity::SystemObject>::as_instance(self),
348            );
349            {
350                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
351                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
352                    panic!(
353                        "unity: virtual slot {}
354 out of range (vtable len {}
355) on the runtime class behind {}
356 (method `{}
357`)",
358                        6usize,
359                        __vt.len(),
360                        <DebugTransporterMenu_LowestItemMenuItem as ::unity::ClassIdentity>::NAME,
361                        "GetNameEnglish",
362                    )
363                });
364                let __inner: extern "C" fn(DebugTransporterMenu_LowestItemMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
365                    ::core::mem::transmute(__vi.method_ptr);
366                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
367                __inner(__receiver, __mi)
368            }
369        }
370    }
371    #[doc = "`ACall()` overload"]
372    fn a_call(self) -> crate::app::menuitem::MenuItem_Result {
373        unsafe {
374            let __receiver = <DebugTransporterMenu_LowestItemMenuItem as ::unity::FromIlInstance>::from_il_instance(
375                <Self as ::unity::SystemObject>::as_instance(self),
376            );
377            {
378                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
379                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
380                    panic!(
381                        "unity: virtual slot {}
382 out of range (vtable len {}
383) on the runtime class behind {}
384 (method `{}
385`)",
386                        12usize,
387                        __vt.len(),
388                        <DebugTransporterMenu_LowestItemMenuItem as ::unity::ClassIdentity>::NAME,
389                        "ACall",
390                    )
391                });
392                let __inner: extern "C" fn(
393                    DebugTransporterMenu_LowestItemMenuItem,
394                    ::unity::OptionalMethod,
395                ) -> crate::app::menuitem::MenuItem_Result = ::core::mem::transmute(__vi.method_ptr);
396                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
397                __inner(__receiver, __mi)
398            }
399        }
400    }
401    #[doc = "`.ctor()` overload"]
402    fn ctor(self) -> () {
403        unsafe {
404            let __receiver = <DebugTransporterMenu_LowestItemMenuItem as ::unity::FromIlInstance>::from_il_instance(
405                <Self as ::unity::SystemObject>::as_instance(self),
406            );
407            ::unity::il2cpp_call!((::unity::module_base()+0x1bbb4c0usize)as*mut u8,();
408(DebugTransporterMenu_LowestItemMenuItem)__receiver)
409        }
410    }
411}
412
413#[cfg(feature = "app-debugtransportermenu")]
414impl<__T: IDebugTransporterMenu_LowestItemMenuItem> IDebugTransporterMenu_LowestItemMenuItemMethods for __T {}
415
416#[cfg(feature = "app-debugtransportermenu")]
417impl DebugTransporterMenu_LowestItemMenuItem {
418    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
419        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
420    }
421
422    pub fn get_name_english_method_info() -> &'static ::unity::il2cpp::MethodInfo {
423        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
424    }
425
426    pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
427        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
428    }
429
430    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
432    }
433}
434
435#[cfg(feature = "app-debugtransportermenu")]
436impl DebugTransporterMenu_LowestItemMenuItem {
437    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_LowestItemMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
438    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
439        let __mi = Self::get_name_method_info();
440        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
441        __inner(this.into(), ::core::option::Option::None)
442    }
443
444    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_LowestItemMenuItem`'s own `GetNameEnglish`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
445    pub unsafe fn get_name_english(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
446        let __mi = Self::get_name_english_method_info();
447        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
448        __inner(this.into(), ::core::option::Option::None)
449    }
450
451    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_LowestItemMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
452    pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
453        let __mi = Self::a_call_method_info();
454        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
455            ::core::mem::transmute(__mi.method_ptr);
456        __inner(this.into(), ::core::option::Option::None)
457    }
458}
459
460#[cfg(feature = "app-debugtransportermenu")]
461impl DebugTransporterMenu_LowestItemMenuItem {
462    #[doc = "`.ctor()` — no args"]
463    pub fn new() -> Self {
464        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
465            panic!(
466                "{}
467::{}
468 failed to instantiate",
469                ::core::stringify!(DebugTransporterMenu_LowestItemMenuItem),
470                ::core::stringify!(new),
471            )
472        });
473        <Self as IDebugTransporterMenu_LowestItemMenuItemMethods>::ctor(this);
474        this
475    }
476}
477
478#[cfg(feature = "app-debugtransportermenu")]
479pub trait IDebugTransporterMenu_DeleteAllMenuItemMethods: IDebugTransporterMenu_DeleteAllMenuItem {
480    #[doc = "`GetName()` overload"]
481    fn get_name(self) -> ::unity::Il2CppString {
482        unsafe {
483            let __receiver = <DebugTransporterMenu_DeleteAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
484                <Self as ::unity::SystemObject>::as_instance(self),
485            );
486            {
487                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
488                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
489                    panic!(
490                        "unity: virtual slot {}
491 out of range (vtable len {}
492) on the runtime class behind {}
493 (method `{}
494`)",
495                        5usize,
496                        __vt.len(),
497                        <DebugTransporterMenu_DeleteAllMenuItem as ::unity::ClassIdentity>::NAME,
498                        "GetName",
499                    )
500                });
501                let __inner: extern "C" fn(DebugTransporterMenu_DeleteAllMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
502                    ::core::mem::transmute(__vi.method_ptr);
503                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
504                __inner(__receiver, __mi)
505            }
506        }
507    }
508    #[doc = "`ACall()` overload"]
509    fn a_call(self) -> crate::app::menuitem::MenuItem_Result {
510        unsafe {
511            let __receiver = <DebugTransporterMenu_DeleteAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
512                <Self as ::unity::SystemObject>::as_instance(self),
513            );
514            {
515                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
516                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
517                    panic!(
518                        "unity: virtual slot {}
519 out of range (vtable len {}
520) on the runtime class behind {}
521 (method `{}
522`)",
523                        12usize,
524                        __vt.len(),
525                        <DebugTransporterMenu_DeleteAllMenuItem as ::unity::ClassIdentity>::NAME,
526                        "ACall",
527                    )
528                });
529                let __inner: extern "C" fn(DebugTransporterMenu_DeleteAllMenuItem, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
530                    ::core::mem::transmute(__vi.method_ptr);
531                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
532                __inner(__receiver, __mi)
533            }
534        }
535    }
536    #[doc = "`.ctor()` overload"]
537    fn ctor(self) -> () {
538        unsafe {
539            let __receiver = <DebugTransporterMenu_DeleteAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
540                <Self as ::unity::SystemObject>::as_instance(self),
541            );
542            ::unity::il2cpp_call!((::unity::module_base()+0x1bbaee0usize)as*mut u8,();
543(DebugTransporterMenu_DeleteAllMenuItem)__receiver)
544        }
545    }
546}
547
548#[cfg(feature = "app-debugtransportermenu")]
549impl<__T: IDebugTransporterMenu_DeleteAllMenuItem> IDebugTransporterMenu_DeleteAllMenuItemMethods for __T {}
550
551#[cfg(feature = "app-debugtransportermenu")]
552impl DebugTransporterMenu_DeleteAllMenuItem {
553    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
554        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
555    }
556
557    pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
558        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
559    }
560
561    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
562        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
563    }
564}
565
566#[cfg(feature = "app-debugtransportermenu")]
567impl DebugTransporterMenu_DeleteAllMenuItem {
568    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_DeleteAllMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
569    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
570        let __mi = Self::get_name_method_info();
571        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
572        __inner(this.into(), ::core::option::Option::None)
573    }
574
575    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_DeleteAllMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
576    pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
577        let __mi = Self::a_call_method_info();
578        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
579            ::core::mem::transmute(__mi.method_ptr);
580        __inner(this.into(), ::core::option::Option::None)
581    }
582}
583
584#[cfg(feature = "app-debugtransportermenu")]
585impl DebugTransporterMenu_DeleteAllMenuItem {
586    #[doc = "`.ctor()` — no args"]
587    pub fn new() -> Self {
588        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
589            panic!(
590                "{}
591::{}
592 failed to instantiate",
593                ::core::stringify!(DebugTransporterMenu_DeleteAllMenuItem),
594                ::core::stringify!(new),
595            )
596        });
597        <Self as IDebugTransporterMenu_DeleteAllMenuItemMethods>::ctor(this);
598        this
599    }
600}
601
602#[cfg(feature = "app-debugtransportermenu")]
603pub trait IDebugTransporterMenu_BaseMenuItemMethods: IDebugTransporterMenu_BaseMenuItem {
604    #[doc = "`CanAddToTransport(crate::app::itemdata::ItemData)` overload"]
605    fn can_add_to_transport(self, item: impl ::core::convert::Into<crate::app::itemdata::ItemData>) -> bool {
606        unsafe {
607            let __receiver =
608                <DebugTransporterMenu_BaseMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
609            ::unity::il2cpp_call!((::unity::module_base()+0x1bbace0usize)as*mut u8,bool;
610(DebugTransporterMenu_BaseMenuItem)__receiver,(crate::app::itemdata::ItemData)::core::convert::Into::into(item))
611        }
612    }
613    #[doc = "`AddItems()` overload"]
614    fn add_items(self) -> () {
615        unsafe {
616            let __receiver =
617                <DebugTransporterMenu_BaseMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
618            ::unity::il2cpp_call!((::unity::module_base()+0x1bba820usize)as*mut u8,();
619(DebugTransporterMenu_BaseMenuItem)__receiver)
620        }
621    }
622    #[doc = "`.ctor()` overload"]
623    fn ctor(self) -> () {
624        unsafe {
625            let __receiver =
626                <DebugTransporterMenu_BaseMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
627            ::unity::il2cpp_call!((::unity::module_base()+0x1bba960usize)as*mut u8,();
628(DebugTransporterMenu_BaseMenuItem)__receiver)
629        }
630    }
631}
632
633#[cfg(feature = "app-debugtransportermenu")]
634impl<__T: IDebugTransporterMenu_BaseMenuItem> IDebugTransporterMenu_BaseMenuItemMethods for __T {}
635
636#[cfg(feature = "app-debugtransportermenu")]
637impl DebugTransporterMenu_BaseMenuItem {
638    pub fn can_add_to_transport_method_info() -> &'static ::unity::il2cpp::MethodInfo {
639        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
640    }
641
642    pub fn add_items_method_info() -> &'static ::unity::il2cpp::MethodInfo {
643        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
644    }
645
646    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
647        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
648    }
649}
650
651#[cfg(feature = "app-debugtransportermenu")]
652impl DebugTransporterMenu_BaseMenuItem {
653    #[doc = "`.ctor()` — no args"]
654    pub fn new() -> Self {
655        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
656            panic!(
657                "{}
658::{}
659 failed to instantiate",
660                ::core::stringify!(DebugTransporterMenu_BaseMenuItem),
661                ::core::stringify!(new),
662            )
663        });
664        <Self as IDebugTransporterMenu_BaseMenuItemMethods>::ctor(this);
665        this
666    }
667}
668
669#[cfg(feature = "app-debugtransportermenu")]
670pub trait IDebugTransporterMenu_FillAllMenuItemMethods: IDebugTransporterMenu_FillAllMenuItem {
671    #[doc = "`GetName()` overload"]
672    fn get_name(self) -> ::unity::Il2CppString {
673        unsafe {
674            let __receiver = <DebugTransporterMenu_FillAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
675                <Self as ::unity::SystemObject>::as_instance(self),
676            );
677            {
678                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
679                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
680                    panic!(
681                        "unity: virtual slot {}
682 out of range (vtable len {}
683) on the runtime class behind {}
684 (method `{}
685`)",
686                        5usize,
687                        __vt.len(),
688                        <DebugTransporterMenu_FillAllMenuItem as ::unity::ClassIdentity>::NAME,
689                        "GetName",
690                    )
691                });
692                let __inner: extern "C" fn(DebugTransporterMenu_FillAllMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
693                    ::core::mem::transmute(__vi.method_ptr);
694                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
695                __inner(__receiver, __mi)
696            }
697        }
698    }
699    #[doc = "`ACall()` overload"]
700    fn a_call(self) -> crate::app::menuitem::MenuItem_Result {
701        unsafe {
702            let __receiver = <DebugTransporterMenu_FillAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
703                <Self as ::unity::SystemObject>::as_instance(self),
704            );
705            {
706                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
707                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
708                    panic!(
709                        "unity: virtual slot {}
710 out of range (vtable len {}
711) on the runtime class behind {}
712 (method `{}
713`)",
714                        12usize,
715                        __vt.len(),
716                        <DebugTransporterMenu_FillAllMenuItem as ::unity::ClassIdentity>::NAME,
717                        "ACall",
718                    )
719                });
720                let __inner: extern "C" fn(DebugTransporterMenu_FillAllMenuItem, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
721                    ::core::mem::transmute(__vi.method_ptr);
722                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
723                __inner(__receiver, __mi)
724            }
725        }
726    }
727    #[doc = "`.ctor()` overload"]
728    fn ctor(self) -> () {
729        unsafe {
730            let __receiver = <DebugTransporterMenu_FillAllMenuItem as ::unity::FromIlInstance>::from_il_instance(
731                <Self as ::unity::SystemObject>::as_instance(self),
732            );
733            ::unity::il2cpp_call!((::unity::module_base()+0x1bbb020usize)as*mut u8,();
734(DebugTransporterMenu_FillAllMenuItem)__receiver)
735        }
736    }
737}
738
739#[cfg(feature = "app-debugtransportermenu")]
740impl<__T: IDebugTransporterMenu_FillAllMenuItem> IDebugTransporterMenu_FillAllMenuItemMethods for __T {}
741
742#[cfg(feature = "app-debugtransportermenu")]
743impl DebugTransporterMenu_FillAllMenuItem {
744    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
745        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
746    }
747
748    pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
749        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
750    }
751
752    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
753        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
754    }
755}
756
757#[cfg(feature = "app-debugtransportermenu")]
758impl DebugTransporterMenu_FillAllMenuItem {
759    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_FillAllMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
760    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
761        let __mi = Self::get_name_method_info();
762        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
763        __inner(this.into(), ::core::option::Option::None)
764    }
765
766    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_FillAllMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
767    pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
768        let __mi = Self::a_call_method_info();
769        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
770            ::core::mem::transmute(__mi.method_ptr);
771        __inner(this.into(), ::core::option::Option::None)
772    }
773}
774
775#[cfg(feature = "app-debugtransportermenu")]
776impl DebugTransporterMenu_FillAllMenuItem {
777    #[doc = "`.ctor()` — no args"]
778    pub fn new() -> Self {
779        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
780            panic!(
781                "{}
782::{}
783 failed to instantiate",
784                ::core::stringify!(DebugTransporterMenu_FillAllMenuItem),
785                ::core::stringify!(new),
786            )
787        });
788        <Self as IDebugTransporterMenu_FillAllMenuItemMethods>::ctor(this);
789        this
790    }
791}
792
793#[cfg(feature = "app-debugtransportermenu")]
794impl DebugTransporterMenu {
795    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
796    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
797        unsafe {
798            ::unity::il2cpp_call!((::unity::module_base()+0x2a10950usize)as*mut u8,();
799(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
800        }
801    }
802}
803
804#[cfg(feature = "app-debugtransportermenu")]
805pub trait IDebugTransporterMenuMethods: IDebugTransporterMenu {
806    #[doc = "`.ctor()` overload"]
807    fn ctor(self) -> () {
808        unsafe {
809            let __receiver = <DebugTransporterMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
810            ::unity::il2cpp_call!((::unity::module_base()+0x2a10cd0usize)as*mut u8,();
811(DebugTransporterMenu)__receiver)
812        }
813    }
814}
815
816#[cfg(feature = "app-debugtransportermenu")]
817impl<__T: IDebugTransporterMenu> IDebugTransporterMenuMethods for __T {}
818
819#[cfg(feature = "app-debugtransportermenu")]
820impl DebugTransporterMenu {
821    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
822        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
823    }
824
825    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
826        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
827    }
828}
829
830#[cfg(feature = "app-debugtransportermenu")]
831impl DebugTransporterMenu {
832    #[doc = "`.ctor()` — no args"]
833    pub fn new() -> Self {
834        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
835            panic!(
836                "{}
837::{}
838 failed to instantiate",
839                ::core::stringify!(DebugTransporterMenu),
840                ::core::stringify!(new),
841            )
842        });
843        <Self as IDebugTransporterMenuMethods>::ctor(this);
844        this
845    }
846}
847
848#[cfg(feature = "app-debugtransportermenu")]
849pub trait IDebugTransporterMenu_AddByKindMenuItemMethods: IDebugTransporterMenu_AddByKindMenuItem {
850    #[doc = "`.ctor(crate::app::itemdata::ItemData_Kinds)` overload"]
851    fn ctor(self, kind: impl ::core::convert::Into<crate::app::itemdata::ItemData_Kinds>) -> () {
852        unsafe {
853            let __receiver = <DebugTransporterMenu_AddByKindMenuItem as ::unity::FromIlInstance>::from_il_instance(
854                <Self as ::unity::SystemObject>::as_instance(self),
855            );
856            ::unity::il2cpp_call!((::unity::module_base()+0x1bba970usize)as*mut u8,();
857(DebugTransporterMenu_AddByKindMenuItem)__receiver,(crate::app::itemdata::ItemData_Kinds)::core::convert::Into::into(kind))
858        }
859    }
860    #[doc = "`GetName()` overload"]
861    fn get_name(self) -> ::unity::Il2CppString {
862        unsafe {
863            let __receiver = <DebugTransporterMenu_AddByKindMenuItem as ::unity::FromIlInstance>::from_il_instance(
864                <Self as ::unity::SystemObject>::as_instance(self),
865            );
866            {
867                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
868                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
869                    panic!(
870                        "unity: virtual slot {}
871 out of range (vtable len {}
872) on the runtime class behind {}
873 (method `{}
874`)",
875                        5usize,
876                        __vt.len(),
877                        <DebugTransporterMenu_AddByKindMenuItem as ::unity::ClassIdentity>::NAME,
878                        "GetName",
879                    )
880                });
881                let __inner: extern "C" fn(DebugTransporterMenu_AddByKindMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
882                    ::core::mem::transmute(__vi.method_ptr);
883                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
884                __inner(__receiver, __mi)
885            }
886        }
887    }
888    #[doc = "`ACall()` overload"]
889    fn a_call(self) -> crate::app::menuitem::MenuItem_Result {
890        unsafe {
891            let __receiver = <DebugTransporterMenu_AddByKindMenuItem as ::unity::FromIlInstance>::from_il_instance(
892                <Self as ::unity::SystemObject>::as_instance(self),
893            );
894            {
895                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
896                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
897                    panic!(
898                        "unity: virtual slot {}
899 out of range (vtable len {}
900) on the runtime class behind {}
901 (method `{}
902`)",
903                        12usize,
904                        __vt.len(),
905                        <DebugTransporterMenu_AddByKindMenuItem as ::unity::ClassIdentity>::NAME,
906                        "ACall",
907                    )
908                });
909                let __inner: extern "C" fn(DebugTransporterMenu_AddByKindMenuItem, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
910                    ::core::mem::transmute(__vi.method_ptr);
911                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
912                __inner(__receiver, __mi)
913            }
914        }
915    }
916}
917
918#[cfg(feature = "app-debugtransportermenu")]
919impl<__T: IDebugTransporterMenu_AddByKindMenuItem> IDebugTransporterMenu_AddByKindMenuItemMethods for __T {}
920
921#[cfg(feature = "app-debugtransportermenu")]
922impl DebugTransporterMenu_AddByKindMenuItem {
923    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
924        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
925    }
926
927    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
928        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
929    }
930
931    pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
932        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
933    }
934}
935
936#[cfg(feature = "app-debugtransportermenu")]
937impl DebugTransporterMenu_AddByKindMenuItem {
938    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_AddByKindMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
939    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
940        let __mi = Self::get_name_method_info();
941        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
942        __inner(this.into(), ::core::option::Option::None)
943    }
944
945    #[doc = "Direct (non-virtual) call to `DebugTransporterMenu_AddByKindMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
946    pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
947        let __mi = Self::a_call_method_info();
948        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
949            ::core::mem::transmute(__mi.method_ptr);
950        __inner(this.into(), ::core::option::Option::None)
951    }
952}
953
954#[cfg(feature = "app-debugtransportermenu")]
955impl DebugTransporterMenu_AddByKindMenuItem {
956    #[doc = "`.ctor(crate::app::itemdata::ItemData_Kinds)` — overload selector"]
957    pub fn new(kind: crate::app::itemdata::ItemData_Kinds) -> Self {
958        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
959            panic!(
960                "{}
961::{}
962 failed to instantiate",
963                ::core::stringify!(DebugTransporterMenu_AddByKindMenuItem),
964                ::core::stringify!(new),
965            )
966        });
967        <Self as IDebugTransporterMenu_AddByKindMenuItemMethods>::ctor(this, kind);
968        this
969    }
970}
971
972#[cfg(feature = "app-debugtransportermenu")]
973#[doc(hidden)]
974pub mod prelude {
975    pub use super::{
976        DebugTransporterMenu, DebugTransporterMenu_AddAllMenuItem, DebugTransporterMenu_AddByKindMenuItem, DebugTransporterMenu_BaseMenuItem,
977        DebugTransporterMenu_DeleteAllMenuItem, DebugTransporterMenu_FillAllMenuItem, DebugTransporterMenu_LowestItemMenuItem,
978        DebugTransporterMenu_TitleItem, IDebugTransporterMenu, IDebugTransporterMenuMethods, IDebugTransporterMenu_AddAllMenuItem,
979        IDebugTransporterMenu_AddAllMenuItemMethods, IDebugTransporterMenu_AddByKindMenuItem, IDebugTransporterMenu_AddByKindMenuItemMethods,
980        IDebugTransporterMenu_BaseMenuItem, IDebugTransporterMenu_BaseMenuItemMethods, IDebugTransporterMenu_DeleteAllMenuItem,
981        IDebugTransporterMenu_DeleteAllMenuItemMethods, IDebugTransporterMenu_FillAllMenuItem, IDebugTransporterMenu_FillAllMenuItemMethods,
982        IDebugTransporterMenu_LowestItemMenuItem, IDebugTransporterMenu_LowestItemMenuItemMethods, IDebugTransporterMenu_TitleItem,
983        IDebugTransporterMenu_TitleItemMethods,
984    };
985    #[cfg(feature = "app-labelitem")]
986    pub use crate::app::labelitem::ILabelItemMethods;
987    #[cfg(feature = "app-menuitem")]
988    pub use crate::app::menuitem::IMenuItemMethods;
989    #[cfg(feature = "app-stringitem")]
990    pub use crate::app::stringitem::IStringItemMethods;
991    #[cfg(feature = "system-object")]
992    pub use crate::system::object::IObjectMethods;
993    pub use crate::{
994        app::{labelitem::ILabelItem, menuitem::IMenuItem, stringitem::IStringItem},
995        system::object::IObject,
996    };
997}