1#[cfg(feature = "app-cooking_menu-dishallmenucontent-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishallmenucontent/DishAllMenuContent_HistoryObject.md"))]
19 #[::unity::class(namespace = "App.CookingMenu", name = "DishAllMenuContent.HistoryObject")]
20 #[parent(crate::system::object::Object)]
21 pub struct DishAllMenuContent_HistoryObject {
22 #[offset(16)]
23 #[rename(name = "m_GameObject")]
24 pub m_game_object: crate::unity_engine::gameobject::GameObject,
25 #[offset(24)]
26 #[rename(name = "m_CanvasGroup")]
27 pub m_canvas_group: crate::unity_engine::canvasgroup::CanvasGroup,
28 }
29
30 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishallmenucontent/DishAllMenuContent_UnitsHistory.md"))]
31 #[::unity::class(namespace = "App.CookingMenu", name = "DishAllMenuContent.UnitsHistory")]
32 #[parent(crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_HistoryObject)]
33 pub struct DishAllMenuContent_UnitsHistory {
34 #[offset(32)]
35 #[rename(name = "m_UnitIcon0")]
36 pub m_unit_icon0: crate::app::uniticon::UnitIcon,
37 #[offset(40)]
38 #[rename(name = "m_UnitName0")]
39 pub m_unit_name0: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
40 #[offset(48)]
41 #[rename(name = "m_UnitIcon1")]
42 pub m_unit_icon1: crate::app::uniticon::UnitIcon,
43 #[offset(56)]
44 #[rename(name = "m_UnitName1")]
45 pub m_unit_name1: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
46 #[offset(64)]
47 #[rename(name = "m_UnitGrp")]
48 pub m_unit_grp: crate::unity_engine::gameobject::GameObject,
49 #[offset(72)]
50 #[rename(name = "m_Blank")]
51 pub m_blank: crate::unity_engine::gameobject::GameObject,
52 }
53
54 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishallmenucontent/DishAllMenuContent_EnhanceObject.md"))]
55 #[::unity::class(namespace = "App.CookingMenu", name = "DishAllMenuContent.EnhanceObject")]
56 #[parent(crate::system::object::Object)]
57 pub struct DishAllMenuContent_EnhanceObject {
58 #[offset(16)]
59 #[rename(name = "m_GameObject")]
60 pub m_game_object: crate::unity_engine::gameobject::GameObject,
61 #[offset(24)]
62 #[rename(name = "m_Name")]
63 pub m_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
64 #[offset(32)]
65 #[rename(name = "m_Value")]
66 pub m_value: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
67 }
68
69 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishallmenucontent/DishAllMenuContent_FoodstuffsHistory.md"))]
70 #[::unity::class(namespace = "App.CookingMenu", name = "DishAllMenuContent.FoodstuffsHistory")]
71 #[parent(crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_HistoryObject)]
72 pub struct DishAllMenuContent_FoodstuffsHistory {
73 #[offset(32)]
74 #[rename(name = "m_FoodstuffItemList")]
75 pub m_foodstuff_item_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>,
76 #[offset(40)]
77 #[rename(name = "m_FoodstuffGroup")]
78 pub m_foodstuff_group: crate::unity_engine::gameobject::GameObject,
79 #[offset(48)]
80 #[rename(name = "m_Nothing")]
81 pub m_nothing: crate::unity_engine::gameobject::GameObject,
82 #[offset(56)]
83 #[rename(name = "m_Blank")]
84 pub m_blank: crate::unity_engine::gameobject::GameObject,
85 }
86
87 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishallmenucontent/DishAllMenuContent_CookHistory.md"))]
88 #[::unity::class(namespace = "App.CookingMenu", name = "DishAllMenuContent.CookHistory")]
89 #[parent(crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_HistoryObject)]
90 pub struct DishAllMenuContent_CookHistory {}
91
92 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishallmenucontent/DishAllMenuContent.md"))]
93 #[::unity::class(namespace = "App.CookingMenu", name = "DishAllMenuContent")]
94 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
95 pub struct DishAllMenuContent {
96 #[static_field]
97 #[rename(name = "PrefabPath")]
98 pub prefab_path: ::unity::Il2CppString,
99 #[offset(24)]
100 #[rename(name = "m_UnitSelectMenuContent")]
101 pub m_unit_select_menu_content: crate::app::cooking_menu::unitselectmenucontent_2::UnitSelectMenuContent_2,
102 #[offset(32)]
103 #[rename(name = "m_DishSelectMenuContent")]
104 pub m_dish_select_menu_content: crate::app::cooking_menu::dishselectmenucontent::DishSelectMenuContent,
105 #[offset(40)]
106 #[rename(name = "m_FoodstuffMenuContent")]
107 pub m_foodstuff_menu_content: crate::app::cooking_menu::foodstuffmenucontent::FoodstuffMenuContent,
108 #[offset(48)]
109 #[rename(name = "m_HistoryList")]
110 pub m_history_list:
111 crate::system::collections::generic::list_1::List_1<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_HistoryObject>,
112 #[offset(56)]
113 #[rename(name = "m_CookHistory")]
114 pub m_cook_history: crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_CookHistory,
115 #[offset(64)]
116 #[rename(name = "m_UnitsHistory")]
117 pub m_units_history: crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_UnitsHistory,
118 #[offset(72)]
119 #[rename(name = "m_DishHistory")]
120 pub m_dish_history: crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_DishHistory,
121 #[offset(80)]
122 #[rename(name = "m_FoodstuffsHistory")]
123 pub m_foodstuffs_history: crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_FoodstuffsHistory,
124 #[offset(88)]
125 #[rename(name = "m_UnitIcon0")]
126 pub m_unit_icon0: crate::app::uniticon::UnitIcon,
127 #[offset(96)]
128 #[rename(name = "m_UnitName0")]
129 pub m_unit_name0: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
130 #[offset(104)]
131 #[rename(name = "m_UnitIcon1")]
132 pub m_unit_icon1: crate::app::uniticon::UnitIcon,
133 #[offset(112)]
134 #[rename(name = "m_UnitName1")]
135 pub m_unit_name1: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
136 #[offset(120)]
137 #[rename(name = "m_FoodName")]
138 pub m_food_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
139 #[offset(128)]
140 #[rename(name = "m_DifficultyIcon")]
141 pub m_difficulty_icon: crate::unity_engine::gameobject::GameObject,
142 #[offset(136)]
143 #[rename(name = "m_FoodDifficulty")]
144 pub m_food_difficulty: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
145 #[offset(144)]
146 #[rename(name = "m_EnhanceObjectList")]
147 pub m_enhance_object_list:
148 crate::system::collections::generic::list_1::List_1<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_EnhanceObject>,
149 #[offset(152)]
150 #[rename(name = "m_FoodstuffItemList")]
151 pub m_foodstuff_item_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>,
152 #[offset(160)]
153 #[rename(name = "m_FoodstuffGroup")]
154 pub m_foodstuff_group: crate::unity_engine::gameobject::GameObject,
155 #[offset(168)]
156 #[rename(name = "m_CookChefTitleText")]
157 pub m_cook_chef_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
158 #[offset(176)]
159 #[rename(name = "m_FriendTitleText")]
160 pub m_friend_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
161 #[offset(184)]
162 #[rename(name = "m_CookMenuTitleText")]
163 pub m_cook_menu_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
164 #[offset(192)]
165 #[rename(name = "m_BasicEffectTitleText")]
166 pub m_basic_effect_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
167 #[offset(200)]
168 #[rename(name = "m_CookAddFoodTitleText")]
169 pub m_cook_add_food_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
170 #[offset(208)]
171 #[rename(name = "m_CookAddFoodNothingTitleText")]
172 pub m_cook_add_food_nothing_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
173 #[offset(216)]
174 #[rename(name = "m_Animator")]
175 pub m_animator: crate::unity_engine::animator::Animator,
176 }
177
178 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/cooking_menu/dishallmenucontent/DishAllMenuContent_DishHistory.md"))]
179 #[::unity::class(namespace = "App.CookingMenu", name = "DishAllMenuContent.DishHistory")]
180 #[parent(crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_HistoryObject)]
181 pub struct DishAllMenuContent_DishHistory {
182 #[offset(32)]
183 #[rename(name = "m_FoodName")]
184 pub m_food_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
185 #[offset(40)]
186 #[rename(name = "m_DifficultyIcon")]
187 pub m_difficulty_icon: crate::unity_engine::gameobject::GameObject,
188 #[offset(48)]
189 #[rename(name = "m_FoodDifficulty")]
190 pub m_food_difficulty: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
191 #[offset(56)]
192 #[rename(name = "m_EnhanceObjectList")]
193 pub m_enhance_object_list:
194 crate::system::collections::generic::list_1::List_1<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_EnhanceObject>,
195 #[offset(64)]
196 #[rename(name = "m_Dish")]
197 pub m_dish: crate::unity_engine::gameobject::GameObject,
198 #[offset(72)]
199 #[rename(name = "m_Params")]
200 pub m_params: crate::unity_engine::gameobject::GameObject,
201 #[offset(80)]
202 #[rename(name = "m_Blank0")]
203 pub m_blank0: crate::unity_engine::gameobject::GameObject,
204 #[offset(88)]
205 #[rename(name = "m_Blank1")]
206 pub m_blank1: crate::unity_engine::gameobject::GameObject,
207 }
208}
209
210#[cfg(feature = "app-cooking_menu-dishallmenucontent-types")]
211pub use __types::*;
212
213#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
214pub trait IDishAllMenuContent_HistoryObjectMethods: IDishAllMenuContent_HistoryObject {
215 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
216 fn ctor(self, game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
217 unsafe {
218 let __receiver =
219 <DishAllMenuContent_HistoryObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
220 ::unity::il2cpp_call!((::unity::module_base()+0x1bd0a00usize)as*mut u8,();
221(DishAllMenuContent_HistoryObject)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
222 }
223 }
224 #[doc = "`Show()` overload"]
225 fn show(self) -> () {
226 unsafe {
227 let __receiver =
228 <DishAllMenuContent_HistoryObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229 {
230 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
231 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
232 panic!(
233 "unity: virtual slot {}
234 out of range (vtable len {}
235) on the runtime class behind {}
236 (method `{}
237`)",
238 4usize,
239 __vt.len(),
240 <DishAllMenuContent_HistoryObject as ::unity::ClassIdentity>::NAME,
241 "Show",
242 )
243 });
244 let __inner: extern "C" fn(DishAllMenuContent_HistoryObject, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
245 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
246 __inner(__receiver, __mi)
247 }
248 }
249 }
250 #[doc = "`Hide()` overload"]
251 fn hide(self) -> () {
252 unsafe {
253 let __receiver =
254 <DishAllMenuContent_HistoryObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255 {
256 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
257 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
258 panic!(
259 "unity: virtual slot {}
260 out of range (vtable len {}
261) on the runtime class behind {}
262 (method `{}
263`)",
264 5usize,
265 __vt.len(),
266 <DishAllMenuContent_HistoryObject as ::unity::ClassIdentity>::NAME,
267 "Hide",
268 )
269 });
270 let __inner: extern "C" fn(DishAllMenuContent_HistoryObject, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
271 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
272 __inner(__receiver, __mi)
273 }
274 }
275 }
276 #[doc = "`get_gameObject()` overload"]
277 fn get_game_object(self) -> crate::unity_engine::gameobject::GameObject {
278 unsafe {
279 let __receiver =
280 <DishAllMenuContent_HistoryObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
281 ::unity::il2cpp_call!((::unity::module_base()+0x1bd1f50usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
282(DishAllMenuContent_HistoryObject)__receiver)
283 }
284 }
285}
286
287#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
288impl<__T: IDishAllMenuContent_HistoryObject> IDishAllMenuContent_HistoryObjectMethods for __T {}
289
290#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
291impl DishAllMenuContent_HistoryObject {
292 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
294 }
295
296 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
297 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
298 }
299
300 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
301 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
302 }
303
304 pub fn get_game_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
305 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
306 }
307}
308
309#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
310impl DishAllMenuContent_HistoryObject {
311 #[doc = "Direct (non-virtual) call to `DishAllMenuContent_HistoryObject`'s own `Show`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
312 pub unsafe fn show(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
313 let __mi = Self::show_method_info();
314 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
315 __inner(this.into(), ::core::option::Option::None)
316 }
317
318 #[doc = "Direct (non-virtual) call to `DishAllMenuContent_HistoryObject`'s own `Hide`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
319 pub unsafe fn hide(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
320 let __mi = Self::hide_method_info();
321 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
322 __inner(this.into(), ::core::option::Option::None)
323 }
324}
325
326#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
327impl DishAllMenuContent_HistoryObject {
328 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
329 pub fn new(game_object: crate::unity_engine::gameobject::GameObject) -> Self {
330 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
331 panic!(
332 "{}
333::{}
334 failed to instantiate",
335 ::core::stringify!(DishAllMenuContent_HistoryObject),
336 ::core::stringify!(new),
337 )
338 });
339 <Self as IDishAllMenuContent_HistoryObjectMethods>::ctor(this, game_object);
340 this
341 }
342}
343
344#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
345pub trait IDishAllMenuContent_UnitsHistoryMethods: IDishAllMenuContent_UnitsHistory {
346 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject, crate::app::uniticon::UnitIcon, crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::app::uniticon::UnitIcon, crate::tm_pro::textmeshprougui::TextMeshProUGUI)` overload"]
347 fn ctor(
348 self,
349 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
350 unit_icon0: impl ::core::convert::Into<crate::app::uniticon::UnitIcon>,
351 unit_name0: impl ::core::convert::Into<crate::tm_pro::textmeshprougui::TextMeshProUGUI>,
352 unit_icon1: impl ::core::convert::Into<crate::app::uniticon::UnitIcon>,
353 unit_name1: impl ::core::convert::Into<crate::tm_pro::textmeshprougui::TextMeshProUGUI>,
354 ) -> () {
355 unsafe {
356 let __receiver =
357 <DishAllMenuContent_UnitsHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
358 ::unity::il2cpp_call!((::unity::module_base()+0x1bd1f60usize)as*mut u8,();
359(DishAllMenuContent_UnitsHistory)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(crate::app::uniticon::UnitIcon)::core::convert::Into::into(unit_icon0),(crate::tm_pro::textmeshprougui::TextMeshProUGUI)::core::convert::Into::into(unit_name0),(crate::app::uniticon::UnitIcon)::core::convert::Into::into(unit_icon1),(crate::tm_pro::textmeshprougui::TextMeshProUGUI)::core::convert::Into::into(unit_name1))
360 }
361 }
362 #[doc = "`Show(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)` overload"]
363 fn show(self, unit_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>>) -> () {
364 unsafe {
365 let __receiver =
366 <DishAllMenuContent_UnitsHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
367 ::unity::il2cpp_call!((::unity::module_base()+0x1bd2100usize)as*mut u8,();
368(DishAllMenuContent_UnitsHistory)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)::core::convert::Into::into(unit_list))
369 }
370 }
371 #[doc = "`Hide()` overload"]
372 fn hide(self) -> () {
373 unsafe {
374 let __receiver =
375 <DishAllMenuContent_UnitsHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376 {
377 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
378 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
379 panic!(
380 "unity: virtual slot {}
381 out of range (vtable len {}
382) on the runtime class behind {}
383 (method `{}
384`)",
385 5usize,
386 __vt.len(),
387 <DishAllMenuContent_UnitsHistory as ::unity::ClassIdentity>::NAME,
388 "Hide",
389 )
390 });
391 let __inner: extern "C" fn(DishAllMenuContent_UnitsHistory, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
392 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
393 __inner(__receiver, __mi)
394 }
395 }
396 }
397}
398
399#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
400impl<__T: IDishAllMenuContent_UnitsHistory> IDishAllMenuContent_UnitsHistoryMethods for __T {}
401
402#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
403impl DishAllMenuContent_UnitsHistory {
404 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
405 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
406 }
407
408 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
409 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
410 }
411
412 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
413 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
414 }
415}
416
417#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
418impl DishAllMenuContent_UnitsHistory {
419 #[doc = "Direct (non-virtual) call to `DishAllMenuContent_UnitsHistory`'s own `Hide`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
420 pub unsafe fn hide(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
421 let __mi = Self::hide_method_info();
422 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
423 __inner(this.into(), ::core::option::Option::None)
424 }
425}
426
427#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
428impl DishAllMenuContent_UnitsHistory {
429 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject, crate::app::uniticon::UnitIcon, crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::app::uniticon::UnitIcon, crate::tm_pro::textmeshprougui::TextMeshProUGUI)` — overload selector"]
430 pub fn new(
431 game_object: crate::unity_engine::gameobject::GameObject,
432 unit_icon0: crate::app::uniticon::UnitIcon,
433 unit_name0: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
434 unit_icon1: crate::app::uniticon::UnitIcon,
435 unit_name1: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
436 ) -> Self {
437 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
438 panic!(
439 "{}
440::{}
441 failed to instantiate",
442 ::core::stringify!(DishAllMenuContent_UnitsHistory),
443 ::core::stringify!(new),
444 )
445 });
446 <Self as IDishAllMenuContent_UnitsHistoryMethods>::ctor(this, game_object, unit_icon0, unit_name0, unit_icon1, unit_name1);
447 this
448 }
449}
450
451#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
452pub trait IDishAllMenuContent_EnhanceObjectMethods: IDishAllMenuContent_EnhanceObject {
453 #[doc = "`.ctor()` overload"]
454 fn ctor(self) -> () {
455 unsafe {
456 let __receiver =
457 <DishAllMenuContent_EnhanceObject as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
458 ::unity::il2cpp_call!((::unity::module_base()+0x1bd1740usize)as*mut u8,();
459(DishAllMenuContent_EnhanceObject)__receiver)
460 }
461 }
462}
463
464#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
465impl<__T: IDishAllMenuContent_EnhanceObject> IDishAllMenuContent_EnhanceObjectMethods for __T {}
466
467#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
468impl DishAllMenuContent_EnhanceObject {
469 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
471 }
472}
473
474#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
475impl DishAllMenuContent_EnhanceObject {
476 #[doc = "`.ctor()` — no args"]
477 pub fn new() -> Self {
478 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
479 panic!(
480 "{}
481::{}
482 failed to instantiate",
483 ::core::stringify!(DishAllMenuContent_EnhanceObject),
484 ::core::stringify!(new),
485 )
486 });
487 <Self as IDishAllMenuContent_EnhanceObjectMethods>::ctor(this);
488 this
489 }
490}
491
492#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
493pub trait IDishAllMenuContent_FoodstuffsHistoryMethods: IDishAllMenuContent_FoodstuffsHistory {
494 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject, crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>, crate::unity_engine::gameobject::GameObject)` overload"]
495 fn ctor(
496 self,
497 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
498 foodstuff_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>>,
499 foodstuff_group: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
500 ) -> () {
501 unsafe {
502 let __receiver = <DishAllMenuContent_FoodstuffsHistory as ::unity::FromIlInstance>::from_il_instance(
503 <Self as ::unity::SystemObject>::as_instance(self),
504 );
505 ::unity::il2cpp_call!((::unity::module_base()+0x1bd1750usize)as*mut u8,();
506(DishAllMenuContent_FoodstuffsHistory)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>)::core::convert::Into::into(foodstuff_item_list),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(foodstuff_group))
507 }
508 }
509 #[doc = "`Show(crate::system::collections::generic::list_1::List_1<crate::app::foodstuffdata::FoodstuffData>)` overload"]
510 fn show(
511 self,
512 foodstuffs: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::foodstuffdata::FoodstuffData>>,
513 ) -> () {
514 unsafe {
515 let __receiver = <DishAllMenuContent_FoodstuffsHistory as ::unity::FromIlInstance>::from_il_instance(
516 <Self as ::unity::SystemObject>::as_instance(self),
517 );
518 ::unity::il2cpp_call!((::unity::module_base()+0x1bd18c0usize)as*mut u8,();
519(DishAllMenuContent_FoodstuffsHistory)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::foodstuffdata::FoodstuffData>)::core::convert::Into::into(foodstuffs))
520 }
521 }
522 #[doc = "`SetFoodstuffs(crate::system::collections::generic::list_1::List_1<crate::app::foodstuffdata::FoodstuffData>)` overload"]
523 fn set_foodstuffs(
524 self,
525 foodstuffs: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::foodstuffdata::FoodstuffData>>,
526 ) -> () {
527 unsafe {
528 let __receiver = <DishAllMenuContent_FoodstuffsHistory as ::unity::FromIlInstance>::from_il_instance(
529 <Self as ::unity::SystemObject>::as_instance(self),
530 );
531 ::unity::il2cpp_call!((::unity::module_base()+0x1bd19a0usize)as*mut u8,();
532(DishAllMenuContent_FoodstuffsHistory)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::foodstuffdata::FoodstuffData>)::core::convert::Into::into(foodstuffs))
533 }
534 }
535 #[doc = "`SetFoodstuffItem(crate::unity_engine::gameobject::GameObject, crate::app::foodstuffdata::FoodstuffData)` overload"]
536 fn set_foodstuff_item(
537 self,
538 content_item: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
539 data: impl ::core::convert::Into<crate::app::foodstuffdata::FoodstuffData>,
540 ) -> () {
541 unsafe {
542 let __receiver = <DishAllMenuContent_FoodstuffsHistory as ::unity::FromIlInstance>::from_il_instance(
543 <Self as ::unity::SystemObject>::as_instance(self),
544 );
545 ::unity::il2cpp_call!((::unity::module_base()+0x1bd1d70usize)as*mut u8,();
546(DishAllMenuContent_FoodstuffsHistory)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(content_item),(crate::app::foodstuffdata::FoodstuffData)::core::convert::Into::into(data))
547 }
548 }
549 #[doc = "`Hide()` overload"]
550 fn hide(self) -> () {
551 unsafe {
552 let __receiver = <DishAllMenuContent_FoodstuffsHistory as ::unity::FromIlInstance>::from_il_instance(
553 <Self as ::unity::SystemObject>::as_instance(self),
554 );
555 {
556 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
557 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
558 panic!(
559 "unity: virtual slot {}
560 out of range (vtable len {}
561) on the runtime class behind {}
562 (method `{}
563`)",
564 5usize,
565 __vt.len(),
566 <DishAllMenuContent_FoodstuffsHistory as ::unity::ClassIdentity>::NAME,
567 "Hide",
568 )
569 });
570 let __inner: extern "C" fn(DishAllMenuContent_FoodstuffsHistory, ::unity::OptionalMethod) -> () =
571 ::core::mem::transmute(__vi.method_ptr);
572 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
573 __inner(__receiver, __mi)
574 }
575 }
576 }
577}
578
579#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
580impl<__T: IDishAllMenuContent_FoodstuffsHistory> IDishAllMenuContent_FoodstuffsHistoryMethods for __T {}
581
582#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
583impl DishAllMenuContent_FoodstuffsHistory {
584 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
585 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
586 }
587
588 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
589 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
590 }
591
592 pub fn set_foodstuffs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
593 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
594 }
595
596 pub fn set_foodstuff_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
597 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
598 }
599
600 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
601 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
602 }
603}
604
605#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
606impl DishAllMenuContent_FoodstuffsHistory {
607 #[doc = "Direct (non-virtual) call to `DishAllMenuContent_FoodstuffsHistory`'s own `Hide`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
608 pub unsafe fn hide(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
609 let __mi = Self::hide_method_info();
610 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
611 __inner(this.into(), ::core::option::Option::None)
612 }
613}
614
615#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
616impl DishAllMenuContent_FoodstuffsHistory {
617 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject, crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>, crate::unity_engine::gameobject::GameObject)` — overload selector"]
618 pub fn new(
619 game_object: crate::unity_engine::gameobject::GameObject,
620 foodstuff_item_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>,
621 foodstuff_group: crate::unity_engine::gameobject::GameObject,
622 ) -> Self {
623 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
624 panic!(
625 "{}
626::{}
627 failed to instantiate",
628 ::core::stringify!(DishAllMenuContent_FoodstuffsHistory),
629 ::core::stringify!(new),
630 )
631 });
632 <Self as IDishAllMenuContent_FoodstuffsHistoryMethods>::ctor(this, game_object, foodstuff_item_list, foodstuff_group);
633 this
634 }
635}
636
637#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
638pub trait IDishAllMenuContent_CookHistoryMethods: IDishAllMenuContent_CookHistory {
639 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
640 fn ctor(self, game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
641 unsafe {
642 let __receiver =
643 <DishAllMenuContent_CookHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
644 ::unity::il2cpp_call!((::unity::module_base()+0x1bd08f0usize)as*mut u8,();
645(DishAllMenuContent_CookHistory)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
646 }
647 }
648 #[doc = "`SetupCook()` overload"]
649 fn setup_cook(self) -> () {
650 unsafe {
651 let __receiver =
652 <DishAllMenuContent_CookHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
653 ::unity::il2cpp_call!((::unity::module_base()+0x1bd0a90usize)as*mut u8,();
654(DishAllMenuContent_CookHistory)__receiver)
655 }
656 }
657}
658
659#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
660impl<__T: IDishAllMenuContent_CookHistory> IDishAllMenuContent_CookHistoryMethods for __T {}
661
662#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
663impl DishAllMenuContent_CookHistory {
664 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
665 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
666 }
667
668 pub fn setup_cook_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
670 }
671}
672
673#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
674impl DishAllMenuContent_CookHistory {
675 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
676 pub fn new(game_object: crate::unity_engine::gameobject::GameObject) -> Self {
677 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
678 panic!(
679 "{}
680::{}
681 failed to instantiate",
682 ::core::stringify!(DishAllMenuContent_CookHistory),
683 ::core::stringify!(new),
684 )
685 });
686 <Self as IDishAllMenuContent_CookHistoryMethods>::ctor(this, game_object);
687 this
688 }
689}
690
691#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
692impl DishAllMenuContent {
693 #[doc = "`LoadPrefabAsync()` overload"]
694 pub fn load_prefab_async() -> () {
695 unsafe {
696 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3340usize)as*mut u8,();
697 )
698 }
699 }
700
701 #[doc = "`IsLoadingPrefab()` overload"]
702 pub fn is_loading_prefab() -> bool {
703 unsafe {
704 ::unity::il2cpp_call!((::unity::module_base()+0x1cf33e0usize)as*mut u8,bool;
705 )
706 }
707 }
708
709 #[doc = "`UnloadPrefab()` overload"]
710 pub fn unload_prefab() -> () {
711 unsafe {
712 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3460usize)as*mut u8,();
713 )
714 }
715 }
716
717 #[doc = "`Create()` overload"]
718 pub fn create() -> crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent {
719 unsafe {
720 ::unity::il2cpp_call!((::unity::module_base()+0x1cf34e0usize)as*mut u8,crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent;
721 )
722 }
723 }
724
725 #[doc = "`Destroy(crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent)` overload"]
726 pub fn destroy(content: impl ::core::convert::Into<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent>) -> () {
727 unsafe {
728 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3590usize)as*mut u8,();
729(crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent)::core::convert::Into::into(content))
730 }
731 }
732}
733
734#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
735pub trait IDishAllMenuContentMethods: IDishAllMenuContent {
736 #[doc = "`Awake()` overload"]
737 fn awake(self) -> () {
738 unsafe {
739 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
740 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3610usize)as*mut u8,();
741(DishAllMenuContent)__receiver)
742 }
743 }
744 #[doc = "`SetMessages()` overload"]
745 fn set_messages(self) -> () {
746 unsafe {
747 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
748 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3a10usize)as*mut u8,();
749(DishAllMenuContent)__receiver)
750 }
751 }
752 #[doc = "`GetAndEnableUnitSelect()` overload"]
753 fn get_and_enable_unit_select(self) -> crate::app::cooking_menu::unitselectmenucontent_2::UnitSelectMenuContent_2 {
754 unsafe {
755 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
756 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3bf0usize)as*mut u8,crate::app::cooking_menu::unitselectmenucontent_2::UnitSelectMenuContent_2;
757(DishAllMenuContent)__receiver)
758 }
759 }
760 #[doc = "`GetAndEnableDishSelect(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)` overload"]
761 fn get_and_enable_dish_select(
762 self,
763 selected_unit_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>>,
764 ) -> crate::app::cooking_menu::dishselectmenucontent::DishSelectMenuContent {
765 unsafe {
766 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
767 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3cb0usize)as*mut u8,crate::app::cooking_menu::dishselectmenucontent::DishSelectMenuContent;
768(DishAllMenuContent)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)::core::convert::Into::into(selected_unit_list))
769 }
770 }
771 #[doc = "`GetAndEnableFoodstuffSelect(crate::app::fooddata::FoodData)` overload"]
772 fn get_and_enable_foodstuff_select(
773 self,
774 food: impl ::core::convert::Into<crate::app::fooddata::FoodData>,
775 ) -> crate::app::cooking_menu::foodstuffmenucontent::FoodstuffMenuContent {
776 unsafe {
777 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
778 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3d70usize)as*mut u8,crate::app::cooking_menu::foodstuffmenucontent::FoodstuffMenuContent;
779(DishAllMenuContent)__receiver,(crate::app::fooddata::FoodData)::core::convert::Into::into(food))
780 }
781 }
782 #[doc = "`DisableMenuAll()` overload"]
783 fn disable_menu_all(self) -> () {
784 unsafe {
785 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
786 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3e30usize)as*mut u8,();
787(DishAllMenuContent)__receiver)
788 }
789 }
790 #[doc = "`OnOpenConfirmDialog(crate::system::collections::generic::list_1::List_1<crate::app::foodstuffdata::FoodstuffData>)` overload"]
791 fn on_open_confirm_dialog(
792 self,
793 foodstuffs: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::foodstuffdata::FoodstuffData>>,
794 ) -> () {
795 unsafe {
796 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
797 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3ed0usize)as*mut u8,();
798(DishAllMenuContent)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::foodstuffdata::FoodstuffData>)::core::convert::Into::into(foodstuffs))
799 }
800 }
801 #[doc = "`Close()` overload"]
802 fn close(self) -> () {
803 unsafe {
804 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
805 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3f80usize)as*mut u8,();
806(DishAllMenuContent)__receiver)
807 }
808 }
809 #[doc = "`IsClosed()` overload"]
810 fn is_closed(self) -> bool {
811 unsafe {
812 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
813 ::unity::il2cpp_call!((::unity::module_base()+0x1cf3fe0usize)as*mut u8,bool;
814(DishAllMenuContent)__receiver)
815 }
816 }
817 #[doc = "`.ctor()` overload"]
818 fn ctor(self) -> () {
819 unsafe {
820 let __receiver = <DishAllMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
821 ::unity::il2cpp_call!((::unity::module_base()+0x1cf4040usize)as*mut u8,();
822(DishAllMenuContent)__receiver)
823 }
824 }
825}
826
827#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
828impl<__T: IDishAllMenuContent> IDishAllMenuContentMethods for __T {}
829
830#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
831impl DishAllMenuContent {
832 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
833 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
834 }
835
836 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
837 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
838 }
839
840 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
841 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
842 }
843
844 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
845 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
846 }
847
848 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
849 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
850 }
851
852 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
853 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
854 }
855
856 pub fn set_messages_method_info() -> &'static ::unity::il2cpp::MethodInfo {
857 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
858 }
859
860 pub fn get_and_enable_unit_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
861 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
862 }
863
864 pub fn get_and_enable_dish_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
865 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
866 }
867
868 pub fn get_and_enable_foodstuff_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
869 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
870 }
871
872 pub fn disable_menu_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
873 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
874 }
875
876 pub fn on_open_confirm_dialog_method_info() -> &'static ::unity::il2cpp::MethodInfo {
877 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
878 }
879
880 pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
881 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
882 }
883
884 pub fn is_closed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
885 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
886 }
887
888 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
889 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
890 }
891}
892
893#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
894impl DishAllMenuContent {
895 #[doc = "`.ctor()` — no args"]
896 pub fn new() -> Self {
897 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
898 panic!(
899 "{}
900::{}
901 failed to instantiate",
902 ::core::stringify!(DishAllMenuContent),
903 ::core::stringify!(new),
904 )
905 });
906 <Self as IDishAllMenuContentMethods>::ctor(this);
907 this
908 }
909}
910
911#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
912pub trait IDishAllMenuContent_DishHistoryMethods: IDishAllMenuContent_DishHistory {
913 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject, crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::unity_engine::gameobject::GameObject, crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::system::collections::generic::list_1::List_1<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_EnhanceObject>)` overload"]
914 fn ctor(
915 self,
916 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
917 food_name: impl ::core::convert::Into<crate::tm_pro::textmeshprougui::TextMeshProUGUI>,
918 difficulty_icon: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
919 food_difficulty: impl ::core::convert::Into<crate::tm_pro::textmeshprougui::TextMeshProUGUI>,
920 enhance_object_list: impl ::core::convert::Into<
921 crate::system::collections::generic::list_1::List_1<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_EnhanceObject>,
922 >,
923 ) -> () {
924 unsafe {
925 let __receiver =
926 <DishAllMenuContent_DishHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
927 ::unity::il2cpp_call!((::unity::module_base()+0x1bd0d40usize)as*mut u8,();
928(DishAllMenuContent_DishHistory)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(crate::tm_pro::textmeshprougui::TextMeshProUGUI)::core::convert::Into::into(food_name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(difficulty_icon),(crate::tm_pro::textmeshprougui::TextMeshProUGUI)::core::convert::Into::into(food_difficulty),(crate::system::collections::generic::list_1::List_1<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_EnhanceObject>)::core::convert::Into::into(enhance_object_list))
929 }
930 }
931 #[doc = "`Show(crate::app::fooddata::FoodData)` overload"]
932 fn show(self, food: impl ::core::convert::Into<crate::app::fooddata::FoodData>) -> () {
933 unsafe {
934 let __receiver =
935 <DishAllMenuContent_DishHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
936 ::unity::il2cpp_call!((::unity::module_base()+0x1bd0f40usize)as*mut u8,();
937(DishAllMenuContent_DishHistory)__receiver,(crate::app::fooddata::FoodData)::core::convert::Into::into(food))
938 }
939 }
940 #[doc = "`Hide()` overload"]
941 fn hide(self) -> () {
942 unsafe {
943 let __receiver =
944 <DishAllMenuContent_DishHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
945 {
946 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
947 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
948 panic!(
949 "unity: virtual slot {}
950 out of range (vtable len {}
951) on the runtime class behind {}
952 (method `{}
953`)",
954 5usize,
955 __vt.len(),
956 <DishAllMenuContent_DishHistory as ::unity::ClassIdentity>::NAME,
957 "Hide",
958 )
959 });
960 let __inner: extern "C" fn(DishAllMenuContent_DishHistory, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
961 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
962 __inner(__receiver, __mi)
963 }
964 }
965 }
966 #[doc = "`SetFoodInfo(crate::app::fooddata::FoodData)` overload"]
967 fn set_food_info(self, food: impl ::core::convert::Into<crate::app::fooddata::FoodData>) -> () {
968 unsafe {
969 let __receiver =
970 <DishAllMenuContent_DishHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
971 ::unity::il2cpp_call!((::unity::module_base()+0x1bd1020usize)as*mut u8,();
972(DishAllMenuContent_DishHistory)__receiver,(crate::app::fooddata::FoodData)::core::convert::Into::into(food))
973 }
974 }
975 #[doc = "`GetEnhanceType(i32)` overload"]
976 fn get_enhance_type(self, index: impl ::core::convert::Into<i32>) -> crate::app::capabilitydefinition::CapabilityDefinition_Type {
977 unsafe {
978 let __receiver =
979 <DishAllMenuContent_DishHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
980 ::unity::il2cpp_call!((::unity::module_base()+0x1bd1720usize)as*mut u8,crate::app::capabilitydefinition::CapabilityDefinition_Type;
981(DishAllMenuContent_DishHistory)__receiver,(i32)::core::convert::Into::into(index))
982 }
983 }
984}
985
986#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
987impl<__T: IDishAllMenuContent_DishHistory> IDishAllMenuContent_DishHistoryMethods for __T {}
988
989#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
990impl DishAllMenuContent_DishHistory {
991 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
992 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
993 }
994
995 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
996 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
997 }
998
999 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1000 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1001 }
1002
1003 pub fn set_food_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1004 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1005 }
1006
1007 pub fn get_enhance_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1008 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1009 }
1010}
1011
1012#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
1013impl DishAllMenuContent_DishHistory {
1014 #[doc = "Direct (non-virtual) call to `DishAllMenuContent_DishHistory`'s own `Hide`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1015 pub unsafe fn hide(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1016 let __mi = Self::hide_method_info();
1017 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1018 __inner(this.into(), ::core::option::Option::None)
1019 }
1020}
1021
1022#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
1023impl DishAllMenuContent_DishHistory {
1024 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject, crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::unity_engine::gameobject::GameObject, crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::system::collections::generic::list_1::List_1<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_EnhanceObject>)` — overload selector"]
1025 pub fn new(
1026 game_object: crate::unity_engine::gameobject::GameObject,
1027 food_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
1028 difficulty_icon: crate::unity_engine::gameobject::GameObject,
1029 food_difficulty: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
1030 enhance_object_list: crate::system::collections::generic::list_1::List_1<
1031 crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_EnhanceObject,
1032 >,
1033 ) -> Self {
1034 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1035 panic!(
1036 "{}
1037::{}
1038 failed to instantiate",
1039 ::core::stringify!(DishAllMenuContent_DishHistory),
1040 ::core::stringify!(new),
1041 )
1042 });
1043 <Self as IDishAllMenuContent_DishHistoryMethods>::ctor(this, game_object, food_name, difficulty_icon, food_difficulty, enhance_object_list);
1044 this
1045 }
1046}
1047
1048#[cfg(feature = "app-cooking_menu-dishallmenucontent")]
1049#[doc(hidden)]
1050pub mod prelude {
1051 pub use super::{
1052 DishAllMenuContent, DishAllMenuContent_CookHistory, DishAllMenuContent_DishHistory, DishAllMenuContent_EnhanceObject,
1053 DishAllMenuContent_FoodstuffsHistory, DishAllMenuContent_HistoryObject, DishAllMenuContent_UnitsHistory, IDishAllMenuContent,
1054 IDishAllMenuContentMethods, IDishAllMenuContent_CookHistory, IDishAllMenuContent_CookHistoryMethods, IDishAllMenuContent_DishHistory,
1055 IDishAllMenuContent_DishHistoryMethods, IDishAllMenuContent_EnhanceObject, IDishAllMenuContent_EnhanceObjectMethods,
1056 IDishAllMenuContent_FoodstuffsHistory, IDishAllMenuContent_FoodstuffsHistoryMethods, IDishAllMenuContent_HistoryObject,
1057 IDishAllMenuContent_HistoryObjectMethods, IDishAllMenuContent_UnitsHistory, IDishAllMenuContent_UnitsHistoryMethods,
1058 };
1059 #[cfg(feature = "system-object")]
1060 pub use crate::system::object::IObjectMethods;
1061 #[cfg(feature = "unity_engine-behaviour")]
1062 pub use crate::unity_engine::behaviour::IBehaviourMethods;
1063 #[cfg(feature = "unity_engine-component")]
1064 pub use crate::unity_engine::component::IComponentMethods;
1065 #[cfg(feature = "unity_engine-monobehaviour")]
1066 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
1067 #[cfg(feature = "unity_engine-object_2")]
1068 pub use crate::unity_engine::object_2::IObject_2Methods;
1069 pub use crate::{
1070 system::object::IObject,
1071 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
1072 };
1073}