Skip to main content

engage/generated/app/
refineshopexchangecountmenuitem.rs

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