1#[cfg(feature = "app-hubcookingsequence-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::procinst::{IProcInst, ProcInst},
10 system::{
11 object::{IObject, Object},
12 r#enum::{Enum, IEnum},
13 valuetype::{IValueType, ValueType},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubcookingsequence/HubCookingSequence_Label.md"))]
18 #[repr(C)]
19 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
20 pub struct HubCookingSequence_Label {
21 pub value: i32,
22 }
23 impl ::unity::ClassIdentity for HubCookingSequence_Label {
24 const NAME: &'static str = "HubCookingSequence.Label";
25 const NAMESPACE: &'static str = "App";
26
27 fn class() -> ::unity::Class {
28 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
29 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
30 }
31 }
32 impl ::unity::IlType for HubCookingSequence_Label {
33 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
34 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
35 }
36 }
37 impl HubCookingSequence_Label {
38 pub fn none() -> Self {
39 Self { value: 0 }
40 }
41
42 pub fn init() -> Self {
43 Self { value: 1 }
44 }
45
46 pub fn select_dish() -> Self {
47 Self { value: 2 }
48 }
49
50 pub fn select_with_units() -> Self {
51 Self { value: 3 }
52 }
53
54 pub fn select_foodstuff() -> Self {
55 Self { value: 4 }
56 }
57
58 pub fn end_select() -> Self {
59 Self { value: 5 }
60 }
61
62 pub fn cook() -> Self {
63 Self { value: 6 }
64 }
65
66 pub fn start_cook_play() -> Self {
67 Self { value: 7 }
68 }
69
70 pub fn cooking_result() -> Self {
71 Self { value: 8 }
72 }
73
74 pub fn add_achieve() -> Self {
75 Self { value: 9 }
76 }
77
78 pub fn quit_select() -> Self {
79 Self { value: 10 }
80 }
81
82 pub fn exit() -> Self {
83 Self { value: 11 }
84 }
85 }
86
87 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubcookingsequence/HubCookingSequence.md"))]
88 #[::unity::class(namespace = "App", name = "HubCookingSequence")]
89 #[parent(crate::app::procinst::ProcInst)]
90 pub struct HubCookingSequence {
91 #[offset(112)]
92 #[rename(name = "m_SelectedUnits")]
93 pub m_selected_units: crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>,
94 #[offset(120)]
95 #[rename(name = "m_SelectedFoodstuffs")]
96 pub m_selected_foodstuffs: ::unity::Array<crate::app::foodstuffdata::FoodstuffData>,
97 #[offset(128)]
98 #[rename(name = "m_LoadingCharacterCount")]
99 pub m_loading_character_count: i32,
100 #[offset(136)]
101 #[rename(name = "m_UnitAccesses")]
102 pub m_unit_accesses: crate::system::collections::generic::list_1::List_1<crate::app::hubaccess::HubAccess>,
103 #[offset(144)]
104 #[rename(name = "m_Characters")]
105 pub m_characters: crate::system::collections::generic::list_1::List_1<crate::combat::character::Character>,
106 #[offset(152)]
107 #[rename(name = "m_CurrentCook")]
108 pub m_current_cook: crate::app::cookdata::CookData,
109 #[offset(160)]
110 #[rename(name = "m_Dish")]
111 pub m_dish: crate::app::dish::Dish,
112 #[offset(168)]
113 #[rename(name = "m_Bento")]
114 pub m_bento: crate::app::unititem::UnitItem,
115 #[offset(176)]
116 #[rename(name = "m_ConversationType")]
117 pub m_conversation_type: crate::app::cooking::Cooking_ConversationType,
118 #[offset(184)]
119 #[rename(name = "m_DishRelianceResult")]
120 pub m_dish_reliance_result: crate::app::dish::Dish_RelianceResult,
121 #[offset(232)]
122 #[rename(name = "m_DishModelHandle")]
123 pub m_dish_model_handle: crate::app::tresourcehandle_1::TResourceHandle_1<crate::unity_engine::gameobject::GameObject>,
124 #[offset(240)]
125 #[rename(name = "m_DishModel")]
126 pub m_dish_model: crate::unity_engine::gameobject::GameObject,
127 #[offset(248)]
128 #[rename(name = "m_UnitBCameraLocator")]
129 pub m_unit_b_camera_locator: crate::unity_engine::gameobject::GameObject,
130 #[offset(256)]
131 #[rename(name = "m_PanPositionY")]
132 pub m_pan_position_y: crate::app::interpolatorfloat::InterpolatorFloat,
133 #[offset(264)]
134 #[rename(name = "m_PanEularAngle")]
135 pub m_pan_eular_angle: crate::app::interpolatorvector3::InterpolatorVector3,
136 #[offset(272)]
137 #[rename(name = "m_CharaLight")]
138 pub m_chara_light: crate::unity_engine::gameobject::GameObject,
139 #[offset(280)]
140 #[rename(name = "m_CharaLightEat")]
141 pub m_chara_light_eat: crate::unity_engine::gameobject::GameObject,
142 #[offset(288)]
143 #[rename(name = "m_ReliancePopUp")]
144 pub m_reliance_pop_up: crate::app::reliancepopupcontroller::ReliancePopUpController,
145 #[offset(296)]
146 #[rename(name = "m_IsReliancePopupLoaded")]
147 pub m_is_reliance_popup_loaded: bool,
148 #[offset(297)]
149 #[rename(name = "m_IsSkipDoCooking")]
150 pub m_is_skip_do_cooking: bool,
151 #[offset(304)]
152 #[rename(name = "m_AddItemUnit")]
153 pub m_add_item_unit: crate::app::unit::Unit,
154 #[offset(312)]
155 #[rename(name = "m_SoundEvent")]
156 pub m_sound_event: ::unity::Il2CppString,
157 #[offset(320)]
158 #[rename(name = "m_VoiceEvent")]
159 pub m_voice_event: ::unity::Il2CppString,
160 #[static_field]
161 #[rename(name = "PanTime")]
162 pub pan_time: f32,
163 }
164
165 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubcookingsequence/HubCookingSequence_LookTarget.md"))]
166 #[repr(C)]
167 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
168 pub struct HubCookingSequence_LookTarget {
169 pub value: i32,
170 }
171 impl ::unity::ClassIdentity for HubCookingSequence_LookTarget {
172 const NAME: &'static str = "HubCookingSequence.LookTarget";
173 const NAMESPACE: &'static str = "App";
174
175 fn class() -> ::unity::Class {
176 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
177 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
178 }
179 }
180 impl ::unity::IlType for HubCookingSequence_LookTarget {
181 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
182 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
183 }
184 }
185 impl HubCookingSequence_LookTarget {
186 pub fn camera() -> Self {
187 Self { value: 0 }
188 }
189
190 pub fn other() -> Self {
191 Self { value: 1 }
192 }
193 }
194}
195
196#[cfg(feature = "app-hubcookingsequence-types")]
197pub use __types::*;
198
199#[cfg(feature = "app-hubcookingsequence")]
200impl HubCookingSequence {
201 #[doc = "`get_SelectedFood()` overload"]
202 pub fn get_selected_food() -> crate::app::fooddata::FoodData {
203 unsafe {
204 ::unity::il2cpp_call!((::unity::module_base()+0x2d80030usize)as*mut u8,crate::app::fooddata::FoodData;
205 )
206 }
207 }
208
209 #[doc = "`set_SelectedFood(crate::app::fooddata::FoodData)` overload"]
210 pub fn set_selected_food(value: impl ::core::convert::Into<crate::app::fooddata::FoodData>) -> () {
211 unsafe {
212 ::unity::il2cpp_call!((::unity::module_base()+0x2d800a0usize)as*mut u8,();
213(crate::app::fooddata::FoodData)::core::convert::Into::into(value))
214 }
215 }
216
217 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
218 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
219 unsafe {
220 ::unity::il2cpp_call!((::unity::module_base()+0x2d84750usize)as*mut u8,();
221(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
222 }
223 }
224
225 #[doc = "`.cctor()` overload"]
226 pub fn cctor() -> () {
227 unsafe {
228 ::unity::il2cpp_call!((::unity::module_base()+0x2d86200usize)as*mut u8,();
229 )
230 }
231 }
232}
233
234#[cfg(feature = "app-hubcookingsequence")]
235pub trait IHubCookingSequenceMethods: IHubCookingSequence {
236 #[doc = "`.ctor()` overload"]
237 fn ctor(self) -> () {
238 unsafe {
239 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
240 ::unity::il2cpp_call!((::unity::module_base()+0x2d80120usize)as*mut u8,();
241(HubCookingSequence)__receiver)
242 }
243 }
244 #[doc = "`.ctor(bool)` overload"]
245 fn ctor_2(self, is_skip: impl ::core::convert::Into<bool>) -> () {
246 unsafe {
247 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
248 ::unity::il2cpp_call!((::unity::module_base()+0x2d80330usize)as*mut u8,();
249(HubCookingSequence)__receiver,(bool)::core::convert::Into::into(is_skip))
250 }
251 }
252 #[doc = "`LoadResources()` overload"]
253 fn load_resources(self) -> () {
254 unsafe {
255 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
256 ::unity::il2cpp_call!((::unity::module_base()+0x2d80550usize)as*mut u8,();
257(HubCookingSequence)__receiver)
258 }
259 }
260 #[doc = "`IsLoadingResources()` overload"]
261 fn is_loading_resources(self) -> bool {
262 unsafe {
263 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
264 ::unity::il2cpp_call!((::unity::module_base()+0x2d80580usize)as*mut u8,bool;
265(HubCookingSequence)__receiver)
266 }
267 }
268 #[doc = "`Init()` overload"]
269 fn init(self) -> () {
270 unsafe {
271 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
272 ::unity::il2cpp_call!((::unity::module_base()+0x2d805c0usize)as*mut u8,();
273(HubCookingSequence)__receiver)
274 }
275 }
276 #[doc = "`CheckThrowAwayBento()` overload"]
277 fn check_throw_away_bento(self) -> () {
278 unsafe {
279 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280 ::unity::il2cpp_call!((::unity::module_base()+0x2d80820usize)as*mut u8,();
281(HubCookingSequence)__receiver)
282 }
283 }
284 #[doc = "`OpenStartMenu()` overload"]
285 fn open_start_menu(self) -> () {
286 unsafe {
287 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288 ::unity::il2cpp_call!((::unity::module_base()+0x2d80830usize)as*mut u8,();
289(HubCookingSequence)__receiver)
290 }
291 }
292 #[doc = "`ExecuteCooking()` overload"]
293 fn execute_cooking(self) -> () {
294 unsafe {
295 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296 ::unity::il2cpp_call!((::unity::module_base()+0x2d81260usize)as*mut u8,();
297(HubCookingSequence)__receiver)
298 }
299 }
300 #[doc = "`FightVoice()` overload"]
301 fn fight_voice(self) -> crate::system::collections::ienumerator::IEnumerator {
302 unsafe {
303 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304 ::unity::il2cpp_call!((::unity::module_base()+0x2d81740usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
305(HubCookingSequence)__receiver)
306 }
307 }
308 #[doc = "`BindCook()` overload"]
309 fn bind_cook(self) -> () {
310 unsafe {
311 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312 ::unity::il2cpp_call!((::unity::module_base()+0x2d817c0usize)as*mut u8,();
313(HubCookingSequence)__receiver)
314 }
315 }
316 #[doc = "`UnbindCook()` overload"]
317 fn unbind_cook(self) -> () {
318 unsafe {
319 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320 ::unity::il2cpp_call!((::unity::module_base()+0x2d818a0usize)as*mut u8,();
321(HubCookingSequence)__receiver)
322 }
323 }
324 #[doc = "`GetCookCharacter()` overload"]
325 fn get_cook_character(self) -> crate::combat::character::Character {
326 unsafe {
327 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328 ::unity::il2cpp_call!((::unity::module_base()+0x2d81910usize)as*mut u8,crate::combat::character::Character;
329(HubCookingSequence)__receiver)
330 }
331 }
332 #[doc = "`SetupModel()` overload"]
333 fn setup_model(self) -> () {
334 unsafe {
335 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
336 ::unity::il2cpp_call!((::unity::module_base()+0x2d819b0usize)as*mut u8,();
337(HubCookingSequence)__receiver)
338 }
339 }
340 #[doc = "`EnableCharaLight()` overload"]
341 fn enable_chara_light(self) -> () {
342 unsafe {
343 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344 ::unity::il2cpp_call!((::unity::module_base()+0x2d82350usize)as*mut u8,();
345(HubCookingSequence)__receiver)
346 }
347 }
348 #[doc = "`SetLook(i32, crate::app::hubcookingsequence::HubCookingSequence_LookTarget)` overload"]
349 fn set_look(
350 self,
351 no: impl ::core::convert::Into<i32>,
352 look_target: impl ::core::convert::Into<crate::app::hubcookingsequence::HubCookingSequence_LookTarget>,
353 ) -> () {
354 unsafe {
355 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356 ::unity::il2cpp_call!((::unity::module_base()+0x2d82530usize)as*mut u8,();
357(HubCookingSequence)__receiver,(i32)::core::convert::Into::into(no),(crate::app::hubcookingsequence::HubCookingSequence_LookTarget)::core::convert::Into::into(look_target))
358 }
359 }
360 #[doc = "`IsLoadingPlayResources()` overload"]
361 fn is_loading_play_resources(self) -> bool {
362 unsafe {
363 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
364 ::unity::il2cpp_call!((::unity::module_base()+0x2d82670usize)as*mut u8,bool;
365(HubCookingSequence)__receiver)
366 }
367 }
368 #[doc = "`DoCooking()` overload"]
369 fn do_cooking(self) -> crate::system::collections::ienumerator::IEnumerator {
370 unsafe {
371 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372 ::unity::il2cpp_call!((::unity::module_base()+0x2d82720usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
373(HubCookingSequence)__receiver)
374 }
375 }
376 #[doc = "`SetConversation()` overload"]
377 fn set_conversation(self) -> () {
378 unsafe {
379 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380 ::unity::il2cpp_call!((::unity::module_base()+0x2d827a0usize)as*mut u8,();
381(HubCookingSequence)__receiver)
382 }
383 }
384 #[doc = "`SetupSelectUnit(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
385 fn setup_select_unit(
386 self,
387 locator_name: impl ::core::convert::Into<::unity::Il2CppString>,
388 pid: impl ::core::convert::Into<::unity::Il2CppString>,
389 ) -> crate::app::hubaccess::HubAccess {
390 unsafe {
391 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392 ::unity::il2cpp_call!((::unity::module_base()+0x2d820c0usize)as*mut u8,crate::app::hubaccess::HubAccess;
393(HubCookingSequence)__receiver,(::unity::Il2CppString)::core::convert::Into::into(locator_name),(::unity::Il2CppString)::core::convert::Into::into(pid))
394 }
395 }
396 #[doc = "`ResetSelectUnit(::unity::Il2CppString)` overload"]
397 fn reset_select_unit(self, locator_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
398 unsafe {
399 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
400 ::unity::il2cpp_call!((::unity::module_base()+0x2d829e0usize)as*mut u8,();
401(HubCookingSequence)__receiver,(::unity::Il2CppString)::core::convert::Into::into(locator_name))
402 }
403 }
404 #[doc = "`ResultVoice()` overload"]
405 fn result_voice(self) -> () {
406 unsafe {
407 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
408 ::unity::il2cpp_call!((::unity::module_base()+0x2d82a80usize)as*mut u8,();
409(HubCookingSequence)__receiver)
410 }
411 }
412 #[doc = "`RelianceUp()` overload"]
413 fn reliance_up(self) -> () {
414 unsafe {
415 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
416 ::unity::il2cpp_call!((::unity::module_base()+0x2d82bc0usize)as*mut u8,();
417(HubCookingSequence)__receiver)
418 }
419 }
420 #[doc = "`RelianceUpWait()` overload"]
421 fn reliance_up_wait(self) -> crate::system::collections::ienumerator::IEnumerator {
422 unsafe {
423 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
424 ::unity::il2cpp_call!((::unity::module_base()+0x2d82cd0usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
425(HubCookingSequence)__receiver)
426 }
427 }
428 #[doc = "`SetConversationCamera()` overload"]
429 fn set_conversation_camera(self) -> () {
430 unsafe {
431 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
432 ::unity::il2cpp_call!((::unity::module_base()+0x2d82d50usize)as*mut u8,();
433(HubCookingSequence)__receiver)
434 }
435 }
436 #[doc = "`Conversation1()` overload"]
437 fn conversation1(self) -> () {
438 unsafe {
439 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
440 ::unity::il2cpp_call!((::unity::module_base()+0x2d82f90usize)as*mut u8,();
441(HubCookingSequence)__receiver)
442 }
443 }
444 #[doc = "`IsPlayingTelop()` overload"]
445 fn is_playing_telop(self) -> bool {
446 unsafe {
447 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
448 ::unity::il2cpp_call!((::unity::module_base()+0x2d83210usize)as*mut u8,bool;
449(HubCookingSequence)__receiver)
450 }
451 }
452 #[doc = "`GetConversationLabel(crate::app::unit::Unit, crate::app::cooking::Cooking_Order, crate::app::unit::Unit)` overload"]
453 fn get_conversation_label(
454 self,
455 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
456 order: impl ::core::convert::Into<crate::app::cooking::Cooking_Order>,
457 to_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
458 ) -> ::unity::Il2CppString {
459 unsafe {
460 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
461 ::unity::il2cpp_call!((::unity::module_base()+0x2d830e0usize)as*mut u8, ::unity::Il2CppString;
462(HubCookingSequence)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::cooking::Cooking_Order)::core::convert::Into::into(order),(crate::app::unit::Unit)::core::convert::Into::into(to_unit))
463 }
464 }
465 #[doc = "`GetConversationLabelAboutDelicious(crate::app::unit::Unit)` overload"]
466 fn get_conversation_label_about_delicious(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> ::unity::Il2CppString {
467 unsafe {
468 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
469 ::unity::il2cpp_call!((::unity::module_base()+0x2d83220usize)as*mut u8, ::unity::Il2CppString;
470(HubCookingSequence)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
471 }
472 }
473 #[doc = "`PanCamera()` overload"]
474 fn pan_camera(self) -> crate::system::collections::ienumerator::IEnumerator {
475 unsafe {
476 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
477 ::unity::il2cpp_call!((::unity::module_base()+0x2d833a0usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
478(HubCookingSequence)__receiver)
479 }
480 }
481 #[doc = "`Conversation2()` overload"]
482 fn conversation2(self) -> () {
483 unsafe {
484 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
485 ::unity::il2cpp_call!((::unity::module_base()+0x2d83420usize)as*mut u8,();
486(HubCookingSequence)__receiver)
487 }
488 }
489 #[doc = "`PopUpReliance(crate::app::unit::Unit, crate::app::unit::Unit, crate::app::dish::Dish_RelianceResult_TryResult, i32)` overload"]
490 fn pop_up_reliance(
491 self,
492 unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
493 unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
494 try_result: impl ::core::convert::Into<crate::app::dish::Dish_RelianceResult_TryResult>,
495 value: impl ::core::convert::Into<i32>,
496 ) -> () {
497 unsafe {
498 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
499 ::unity::il2cpp_call!((::unity::module_base()+0x2d831f0usize)as*mut u8,();
500(HubCookingSequence)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b),(crate::app::dish::Dish_RelianceResult_TryResult)::core::convert::Into::into(try_result),(i32)::core::convert::Into::into(value))
501 }
502 }
503 #[doc = "`FinalConversation()` overload"]
504 fn final_conversation(self) -> () {
505 unsafe {
506 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
507 ::unity::il2cpp_call!((::unity::module_base()+0x2d83590usize)as*mut u8,();
508(HubCookingSequence)__receiver)
509 }
510 }
511 #[doc = "`ShowResult()` overload"]
512 fn show_result(self) -> () {
513 unsafe {
514 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
515 ::unity::il2cpp_call!((::unity::module_base()+0x2d83b70usize)as*mut u8,();
516(HubCookingSequence)__receiver)
517 }
518 }
519 #[doc = "`SoundResult()` overload"]
520 fn sound_result(self) -> () {
521 unsafe {
522 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
523 ::unity::il2cpp_call!((::unity::module_base()+0x2d83ba0usize)as*mut u8,();
524(HubCookingSequence)__receiver)
525 }
526 }
527 #[doc = "`IsAvailableBento()` overload"]
528 fn is_available_bento(self) -> bool {
529 unsafe {
530 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
531 ::unity::il2cpp_call!((::unity::module_base()+0x2d83ce0usize)as*mut u8,bool;
532(HubCookingSequence)__receiver)
533 }
534 }
535 #[doc = "`GiveBento()` overload"]
536 fn give_bento(self) -> () {
537 unsafe {
538 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
539 ::unity::il2cpp_call!((::unity::module_base()+0x2d83df0usize)as*mut u8,();
540(HubCookingSequence)__receiver)
541 }
542 }
543 #[doc = "`ShowBentoResult()` overload"]
544 fn show_bento_result(self) -> crate::system::collections::ienumerator::IEnumerator {
545 unsafe {
546 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
547 ::unity::il2cpp_call!((::unity::module_base()+0x2d83e90usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
548(HubCookingSequence)__receiver)
549 }
550 }
551 #[doc = "`AddAchieveCount()` overload"]
552 fn add_achieve_count(self) -> () {
553 unsafe {
554 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
555 ::unity::il2cpp_call!((::unity::module_base()+0x2d83f10usize)as*mut u8,();
556(HubCookingSequence)__receiver)
557 }
558 }
559 #[doc = "`ExitSound()` overload"]
560 fn exit_sound(self) -> () {
561 unsafe {
562 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
563 ::unity::il2cpp_call!((::unity::module_base()+0x2d84140usize)as*mut u8,();
564(HubCookingSequence)__receiver)
565 }
566 }
567 #[doc = "`OpenTitleBar()` overload"]
568 fn open_title_bar(self) -> () {
569 unsafe {
570 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
571 ::unity::il2cpp_call!((::unity::module_base()+0x2d841c0usize)as*mut u8,();
572(HubCookingSequence)__receiver)
573 }
574 }
575 #[doc = "`CloseTitleBar()` overload"]
576 fn close_title_bar(self) -> () {
577 unsafe {
578 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
579 ::unity::il2cpp_call!((::unity::module_base()+0x2d84300usize)as*mut u8,();
580(HubCookingSequence)__receiver)
581 }
582 }
583 #[doc = "`Exit()` overload"]
584 fn exit(self) -> () {
585 unsafe {
586 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
587 ::unity::il2cpp_call!((::unity::module_base()+0x2d843d0usize)as*mut u8,();
588(HubCookingSequence)__receiver)
589 }
590 }
591 #[doc = "`UnloadResources()` overload"]
592 fn unload_resources(self) -> () {
593 unsafe {
594 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
595 ::unity::il2cpp_call!((::unity::module_base()+0x2d84490usize)as*mut u8,();
596(HubCookingSequence)__receiver)
597 }
598 }
599 #[doc = "`SetRenderParamsEat()` overload"]
600 fn set_render_params_eat(self) -> () {
601 unsafe {
602 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
603 ::unity::il2cpp_call!((::unity::module_base()+0x2d844c0usize)as*mut u8,();
604(HubCookingSequence)__receiver)
605 }
606 }
607 #[doc = "`SetEatsShadowPreset()` overload"]
608 fn set_eats_shadow_preset(self) -> () {
609 unsafe {
610 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
611 ::unity::il2cpp_call!((::unity::module_base()+0x2d845a0usize)as*mut u8,();
612(HubCookingSequence)__receiver)
613 }
614 }
615 #[doc = "`SetRenderParamsHub()` overload"]
616 fn set_render_params_hub(self) -> () {
617 unsafe {
618 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
619 ::unity::il2cpp_call!((::unity::module_base()+0x2d84640usize)as*mut u8,();
620(HubCookingSequence)__receiver)
621 }
622 }
623 #[doc = "`GetCurrentCookUnit()` overload"]
624 fn get_current_cook_unit(self) -> crate::app::unit::Unit {
625 unsafe {
626 let __receiver = <HubCookingSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
627 ::unity::il2cpp_call!((::unity::module_base()+0x2d81640usize)as*mut u8,crate::app::unit::Unit;
628(HubCookingSequence)__receiver)
629 }
630 }
631}
632
633#[cfg(feature = "app-hubcookingsequence")]
634impl<__T: IHubCookingSequence> IHubCookingSequenceMethods for __T {}
635
636#[cfg(feature = "app-hubcookingsequence")]
637impl HubCookingSequence {
638 pub fn get_selected_food_method_info() -> &'static ::unity::il2cpp::MethodInfo {
639 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
640 }
641
642 pub fn set_selected_food_method_info() -> &'static ::unity::il2cpp::MethodInfo {
643 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
644 }
645
646 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
647 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
648 }
649
650 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
651 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
652 }
653
654 pub fn load_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
655 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
656 }
657
658 pub fn is_loading_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
659 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
660 }
661
662 pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
663 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
664 }
665
666 pub fn check_throw_away_bento_method_info() -> &'static ::unity::il2cpp::MethodInfo {
667 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
668 }
669
670 pub fn open_start_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
671 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
672 }
673
674 pub fn execute_cooking_method_info() -> &'static ::unity::il2cpp::MethodInfo {
675 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
676 }
677
678 pub fn fight_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
679 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
680 }
681
682 pub fn bind_cook_method_info() -> &'static ::unity::il2cpp::MethodInfo {
683 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
684 }
685
686 pub fn unbind_cook_method_info() -> &'static ::unity::il2cpp::MethodInfo {
687 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
688 }
689
690 pub fn get_cook_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
691 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
692 }
693
694 pub fn setup_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
695 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
696 }
697
698 pub fn enable_chara_light_method_info() -> &'static ::unity::il2cpp::MethodInfo {
699 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
700 }
701
702 pub fn set_look_method_info() -> &'static ::unity::il2cpp::MethodInfo {
703 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
704 }
705
706 pub fn is_loading_play_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
707 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
708 }
709
710 pub fn do_cooking_method_info() -> &'static ::unity::il2cpp::MethodInfo {
711 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
712 }
713
714 pub fn set_conversation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
715 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
716 }
717
718 pub fn setup_select_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
719 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
720 }
721
722 pub fn reset_select_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
723 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
724 }
725
726 pub fn result_voice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
727 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
728 }
729
730 pub fn reliance_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
731 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
732 }
733
734 pub fn reliance_up_wait_method_info() -> &'static ::unity::il2cpp::MethodInfo {
735 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
736 }
737
738 pub fn set_conversation_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
739 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
740 }
741
742 pub fn conversation1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
743 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
744 }
745
746 pub fn is_playing_telop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
747 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
748 }
749
750 pub fn get_conversation_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
751 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
752 }
753
754 pub fn get_conversation_label_about_delicious_method_info() -> &'static ::unity::il2cpp::MethodInfo {
755 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
756 }
757
758 pub fn pan_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
759 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
760 }
761
762 pub fn conversation2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
763 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
764 }
765
766 pub fn pop_up_reliance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
767 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
768 }
769
770 pub fn final_conversation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
771 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
772 }
773
774 pub fn show_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
775 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
776 }
777
778 pub fn sound_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
779 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
780 }
781
782 pub fn is_available_bento_method_info() -> &'static ::unity::il2cpp::MethodInfo {
783 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
784 }
785
786 pub fn give_bento_method_info() -> &'static ::unity::il2cpp::MethodInfo {
787 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
788 }
789
790 pub fn show_bento_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
791 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
792 }
793
794 pub fn add_achieve_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
795 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
796 }
797
798 pub fn exit_sound_method_info() -> &'static ::unity::il2cpp::MethodInfo {
799 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
800 }
801
802 pub fn open_title_bar_method_info() -> &'static ::unity::il2cpp::MethodInfo {
803 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
804 }
805
806 pub fn close_title_bar_method_info() -> &'static ::unity::il2cpp::MethodInfo {
807 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
808 }
809
810 pub fn exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
811 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
812 }
813
814 pub fn unload_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
815 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
816 }
817
818 pub fn set_render_params_eat_method_info() -> &'static ::unity::il2cpp::MethodInfo {
819 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
820 }
821
822 pub fn set_eats_shadow_preset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
823 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
824 }
825
826 pub fn set_render_params_hub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
827 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
828 }
829
830 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
831 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
832 }
833
834 pub fn get_current_cook_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
835 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
836 }
837
838 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
839 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
840 }
841}
842
843#[cfg(feature = "app-hubcookingsequence")]
844impl HubCookingSequence {
845 #[doc = "`.ctor()` — no args"]
846 pub fn new() -> Self {
847 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
848 panic!(
849 "{}
850::{}
851 failed to instantiate",
852 ::core::stringify!(HubCookingSequence),
853 ::core::stringify!(new),
854 )
855 });
856 <Self as IHubCookingSequenceMethods>::ctor(this);
857 this
858 }
859
860 #[doc = "`.ctor(bool)` — overload selector"]
861 pub fn new_2(is_skip: bool) -> Self {
862 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
863 panic!(
864 "{}
865::{}
866 failed to instantiate",
867 ::core::stringify!(HubCookingSequence),
868 ::core::stringify!(new_2),
869 )
870 });
871 <Self as IHubCookingSequenceMethods>::ctor_2(this, is_skip);
872 this
873 }
874}
875
876#[cfg(feature = "app-hubcookingsequence")]
877#[doc(hidden)]
878pub mod prelude {
879 pub use super::{HubCookingSequence, HubCookingSequence_Label, HubCookingSequence_LookTarget, IHubCookingSequence, IHubCookingSequenceMethods};
880 #[cfg(feature = "app-procinst")]
881 pub use crate::app::procinst::IProcInstMethods;
882 #[cfg(feature = "system-object")]
883 pub use crate::system::object::IObjectMethods;
884 #[cfg(feature = "system-enum")]
885 pub use crate::system::r#enum::IEnumMethods;
886 #[cfg(feature = "system-valuetype")]
887 pub use crate::system::valuetype::IValueTypeMethods;
888 pub use crate::{
889 app::procinst::IProcInst,
890 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
891 };
892}