Skip to main content

engage/generated/app/
itemshopbuymenu.rs

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