Skip to main content

engage/generated/app/
shopsellmenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-shopsellmenu-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            r#enum::{Enum, IEnum},
18            valuetype::{IValueType, ValueType},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu_ChangeUnitToNextEventHandler.md"))]
23    #[::unity::class(namespace = "App", name = "ShopSellMenu.ChangeUnitToNextEventHandler")]
24    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
25    pub struct ShopSellMenu_ChangeUnitToNextEventHandler {}
26
27    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu_SwitchDetailDisplaywayEventHandler.md"))]
28    #[::unity::class(namespace = "App", name = "ShopSellMenu.SwitchDetailDisplaywayEventHandler")]
29    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
30    pub struct ShopSellMenu_SwitchDetailDisplaywayEventHandler {}
31
32    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu_CancelItemEventHandler.md"))]
33    #[::unity::class(namespace = "App", name = "ShopSellMenu.CancelItemEventHandler")]
34    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
35    pub struct ShopSellMenu_CancelItemEventHandler {}
36
37    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu_DecideItemEventHandler.md"))]
38    #[::unity::class(namespace = "App", name = "ShopSellMenu.DecideItemEventHandler")]
39    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
40    pub struct ShopSellMenu_DecideItemEventHandler {}
41
42    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu.md"))]
43    #[::unity::class(namespace = "App", name = "ShopSellMenu")]
44    #[parent(crate::app::basicmenu::BasicMenu)]
45    pub struct ShopSellMenu {
46        #[offset(196)]
47        #[rename(name = "m_Kind")]
48        pub m_kind: crate::app::itemdata::ItemData_Kinds,
49        #[offset(200)]
50        #[rename(name = "m_Selects")]
51        pub m_selects: ::unity::Array<crate::app::basicmenuselect::BasicMenuSelect>,
52        #[offset(208)]
53        #[rename(name = "m_DecidedItemFlag")]
54        pub m_decided_item_flag: ::unity::Array<bool>,
55        #[offset(216)]
56        #[rename(name = "m_DecidedItemList")]
57        pub m_decided_item_list: crate::system::collections::generic::list_1::List_1<crate::app::unititem::UnitItem>,
58        #[offset(224)]
59        #[rename(name = "m_TotalValue")]
60        pub m_total_value: i32,
61        #[offset(232)]
62        #[rename(name = "m_Unit")]
63        pub m_unit: crate::app::unit::Unit,
64        #[offset(240)]
65        #[rename(name = "m_SelectEventHandler")]
66        pub m_select_event_handler: crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler,
67        #[offset(248)]
68        #[rename(name = "m_DecideItemEventHandler")]
69        pub m_decide_item_event_handler: crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler,
70        #[offset(256)]
71        #[rename(name = "m_CancelItemEventHandler")]
72        pub m_cancel_item_event_handler: crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler,
73        #[offset(264)]
74        #[rename(name = "m_DecideEventHandler")]
75        pub m_decide_event_handler: crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler,
76        #[offset(272)]
77        #[rename(name = "m_RequestCloseEventHandler")]
78        pub m_request_close_event_handler: crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler,
79        #[offset(280)]
80        #[rename(name = "m_ChangeUnitToPrevEventHandler")]
81        pub m_change_unit_to_prev_event_handler: crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler,
82        #[offset(288)]
83        #[rename(name = "m_ChangeUnitToNextEventHandler")]
84        pub m_change_unit_to_next_event_handler: crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler,
85        #[offset(296)]
86        #[rename(name = "m_SwitchDetailDisplaywayEventHandler")]
87        pub m_switch_detail_displayway_event_handler: crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler,
88    }
89
90    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu_ChangeUnitToPrevEventHandler.md"))]
91    #[::unity::class(namespace = "App", name = "ShopSellMenu.ChangeUnitToPrevEventHandler")]
92    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
93    pub struct ShopSellMenu_ChangeUnitToPrevEventHandler {}
94
95    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu_RequestCloseEventHandler.md"))]
96    #[::unity::class(namespace = "App", name = "ShopSellMenu.RequestCloseEventHandler")]
97    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
98    pub struct ShopSellMenu_RequestCloseEventHandler {}
99
100    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu_KindIndicator.md"))]
101    #[repr(C)]
102    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
103    pub struct ShopSellMenu_KindIndicator {
104        pub value: i32,
105    }
106    impl ::unity::ClassIdentity for ShopSellMenu_KindIndicator {
107        const NAME: &'static str = "ShopSellMenu.KindIndicator";
108        const NAMESPACE: &'static str = "App";
109
110        fn class() -> ::unity::Class {
111            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
112            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
113        }
114    }
115    impl ::unity::IlType for ShopSellMenu_KindIndicator {
116        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
117            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
118        }
119    }
120    impl ShopSellMenu_KindIndicator {
121        pub fn none() -> Self {
122            Self { value: 0 }
123        }
124
125        pub fn first() -> Self {
126            Self { value: 1 }
127        }
128
129        pub fn last() -> Self {
130            Self { value: 2 }
131        }
132    }
133
134    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu_SelectEventHandler.md"))]
135    #[::unity::class(namespace = "App", name = "ShopSellMenu.SelectEventHandler")]
136    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
137    pub struct ShopSellMenu_SelectEventHandler {}
138
139    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/shopsellmenu/ShopSellMenu_DecideEventHandler.md"))]
140    #[::unity::class(namespace = "App", name = "ShopSellMenu.DecideEventHandler")]
141    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
142    pub struct ShopSellMenu_DecideEventHandler {}
143}
144
145#[cfg(feature = "app-shopsellmenu-types")]
146pub use __types::*;
147
148#[cfg(feature = "app-shopsellmenu")]
149pub trait IShopSellMenu_ChangeUnitToNextEventHandlerMethods: IShopSellMenu_ChangeUnitToNextEventHandler {
150    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
151    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
152        unsafe {
153            let __receiver = <ShopSellMenu_ChangeUnitToNextEventHandler as ::unity::FromIlInstance>::from_il_instance(
154                <Self as ::unity::SystemObject>::as_instance(self),
155            );
156            ::unity::il2cpp_call!((::unity::module_base()+0x1d6abc0usize)as*mut u8,();
157(ShopSellMenu_ChangeUnitToNextEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
158        }
159    }
160    #[doc = "`Invoke()` overload"]
161    fn invoke(self) -> () {
162        unsafe {
163            let __receiver = <ShopSellMenu_ChangeUnitToNextEventHandler as ::unity::FromIlInstance>::from_il_instance(
164                <Self as ::unity::SystemObject>::as_instance(self),
165            );
166            {
167                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
168                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
169                    panic!(
170                        "unity: virtual slot {}
171 out of range (vtable len {}
172) on the runtime class behind {}
173 (method `{}
174`)",
175                        13usize,
176                        __vt.len(),
177                        <ShopSellMenu_ChangeUnitToNextEventHandler as ::unity::ClassIdentity>::NAME,
178                        "Invoke",
179                    )
180                });
181                let __inner: extern "C" fn(ShopSellMenu_ChangeUnitToNextEventHandler, ::unity::OptionalMethod) -> () =
182                    ::core::mem::transmute(__vi.method_ptr);
183                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
184                __inner(__receiver, __mi)
185            }
186        }
187    }
188}
189
190#[cfg(feature = "app-shopsellmenu")]
191impl<__T: IShopSellMenu_ChangeUnitToNextEventHandler> IShopSellMenu_ChangeUnitToNextEventHandlerMethods for __T {}
192
193#[cfg(feature = "app-shopsellmenu")]
194impl ShopSellMenu_ChangeUnitToNextEventHandler {
195    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
196        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
197    }
198
199    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
200        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
201    }
202}
203
204#[cfg(feature = "app-shopsellmenu")]
205impl ShopSellMenu_ChangeUnitToNextEventHandler {
206    #[doc = "Direct (non-virtual) call to `ShopSellMenu_ChangeUnitToNextEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
207    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
208        let __mi = Self::invoke_method_info();
209        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
210        __inner(this.into(), ::core::option::Option::None)
211    }
212}
213
214#[cfg(feature = "app-shopsellmenu")]
215impl ShopSellMenu_ChangeUnitToNextEventHandler {
216    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
217    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
218        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
219            panic!(
220                "{}
221::{}
222 failed to instantiate",
223                ::core::stringify!(ShopSellMenu_ChangeUnitToNextEventHandler),
224                ::core::stringify!(new),
225            )
226        });
227        <Self as IShopSellMenu_ChangeUnitToNextEventHandlerMethods>::ctor(this, object, method);
228        this
229    }
230}
231
232#[cfg(feature = "app-shopsellmenu")]
233pub trait IShopSellMenu_SwitchDetailDisplaywayEventHandlerMethods: IShopSellMenu_SwitchDetailDisplaywayEventHandler {
234    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
235    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
236        unsafe {
237            let __receiver = <ShopSellMenu_SwitchDetailDisplaywayEventHandler as ::unity::FromIlInstance>::from_il_instance(
238                <Self as ::unity::SystemObject>::as_instance(self),
239            );
240            ::unity::il2cpp_call!((::unity::module_base()+0x1d6bc50usize)as*mut u8,();
241(ShopSellMenu_SwitchDetailDisplaywayEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
242        }
243    }
244    #[doc = "`Invoke()` overload"]
245    fn invoke(self) -> () {
246        unsafe {
247            let __receiver = <ShopSellMenu_SwitchDetailDisplaywayEventHandler as ::unity::FromIlInstance>::from_il_instance(
248                <Self as ::unity::SystemObject>::as_instance(self),
249            );
250            {
251                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
252                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
253                    panic!(
254                        "unity: virtual slot {}
255 out of range (vtable len {}
256) on the runtime class behind {}
257 (method `{}
258`)",
259                        13usize,
260                        __vt.len(),
261                        <ShopSellMenu_SwitchDetailDisplaywayEventHandler as ::unity::ClassIdentity>::NAME,
262                        "Invoke",
263                    )
264                });
265                let __inner: extern "C" fn(ShopSellMenu_SwitchDetailDisplaywayEventHandler, ::unity::OptionalMethod) -> () =
266                    ::core::mem::transmute(__vi.method_ptr);
267                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
268                __inner(__receiver, __mi)
269            }
270        }
271    }
272}
273
274#[cfg(feature = "app-shopsellmenu")]
275impl<__T: IShopSellMenu_SwitchDetailDisplaywayEventHandler> IShopSellMenu_SwitchDetailDisplaywayEventHandlerMethods for __T {}
276
277#[cfg(feature = "app-shopsellmenu")]
278impl ShopSellMenu_SwitchDetailDisplaywayEventHandler {
279    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
281    }
282
283    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
285    }
286}
287
288#[cfg(feature = "app-shopsellmenu")]
289impl ShopSellMenu_SwitchDetailDisplaywayEventHandler {
290    #[doc = "Direct (non-virtual) call to `ShopSellMenu_SwitchDetailDisplaywayEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
291    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
292        let __mi = Self::invoke_method_info();
293        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
294        __inner(this.into(), ::core::option::Option::None)
295    }
296}
297
298#[cfg(feature = "app-shopsellmenu")]
299impl ShopSellMenu_SwitchDetailDisplaywayEventHandler {
300    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
301    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
302        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
303            panic!(
304                "{}
305::{}
306 failed to instantiate",
307                ::core::stringify!(ShopSellMenu_SwitchDetailDisplaywayEventHandler),
308                ::core::stringify!(new),
309            )
310        });
311        <Self as IShopSellMenu_SwitchDetailDisplaywayEventHandlerMethods>::ctor(this, object, method);
312        this
313    }
314}
315
316#[cfg(feature = "app-shopsellmenu")]
317pub trait IShopSellMenu_CancelItemEventHandlerMethods: IShopSellMenu_CancelItemEventHandler {
318    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
319    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
320        unsafe {
321            let __receiver = <ShopSellMenu_CancelItemEventHandler as ::unity::FromIlInstance>::from_il_instance(
322                <Self as ::unity::SystemObject>::as_instance(self),
323            );
324            ::unity::il2cpp_call!((::unity::module_base()+0x1d6a8b0usize)as*mut u8,();
325(ShopSellMenu_CancelItemEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
326        }
327    }
328    #[doc = "`Invoke(i32, i32)` overload"]
329    fn invoke(self, item_count: impl ::core::convert::Into<i32>, total_value: impl ::core::convert::Into<i32>) -> () {
330        unsafe {
331            let __receiver = <ShopSellMenu_CancelItemEventHandler as ::unity::FromIlInstance>::from_il_instance(
332                <Self as ::unity::SystemObject>::as_instance(self),
333            );
334            {
335                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
336                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
337                    panic!(
338                        "unity: virtual slot {}
339 out of range (vtable len {}
340) on the runtime class behind {}
341 (method `{}
342`)",
343                        13usize,
344                        __vt.len(),
345                        <ShopSellMenu_CancelItemEventHandler as ::unity::ClassIdentity>::NAME,
346                        "Invoke",
347                    )
348                });
349                let __inner: extern "C" fn(ShopSellMenu_CancelItemEventHandler, i32, i32, ::unity::OptionalMethod) -> () =
350                    ::core::mem::transmute(__vi.method_ptr);
351                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
352                __inner(
353                    __receiver,
354                    ::core::convert::Into::into(item_count),
355                    ::core::convert::Into::into(total_value),
356                    __mi,
357                )
358            }
359        }
360    }
361}
362
363#[cfg(feature = "app-shopsellmenu")]
364impl<__T: IShopSellMenu_CancelItemEventHandler> IShopSellMenu_CancelItemEventHandlerMethods for __T {}
365
366#[cfg(feature = "app-shopsellmenu")]
367impl ShopSellMenu_CancelItemEventHandler {
368    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
370    }
371
372    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
373        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
374    }
375}
376
377#[cfg(feature = "app-shopsellmenu")]
378impl ShopSellMenu_CancelItemEventHandler {
379    #[doc = "Direct (non-virtual) call to `ShopSellMenu_CancelItemEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
380    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, item_count: i32, total_value: i32) -> () {
381        let __mi = Self::invoke_method_info();
382        let __inner: extern "C" fn(::unity::IlInstance, i32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
383        __inner(this.into(), item_count, total_value, ::core::option::Option::None)
384    }
385}
386
387#[cfg(feature = "app-shopsellmenu")]
388impl ShopSellMenu_CancelItemEventHandler {
389    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
390    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
391        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
392            panic!(
393                "{}
394::{}
395 failed to instantiate",
396                ::core::stringify!(ShopSellMenu_CancelItemEventHandler),
397                ::core::stringify!(new),
398            )
399        });
400        <Self as IShopSellMenu_CancelItemEventHandlerMethods>::ctor(this, object, method);
401        this
402    }
403}
404
405#[cfg(feature = "app-shopsellmenu")]
406pub trait IShopSellMenu_DecideItemEventHandlerMethods: IShopSellMenu_DecideItemEventHandler {
407    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
408    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
409        unsafe {
410            let __receiver = <ShopSellMenu_DecideItemEventHandler as ::unity::FromIlInstance>::from_il_instance(
411                <Self as ::unity::SystemObject>::as_instance(self),
412            );
413            ::unity::il2cpp_call!((::unity::module_base()+0x1d6b310usize)as*mut u8,();
414(ShopSellMenu_DecideItemEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
415        }
416    }
417    #[doc = "`Invoke(i32, i32)` overload"]
418    fn invoke(self, item_count: impl ::core::convert::Into<i32>, total_value: impl ::core::convert::Into<i32>) -> () {
419        unsafe {
420            let __receiver = <ShopSellMenu_DecideItemEventHandler as ::unity::FromIlInstance>::from_il_instance(
421                <Self as ::unity::SystemObject>::as_instance(self),
422            );
423            {
424                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
425                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
426                    panic!(
427                        "unity: virtual slot {}
428 out of range (vtable len {}
429) on the runtime class behind {}
430 (method `{}
431`)",
432                        13usize,
433                        __vt.len(),
434                        <ShopSellMenu_DecideItemEventHandler as ::unity::ClassIdentity>::NAME,
435                        "Invoke",
436                    )
437                });
438                let __inner: extern "C" fn(ShopSellMenu_DecideItemEventHandler, i32, i32, ::unity::OptionalMethod) -> () =
439                    ::core::mem::transmute(__vi.method_ptr);
440                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
441                __inner(
442                    __receiver,
443                    ::core::convert::Into::into(item_count),
444                    ::core::convert::Into::into(total_value),
445                    __mi,
446                )
447            }
448        }
449    }
450}
451
452#[cfg(feature = "app-shopsellmenu")]
453impl<__T: IShopSellMenu_DecideItemEventHandler> IShopSellMenu_DecideItemEventHandlerMethods for __T {}
454
455#[cfg(feature = "app-shopsellmenu")]
456impl ShopSellMenu_DecideItemEventHandler {
457    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
459    }
460
461    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
463    }
464}
465
466#[cfg(feature = "app-shopsellmenu")]
467impl ShopSellMenu_DecideItemEventHandler {
468    #[doc = "Direct (non-virtual) call to `ShopSellMenu_DecideItemEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
469    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, item_count: i32, total_value: i32) -> () {
470        let __mi = Self::invoke_method_info();
471        let __inner: extern "C" fn(::unity::IlInstance, i32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
472        __inner(this.into(), item_count, total_value, ::core::option::Option::None)
473    }
474}
475
476#[cfg(feature = "app-shopsellmenu")]
477impl ShopSellMenu_DecideItemEventHandler {
478    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
479    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
480        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
481            panic!(
482                "{}
483::{}
484 failed to instantiate",
485                ::core::stringify!(ShopSellMenu_DecideItemEventHandler),
486                ::core::stringify!(new),
487            )
488        });
489        <Self as IShopSellMenu_DecideItemEventHandlerMethods>::ctor(this, object, method);
490        this
491    }
492}
493
494#[cfg(feature = "app-shopsellmenu")]
495impl ShopSellMenu {
496    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::unity_engine::gameobject::GameObject, crate::app::unit::Unit, crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler, crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler, crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler, crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler, crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler, crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler)` overload"]
497    pub fn create_bind(
498        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
499        menu_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
500        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
501        select_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler>,
502        decide_item_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler>,
503        cancel_item_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler>,
504        decide_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler>,
505        request_close_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler>,
506        change_unit_to_prev_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler>,
507        change_unit_to_next_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler>,
508        switch_detail_displayway_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler>,
509    ) -> crate::app::shopsellmenu::ShopSellMenu {
510        unsafe {
511            ::unity::il2cpp_call!((::unity::module_base()+0x21b2b20usize)as*mut u8,crate::app::shopsellmenu::ShopSellMenu;
512(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::shopsellmenu::ShopSellMenu_SelectEventHandler)::core::convert::Into::into(select_event_handler),(crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler)::core::convert::Into::into(decide_item_event_handler),(crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler)::core::convert::Into::into(cancel_item_event_handler),(crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler)::core::convert::Into::into(request_close_event_handler),(crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler)::core::convert::Into::into(change_unit_to_prev_event_handler),(crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler)::core::convert::Into::into(change_unit_to_next_event_handler),(crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler)::core::convert::Into::into(switch_detail_displayway_event_handler))
513        }
514    }
515
516    #[doc = "`BuildMenuItem(crate::app::unit::Unit, i32, crate::app::itemdata::ItemData_Kinds, ::unity::Array<bool>, crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler, crate::app::shopsellmenuitem::ShopSellMenuItem_DecideItemEventHandler, crate::app::shopsellmenuitem::ShopSellMenuItem_CancelItemEventHandler, crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler)` overload"]
517    pub fn build_menu_item(
518        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
519        show_row_num: impl ::core::convert::Into<i32>,
520        kind: impl ::core::convert::Into<crate::app::itemdata::ItemData_Kinds>,
521        decided_item: impl ::core::convert::Into<::unity::Array<bool>>,
522        select_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler>,
523        decide_item_event_handler: impl ::core::convert::Into<crate::app::shopsellmenuitem::ShopSellMenuItem_DecideItemEventHandler>,
524        cancel_item_event_handler: impl ::core::convert::Into<crate::app::shopsellmenuitem::ShopSellMenuItem_CancelItemEventHandler>,
525        decide_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler>,
526        change_unit_to_prev_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler>,
527        change_unit_to_next_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler>,
528    ) -> crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> {
529        unsafe {
530            ::unity::il2cpp_call!((::unity::module_base()+0x21b2c80usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> ;
531(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(show_row_num),(crate::app::itemdata::ItemData_Kinds)::core::convert::Into::into(kind),(::unity::Array<bool>)::core::convert::Into::into(decided_item),(crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler)::core::convert::Into::into(select_event_handler),(crate::app::shopsellmenuitem::ShopSellMenuItem_DecideItemEventHandler)::core::convert::Into::into(decide_item_event_handler),(crate::app::shopsellmenuitem::ShopSellMenuItem_CancelItemEventHandler)::core::convert::Into::into(cancel_item_event_handler),(crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler)::core::convert::Into::into(change_unit_to_prev_event_handler),(crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler)::core::convert::Into::into(change_unit_to_next_event_handler))
532        }
533    }
534
535    #[doc = "`Compare(crate::app::basicmenuitem::BasicMenuItem, crate::app::basicmenuitem::BasicMenuItem)` overload"]
536    pub fn compare(
537        lhs: impl ::core::convert::Into<crate::app::basicmenuitem::BasicMenuItem>,
538        rhs: impl ::core::convert::Into<crate::app::basicmenuitem::BasicMenuItem>,
539    ) -> i32 {
540        unsafe {
541            ::unity::il2cpp_call!((::unity::module_base()+0x21b50d0usize)as*mut u8,i32;
542(crate::app::basicmenuitem::BasicMenuItem)::core::convert::Into::into(lhs),(crate::app::basicmenuitem::BasicMenuItem)::core::convert::Into::into(rhs))
543        }
544    }
545}
546
547#[cfg(feature = "app-shopsellmenu")]
548pub trait IShopSellMenuMethods: IShopSellMenu {
549    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::shopsellmenucontent::ShopSellMenuContent, crate::app::unit::Unit, crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler, crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler, crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler, crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler, crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler, crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler)` overload"]
550    fn ctor(
551        self,
552        menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
553        menu_content: impl ::core::convert::Into<crate::app::shopsellmenucontent::ShopSellMenuContent>,
554        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
555        select_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler>,
556        decide_item_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler>,
557        cancel_item_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler>,
558        decide_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler>,
559        request_close_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler>,
560        change_unit_to_prev_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler>,
561        change_unit_to_next_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler>,
562        switch_detail_displayway_event_handler: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler>,
563    ) -> () {
564        unsafe {
565            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
566            ::unity::il2cpp_call!((::unity::module_base()+0x21b3210usize)as*mut u8,();
567(ShopSellMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>)::core::convert::Into::into(menu_item_list),(crate::app::shopsellmenucontent::ShopSellMenuContent)::core::convert::Into::into(menu_content),(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler)::core::convert::Into::into(select_event_handler),(crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler)::core::convert::Into::into(decide_item_event_handler),(crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler)::core::convert::Into::into(cancel_item_event_handler),(crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler)::core::convert::Into::into(request_close_event_handler),(crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler)::core::convert::Into::into(change_unit_to_prev_event_handler),(crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler)::core::convert::Into::into(change_unit_to_next_event_handler),(crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler)::core::convert::Into::into(switch_detail_displayway_event_handler))
568        }
569    }
570    #[doc = "`RebuildMenu(crate::app::unit::Unit)` overload"]
571    fn rebuild_menu(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
572        unsafe {
573            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
574            ::unity::il2cpp_call!((::unity::module_base()+0x21b3a40usize)as*mut u8,();
575(ShopSellMenu)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
576        }
577    }
578    #[doc = "`RebuildMenu()` overload"]
579    fn rebuild_menu_2(self) -> () {
580        unsafe {
581            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
582            ::unity::il2cpp_call!((::unity::module_base()+0x21b3a70usize)as*mut u8,();
583(ShopSellMenu)__receiver)
584        }
585    }
586    #[doc = "`RebuildMenuItem()` overload"]
587    fn rebuild_menu_item(self) -> () {
588        unsafe {
589            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
590            ::unity::il2cpp_call!((::unity::module_base()+0x21b3b00usize)as*mut u8,();
591(ShopSellMenu)__receiver)
592        }
593    }
594    #[doc = "`GetName()` overload"]
595    fn get_name(self) -> ::unity::Il2CppString {
596        unsafe {
597            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
598            {
599                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
600                let __vi = *__vt.get(30usize).unwrap_or_else(|| {
601                    panic!(
602                        "unity: virtual slot {}
603 out of range (vtable len {}
604) on the runtime class behind {}
605 (method `{}
606`)",
607                        30usize,
608                        __vt.len(),
609                        <ShopSellMenu as ::unity::ClassIdentity>::NAME,
610                        "GetName",
611                    )
612                });
613                let __inner: extern "C" fn(ShopSellMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
614                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
615                __inner(__receiver, __mi)
616            }
617        }
618    }
619    #[doc = "`GetSelect()` overload"]
620    fn get_select(self) -> crate::app::basicmenuselect::BasicMenuSelect {
621        unsafe {
622            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
623            ::unity::il2cpp_call!((::unity::module_base()+0x21b3c60usize)as*mut u8,crate::app::basicmenuselect::BasicMenuSelect;
624(ShopSellMenu)__receiver)
625        }
626    }
627    #[doc = "`EnableMenu(crate::app::shopsellmenu::ShopSellMenu_KindIndicator)` overload"]
628    fn enable_menu(self, indicator: impl ::core::convert::Into<crate::app::shopsellmenu::ShopSellMenu_KindIndicator>) -> () {
629        unsafe {
630            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
631            ::unity::il2cpp_call!((::unity::module_base()+0x21b3d20usize)as*mut u8,();
632(ShopSellMenu)__receiver,(crate::app::shopsellmenu::ShopSellMenu_KindIndicator)::core::convert::Into::into(indicator))
633        }
634    }
635    #[doc = "`MoveFrontCursorFrom(crate::app::basicmenu::BasicMenu)` overload"]
636    fn move_front_cursor_from(self, from_menu: impl ::core::convert::Into<crate::app::basicmenu::BasicMenu>) -> () {
637        unsafe {
638            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
639            ::unity::il2cpp_call!((::unity::module_base()+0x21b3f20usize)as*mut u8,();
640(ShopSellMenu)__receiver,(crate::app::basicmenu::BasicMenu)::core::convert::Into::into(from_menu))
641        }
642    }
643    #[doc = "`DisableMenu()` overload"]
644    fn disable_menu(self) -> () {
645        unsafe {
646            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
647            ::unity::il2cpp_call!((::unity::module_base()+0x21b4040usize)as*mut u8,();
648(ShopSellMenu)__receiver)
649        }
650    }
651    #[doc = "`GetDecidedList(i32)` overload"]
652    fn get_decided_list(
653        self,
654        max: impl ::core::convert::Into<i32>,
655    ) -> crate::system::collections::generic::list_1::List_1<crate::app::unititem::UnitItem> {
656        unsafe {
657            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
658            ::unity::il2cpp_call!((::unity::module_base()+0x21b40b0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::unititem::UnitItem> ;
659(ShopSellMenu)__receiver,(i32)::core::convert::Into::into(max))
660        }
661    }
662    #[doc = "`GetTotalValue()` overload"]
663    fn get_total_value(self) -> i32 {
664        unsafe {
665            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
666            ::unity::il2cpp_call!((::unity::module_base()+0x21b41f0usize)as*mut u8,i32;
667(ShopSellMenu)__receiver)
668        }
669    }
670    #[doc = "`ClearDecided()` overload"]
671    fn clear_decided(self) -> () {
672        unsafe {
673            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
674            ::unity::il2cpp_call!((::unity::module_base()+0x21b2a80usize)as*mut u8,();
675(ShopSellMenu)__receiver)
676        }
677    }
678    #[doc = "`KeyLeft(bool)` overload"]
679    fn key_left(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
680        unsafe {
681            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
682            {
683                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
684                let __vi = *__vt.get(42usize).unwrap_or_else(|| {
685                    panic!(
686                        "unity: virtual slot {}
687 out of range (vtable len {}
688) on the runtime class behind {}
689 (method `{}
690`)",
691                        42usize,
692                        __vt.len(),
693                        <ShopSellMenu as ::unity::ClassIdentity>::NAME,
694                        "KeyLeft",
695                    )
696                });
697                let __inner: extern "C" fn(ShopSellMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
698                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
699                __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
700            }
701        }
702    }
703    #[doc = "`KeyRight(bool)` overload"]
704    fn key_right(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
705        unsafe {
706            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
707            {
708                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
709                let __vi = *__vt.get(43usize).unwrap_or_else(|| {
710                    panic!(
711                        "unity: virtual slot {}
712 out of range (vtable len {}
713) on the runtime class behind {}
714 (method `{}
715`)",
716                        43usize,
717                        __vt.len(),
718                        <ShopSellMenu as ::unity::ClassIdentity>::NAME,
719                        "KeyRight",
720                    )
721                });
722                let __inner: extern "C" fn(ShopSellMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
723                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
724                __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
725            }
726        }
727    }
728    #[doc = "`ACall()` overload"]
729    fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
730        unsafe {
731            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
732            {
733                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
734                let __vi = *__vt.get(50usize).unwrap_or_else(|| {
735                    panic!(
736                        "unity: virtual slot {}
737 out of range (vtable len {}
738) on the runtime class behind {}
739 (method `{}
740`)",
741                        50usize,
742                        __vt.len(),
743                        <ShopSellMenu as ::unity::ClassIdentity>::NAME,
744                        "ACall",
745                    )
746                });
747                let __inner: extern "C" fn(ShopSellMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
748                    ::core::mem::transmute(__vi.method_ptr);
749                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
750                __inner(__receiver, __mi)
751            }
752        }
753    }
754    #[doc = "`BCall()` overload"]
755    fn b_call(self) -> crate::app::basicmenu::BasicMenu_Result {
756        unsafe {
757            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
758            {
759                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
760                let __vi = *__vt.get(51usize).unwrap_or_else(|| {
761                    panic!(
762                        "unity: virtual slot {}
763 out of range (vtable len {}
764) on the runtime class behind {}
765 (method `{}
766`)",
767                        51usize,
768                        __vt.len(),
769                        <ShopSellMenu as ::unity::ClassIdentity>::NAME,
770                        "BCall",
771                    )
772                });
773                let __inner: extern "C" fn(ShopSellMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
774                    ::core::mem::transmute(__vi.method_ptr);
775                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
776                __inner(__receiver, __mi)
777            }
778        }
779    }
780    #[doc = "`XCall()` overload"]
781    fn x_call(self) -> crate::app::basicmenu::BasicMenu_Result {
782        unsafe {
783            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
784            {
785                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
786                let __vi = *__vt.get(52usize).unwrap_or_else(|| {
787                    panic!(
788                        "unity: virtual slot {}
789 out of range (vtable len {}
790) on the runtime class behind {}
791 (method `{}
792`)",
793                        52usize,
794                        __vt.len(),
795                        <ShopSellMenu as ::unity::ClassIdentity>::NAME,
796                        "XCall",
797                    )
798                });
799                let __inner: extern "C" fn(ShopSellMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
800                    ::core::mem::transmute(__vi.method_ptr);
801                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
802                __inner(__receiver, __mi)
803            }
804        }
805    }
806    #[doc = "`OnDecideItem(i32)` overload"]
807    fn on_decide_item(self, item_index: impl ::core::convert::Into<i32>) -> () {
808        unsafe {
809            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
810            ::unity::il2cpp_call!((::unity::module_base()+0x21b4bd0usize)as*mut u8,();
811(ShopSellMenu)__receiver,(i32)::core::convert::Into::into(item_index))
812        }
813    }
814    #[doc = "`OnCancelItem(i32)` overload"]
815    fn on_cancel_item(self, item_index: impl ::core::convert::Into<i32>) -> () {
816        unsafe {
817            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
818            ::unity::il2cpp_call!((::unity::module_base()+0x21b4d20usize)as*mut u8,();
819(ShopSellMenu)__receiver,(i32)::core::convert::Into::into(item_index))
820        }
821    }
822    #[doc = "`SellMulti()` overload"]
823    fn sell_multi(self) -> () {
824        unsafe {
825            let __receiver = <ShopSellMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
826            ::unity::il2cpp_call!((::unity::module_base()+0x21b4e60usize)as*mut u8,();
827(ShopSellMenu)__receiver)
828        }
829    }
830}
831
832#[cfg(feature = "app-shopsellmenu")]
833impl<__T: IShopSellMenu> IShopSellMenuMethods for __T {}
834
835#[cfg(feature = "app-shopsellmenu")]
836impl ShopSellMenu {
837    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
838        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
839    }
840
841    pub fn build_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
842        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
843    }
844
845    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
846        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
847    }
848
849    pub fn rebuild_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
850        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
851    }
852
853    pub fn rebuild_menu_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
854        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
855    }
856
857    pub fn rebuild_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
858        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
859    }
860
861    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
862        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
863    }
864
865    pub fn get_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
866        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
867    }
868
869    pub fn enable_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
870        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
871    }
872
873    pub fn move_front_cursor_from_method_info() -> &'static ::unity::il2cpp::MethodInfo {
874        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
875    }
876
877    pub fn disable_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
878        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
879    }
880
881    pub fn get_decided_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
882        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
883    }
884
885    pub fn get_total_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
886        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
887    }
888
889    pub fn clear_decided_method_info() -> &'static ::unity::il2cpp::MethodInfo {
890        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
891    }
892
893    pub fn key_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
894        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
895    }
896
897    pub fn key_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
898        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
899    }
900
901    pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
902        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
903    }
904
905    pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
906        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
907    }
908
909    pub fn x_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
910        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
911    }
912
913    pub fn on_decide_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
914        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
915    }
916
917    pub fn on_cancel_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
918        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
919    }
920
921    pub fn sell_multi_method_info() -> &'static ::unity::il2cpp::MethodInfo {
922        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
923    }
924
925    pub fn compare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
926        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
927    }
928}
929
930#[cfg(feature = "app-shopsellmenu")]
931impl ShopSellMenu {
932    #[doc = "Direct (non-virtual) call to `ShopSellMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
933    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
934        let __mi = Self::get_name_method_info();
935        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
936        __inner(this.into(), ::core::option::Option::None)
937    }
938
939    #[doc = "Direct (non-virtual) call to `ShopSellMenu`'s own `KeyLeft`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
940    pub unsafe fn key_left(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
941        let __mi = Self::key_left_method_info();
942        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
943        __inner(this.into(), is_trigger, ::core::option::Option::None)
944    }
945
946    #[doc = "Direct (non-virtual) call to `ShopSellMenu`'s own `KeyRight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
947    pub unsafe fn key_right(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
948        let __mi = Self::key_right_method_info();
949        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
950        __inner(this.into(), is_trigger, ::core::option::Option::None)
951    }
952
953    #[doc = "Direct (non-virtual) call to `ShopSellMenu`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
954    pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
955        let __mi = Self::a_call_method_info();
956        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
957            ::core::mem::transmute(__mi.method_ptr);
958        __inner(this.into(), ::core::option::Option::None)
959    }
960
961    #[doc = "Direct (non-virtual) call to `ShopSellMenu`'s own `BCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
962    pub unsafe fn b_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
963        let __mi = Self::b_call_method_info();
964        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
965            ::core::mem::transmute(__mi.method_ptr);
966        __inner(this.into(), ::core::option::Option::None)
967    }
968
969    #[doc = "Direct (non-virtual) call to `ShopSellMenu`'s own `XCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
970    pub unsafe fn x_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
971        let __mi = Self::x_call_method_info();
972        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
973            ::core::mem::transmute(__mi.method_ptr);
974        __inner(this.into(), ::core::option::Option::None)
975    }
976}
977
978#[cfg(feature = "app-shopsellmenu")]
979impl ShopSellMenu {
980    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::shopsellmenucontent::ShopSellMenuContent, crate::app::unit::Unit, crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler, crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler, crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler, crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler, crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler, crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler)` — overload selector"]
981    pub fn new(
982        menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
983        menu_content: crate::app::shopsellmenucontent::ShopSellMenuContent,
984        unit: crate::app::unit::Unit,
985        select_event_handler: crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler,
986        decide_item_event_handler: crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler,
987        cancel_item_event_handler: crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler,
988        decide_event_handler: crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler,
989        request_close_event_handler: crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler,
990        change_unit_to_prev_event_handler: crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler,
991        change_unit_to_next_event_handler: crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler,
992        switch_detail_displayway_event_handler: crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler,
993    ) -> Self {
994        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
995            panic!(
996                "{}
997::{}
998 failed to instantiate",
999                ::core::stringify!(ShopSellMenu),
1000                ::core::stringify!(new),
1001            )
1002        });
1003        <Self as IShopSellMenuMethods>::ctor(
1004            this,
1005            menu_item_list,
1006            menu_content,
1007            unit,
1008            select_event_handler,
1009            decide_item_event_handler,
1010            cancel_item_event_handler,
1011            decide_event_handler,
1012            request_close_event_handler,
1013            change_unit_to_prev_event_handler,
1014            change_unit_to_next_event_handler,
1015            switch_detail_displayway_event_handler,
1016        );
1017        this
1018    }
1019}
1020
1021#[cfg(feature = "app-shopsellmenu")]
1022pub trait IShopSellMenu_ChangeUnitToPrevEventHandlerMethods: IShopSellMenu_ChangeUnitToPrevEventHandler {
1023    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
1024    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
1025        unsafe {
1026            let __receiver = <ShopSellMenu_ChangeUnitToPrevEventHandler as ::unity::FromIlInstance>::from_il_instance(
1027                <Self as ::unity::SystemObject>::as_instance(self),
1028            );
1029            ::unity::il2cpp_call!((::unity::module_base()+0x1d6ae30usize)as*mut u8,();
1030(ShopSellMenu_ChangeUnitToPrevEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
1031        }
1032    }
1033    #[doc = "`Invoke()` overload"]
1034    fn invoke(self) -> () {
1035        unsafe {
1036            let __receiver = <ShopSellMenu_ChangeUnitToPrevEventHandler as ::unity::FromIlInstance>::from_il_instance(
1037                <Self as ::unity::SystemObject>::as_instance(self),
1038            );
1039            {
1040                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1041                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
1042                    panic!(
1043                        "unity: virtual slot {}
1044 out of range (vtable len {}
1045) on the runtime class behind {}
1046 (method `{}
1047`)",
1048                        13usize,
1049                        __vt.len(),
1050                        <ShopSellMenu_ChangeUnitToPrevEventHandler as ::unity::ClassIdentity>::NAME,
1051                        "Invoke",
1052                    )
1053                });
1054                let __inner: extern "C" fn(ShopSellMenu_ChangeUnitToPrevEventHandler, ::unity::OptionalMethod) -> () =
1055                    ::core::mem::transmute(__vi.method_ptr);
1056                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1057                __inner(__receiver, __mi)
1058            }
1059        }
1060    }
1061}
1062
1063#[cfg(feature = "app-shopsellmenu")]
1064impl<__T: IShopSellMenu_ChangeUnitToPrevEventHandler> IShopSellMenu_ChangeUnitToPrevEventHandlerMethods for __T {}
1065
1066#[cfg(feature = "app-shopsellmenu")]
1067impl ShopSellMenu_ChangeUnitToPrevEventHandler {
1068    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1069        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1070    }
1071
1072    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1073        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1074    }
1075}
1076
1077#[cfg(feature = "app-shopsellmenu")]
1078impl ShopSellMenu_ChangeUnitToPrevEventHandler {
1079    #[doc = "Direct (non-virtual) call to `ShopSellMenu_ChangeUnitToPrevEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1080    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1081        let __mi = Self::invoke_method_info();
1082        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1083        __inner(this.into(), ::core::option::Option::None)
1084    }
1085}
1086
1087#[cfg(feature = "app-shopsellmenu")]
1088impl ShopSellMenu_ChangeUnitToPrevEventHandler {
1089    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
1090    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
1091        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1092            panic!(
1093                "{}
1094::{}
1095 failed to instantiate",
1096                ::core::stringify!(ShopSellMenu_ChangeUnitToPrevEventHandler),
1097                ::core::stringify!(new),
1098            )
1099        });
1100        <Self as IShopSellMenu_ChangeUnitToPrevEventHandlerMethods>::ctor(this, object, method);
1101        this
1102    }
1103}
1104
1105#[cfg(feature = "app-shopsellmenu")]
1106pub trait IShopSellMenu_RequestCloseEventHandlerMethods: IShopSellMenu_RequestCloseEventHandler {
1107    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
1108    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
1109        unsafe {
1110            let __receiver = <ShopSellMenu_RequestCloseEventHandler as ::unity::FromIlInstance>::from_il_instance(
1111                <Self as ::unity::SystemObject>::as_instance(self),
1112            );
1113            ::unity::il2cpp_call!((::unity::module_base()+0x1d6b620usize)as*mut u8,();
1114(ShopSellMenu_RequestCloseEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
1115        }
1116    }
1117    #[doc = "`Invoke()` overload"]
1118    fn invoke(self) -> () {
1119        unsafe {
1120            let __receiver = <ShopSellMenu_RequestCloseEventHandler as ::unity::FromIlInstance>::from_il_instance(
1121                <Self as ::unity::SystemObject>::as_instance(self),
1122            );
1123            {
1124                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1125                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
1126                    panic!(
1127                        "unity: virtual slot {}
1128 out of range (vtable len {}
1129) on the runtime class behind {}
1130 (method `{}
1131`)",
1132                        13usize,
1133                        __vt.len(),
1134                        <ShopSellMenu_RequestCloseEventHandler as ::unity::ClassIdentity>::NAME,
1135                        "Invoke",
1136                    )
1137                });
1138                let __inner: extern "C" fn(ShopSellMenu_RequestCloseEventHandler, ::unity::OptionalMethod) -> () =
1139                    ::core::mem::transmute(__vi.method_ptr);
1140                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1141                __inner(__receiver, __mi)
1142            }
1143        }
1144    }
1145}
1146
1147#[cfg(feature = "app-shopsellmenu")]
1148impl<__T: IShopSellMenu_RequestCloseEventHandler> IShopSellMenu_RequestCloseEventHandlerMethods for __T {}
1149
1150#[cfg(feature = "app-shopsellmenu")]
1151impl ShopSellMenu_RequestCloseEventHandler {
1152    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1153        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1154    }
1155
1156    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1157        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1158    }
1159}
1160
1161#[cfg(feature = "app-shopsellmenu")]
1162impl ShopSellMenu_RequestCloseEventHandler {
1163    #[doc = "Direct (non-virtual) call to `ShopSellMenu_RequestCloseEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1164    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1165        let __mi = Self::invoke_method_info();
1166        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1167        __inner(this.into(), ::core::option::Option::None)
1168    }
1169}
1170
1171#[cfg(feature = "app-shopsellmenu")]
1172impl ShopSellMenu_RequestCloseEventHandler {
1173    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
1174    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
1175        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1176            panic!(
1177                "{}
1178::{}
1179 failed to instantiate",
1180                ::core::stringify!(ShopSellMenu_RequestCloseEventHandler),
1181                ::core::stringify!(new),
1182            )
1183        });
1184        <Self as IShopSellMenu_RequestCloseEventHandlerMethods>::ctor(this, object, method);
1185        this
1186    }
1187}
1188
1189#[cfg(feature = "app-shopsellmenu")]
1190pub trait IShopSellMenu_SelectEventHandlerMethods: IShopSellMenu_SelectEventHandler {
1191    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
1192    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
1193        unsafe {
1194            let __receiver =
1195                <ShopSellMenu_SelectEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1196            ::unity::il2cpp_call!((::unity::module_base()+0x1d6b890usize)as*mut u8,();
1197(ShopSellMenu_SelectEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
1198        }
1199    }
1200    #[doc = "`Invoke(crate::app::unititem::UnitItem)` overload"]
1201    fn invoke(self, unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>) -> () {
1202        unsafe {
1203            let __receiver =
1204                <ShopSellMenu_SelectEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1205            {
1206                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1207                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
1208                    panic!(
1209                        "unity: virtual slot {}
1210 out of range (vtable len {}
1211) on the runtime class behind {}
1212 (method `{}
1213`)",
1214                        13usize,
1215                        __vt.len(),
1216                        <ShopSellMenu_SelectEventHandler as ::unity::ClassIdentity>::NAME,
1217                        "Invoke",
1218                    )
1219                });
1220                let __inner: extern "C" fn(ShopSellMenu_SelectEventHandler, crate::app::unititem::UnitItem, ::unity::OptionalMethod) -> () =
1221                    ::core::mem::transmute(__vi.method_ptr);
1222                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1223                __inner(__receiver, ::core::convert::Into::into(unit_item), __mi)
1224            }
1225        }
1226    }
1227}
1228
1229#[cfg(feature = "app-shopsellmenu")]
1230impl<__T: IShopSellMenu_SelectEventHandler> IShopSellMenu_SelectEventHandlerMethods for __T {}
1231
1232#[cfg(feature = "app-shopsellmenu")]
1233impl ShopSellMenu_SelectEventHandler {
1234    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1235        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1236    }
1237
1238    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1239        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1240    }
1241}
1242
1243#[cfg(feature = "app-shopsellmenu")]
1244impl ShopSellMenu_SelectEventHandler {
1245    #[doc = "Direct (non-virtual) call to `ShopSellMenu_SelectEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1246    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, unit_item: crate::app::unititem::UnitItem) -> () {
1247        let __mi = Self::invoke_method_info();
1248        let __inner: extern "C" fn(::unity::IlInstance, crate::app::unititem::UnitItem, ::unity::OptionalMethod) -> () =
1249            ::core::mem::transmute(__mi.method_ptr);
1250        __inner(this.into(), unit_item, ::core::option::Option::None)
1251    }
1252}
1253
1254#[cfg(feature = "app-shopsellmenu")]
1255impl ShopSellMenu_SelectEventHandler {
1256    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
1257    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
1258        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1259            panic!(
1260                "{}
1261::{}
1262 failed to instantiate",
1263                ::core::stringify!(ShopSellMenu_SelectEventHandler),
1264                ::core::stringify!(new),
1265            )
1266        });
1267        <Self as IShopSellMenu_SelectEventHandlerMethods>::ctor(this, object, method);
1268        this
1269    }
1270}
1271
1272#[cfg(feature = "app-shopsellmenu")]
1273pub trait IShopSellMenu_DecideEventHandlerMethods: IShopSellMenu_DecideEventHandler {
1274    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
1275    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
1276        unsafe {
1277            let __receiver =
1278                <ShopSellMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1279            ::unity::il2cpp_call!((::unity::module_base()+0x1d6b0a0usize)as*mut u8,();
1280(ShopSellMenu_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
1281        }
1282    }
1283    #[doc = "`Invoke()` overload"]
1284    fn invoke(self) -> () {
1285        unsafe {
1286            let __receiver =
1287                <ShopSellMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1288            {
1289                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1290                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
1291                    panic!(
1292                        "unity: virtual slot {}
1293 out of range (vtable len {}
1294) on the runtime class behind {}
1295 (method `{}
1296`)",
1297                        13usize,
1298                        __vt.len(),
1299                        <ShopSellMenu_DecideEventHandler as ::unity::ClassIdentity>::NAME,
1300                        "Invoke",
1301                    )
1302                });
1303                let __inner: extern "C" fn(ShopSellMenu_DecideEventHandler, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1304                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1305                __inner(__receiver, __mi)
1306            }
1307        }
1308    }
1309}
1310
1311#[cfg(feature = "app-shopsellmenu")]
1312impl<__T: IShopSellMenu_DecideEventHandler> IShopSellMenu_DecideEventHandlerMethods for __T {}
1313
1314#[cfg(feature = "app-shopsellmenu")]
1315impl ShopSellMenu_DecideEventHandler {
1316    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1317        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1318    }
1319
1320    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1321        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1322    }
1323}
1324
1325#[cfg(feature = "app-shopsellmenu")]
1326impl ShopSellMenu_DecideEventHandler {
1327    #[doc = "Direct (non-virtual) call to `ShopSellMenu_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1328    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1329        let __mi = Self::invoke_method_info();
1330        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1331        __inner(this.into(), ::core::option::Option::None)
1332    }
1333}
1334
1335#[cfg(feature = "app-shopsellmenu")]
1336impl ShopSellMenu_DecideEventHandler {
1337    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
1338    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
1339        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1340            panic!(
1341                "{}
1342::{}
1343 failed to instantiate",
1344                ::core::stringify!(ShopSellMenu_DecideEventHandler),
1345                ::core::stringify!(new),
1346            )
1347        });
1348        <Self as IShopSellMenu_DecideEventHandlerMethods>::ctor(this, object, method);
1349        this
1350    }
1351}
1352
1353#[cfg(feature = "app-shopsellmenu")]
1354#[doc(hidden)]
1355pub mod prelude {
1356    pub use super::{
1357        IShopSellMenu, IShopSellMenuMethods, IShopSellMenu_CancelItemEventHandler, IShopSellMenu_CancelItemEventHandlerMethods,
1358        IShopSellMenu_ChangeUnitToNextEventHandler, IShopSellMenu_ChangeUnitToNextEventHandlerMethods, IShopSellMenu_ChangeUnitToPrevEventHandler,
1359        IShopSellMenu_ChangeUnitToPrevEventHandlerMethods, IShopSellMenu_DecideEventHandler, IShopSellMenu_DecideEventHandlerMethods,
1360        IShopSellMenu_DecideItemEventHandler, IShopSellMenu_DecideItemEventHandlerMethods, IShopSellMenu_RequestCloseEventHandler,
1361        IShopSellMenu_RequestCloseEventHandlerMethods, IShopSellMenu_SelectEventHandler, IShopSellMenu_SelectEventHandlerMethods,
1362        IShopSellMenu_SwitchDetailDisplaywayEventHandler, IShopSellMenu_SwitchDetailDisplaywayEventHandlerMethods, ShopSellMenu,
1363        ShopSellMenu_CancelItemEventHandler, ShopSellMenu_ChangeUnitToNextEventHandler, ShopSellMenu_ChangeUnitToPrevEventHandler,
1364        ShopSellMenu_DecideEventHandler, ShopSellMenu_DecideItemEventHandler, ShopSellMenu_KindIndicator, ShopSellMenu_RequestCloseEventHandler,
1365        ShopSellMenu_SelectEventHandler, ShopSellMenu_SwitchDetailDisplaywayEventHandler,
1366    };
1367    #[cfg(feature = "app-basicmenu")]
1368    pub use crate::app::basicmenu::IBasicMenuMethods;
1369    #[cfg(feature = "app-procinst")]
1370    pub use crate::app::procinst::IProcInstMethods;
1371    #[cfg(feature = "system-delegate")]
1372    pub use crate::system::delegate::IDelegateMethods;
1373    #[cfg(feature = "system-multicastdelegate")]
1374    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
1375    #[cfg(feature = "system-object")]
1376    pub use crate::system::object::IObjectMethods;
1377    #[cfg(feature = "system-enum")]
1378    pub use crate::system::r#enum::IEnumMethods;
1379    #[cfg(feature = "system-valuetype")]
1380    pub use crate::system::valuetype::IValueTypeMethods;
1381    pub use crate::{
1382        app::{basicmenu::IBasicMenu, procinst::IProcInst},
1383        system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
1384    };
1385}