Skip to main content

engage/generated/app/cooking_menu/
dishselectmenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-cooking_menu-dishselectmenu-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            basicmenu::{BasicMenu, IBasicMenu},
11            basicmenuitem::{BasicMenuItem, IBasicMenuItem},
12            procinst::{IProcInst, ProcInst},
13            singletonclass_1::{ISingletonClass_1, SingletonClass_1},
14        },
15        system::{
16            delegate::{Delegate, IDelegate},
17            multicastdelegate::{IMulticastDelegate, MulticastDelegate},
18            object::{IObject, Object},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishselectmenu/DishSelectMenu_SelectEventHandler.md"))]
23    #[::unity::class(namespace = "App.CookingMenu", name = "DishSelectMenu.SelectEventHandler")]
24    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
25    pub struct DishSelectMenu_SelectEventHandler {}
26
27    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishselectmenu/DishSelectMenu_DishMenuCompare.md"))]
28    #[::unity::class(namespace = "App.CookingMenu", name = "DishSelectMenu.DishMenuCompare")]
29    #[parent(crate::system::object::Object)]
30    pub struct DishSelectMenu_DishMenuCompare {
31        #[offset(16)]
32        #[rename(name = "m_IsRecommended")]
33        pub m_is_recommended: bool,
34    }
35
36    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishselectmenu/DishSelectMenu_CancelEventHandler.md"))]
37    #[::unity::class(namespace = "App.CookingMenu", name = "DishSelectMenu.CancelEventHandler")]
38    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
39    pub struct DishSelectMenu_CancelEventHandler {}
40
41    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishselectmenu/DishSelectMenu_DecideEventHandler.md"))]
42    #[::unity::class(namespace = "App.CookingMenu", name = "DishSelectMenu.DecideEventHandler")]
43    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
44    pub struct DishSelectMenu_DecideEventHandler {}
45
46    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishselectmenu/DishSelectMenu_DishSelectMenuManager.md"))]
47    #[::unity::class(namespace = "App.CookingMenu", name = "DishSelectMenu.DishSelectMenuManager")]
48    #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuManager>)]
49    pub struct DishSelectMenu_DishSelectMenuManager {
50        #[offset(32)]
51        #[rename(name = "m_Select")]
52        pub m_select: crate::app::basicmenuselect::BasicMenuSelect,
53    }
54
55    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishselectmenu/DishSelectMenu.md"))]
56    #[::unity::class(namespace = "App.CookingMenu", name = "DishSelectMenu")]
57    #[parent(crate::app::basicmenu::BasicMenu)]
58    pub struct DishSelectMenu {
59        #[static_field]
60        #[rename(name = "s_Content")]
61        pub s_content: crate::app::cooking_menu::dishselectmenucontent::DishSelectMenuContent,
62        #[static_field]
63        #[rename(name = "s_SelectUnitList")]
64        pub s_select_unit_list: crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>,
65        #[static_field]
66        #[rename(name = "s_DecideEventHandler")]
67        pub s_decide_event_handler: crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler,
68        #[offset(200)]
69        #[rename(name = "m_MenuSelectList")]
70        pub m_menu_select_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuselect::BasicMenuSelect>,
71        #[offset(208)]
72        #[rename(name = "m_CancelEventHandler")]
73        pub m_cancel_event_handler: crate::app::cooking_menu::dishselectmenu::DishSelectMenu_CancelEventHandler,
74        #[static_field]
75        #[rename(name = "s_SelectedUnitCookList")]
76        pub s_selected_unit_cook_list: crate::system::collections::generic::list_1::List_1<crate::app::cookdata::CookData>,
77        #[static_field]
78        #[rename(name = "s_IsFirstSelect")]
79        pub s_is_first_select: bool,
80    }
81
82    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishselectmenu/DishSelectMenu_DishSelectMenuItem.md"))]
83    #[::unity::class(namespace = "App.CookingMenu", name = "DishSelectMenu.DishSelectMenuItem")]
84    #[parent(crate::app::basicmenuitem::BasicMenuItem)]
85    pub struct DishSelectMenu_DishSelectMenuItem {
86        #[offset(104)]
87        #[rename(name = "m_Food")]
88        pub m_food: crate::app::fooddata::FoodData,
89        #[offset(112)]
90        #[rename(name = "m_DecideEventHandler")]
91        pub m_decide_event_handler: crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler,
92        #[offset(120)]
93        #[rename(name = "m_SelectEventHandler")]
94        pub m_select_event_handler: crate::app::cooking_menu::dishselectmenu::DishSelectMenu_SelectEventHandler,
95    }
96}
97
98#[cfg(feature = "app-cooking_menu-dishselectmenu-types")]
99pub use __types::*;
100
101#[cfg(feature = "app-cooking_menu-dishselectmenu")]
102pub trait IDishSelectMenu_SelectEventHandlerMethods: IDishSelectMenu_SelectEventHandler {
103    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
104    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
105        unsafe {
106            let __receiver =
107                <DishSelectMenu_SelectEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108            ::unity::il2cpp_call!((::unity::module_base()+0x1bd2790usize)as*mut u8,();
109(DishSelectMenu_SelectEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
110        }
111    }
112    #[doc = "`Invoke(crate::app::fooddata::FoodData)` overload"]
113    fn invoke(self, food: impl ::core::convert::Into<crate::app::fooddata::FoodData>) -> () {
114        unsafe {
115            let __receiver =
116                <DishSelectMenu_SelectEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117            {
118                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
119                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
120                    panic!(
121                        "unity: virtual slot {}
122 out of range (vtable len {}
123) on the runtime class behind {}
124 (method `{}
125`)",
126                        13usize,
127                        __vt.len(),
128                        <DishSelectMenu_SelectEventHandler as ::unity::ClassIdentity>::NAME,
129                        "Invoke",
130                    )
131                });
132                let __inner: extern "C" fn(DishSelectMenu_SelectEventHandler, crate::app::fooddata::FoodData, ::unity::OptionalMethod) -> () =
133                    ::core::mem::transmute(__vi.method_ptr);
134                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
135                __inner(__receiver, ::core::convert::Into::into(food), __mi)
136            }
137        }
138    }
139}
140
141#[cfg(feature = "app-cooking_menu-dishselectmenu")]
142impl<__T: IDishSelectMenu_SelectEventHandler> IDishSelectMenu_SelectEventHandlerMethods for __T {}
143
144#[cfg(feature = "app-cooking_menu-dishselectmenu")]
145impl DishSelectMenu_SelectEventHandler {
146    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
147        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
148    }
149
150    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
151        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
152    }
153}
154
155#[cfg(feature = "app-cooking_menu-dishselectmenu")]
156impl DishSelectMenu_SelectEventHandler {
157    #[doc = "Direct (non-virtual) call to `DishSelectMenu_SelectEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
158    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, food: crate::app::fooddata::FoodData) -> () {
159        let __mi = Self::invoke_method_info();
160        let __inner: extern "C" fn(::unity::IlInstance, crate::app::fooddata::FoodData, ::unity::OptionalMethod) -> () =
161            ::core::mem::transmute(__mi.method_ptr);
162        __inner(this.into(), food, ::core::option::Option::None)
163    }
164}
165
166#[cfg(feature = "app-cooking_menu-dishselectmenu")]
167impl DishSelectMenu_SelectEventHandler {
168    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
169    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
170        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
171            panic!(
172                "{}
173::{}
174 failed to instantiate",
175                ::core::stringify!(DishSelectMenu_SelectEventHandler),
176                ::core::stringify!(new),
177            )
178        });
179        <Self as IDishSelectMenu_SelectEventHandlerMethods>::ctor(this, object, method);
180        this
181    }
182}
183
184#[cfg(feature = "app-cooking_menu-dishselectmenu")]
185pub trait IDishSelectMenu_DishMenuCompareMethods: IDishSelectMenu_DishMenuCompare {
186    #[doc = "`.ctor(bool)` overload"]
187    fn ctor(self, is_recommended: impl ::core::convert::Into<bool>) -> () {
188        unsafe {
189            let __receiver =
190                <DishSelectMenu_DishMenuCompare as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
191            ::unity::il2cpp_call!((::unity::module_base()+0x1bd2e50usize)as*mut u8,();
192(DishSelectMenu_DishMenuCompare)__receiver,(bool)::core::convert::Into::into(is_recommended))
193        }
194    }
195    #[doc = "`CompareBothLike(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)` overload"]
196    fn compare_both_like(
197        self,
198        x: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem>,
199        y: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem>,
200    ) -> i32 {
201        unsafe {
202            let __receiver =
203                <DishSelectMenu_DishMenuCompare as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
204            ::unity::il2cpp_call!((::unity::module_base()+0x1bd3000usize)as*mut u8,i32;
205(DishSelectMenu_DishMenuCompare)__receiver,(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)::core::convert::Into::into(x),(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)::core::convert::Into::into(y))
206        }
207    }
208    #[doc = "`CompareDifficulty(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)` overload"]
209    fn compare_difficulty(
210        self,
211        x: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem>,
212        y: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem>,
213    ) -> i32 {
214        unsafe {
215            let __receiver =
216                <DishSelectMenu_DishMenuCompare as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            ::unity::il2cpp_call!((::unity::module_base()+0x1bd3170usize)as*mut u8,i32;
218(DishSelectMenu_DishMenuCompare)__receiver,(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)::core::convert::Into::into(x),(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)::core::convert::Into::into(y))
219        }
220    }
221    #[doc = "`CompareDislike(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)` overload"]
222    fn compare_dislike(
223        self,
224        x: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem>,
225        y: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem>,
226    ) -> i32 {
227        unsafe {
228            let __receiver =
229                <DishSelectMenu_DishMenuCompare as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
230            ::unity::il2cpp_call!((::unity::module_base()+0x1bd31d0usize)as*mut u8,i32;
231(DishSelectMenu_DishMenuCompare)__receiver,(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)::core::convert::Into::into(x),(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)::core::convert::Into::into(y))
232        }
233    }
234    #[doc = "`CompareIndex(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)` overload"]
235    fn compare_index(
236        self,
237        x: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem>,
238        y: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem>,
239    ) -> i32 {
240        unsafe {
241            let __receiver =
242                <DishSelectMenu_DishMenuCompare as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243            ::unity::il2cpp_call!((::unity::module_base()+0x1bd3340usize)as*mut u8,i32;
244(DishSelectMenu_DishMenuCompare)__receiver,(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)::core::convert::Into::into(x),(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DishSelectMenuItem)::core::convert::Into::into(y))
245        }
246    }
247}
248
249#[cfg(feature = "app-cooking_menu-dishselectmenu")]
250impl<__T: IDishSelectMenu_DishMenuCompare> IDishSelectMenu_DishMenuCompareMethods for __T {}
251
252#[cfg(feature = "app-cooking_menu-dishselectmenu")]
253impl DishSelectMenu_DishMenuCompare {
254    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
255        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
256    }
257
258    pub fn compare_both_like_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
260    }
261
262    pub fn compare_difficulty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
263        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
264    }
265
266    pub fn compare_dislike_method_info() -> &'static ::unity::il2cpp::MethodInfo {
267        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
268    }
269
270    pub fn compare_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
271        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
272    }
273}
274
275#[cfg(feature = "app-cooking_menu-dishselectmenu")]
276impl DishSelectMenu_DishMenuCompare {
277    #[doc = "`.ctor(bool)` — overload selector"]
278    pub fn new(is_recommended: bool) -> Self {
279        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
280            panic!(
281                "{}
282::{}
283 failed to instantiate",
284                ::core::stringify!(DishSelectMenu_DishMenuCompare),
285                ::core::stringify!(new),
286            )
287        });
288        <Self as IDishSelectMenu_DishMenuCompareMethods>::ctor(this, is_recommended);
289        this
290    }
291}
292
293#[cfg(feature = "app-cooking_menu-dishselectmenu")]
294pub trait IDishSelectMenu_CancelEventHandlerMethods: IDishSelectMenu_CancelEventHandler {
295    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
296    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
297        unsafe {
298            let __receiver =
299                <DishSelectMenu_CancelEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
300            ::unity::il2cpp_call!((::unity::module_base()+0x1bd2820usize)as*mut u8,();
301(DishSelectMenu_CancelEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
302        }
303    }
304    #[doc = "`Invoke()` overload"]
305    fn invoke(self) -> () {
306        unsafe {
307            let __receiver =
308                <DishSelectMenu_CancelEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
309            {
310                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
311                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
312                    panic!(
313                        "unity: virtual slot {}
314 out of range (vtable len {}
315) on the runtime class behind {}
316 (method `{}
317`)",
318                        13usize,
319                        __vt.len(),
320                        <DishSelectMenu_CancelEventHandler as ::unity::ClassIdentity>::NAME,
321                        "Invoke",
322                    )
323                });
324                let __inner: extern "C" fn(DishSelectMenu_CancelEventHandler, ::unity::OptionalMethod) -> () =
325                    ::core::mem::transmute(__vi.method_ptr);
326                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
327                __inner(__receiver, __mi)
328            }
329        }
330    }
331}
332
333#[cfg(feature = "app-cooking_menu-dishselectmenu")]
334impl<__T: IDishSelectMenu_CancelEventHandler> IDishSelectMenu_CancelEventHandlerMethods for __T {}
335
336#[cfg(feature = "app-cooking_menu-dishselectmenu")]
337impl DishSelectMenu_CancelEventHandler {
338    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
339        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
340    }
341
342    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
343        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
344    }
345}
346
347#[cfg(feature = "app-cooking_menu-dishselectmenu")]
348impl DishSelectMenu_CancelEventHandler {
349    #[doc = "Direct (non-virtual) call to `DishSelectMenu_CancelEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
350    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
351        let __mi = Self::invoke_method_info();
352        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
353        __inner(this.into(), ::core::option::Option::None)
354    }
355}
356
357#[cfg(feature = "app-cooking_menu-dishselectmenu")]
358impl DishSelectMenu_CancelEventHandler {
359    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
360    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
361        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
362            panic!(
363                "{}
364::{}
365 failed to instantiate",
366                ::core::stringify!(DishSelectMenu_CancelEventHandler),
367                ::core::stringify!(new),
368            )
369        });
370        <Self as IDishSelectMenu_CancelEventHandlerMethods>::ctor(this, object, method);
371        this
372    }
373}
374
375#[cfg(feature = "app-cooking_menu-dishselectmenu")]
376pub trait IDishSelectMenu_DecideEventHandlerMethods: IDishSelectMenu_DecideEventHandler {
377    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
378    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
379        unsafe {
380            let __receiver =
381                <DishSelectMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
382            ::unity::il2cpp_call!((::unity::module_base()+0x1bd2a90usize)as*mut u8,();
383(DishSelectMenu_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
384        }
385    }
386    #[doc = "`Invoke(crate::app::fooddata::FoodData)` overload"]
387    fn invoke(self, food: impl ::core::convert::Into<crate::app::fooddata::FoodData>) -> () {
388        unsafe {
389            let __receiver =
390                <DishSelectMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
391            {
392                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
393                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
394                    panic!(
395                        "unity: virtual slot {}
396 out of range (vtable len {}
397) on the runtime class behind {}
398 (method `{}
399`)",
400                        13usize,
401                        __vt.len(),
402                        <DishSelectMenu_DecideEventHandler as ::unity::ClassIdentity>::NAME,
403                        "Invoke",
404                    )
405                });
406                let __inner: extern "C" fn(DishSelectMenu_DecideEventHandler, crate::app::fooddata::FoodData, ::unity::OptionalMethod) -> () =
407                    ::core::mem::transmute(__vi.method_ptr);
408                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
409                __inner(__receiver, ::core::convert::Into::into(food), __mi)
410            }
411        }
412    }
413}
414
415#[cfg(feature = "app-cooking_menu-dishselectmenu")]
416impl<__T: IDishSelectMenu_DecideEventHandler> IDishSelectMenu_DecideEventHandlerMethods for __T {}
417
418#[cfg(feature = "app-cooking_menu-dishselectmenu")]
419impl DishSelectMenu_DecideEventHandler {
420    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
421        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
422    }
423
424    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
425        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
426    }
427}
428
429#[cfg(feature = "app-cooking_menu-dishselectmenu")]
430impl DishSelectMenu_DecideEventHandler {
431    #[doc = "Direct (non-virtual) call to `DishSelectMenu_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
432    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, food: crate::app::fooddata::FoodData) -> () {
433        let __mi = Self::invoke_method_info();
434        let __inner: extern "C" fn(::unity::IlInstance, crate::app::fooddata::FoodData, ::unity::OptionalMethod) -> () =
435            ::core::mem::transmute(__mi.method_ptr);
436        __inner(this.into(), food, ::core::option::Option::None)
437    }
438}
439
440#[cfg(feature = "app-cooking_menu-dishselectmenu")]
441impl DishSelectMenu_DecideEventHandler {
442    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
443    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
444        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
445            panic!(
446                "{}
447::{}
448 failed to instantiate",
449                ::core::stringify!(DishSelectMenu_DecideEventHandler),
450                ::core::stringify!(new),
451            )
452        });
453        <Self as IDishSelectMenu_DecideEventHandlerMethods>::ctor(this, object, method);
454        this
455    }
456}
457
458#[cfg(feature = "app-cooking_menu-dishselectmenu")]
459pub trait IDishSelectMenu_DishSelectMenuManagerMethods: IDishSelectMenu_DishSelectMenuManager {
460    #[doc = "`OnCreate()` overload"]
461    fn on_create(self) -> () {
462        unsafe {
463            let __receiver = <DishSelectMenu_DishSelectMenuManager as ::unity::FromIlInstance>::from_il_instance(
464                <Self as ::unity::SystemObject>::as_instance(self),
465            );
466            {
467                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
468                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
469                    panic!(
470                        "unity: virtual slot {}
471 out of range (vtable len {}
472) on the runtime class behind {}
473 (method `{}
474`)",
475                        5usize,
476                        __vt.len(),
477                        <DishSelectMenu_DishSelectMenuManager as ::unity::ClassIdentity>::NAME,
478                        "OnCreate",
479                    )
480                });
481                let __inner: extern "C" fn(DishSelectMenu_DishSelectMenuManager, ::unity::OptionalMethod) -> () =
482                    ::core::mem::transmute(__vi.method_ptr);
483                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
484                __inner(__receiver, __mi)
485            }
486        }
487    }
488    #[doc = "`Save(crate::app::cooking_menu::dishselectmenu::DishSelectMenu)` overload"]
489    fn save(self, menu: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu>) -> () {
490        unsafe {
491            let __receiver = <DishSelectMenu_DishSelectMenuManager as ::unity::FromIlInstance>::from_il_instance(
492                <Self as ::unity::SystemObject>::as_instance(self),
493            );
494            ::unity::il2cpp_call!((::unity::module_base()+0x1bd3b00usize)as*mut u8,();
495(DishSelectMenu_DishSelectMenuManager)__receiver,(crate::app::cooking_menu::dishselectmenu::DishSelectMenu)::core::convert::Into::into(menu))
496        }
497    }
498    #[doc = "`Restore(crate::app::cooking_menu::dishselectmenu::DishSelectMenu)` overload"]
499    fn restore(self, menu: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu>) -> () {
500        unsafe {
501            let __receiver = <DishSelectMenu_DishSelectMenuManager as ::unity::FromIlInstance>::from_il_instance(
502                <Self as ::unity::SystemObject>::as_instance(self),
503            );
504            ::unity::il2cpp_call!((::unity::module_base()+0x1bd3a30usize)as*mut u8,();
505(DishSelectMenu_DishSelectMenuManager)__receiver,(crate::app::cooking_menu::dishselectmenu::DishSelectMenu)::core::convert::Into::into(menu))
506        }
507    }
508    #[doc = "`.ctor()` overload"]
509    fn ctor(self) -> () {
510        unsafe {
511            let __receiver = <DishSelectMenu_DishSelectMenuManager as ::unity::FromIlInstance>::from_il_instance(
512                <Self as ::unity::SystemObject>::as_instance(self),
513            );
514            ::unity::il2cpp_call!((::unity::module_base()+0x1bd3b20usize)as*mut u8,();
515(DishSelectMenu_DishSelectMenuManager)__receiver)
516        }
517    }
518}
519
520#[cfg(feature = "app-cooking_menu-dishselectmenu")]
521impl<__T: IDishSelectMenu_DishSelectMenuManager> IDishSelectMenu_DishSelectMenuManagerMethods for __T {}
522
523#[cfg(feature = "app-cooking_menu-dishselectmenu")]
524impl DishSelectMenu_DishSelectMenuManager {
525    pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
527    }
528
529    pub fn save_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
531    }
532
533    pub fn restore_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
535    }
536
537    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
539    }
540}
541
542#[cfg(feature = "app-cooking_menu-dishselectmenu")]
543impl DishSelectMenu_DishSelectMenuManager {
544    #[doc = "Direct (non-virtual) call to `DishSelectMenu_DishSelectMenuManager`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
545    pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
546        let __mi = Self::on_create_method_info();
547        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
548        __inner(this.into(), ::core::option::Option::None)
549    }
550}
551
552#[cfg(feature = "app-cooking_menu-dishselectmenu")]
553impl DishSelectMenu_DishSelectMenuManager {
554    #[doc = "`.ctor()` — no args"]
555    pub fn new() -> Self {
556        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
557            panic!(
558                "{}
559::{}
560 failed to instantiate",
561                ::core::stringify!(DishSelectMenu_DishSelectMenuManager),
562                ::core::stringify!(new),
563            )
564        });
565        <Self as IDishSelectMenu_DishSelectMenuManagerMethods>::ctor(this);
566        this
567    }
568}
569
570#[cfg(feature = "app-cooking_menu-dishselectmenu")]
571impl DishSelectMenu {
572    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent, crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_CancelEventHandler)` overload"]
573    pub fn create_bind(
574        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
575        all_content: impl ::core::convert::Into<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent>,
576        selected_unit_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>>,
577        decide_event_handler: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler>,
578        cancel_event_handler: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_CancelEventHandler>,
579    ) -> () {
580        unsafe {
581            ::unity::il2cpp_call!((::unity::module_base()+0x1cf76f0usize)as*mut u8,();
582(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent)::core::convert::Into::into(all_content),(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)::core::convert::Into::into(selected_unit_list),(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_CancelEventHandler)::core::convert::Into::into(cancel_event_handler))
583        }
584    }
585
586    #[doc = "`CreateMenuItemList()` overload"]
587    pub fn create_menu_item_list() -> crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> {
588        unsafe {
589            ::unity::il2cpp_call!((::unity::module_base()+0x1cf79f0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> ;
590            )
591        }
592    }
593
594    #[doc = "`.cctor()` overload"]
595    pub fn cctor() -> () {
596        unsafe {
597            ::unity::il2cpp_call!((::unity::module_base()+0x1cf8740usize)as*mut u8,();
598            )
599        }
600    }
601}
602
603#[cfg(feature = "app-cooking_menu-dishselectmenu")]
604pub trait IDishSelectMenuMethods: IDishSelectMenu {
605    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_CancelEventHandler)` overload"]
606    fn ctor(
607        self,
608        menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
609        cancel_event_handler: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_CancelEventHandler>,
610    ) -> () {
611        unsafe {
612            let __receiver = <DishSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
613            ::unity::il2cpp_call!((::unity::module_base()+0x1cf7470usize)as*mut u8,();
614(DishSelectMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>)::core::convert::Into::into(menu_item_list),(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_CancelEventHandler)::core::convert::Into::into(cancel_event_handler))
615        }
616    }
617    #[doc = "`GetName()` overload"]
618    fn get_name(self) -> ::unity::Il2CppString {
619        unsafe {
620            let __receiver = <DishSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
621            {
622                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
623                let __vi = *__vt.get(30usize).unwrap_or_else(|| {
624                    panic!(
625                        "unity: virtual slot {}
626 out of range (vtable len {}
627) on the runtime class behind {}
628 (method `{}
629`)",
630                        30usize,
631                        __vt.len(),
632                        <DishSelectMenu as ::unity::ClassIdentity>::NAME,
633                        "GetName",
634                    )
635                });
636                let __inner: extern "C" fn(DishSelectMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString =
637                    ::core::mem::transmute(__vi.method_ptr);
638                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
639                __inner(__receiver, __mi)
640            }
641        }
642    }
643    #[doc = "`SetupMenuSkill()` overload"]
644    fn setup_menu_skill(self) -> () {
645        unsafe {
646            let __receiver = <DishSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
647            ::unity::il2cpp_call!((::unity::module_base()+0x1cf7e40usize)as*mut u8,();
648(DishSelectMenu)__receiver)
649        }
650    }
651    #[doc = "`UpdateDisplayIndex()` overload"]
652    fn update_display_index(self) -> () {
653        unsafe {
654            let __receiver = <DishSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
655            ::unity::il2cpp_call!((::unity::module_base()+0x1cf7f60usize)as*mut u8,();
656(DishSelectMenu)__receiver)
657        }
658    }
659    #[doc = "`ACall()` overload"]
660    fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
661        unsafe {
662            let __receiver = <DishSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
663            {
664                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
665                let __vi = *__vt.get(50usize).unwrap_or_else(|| {
666                    panic!(
667                        "unity: virtual slot {}
668 out of range (vtable len {}
669) on the runtime class behind {}
670 (method `{}
671`)",
672                        50usize,
673                        __vt.len(),
674                        <DishSelectMenu as ::unity::ClassIdentity>::NAME,
675                        "ACall",
676                    )
677                });
678                let __inner: extern "C" fn(DishSelectMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
679                    ::core::mem::transmute(__vi.method_ptr);
680                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
681                __inner(__receiver, __mi)
682            }
683        }
684    }
685    #[doc = "`BCall()` overload"]
686    fn b_call(self) -> crate::app::basicmenu::BasicMenu_Result {
687        unsafe {
688            let __receiver = <DishSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
689            {
690                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
691                let __vi = *__vt.get(51usize).unwrap_or_else(|| {
692                    panic!(
693                        "unity: virtual slot {}
694 out of range (vtable len {}
695) on the runtime class behind {}
696 (method `{}
697`)",
698                        51usize,
699                        __vt.len(),
700                        <DishSelectMenu as ::unity::ClassIdentity>::NAME,
701                        "BCall",
702                    )
703                });
704                let __inner: extern "C" fn(DishSelectMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
705                    ::core::mem::transmute(__vi.method_ptr);
706                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
707                __inner(__receiver, __mi)
708            }
709        }
710    }
711    #[doc = "`KeyLeft(bool)` overload"]
712    fn key_left(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
713        unsafe {
714            let __receiver = <DishSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
715            {
716                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
717                let __vi = *__vt.get(42usize).unwrap_or_else(|| {
718                    panic!(
719                        "unity: virtual slot {}
720 out of range (vtable len {}
721) on the runtime class behind {}
722 (method `{}
723`)",
724                        42usize,
725                        __vt.len(),
726                        <DishSelectMenu as ::unity::ClassIdentity>::NAME,
727                        "KeyLeft",
728                    )
729                });
730                let __inner: extern "C" fn(DishSelectMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
731                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
732                __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
733            }
734        }
735    }
736    #[doc = "`KeyRight(bool)` overload"]
737    fn key_right(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
738        unsafe {
739            let __receiver = <DishSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
740            {
741                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
742                let __vi = *__vt.get(43usize).unwrap_or_else(|| {
743                    panic!(
744                        "unity: virtual slot {}
745 out of range (vtable len {}
746) on the runtime class behind {}
747 (method `{}
748`)",
749                        43usize,
750                        __vt.len(),
751                        <DishSelectMenu as ::unity::ClassIdentity>::NAME,
752                        "KeyRight",
753                    )
754                });
755                let __inner: extern "C" fn(DishSelectMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
756                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
757                __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
758            }
759        }
760    }
761    #[doc = "`OnDispose()` overload"]
762    fn on_dispose(self) -> () {
763        unsafe {
764            let __receiver = <DishSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
765            {
766                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
767                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
768                    panic!(
769                        "unity: virtual slot {}
770 out of range (vtable len {}
771) on the runtime class behind {}
772 (method `{}
773`)",
774                        10usize,
775                        __vt.len(),
776                        <DishSelectMenu as ::unity::ClassIdentity>::NAME,
777                        "OnDispose",
778                    )
779                });
780                let __inner: extern "C" fn(DishSelectMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
781                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
782                __inner(__receiver, __mi)
783            }
784        }
785    }
786}
787
788#[cfg(feature = "app-cooking_menu-dishselectmenu")]
789impl<__T: IDishSelectMenu> IDishSelectMenuMethods for __T {}
790
791#[cfg(feature = "app-cooking_menu-dishselectmenu")]
792impl DishSelectMenu {
793    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
794        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
795    }
796
797    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
798        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
799    }
800
801    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
802        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
803    }
804
805    pub fn create_menu_item_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
806        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
807    }
808
809    pub fn setup_menu_skill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
810        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
811    }
812
813    pub fn update_display_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
814        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
815    }
816
817    pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
818        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
819    }
820
821    pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
822        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
823    }
824
825    pub fn key_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
826        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
827    }
828
829    pub fn key_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
830        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
831    }
832
833    pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
834        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
835    }
836
837    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
838        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
839    }
840}
841
842#[cfg(feature = "app-cooking_menu-dishselectmenu")]
843impl DishSelectMenu {
844    #[doc = "Direct (non-virtual) call to `DishSelectMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
845    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
846        let __mi = Self::get_name_method_info();
847        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
848        __inner(this.into(), ::core::option::Option::None)
849    }
850
851    #[doc = "Direct (non-virtual) call to `DishSelectMenu`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
852    pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
853        let __mi = Self::a_call_method_info();
854        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
855            ::core::mem::transmute(__mi.method_ptr);
856        __inner(this.into(), ::core::option::Option::None)
857    }
858
859    #[doc = "Direct (non-virtual) call to `DishSelectMenu`'s own `BCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
860    pub unsafe fn b_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
861        let __mi = Self::b_call_method_info();
862        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
863            ::core::mem::transmute(__mi.method_ptr);
864        __inner(this.into(), ::core::option::Option::None)
865    }
866
867    #[doc = "Direct (non-virtual) call to `DishSelectMenu`'s own `KeyLeft`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
868    pub unsafe fn key_left(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
869        let __mi = Self::key_left_method_info();
870        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
871        __inner(this.into(), is_trigger, ::core::option::Option::None)
872    }
873
874    #[doc = "Direct (non-virtual) call to `DishSelectMenu`'s own `KeyRight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
875    pub unsafe fn key_right(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
876        let __mi = Self::key_right_method_info();
877        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
878        __inner(this.into(), is_trigger, ::core::option::Option::None)
879    }
880
881    #[doc = "Direct (non-virtual) call to `DishSelectMenu`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
882    pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
883        let __mi = Self::on_dispose_method_info();
884        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
885        __inner(this.into(), ::core::option::Option::None)
886    }
887}
888
889#[cfg(feature = "app-cooking_menu-dishselectmenu")]
890impl DishSelectMenu {
891    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_CancelEventHandler)` — overload selector"]
892    pub fn new(
893        menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
894        cancel_event_handler: crate::app::cooking_menu::dishselectmenu::DishSelectMenu_CancelEventHandler,
895    ) -> Self {
896        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
897            panic!(
898                "{}
899::{}
900 failed to instantiate",
901                ::core::stringify!(DishSelectMenu),
902                ::core::stringify!(new),
903            )
904        });
905        <Self as IDishSelectMenuMethods>::ctor(this, menu_item_list, cancel_event_handler);
906        this
907    }
908}
909
910#[cfg(feature = "app-cooking_menu-dishselectmenu")]
911pub trait IDishSelectMenu_DishSelectMenuItemMethods: IDishSelectMenu_DishSelectMenuItem {
912    #[doc = "`.ctor(crate::app::fooddata::FoodData, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_SelectEventHandler)` overload"]
913    fn ctor(
914        self,
915        food_data: impl ::core::convert::Into<crate::app::fooddata::FoodData>,
916        decide_event_handler: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler>,
917        select_event_handler: impl ::core::convert::Into<crate::app::cooking_menu::dishselectmenu::DishSelectMenu_SelectEventHandler>,
918    ) -> () {
919        unsafe {
920            let __receiver =
921                <DishSelectMenu_DishSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
922            ::unity::il2cpp_call!((::unity::module_base()+0x1bd27b0usize)as*mut u8,();
923(DishSelectMenu_DishSelectMenuItem)__receiver,(crate::app::fooddata::FoodData)::core::convert::Into::into(food_data),(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::cooking_menu::dishselectmenu::DishSelectMenu_SelectEventHandler)::core::convert::Into::into(select_event_handler))
924        }
925    }
926    #[doc = "`ACall()` overload"]
927    fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
928        unsafe {
929            let __receiver =
930                <DishSelectMenu_DishSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
931            {
932                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
933                let __vi = *__vt.get(18usize).unwrap_or_else(|| {
934                    panic!(
935                        "unity: virtual slot {}
936 out of range (vtable len {}
937) on the runtime class behind {}
938 (method `{}
939`)",
940                        18usize,
941                        __vt.len(),
942                        <DishSelectMenu_DishSelectMenuItem as ::unity::ClassIdentity>::NAME,
943                        "ACall",
944                    )
945                });
946                let __inner: extern "C" fn(DishSelectMenu_DishSelectMenuItem, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
947                    ::core::mem::transmute(__vi.method_ptr);
948                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
949                __inner(__receiver, __mi)
950            }
951        }
952    }
953    #[doc = "`BuildAttribute()` overload"]
954    fn build_attribute(self) -> crate::app::basicmenuitem::BasicMenuItem_Attribute {
955        unsafe {
956            let __receiver =
957                <DishSelectMenu_DishSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
958            {
959                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
960                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
961                    panic!(
962                        "unity: virtual slot {}
963 out of range (vtable len {}
964) on the runtime class behind {}
965 (method `{}
966`)",
967                        8usize,
968                        __vt.len(),
969                        <DishSelectMenu_DishSelectMenuItem as ::unity::ClassIdentity>::NAME,
970                        "BuildAttribute",
971                    )
972                });
973                let __inner: extern "C" fn(
974                    DishSelectMenu_DishSelectMenuItem,
975                    ::unity::OptionalMethod,
976                ) -> crate::app::basicmenuitem::BasicMenuItem_Attribute = ::core::mem::transmute(__vi.method_ptr);
977                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
978                __inner(__receiver, __mi)
979            }
980        }
981    }
982    #[doc = "`OnSelect()` overload"]
983    fn on_select(self) -> () {
984        unsafe {
985            let __receiver =
986                <DishSelectMenu_DishSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
987            {
988                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
989                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
990                    panic!(
991                        "unity: virtual slot {}
992 out of range (vtable len {}
993) on the runtime class behind {}
994 (method `{}
995`)",
996                        12usize,
997                        __vt.len(),
998                        <DishSelectMenu_DishSelectMenuItem as ::unity::ClassIdentity>::NAME,
999                        "OnSelect",
1000                    )
1001                });
1002                let __inner: extern "C" fn(DishSelectMenu_DishSelectMenuItem, ::unity::OptionalMethod) -> () =
1003                    ::core::mem::transmute(__vi.method_ptr);
1004                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1005                __inner(__receiver, __mi)
1006            }
1007        }
1008    }
1009    #[doc = "`GetFood()` overload"]
1010    fn get_food(self) -> crate::app::fooddata::FoodData {
1011        unsafe {
1012            let __receiver =
1013                <DishSelectMenu_DishSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1014            ::unity::il2cpp_call!((::unity::module_base()+0x1bd3a70usize)as*mut u8,crate::app::fooddata::FoodData;
1015(DishSelectMenu_DishSelectMenuItem)__receiver)
1016        }
1017    }
1018}
1019
1020#[cfg(feature = "app-cooking_menu-dishselectmenu")]
1021impl<__T: IDishSelectMenu_DishSelectMenuItem> IDishSelectMenu_DishSelectMenuItemMethods for __T {}
1022
1023#[cfg(feature = "app-cooking_menu-dishselectmenu")]
1024impl DishSelectMenu_DishSelectMenuItem {
1025    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1026        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1027    }
1028
1029    pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1030        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1031    }
1032
1033    pub fn build_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1034        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1035    }
1036
1037    pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1038        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1039    }
1040
1041    pub fn get_food_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1042        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1043    }
1044}
1045
1046#[cfg(feature = "app-cooking_menu-dishselectmenu")]
1047impl DishSelectMenu_DishSelectMenuItem {
1048    #[doc = "Direct (non-virtual) call to `DishSelectMenu_DishSelectMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1049    pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
1050        let __mi = Self::a_call_method_info();
1051        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
1052            ::core::mem::transmute(__mi.method_ptr);
1053        __inner(this.into(), ::core::option::Option::None)
1054    }
1055
1056    #[doc = "Direct (non-virtual) call to `DishSelectMenu_DishSelectMenuItem`'s own `BuildAttribute`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1057    pub unsafe fn build_attribute(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenuitem::BasicMenuItem_Attribute {
1058        let __mi = Self::build_attribute_method_info();
1059        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenuitem::BasicMenuItem_Attribute =
1060            ::core::mem::transmute(__mi.method_ptr);
1061        __inner(this.into(), ::core::option::Option::None)
1062    }
1063
1064    #[doc = "Direct (non-virtual) call to `DishSelectMenu_DishSelectMenuItem`'s own `OnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1065    pub unsafe fn on_select(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1066        let __mi = Self::on_select_method_info();
1067        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1068        __inner(this.into(), ::core::option::Option::None)
1069    }
1070}
1071
1072#[cfg(feature = "app-cooking_menu-dishselectmenu")]
1073impl DishSelectMenu_DishSelectMenuItem {
1074    #[doc = "`.ctor(crate::app::fooddata::FoodData, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler, crate::app::cooking_menu::dishselectmenu::DishSelectMenu_SelectEventHandler)` — overload selector"]
1075    pub fn new(
1076        food_data: crate::app::fooddata::FoodData,
1077        decide_event_handler: crate::app::cooking_menu::dishselectmenu::DishSelectMenu_DecideEventHandler,
1078        select_event_handler: crate::app::cooking_menu::dishselectmenu::DishSelectMenu_SelectEventHandler,
1079    ) -> Self {
1080        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1081            panic!(
1082                "{}
1083::{}
1084 failed to instantiate",
1085                ::core::stringify!(DishSelectMenu_DishSelectMenuItem),
1086                ::core::stringify!(new),
1087            )
1088        });
1089        <Self as IDishSelectMenu_DishSelectMenuItemMethods>::ctor(this, food_data, decide_event_handler, select_event_handler);
1090        this
1091    }
1092}
1093
1094#[cfg(feature = "app-cooking_menu-dishselectmenu")]
1095#[doc(hidden)]
1096pub mod prelude {
1097    pub use super::{
1098        DishSelectMenu, DishSelectMenu_CancelEventHandler, DishSelectMenu_DecideEventHandler, DishSelectMenu_DishMenuCompare,
1099        DishSelectMenu_DishSelectMenuItem, DishSelectMenu_DishSelectMenuManager, DishSelectMenu_SelectEventHandler, IDishSelectMenu,
1100        IDishSelectMenuMethods, IDishSelectMenu_CancelEventHandler, IDishSelectMenu_CancelEventHandlerMethods, IDishSelectMenu_DecideEventHandler,
1101        IDishSelectMenu_DecideEventHandlerMethods, IDishSelectMenu_DishMenuCompare, IDishSelectMenu_DishMenuCompareMethods,
1102        IDishSelectMenu_DishSelectMenuItem, IDishSelectMenu_DishSelectMenuItemMethods, IDishSelectMenu_DishSelectMenuManager,
1103        IDishSelectMenu_DishSelectMenuManagerMethods, IDishSelectMenu_SelectEventHandler, IDishSelectMenu_SelectEventHandlerMethods,
1104    };
1105    #[cfg(feature = "app-basicmenu")]
1106    pub use crate::app::basicmenu::IBasicMenuMethods;
1107    #[cfg(feature = "app-basicmenuitem")]
1108    pub use crate::app::basicmenuitem::IBasicMenuItemMethods;
1109    #[cfg(feature = "app-procinst")]
1110    pub use crate::app::procinst::IProcInstMethods;
1111    #[cfg(feature = "app-singletonclass_1")]
1112    pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
1113    #[cfg(feature = "system-delegate")]
1114    pub use crate::system::delegate::IDelegateMethods;
1115    #[cfg(feature = "system-multicastdelegate")]
1116    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
1117    #[cfg(feature = "system-object")]
1118    pub use crate::system::object::IObjectMethods;
1119    pub use crate::{
1120        app::{basicmenu::IBasicMenu, basicmenuitem::IBasicMenuItem, procinst::IProcInst, singletonclass_1::ISingletonClass_1},
1121        system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject},
1122    };
1123}