Skip to main content

engage/generated/app/
unitselectringmenu.rs

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