Skip to main content

engage/generated/app/
arenaexpunitselectmenu.rs

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