Skip to main content

engage/generated/app/
challengemapselectmenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-challengemapselectmenu-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        },
18    };
19
20    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/challengemapselectmenu/ChallengeMapSelectMenu.md"))]
21    #[::unity::class(namespace = "App", name = "ChallengeMapSelectMenu")]
22    #[parent(crate::app::basicmenu::BasicMenu)]
23    pub struct ChallengeMapSelectMenu {}
24
25    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/challengemapselectmenu/ChallengeMapSelectMenu_DecideEventHandler.md"))]
26    #[::unity::class(namespace = "App", name = "ChallengeMapSelectMenu.DecideEventHandler")]
27    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
28    pub struct ChallengeMapSelectMenu_DecideEventHandler {}
29
30    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/challengemapselectmenu/ChallengeMapSelectMenu_RequestCloseEventHandler.md"))]
31    #[::unity::class(namespace = "App", name = "ChallengeMapSelectMenu.RequestCloseEventHandler")]
32    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
33    pub struct ChallengeMapSelectMenu_RequestCloseEventHandler {}
34
35    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/challengemapselectmenu/ChallengeMapSelectMenu_SelectEventHandler.md"))]
36    #[::unity::class(namespace = "App", name = "ChallengeMapSelectMenu.SelectEventHandler")]
37    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
38    pub struct ChallengeMapSelectMenu_SelectEventHandler {}
39}
40
41#[cfg(feature = "app-challengemapselectmenu-types")]
42pub use __types::*;
43
44#[cfg(feature = "app-challengemapselectmenu")]
45impl ChallengeMapSelectMenu {
46    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::challengemapselectroot::ChallengeMapSelectRoot, crate::app::basicmenucontent::BasicMenuContent, crate::app::challengedata::ChallengeData, crate::app::challengemapselectmenu::ChallengeMapSelectMenu_SelectEventHandler, crate::app::challengemapselectmenu::ChallengeMapSelectMenu_DecideEventHandler, crate::app::challengemapselectmenu::ChallengeMapSelectMenu_RequestCloseEventHandler)` overload"]
47    pub fn create_bind(
48        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
49        root: impl ::core::convert::Into<crate::app::challengemapselectroot::ChallengeMapSelectRoot>,
50        menu_content: impl ::core::convert::Into<crate::app::basicmenucontent::BasicMenuContent>,
51        default_challenge_data: impl ::core::convert::Into<crate::app::challengedata::ChallengeData>,
52        select_event_handler: impl ::core::convert::Into<crate::app::challengemapselectmenu::ChallengeMapSelectMenu_SelectEventHandler>,
53        decide_event_handler: impl ::core::convert::Into<crate::app::challengemapselectmenu::ChallengeMapSelectMenu_DecideEventHandler>,
54        request_close_event_handler: impl ::core::convert::Into<crate::app::challengemapselectmenu::ChallengeMapSelectMenu_RequestCloseEventHandler>,
55    ) -> crate::app::challengemapselectmenu::ChallengeMapSelectMenu {
56        unsafe {
57            ::unity::il2cpp_call!((::unity::module_base()+0x25c4400usize)as*mut u8,crate::app::challengemapselectmenu::ChallengeMapSelectMenu;
58(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::challengemapselectroot::ChallengeMapSelectRoot)::core::convert::Into::into(root),(crate::app::basicmenucontent::BasicMenuContent)::core::convert::Into::into(menu_content),(crate::app::challengedata::ChallengeData)::core::convert::Into::into(default_challenge_data),(crate::app::challengemapselectmenu::ChallengeMapSelectMenu_SelectEventHandler)::core::convert::Into::into(select_event_handler),(crate::app::challengemapselectmenu::ChallengeMapSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::challengemapselectmenu::ChallengeMapSelectMenu_RequestCloseEventHandler)::core::convert::Into::into(request_close_event_handler))
59        }
60    }
61}
62
63#[cfg(feature = "app-challengemapselectmenu")]
64pub trait IChallengeMapSelectMenuMethods: IChallengeMapSelectMenu {
65    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent)` overload"]
66    fn ctor(
67        self,
68        menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
69        menu_content: impl ::core::convert::Into<crate::app::basicmenucontent::BasicMenuContent>,
70    ) -> () {
71        unsafe {
72            let __receiver =
73                <ChallengeMapSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
74            ::unity::il2cpp_call!((::unity::module_base()+0x25c4e60usize)as*mut u8,();
75(ChallengeMapSelectMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>)::core::convert::Into::into(menu_item_list),(crate::app::basicmenucontent::BasicMenuContent)::core::convert::Into::into(menu_content))
76        }
77    }
78    #[doc = "`GetName()` overload"]
79    fn get_name(self) -> ::unity::Il2CppString {
80        unsafe {
81            let __receiver =
82                <ChallengeMapSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83            {
84                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
85                let __vi = *__vt.get(30usize).unwrap_or_else(|| {
86                    panic!(
87                        "unity: virtual slot {}
88 out of range (vtable len {}
89) on the runtime class behind {}
90 (method `{}
91`)",
92                        30usize,
93                        __vt.len(),
94                        <ChallengeMapSelectMenu as ::unity::ClassIdentity>::NAME,
95                        "GetName",
96                    )
97                });
98                let __inner: extern "C" fn(ChallengeMapSelectMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString =
99                    ::core::mem::transmute(__vi.method_ptr);
100                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
101                __inner(__receiver, __mi)
102            }
103        }
104    }
105    #[doc = "`OnClose()` overload"]
106    fn on_close(self) -> () {
107        unsafe {
108            let __receiver =
109                <ChallengeMapSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110            {
111                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
112                let __vi = *__vt.get(26usize).unwrap_or_else(|| {
113                    panic!(
114                        "unity: virtual slot {}
115 out of range (vtable len {}
116) on the runtime class behind {}
117 (method `{}
118`)",
119                        26usize,
120                        __vt.len(),
121                        <ChallengeMapSelectMenu as ::unity::ClassIdentity>::NAME,
122                        "OnClose",
123                    )
124                });
125                let __inner: extern "C" fn(ChallengeMapSelectMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
126                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
127                __inner(__receiver, __mi)
128            }
129        }
130    }
131    #[doc = "`OnDispose()` overload"]
132    fn on_dispose(self) -> () {
133        unsafe {
134            let __receiver =
135                <ChallengeMapSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            {
137                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
138                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
139                    panic!(
140                        "unity: virtual slot {}
141 out of range (vtable len {}
142) on the runtime class behind {}
143 (method `{}
144`)",
145                        10usize,
146                        __vt.len(),
147                        <ChallengeMapSelectMenu as ::unity::ClassIdentity>::NAME,
148                        "OnDispose",
149                    )
150                });
151                let __inner: extern "C" fn(ChallengeMapSelectMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
152                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
153                __inner(__receiver, __mi)
154            }
155        }
156    }
157}
158
159#[cfg(feature = "app-challengemapselectmenu")]
160impl<__T: IChallengeMapSelectMenu> IChallengeMapSelectMenuMethods for __T {}
161
162#[cfg(feature = "app-challengemapselectmenu")]
163impl ChallengeMapSelectMenu {
164    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
166    }
167
168    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
170    }
171
172    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
174    }
175
176    pub fn on_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
178    }
179
180    pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
181        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
182    }
183}
184
185#[cfg(feature = "app-challengemapselectmenu")]
186impl ChallengeMapSelectMenu {
187    #[doc = "Direct (non-virtual) call to `ChallengeMapSelectMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
188    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
189        let __mi = Self::get_name_method_info();
190        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
191        __inner(this.into(), ::core::option::Option::None)
192    }
193
194    #[doc = "Direct (non-virtual) call to `ChallengeMapSelectMenu`'s own `OnClose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
195    pub unsafe fn on_close(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
196        let __mi = Self::on_close_method_info();
197        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
198        __inner(this.into(), ::core::option::Option::None)
199    }
200
201    #[doc = "Direct (non-virtual) call to `ChallengeMapSelectMenu`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
202    pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
203        let __mi = Self::on_dispose_method_info();
204        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
205        __inner(this.into(), ::core::option::Option::None)
206    }
207}
208
209#[cfg(feature = "app-challengemapselectmenu")]
210impl ChallengeMapSelectMenu {
211    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent)` — overload selector"]
212    pub fn new(
213        menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
214        menu_content: crate::app::basicmenucontent::BasicMenuContent,
215    ) -> Self {
216        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
217            panic!(
218                "{}
219::{}
220 failed to instantiate",
221                ::core::stringify!(ChallengeMapSelectMenu),
222                ::core::stringify!(new),
223            )
224        });
225        <Self as IChallengeMapSelectMenuMethods>::ctor(this, menu_item_list, menu_content);
226        this
227    }
228}
229
230#[cfg(feature = "app-challengemapselectmenu")]
231pub trait IChallengeMapSelectMenu_DecideEventHandlerMethods: IChallengeMapSelectMenu_DecideEventHandler {
232    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
233    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
234        unsafe {
235            let __receiver = <ChallengeMapSelectMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
236                <Self as ::unity::SystemObject>::as_instance(self),
237            );
238            ::unity::il2cpp_call!((::unity::module_base()+0x19bf500usize)as*mut u8,();
239(ChallengeMapSelectMenu_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
240        }
241    }
242    #[doc = "`Invoke(crate::app::challengedata::ChallengeData)` overload"]
243    fn invoke(self, chapter_data: impl ::core::convert::Into<crate::app::challengedata::ChallengeData>) -> () {
244        unsafe {
245            let __receiver = <ChallengeMapSelectMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
246                <Self as ::unity::SystemObject>::as_instance(self),
247            );
248            {
249                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
250                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
251                    panic!(
252                        "unity: virtual slot {}
253 out of range (vtable len {}
254) on the runtime class behind {}
255 (method `{}
256`)",
257                        13usize,
258                        __vt.len(),
259                        <ChallengeMapSelectMenu_DecideEventHandler as ::unity::ClassIdentity>::NAME,
260                        "Invoke",
261                    )
262                });
263                let __inner: extern "C" fn(
264                    ChallengeMapSelectMenu_DecideEventHandler,
265                    crate::app::challengedata::ChallengeData,
266                    ::unity::OptionalMethod,
267                ) -> () = ::core::mem::transmute(__vi.method_ptr);
268                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
269                __inner(__receiver, ::core::convert::Into::into(chapter_data), __mi)
270            }
271        }
272    }
273}
274
275#[cfg(feature = "app-challengemapselectmenu")]
276impl<__T: IChallengeMapSelectMenu_DecideEventHandler> IChallengeMapSelectMenu_DecideEventHandlerMethods for __T {}
277
278#[cfg(feature = "app-challengemapselectmenu")]
279impl ChallengeMapSelectMenu_DecideEventHandler {
280    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
282    }
283
284    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
286    }
287}
288
289#[cfg(feature = "app-challengemapselectmenu")]
290impl ChallengeMapSelectMenu_DecideEventHandler {
291    #[doc = "Direct (non-virtual) call to `ChallengeMapSelectMenu_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
292    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, chapter_data: crate::app::challengedata::ChallengeData) -> () {
293        let __mi = Self::invoke_method_info();
294        let __inner: extern "C" fn(::unity::IlInstance, crate::app::challengedata::ChallengeData, ::unity::OptionalMethod) -> () =
295            ::core::mem::transmute(__mi.method_ptr);
296        __inner(this.into(), chapter_data, ::core::option::Option::None)
297    }
298}
299
300#[cfg(feature = "app-challengemapselectmenu")]
301impl ChallengeMapSelectMenu_DecideEventHandler {
302    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
303    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
304        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
305            panic!(
306                "{}
307::{}
308 failed to instantiate",
309                ::core::stringify!(ChallengeMapSelectMenu_DecideEventHandler),
310                ::core::stringify!(new),
311            )
312        });
313        <Self as IChallengeMapSelectMenu_DecideEventHandlerMethods>::ctor(this, object, method);
314        this
315    }
316}
317
318#[cfg(feature = "app-challengemapselectmenu")]
319pub trait IChallengeMapSelectMenu_RequestCloseEventHandlerMethods: IChallengeMapSelectMenu_RequestCloseEventHandler {
320    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
321    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
322        unsafe {
323            let __receiver = <ChallengeMapSelectMenu_RequestCloseEventHandler as ::unity::FromIlInstance>::from_il_instance(
324                <Self as ::unity::SystemObject>::as_instance(self),
325            );
326            ::unity::il2cpp_call!((::unity::module_base()+0x19bf8c0usize)as*mut u8,();
327(ChallengeMapSelectMenu_RequestCloseEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
328        }
329    }
330    #[doc = "`Invoke()` overload"]
331    fn invoke(self) -> () {
332        unsafe {
333            let __receiver = <ChallengeMapSelectMenu_RequestCloseEventHandler as ::unity::FromIlInstance>::from_il_instance(
334                <Self as ::unity::SystemObject>::as_instance(self),
335            );
336            {
337                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
338                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
339                    panic!(
340                        "unity: virtual slot {}
341 out of range (vtable len {}
342) on the runtime class behind {}
343 (method `{}
344`)",
345                        13usize,
346                        __vt.len(),
347                        <ChallengeMapSelectMenu_RequestCloseEventHandler as ::unity::ClassIdentity>::NAME,
348                        "Invoke",
349                    )
350                });
351                let __inner: extern "C" fn(ChallengeMapSelectMenu_RequestCloseEventHandler, ::unity::OptionalMethod) -> () =
352                    ::core::mem::transmute(__vi.method_ptr);
353                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
354                __inner(__receiver, __mi)
355            }
356        }
357    }
358}
359
360#[cfg(feature = "app-challengemapselectmenu")]
361impl<__T: IChallengeMapSelectMenu_RequestCloseEventHandler> IChallengeMapSelectMenu_RequestCloseEventHandlerMethods for __T {}
362
363#[cfg(feature = "app-challengemapselectmenu")]
364impl ChallengeMapSelectMenu_RequestCloseEventHandler {
365    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
367    }
368
369    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
371    }
372}
373
374#[cfg(feature = "app-challengemapselectmenu")]
375impl ChallengeMapSelectMenu_RequestCloseEventHandler {
376    #[doc = "Direct (non-virtual) call to `ChallengeMapSelectMenu_RequestCloseEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
377    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
378        let __mi = Self::invoke_method_info();
379        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
380        __inner(this.into(), ::core::option::Option::None)
381    }
382}
383
384#[cfg(feature = "app-challengemapselectmenu")]
385impl ChallengeMapSelectMenu_RequestCloseEventHandler {
386    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
387    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
388        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
389            panic!(
390                "{}
391::{}
392 failed to instantiate",
393                ::core::stringify!(ChallengeMapSelectMenu_RequestCloseEventHandler),
394                ::core::stringify!(new),
395            )
396        });
397        <Self as IChallengeMapSelectMenu_RequestCloseEventHandlerMethods>::ctor(this, object, method);
398        this
399    }
400}
401
402#[cfg(feature = "app-challengemapselectmenu")]
403pub trait IChallengeMapSelectMenu_SelectEventHandlerMethods: IChallengeMapSelectMenu_SelectEventHandler {
404    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
405    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
406        unsafe {
407            let __receiver = <ChallengeMapSelectMenu_SelectEventHandler as ::unity::FromIlInstance>::from_il_instance(
408                <Self as ::unity::SystemObject>::as_instance(self),
409            );
410            ::unity::il2cpp_call!((::unity::module_base()+0x19bfb30usize)as*mut u8,();
411(ChallengeMapSelectMenu_SelectEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
412        }
413    }
414    #[doc = "`Invoke(crate::app::challengedata::ChallengeData)` overload"]
415    fn invoke(self, chapter_data: impl ::core::convert::Into<crate::app::challengedata::ChallengeData>) -> () {
416        unsafe {
417            let __receiver = <ChallengeMapSelectMenu_SelectEventHandler as ::unity::FromIlInstance>::from_il_instance(
418                <Self as ::unity::SystemObject>::as_instance(self),
419            );
420            {
421                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
422                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
423                    panic!(
424                        "unity: virtual slot {}
425 out of range (vtable len {}
426) on the runtime class behind {}
427 (method `{}
428`)",
429                        13usize,
430                        __vt.len(),
431                        <ChallengeMapSelectMenu_SelectEventHandler as ::unity::ClassIdentity>::NAME,
432                        "Invoke",
433                    )
434                });
435                let __inner: extern "C" fn(
436                    ChallengeMapSelectMenu_SelectEventHandler,
437                    crate::app::challengedata::ChallengeData,
438                    ::unity::OptionalMethod,
439                ) -> () = ::core::mem::transmute(__vi.method_ptr);
440                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
441                __inner(__receiver, ::core::convert::Into::into(chapter_data), __mi)
442            }
443        }
444    }
445}
446
447#[cfg(feature = "app-challengemapselectmenu")]
448impl<__T: IChallengeMapSelectMenu_SelectEventHandler> IChallengeMapSelectMenu_SelectEventHandlerMethods for __T {}
449
450#[cfg(feature = "app-challengemapselectmenu")]
451impl ChallengeMapSelectMenu_SelectEventHandler {
452    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
453        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
454    }
455
456    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
457        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
458    }
459}
460
461#[cfg(feature = "app-challengemapselectmenu")]
462impl ChallengeMapSelectMenu_SelectEventHandler {
463    #[doc = "Direct (non-virtual) call to `ChallengeMapSelectMenu_SelectEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
464    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, chapter_data: crate::app::challengedata::ChallengeData) -> () {
465        let __mi = Self::invoke_method_info();
466        let __inner: extern "C" fn(::unity::IlInstance, crate::app::challengedata::ChallengeData, ::unity::OptionalMethod) -> () =
467            ::core::mem::transmute(__mi.method_ptr);
468        __inner(this.into(), chapter_data, ::core::option::Option::None)
469    }
470}
471
472#[cfg(feature = "app-challengemapselectmenu")]
473impl ChallengeMapSelectMenu_SelectEventHandler {
474    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
475    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
476        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
477            panic!(
478                "{}
479::{}
480 failed to instantiate",
481                ::core::stringify!(ChallengeMapSelectMenu_SelectEventHandler),
482                ::core::stringify!(new),
483            )
484        });
485        <Self as IChallengeMapSelectMenu_SelectEventHandlerMethods>::ctor(this, object, method);
486        this
487    }
488}
489
490#[cfg(feature = "app-challengemapselectmenu")]
491#[doc(hidden)]
492pub mod prelude {
493    pub use super::{
494        ChallengeMapSelectMenu, ChallengeMapSelectMenu_DecideEventHandler, ChallengeMapSelectMenu_RequestCloseEventHandler,
495        ChallengeMapSelectMenu_SelectEventHandler, IChallengeMapSelectMenu, IChallengeMapSelectMenuMethods,
496        IChallengeMapSelectMenu_DecideEventHandler, IChallengeMapSelectMenu_DecideEventHandlerMethods,
497        IChallengeMapSelectMenu_RequestCloseEventHandler, IChallengeMapSelectMenu_RequestCloseEventHandlerMethods,
498        IChallengeMapSelectMenu_SelectEventHandler, IChallengeMapSelectMenu_SelectEventHandlerMethods,
499    };
500    #[cfg(feature = "app-basicmenu")]
501    pub use crate::app::basicmenu::IBasicMenuMethods;
502    #[cfg(feature = "app-procinst")]
503    pub use crate::app::procinst::IProcInstMethods;
504    #[cfg(feature = "system-delegate")]
505    pub use crate::system::delegate::IDelegateMethods;
506    #[cfg(feature = "system-multicastdelegate")]
507    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
508    #[cfg(feature = "system-object")]
509    pub use crate::system::object::IObjectMethods;
510    pub use crate::{
511        app::{basicmenu::IBasicMenu, procinst::IProcInst},
512        system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject},
513    };
514}