Skip to main content

engage/generated/app/
arenabondunitselectmenu.rs

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