Skip to main content

engage/generated/root/
tutoriallistselectmenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-tutoriallistselectmenu-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::{
14            delegate::{Delegate, IDelegate},
15            multicastdelegate::{IMulticastDelegate, MulticastDelegate},
16            object::{IObject, Object},
17            r#enum::{Enum, IEnum},
18            valuetype::{IValueType, ValueType},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/tutoriallistselectmenu/TutorialListSelectMenu_Page.md"))]
23    #[repr(C)]
24    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
25    pub struct TutorialListSelectMenu_Page {
26        pub value: i32,
27    }
28    impl ::unity::ClassIdentity for TutorialListSelectMenu_Page {
29        const NAME: &'static str = "TutorialListSelectMenu.Page";
30        const NAMESPACE: &'static str = "";
31
32        fn class() -> ::unity::Class {
33            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
34            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
35        }
36    }
37    impl ::unity::IlType for TutorialListSelectMenu_Page {
38        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
39            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
40        }
41    }
42    impl TutorialListSelectMenu_Page {
43        pub fn rewind() -> Self {
44            Self { value: -1 }
45        }
46
47        pub fn forward() -> Self {
48            Self { value: 1 }
49        }
50    }
51
52    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/tutoriallistselectmenu/TutorialListSelectMenu.md"))]
53    #[::unity::class(namespace = "", name = "TutorialListSelectMenu")]
54    #[parent(crate::app::basicmenu::BasicMenu)]
55    pub struct TutorialListSelectMenu {
56        #[offset(200)]
57        #[rename(name = "m_DecideEventHandler")]
58        pub m_decide_event_handler: crate::root::tutoriallistselectmenu::TutorialListSelectMenu_DecideEventHandler,
59        #[offset(208)]
60        #[rename(name = "m_CategoryList")]
61        pub m_category_list:
62            crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>,
63        #[offset(216)]
64        #[rename(name = "m_SelectCategory")]
65        pub m_select_category: crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType,
66        #[offset(224)]
67        #[rename(name = "m_Root")]
68        pub m_root: crate::root::tutoriallistroot::TutorialListRoot,
69        #[offset(232)]
70        #[rename(name = "m_MenuSelectList")]
71        pub m_menu_select_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuselect::BasicMenuSelect>,
72        #[offset(240)]
73        #[rename(name = "m_CategoryIndex")]
74        pub m_category_index: i32,
75        #[offset(244)]
76        #[rename(name = "m_IsGetAllTutorial")]
77        pub m_is_get_all_tutorial: bool,
78    }
79
80    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/tutoriallistselectmenu/TutorialListSelectMenu_DecideEventHandler.md"))]
81    #[::unity::class(namespace = "", name = "TutorialListSelectMenu.DecideEventHandler")]
82    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
83    pub struct TutorialListSelectMenu_DecideEventHandler {}
84}
85
86#[cfg(feature = "root-tutoriallistselectmenu-types")]
87pub use __types::*;
88
89#[cfg(feature = "root-tutoriallistselectmenu")]
90impl TutorialListSelectMenu {
91    #[doc = "`CreateBind(crate::app::procinst::ProcInst, *mutcrate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>, crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType, bool, crate::root::tutoriallistselectmenu::TutorialListSelectMenu_DecideEventHandler)` overload"]
92    pub fn create_bind(
93        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
94        select_category: impl ::core::convert::Into<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>,
95        is_get_all_tutorial: impl ::core::convert::Into<bool>,
96        decide_event_handler: impl ::core::convert::Into<crate::root::tutoriallistselectmenu::TutorialListSelectMenu_DecideEventHandler>,
97    ) -> (
98        crate::unity_engine::gameobject::GameObject,
99        crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>,
100    ) {
101        unsafe {
102            let mut __out_0 = ::core::mem::MaybeUninit::<
103                crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>,
104            >::uninit();
105            let __ret = {
106                ::unity::il2cpp_call!((::unity::module_base()+0x22b0300usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
107(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(*mut crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>)__out_0.as_mut_ptr(),(crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType)::core::convert::Into::into(select_category),(bool)::core::convert::Into::into(is_get_all_tutorial),(crate::root::tutoriallistselectmenu::TutorialListSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
108            };
109            (__ret, __out_0.assume_init())
110        }
111    }
112}
113
114#[cfg(feature = "root-tutoriallistselectmenu")]
115pub trait ITutorialListSelectMenuMethods: ITutorialListSelectMenu {
116    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::root::tutoriallistselectmenucontent::TutorialListSelectMenuContent, crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>, crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType, bool, crate::root::tutoriallistroot::TutorialListRoot, crate::root::tutoriallistselectmenu::TutorialListSelectMenu_DecideEventHandler)` overload"]
117    fn ctor(
118        self,
119        menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
120        menu_content: impl ::core::convert::Into<crate::root::tutoriallistselectmenucontent::TutorialListSelectMenuContent>,
121        categoryl_list: impl ::core::convert::Into<
122            crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>,
123        >,
124        select_category: impl ::core::convert::Into<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>,
125        is_get_all_tutorial: impl ::core::convert::Into<bool>,
126        root: impl ::core::convert::Into<crate::root::tutoriallistroot::TutorialListRoot>,
127        decide_event_handler: impl ::core::convert::Into<crate::root::tutoriallistselectmenu::TutorialListSelectMenu_DecideEventHandler>,
128    ) -> () {
129        unsafe {
130            let __receiver =
131                <TutorialListSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
132            ::unity::il2cpp_call!((::unity::module_base()+0x22af370usize)as*mut u8,();
133(TutorialListSelectMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>)::core::convert::Into::into(menu_item_list),(crate::root::tutoriallistselectmenucontent::TutorialListSelectMenuContent)::core::convert::Into::into(menu_content),(crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>)::core::convert::Into::into(categoryl_list),(crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType)::core::convert::Into::into(select_category),(bool)::core::convert::Into::into(is_get_all_tutorial),(crate::root::tutoriallistroot::TutorialListRoot)::core::convert::Into::into(root),(crate::root::tutoriallistselectmenu::TutorialListSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
134        }
135    }
136    #[doc = "`GetName()` overload"]
137    fn get_name(self) -> ::unity::Il2CppString {
138        unsafe {
139            let __receiver =
140                <TutorialListSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141            {
142                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
143                let __vi = *__vt.get(30usize).unwrap_or_else(|| {
144                    panic!(
145                        "unity: virtual slot {}
146 out of range (vtable len {}
147) on the runtime class behind {}
148 (method `{}
149`)",
150                        30usize,
151                        __vt.len(),
152                        <TutorialListSelectMenu as ::unity::ClassIdentity>::NAME,
153                        "GetName",
154                    )
155                });
156                let __inner: extern "C" fn(TutorialListSelectMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString =
157                    ::core::mem::transmute(__vi.method_ptr);
158                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
159                __inner(__receiver, __mi)
160            }
161        }
162    }
163    #[doc = "`BCall()` overload"]
164    fn b_call(self) -> crate::app::basicmenu::BasicMenu_Result {
165        unsafe {
166            let __receiver =
167                <TutorialListSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
168            {
169                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
170                let __vi = *__vt.get(51usize).unwrap_or_else(|| {
171                    panic!(
172                        "unity: virtual slot {}
173 out of range (vtable len {}
174) on the runtime class behind {}
175 (method `{}
176`)",
177                        51usize,
178                        __vt.len(),
179                        <TutorialListSelectMenu as ::unity::ClassIdentity>::NAME,
180                        "BCall",
181                    )
182                });
183                let __inner: extern "C" fn(TutorialListSelectMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
184                    ::core::mem::transmute(__vi.method_ptr);
185                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
186                __inner(__receiver, __mi)
187            }
188        }
189    }
190    #[doc = "`CustomCall()` overload"]
191    fn custom_call(self) -> crate::app::basicmenu::BasicMenu_Result {
192        unsafe {
193            let __receiver =
194                <TutorialListSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195            {
196                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
197                let __vi = *__vt.get(58usize).unwrap_or_else(|| {
198                    panic!(
199                        "unity: virtual slot {}
200 out of range (vtable len {}
201) on the runtime class behind {}
202 (method `{}
203`)",
204                        58usize,
205                        __vt.len(),
206                        <TutorialListSelectMenu as ::unity::ClassIdentity>::NAME,
207                        "CustomCall",
208                    )
209                });
210                let __inner: extern "C" fn(TutorialListSelectMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
211                    ::core::mem::transmute(__vi.method_ptr);
212                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
213                __inner(__receiver, __mi)
214            }
215        }
216    }
217    #[doc = "`SwitchTutorialCategory(i32)` overload"]
218    fn switch_tutorial_category(self, value: impl ::core::convert::Into<i32>) -> () {
219        unsafe {
220            let __receiver =
221                <TutorialListSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222            ::unity::il2cpp_call!((::unity::module_base()+0x22afc60usize)as*mut u8,();
223(TutorialListSelectMenu)__receiver,(i32)::core::convert::Into::into(value))
224        }
225    }
226    #[doc = "`RebuildMenuItem()` overload"]
227    fn rebuild_menu_item(self) -> () {
228        unsafe {
229            let __receiver =
230                <TutorialListSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
231            ::unity::il2cpp_call!((::unity::module_base()+0x22afdf0usize)as*mut u8,();
232(TutorialListSelectMenu)__receiver)
233        }
234    }
235}
236
237#[cfg(feature = "root-tutoriallistselectmenu")]
238impl<__T: ITutorialListSelectMenu> ITutorialListSelectMenuMethods for __T {}
239
240#[cfg(feature = "root-tutoriallistselectmenu")]
241impl TutorialListSelectMenu {
242    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
243        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
244    }
245
246    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
247        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
248    }
249
250    pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
251        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
252    }
253
254    pub fn custom_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
255        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
256    }
257
258    pub fn switch_tutorial_category_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
260    }
261
262    pub fn rebuild_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
263        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
264    }
265
266    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
267        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
268    }
269}
270
271#[cfg(feature = "root-tutoriallistselectmenu")]
272impl TutorialListSelectMenu {
273    #[doc = "Direct (non-virtual) call to `TutorialListSelectMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
274    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
275        let __mi = Self::get_name_method_info();
276        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
277        __inner(this.into(), ::core::option::Option::None)
278    }
279
280    #[doc = "Direct (non-virtual) call to `TutorialListSelectMenu`'s own `BCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
281    pub unsafe fn b_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
282        let __mi = Self::b_call_method_info();
283        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
284            ::core::mem::transmute(__mi.method_ptr);
285        __inner(this.into(), ::core::option::Option::None)
286    }
287
288    #[doc = "Direct (non-virtual) call to `TutorialListSelectMenu`'s own `CustomCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
289    pub unsafe fn custom_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
290        let __mi = Self::custom_call_method_info();
291        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
292            ::core::mem::transmute(__mi.method_ptr);
293        __inner(this.into(), ::core::option::Option::None)
294    }
295}
296
297#[cfg(feature = "root-tutoriallistselectmenu")]
298impl TutorialListSelectMenu {
299    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::root::tutoriallistselectmenucontent::TutorialListSelectMenuContent, crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>, crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType, bool, crate::root::tutoriallistroot::TutorialListRoot, crate::root::tutoriallistselectmenu::TutorialListSelectMenu_DecideEventHandler)` — overload selector"]
300    pub fn new(
301        menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
302        menu_content: crate::root::tutoriallistselectmenucontent::TutorialListSelectMenuContent,
303        categoryl_list: crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>,
304        select_category: crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType,
305        is_get_all_tutorial: bool,
306        root: crate::root::tutoriallistroot::TutorialListRoot,
307        decide_event_handler: crate::root::tutoriallistselectmenu::TutorialListSelectMenu_DecideEventHandler,
308    ) -> Self {
309        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
310            panic!(
311                "{}
312::{}
313 failed to instantiate",
314                ::core::stringify!(TutorialListSelectMenu),
315                ::core::stringify!(new),
316            )
317        });
318        <Self as ITutorialListSelectMenuMethods>::ctor(
319            this,
320            menu_item_list,
321            menu_content,
322            categoryl_list,
323            select_category,
324            is_get_all_tutorial,
325            root,
326            decide_event_handler,
327        );
328        this
329    }
330}
331
332#[cfg(feature = "root-tutoriallistselectmenu")]
333pub trait ITutorialListSelectMenu_DecideEventHandlerMethods: ITutorialListSelectMenu_DecideEventHandler {
334    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
335    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
336        unsafe {
337            let __receiver = <TutorialListSelectMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
338                <Self as ::unity::SystemObject>::as_instance(self),
339            );
340            ::unity::il2cpp_call!((::unity::module_base()+0x1b41da0usize)as*mut u8,();
341(TutorialListSelectMenu_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
342        }
343    }
344    #[doc = "`Invoke(crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType)` overload"]
345    fn invoke(self, result: impl ::core::convert::Into<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>) -> () {
346        unsafe {
347            let __receiver = <TutorialListSelectMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
348                <Self as ::unity::SystemObject>::as_instance(self),
349            );
350            {
351                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
352                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
353                    panic!(
354                        "unity: virtual slot {}
355 out of range (vtable len {}
356) on the runtime class behind {}
357 (method `{}
358`)",
359                        13usize,
360                        __vt.len(),
361                        <TutorialListSelectMenu_DecideEventHandler as ::unity::ClassIdentity>::NAME,
362                        "Invoke",
363                    )
364                });
365                let __inner: extern "C" fn(
366                    TutorialListSelectMenu_DecideEventHandler,
367                    crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType,
368                    ::unity::OptionalMethod,
369                ) -> () = ::core::mem::transmute(__vi.method_ptr);
370                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
371                __inner(__receiver, ::core::convert::Into::into(result), __mi)
372            }
373        }
374    }
375}
376
377#[cfg(feature = "root-tutoriallistselectmenu")]
378impl<__T: ITutorialListSelectMenu_DecideEventHandler> ITutorialListSelectMenu_DecideEventHandlerMethods for __T {}
379
380#[cfg(feature = "root-tutoriallistselectmenu")]
381impl TutorialListSelectMenu_DecideEventHandler {
382    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
383        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
384    }
385
386    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
387        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
388    }
389}
390
391#[cfg(feature = "root-tutoriallistselectmenu")]
392impl TutorialListSelectMenu_DecideEventHandler {
393    #[doc = "Direct (non-virtual) call to `TutorialListSelectMenu_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
394    pub unsafe fn invoke(
395        this: impl ::core::convert::Into<::unity::IlInstance>,
396        result: crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType,
397    ) -> () {
398        let __mi = Self::invoke_method_info();
399        let __inner: extern "C" fn(
400            ::unity::IlInstance,
401            crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType,
402            ::unity::OptionalMethod,
403        ) -> () = ::core::mem::transmute(__mi.method_ptr);
404        __inner(this.into(), result, ::core::option::Option::None)
405    }
406}
407
408#[cfg(feature = "root-tutoriallistselectmenu")]
409impl TutorialListSelectMenu_DecideEventHandler {
410    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
411    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
412        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
413            panic!(
414                "{}
415::{}
416 failed to instantiate",
417                ::core::stringify!(TutorialListSelectMenu_DecideEventHandler),
418                ::core::stringify!(new),
419            )
420        });
421        <Self as ITutorialListSelectMenu_DecideEventHandlerMethods>::ctor(this, object, method);
422        this
423    }
424}
425
426#[cfg(feature = "root-tutoriallistselectmenu")]
427#[doc(hidden)]
428pub mod prelude {
429    pub use super::{
430        ITutorialListSelectMenu, ITutorialListSelectMenuMethods, ITutorialListSelectMenu_DecideEventHandler,
431        ITutorialListSelectMenu_DecideEventHandlerMethods, TutorialListSelectMenu, TutorialListSelectMenu_DecideEventHandler,
432        TutorialListSelectMenu_Page,
433    };
434    #[cfg(feature = "app-basicmenu")]
435    pub use crate::app::basicmenu::IBasicMenuMethods;
436    #[cfg(feature = "app-procinst")]
437    pub use crate::app::procinst::IProcInstMethods;
438    #[cfg(feature = "system-delegate")]
439    pub use crate::system::delegate::IDelegateMethods;
440    #[cfg(feature = "system-multicastdelegate")]
441    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
442    #[cfg(feature = "system-object")]
443    pub use crate::system::object::IObjectMethods;
444    #[cfg(feature = "system-enum")]
445    pub use crate::system::r#enum::IEnumMethods;
446    #[cfg(feature = "system-valuetype")]
447    pub use crate::system::valuetype::IValueTypeMethods;
448    pub use crate::{
449        app::{basicmenu::IBasicMenu, procinst::IProcInst},
450        system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
451    };
452}