Skip to main content

engage/generated/app/
tastedata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-tastedata-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            bitfield32::{BitField32, IBitField32},
11            bitfieldcommon::{BitFieldCommon, IBitFieldCommon},
12            bitfieldtemplate32_1::{BitFieldTemplate32_1, IBitFieldTemplate32_1},
13            structbase::{IStructBase, StructBase},
14            structdata_1::{IStructData_1, StructData_1},
15            structtemplate_1::{IStructTemplate_1, StructTemplate_1},
16        },
17        system::{
18            object::{IObject, Object},
19            r#enum::{Enum, IEnum},
20            valuetype::{IValueType, ValueType},
21        },
22    };
23
24    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/tastedata/TasteData.md"))]
25    #[::unity::class(namespace = "App", name = "TasteData")]
26    #[parent(crate::app::structdata_1::StructData_1<crate::app::tastedata::TasteData>)]
27    pub struct TasteData {}
28
29    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/tastedata/TasteData_TasteGrade.md"))]
30    #[repr(C)]
31    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
32    pub struct TasteData_TasteGrade {
33        pub value: i32,
34    }
35    impl ::unity::ClassIdentity for TasteData_TasteGrade {
36        const NAME: &'static str = "TasteData.TasteGrade";
37        const NAMESPACE: &'static str = "App";
38
39        fn class() -> ::unity::Class {
40            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
41            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
42        }
43    }
44    impl ::unity::IlType for TasteData_TasteGrade {
45        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
46            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
47        }
48    }
49    impl TasteData_TasteGrade {
50        pub fn ss() -> Self {
51            Self { value: 0 }
52        }
53
54        pub fn s() -> Self {
55            Self { value: 1 }
56        }
57
58        pub fn a() -> Self {
59            Self { value: 2 }
60        }
61
62        pub fn b() -> Self {
63            Self { value: 3 }
64        }
65
66        pub fn c() -> Self {
67            Self { value: 4 }
68        }
69
70        pub fn d() -> Self {
71            Self { value: 5 }
72        }
73
74        pub fn e() -> Self {
75            Self { value: 6 }
76        }
77
78        pub fn f() -> Self {
79            Self { value: 7 }
80        }
81
82        pub fn g() -> Self {
83            Self { value: 8 }
84        }
85    }
86
87    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/tastedata/TasteData_ConditionType.md"))]
88    #[repr(C)]
89    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
90    pub struct TasteData_ConditionType {
91        pub value: i32,
92    }
93    impl ::unity::ClassIdentity for TasteData_ConditionType {
94        const NAME: &'static str = "TasteData.ConditionType";
95        const NAMESPACE: &'static str = "App";
96
97        fn class() -> ::unity::Class {
98            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
99            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
100        }
101    }
102    impl ::unity::IlType for TasteData_ConditionType {
103        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
104            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
105        }
106    }
107    impl TasteData_ConditionType {
108        pub fn none() -> Self {
109            Self { value: 0 }
110        }
111
112        pub fn come_from_brodia() -> Self {
113            Self { value: 1 }
114        }
115
116        pub fn come_from_filene() -> Self {
117            Self { value: 2 }
118        }
119
120        pub fn come_from_solum() -> Self {
121            Self { value: 3 }
122        }
123
124        pub fn come_from_ircion() -> Self {
125            Self { value: 4 }
126        }
127
128        pub fn come_from_lithos() -> Self {
129            Self { value: 5 }
130        }
131
132        pub fn is_male() -> Self {
133            Self { value: 6 }
134        }
135
136        pub fn is_female() -> Self {
137            Self { value: 7 }
138        }
139
140        pub fn is_adult() -> Self {
141            Self { value: 8 }
142        }
143
144        pub fn is_child() -> Self {
145            Self { value: 9 }
146        }
147
148        pub fn is_lueur() -> Self {
149            Self { value: 10 }
150        }
151    }
152
153    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/tastedata/TasteData_Flags.md"))]
154    #[repr(C)]
155    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
156    pub struct TasteData_Flags {
157        pub value: i32,
158    }
159    impl ::unity::ClassIdentity for TasteData_Flags {
160        const NAME: &'static str = "TasteData.Flags";
161        const NAMESPACE: &'static str = "App";
162
163        fn class() -> ::unity::Class {
164            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
165            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
166        }
167    }
168    impl ::unity::IlType for TasteData_Flags {
169        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
170            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
171        }
172    }
173    impl TasteData_Flags {
174        pub fn is_bad() -> Self {
175            Self { value: 1 }
176        }
177
178        pub fn disable_food_enhance() -> Self {
179            Self { value: 2 }
180        }
181
182        pub fn is_make_bento() -> Self {
183            Self { value: 4 }
184        }
185    }
186
187    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/tastedata/TasteData_FlagField.md"))]
188    #[::unity::class(namespace = "App", name = "TasteData.FlagField")]
189    #[parent(crate::app::bitfieldtemplate32_1::BitFieldTemplate32_1<crate::app::tastedata::TasteData_Flags>)]
190    pub struct TasteData_FlagField {}
191}
192
193#[cfg(feature = "app-tastedata-types")]
194pub use __types::*;
195
196#[cfg(feature = "app-tastedata")]
197impl TasteData {
198    #[doc = "`Load()` overload"]
199    pub fn load() -> () {
200        unsafe {
201            ::unity::il2cpp_call!((::unity::module_base()+0x21deea0usize)as*mut u8,();
202            )
203        }
204    }
205}
206
207#[cfg(feature = "app-tastedata")]
208pub trait ITasteDataMethods: ITasteData {
209    #[doc = "`.ctor()` overload"]
210    fn ctor(self) -> () {
211        unsafe {
212            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
213            ::unity::il2cpp_call!((::unity::module_base()+0x21dede0usize)as*mut u8,();
214(TasteData)__receiver)
215        }
216    }
217    #[doc = "`get_Tid()` overload"]
218    fn get_tid(self) -> ::unity::Il2CppString {
219        unsafe {
220            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221            ::unity::il2cpp_call!((::unity::module_base()+0x21def50usize)as*mut u8, ::unity::Il2CppString;
222(TasteData)__receiver)
223        }
224    }
225    #[doc = "`set_Tid(::unity::Il2CppString)` overload"]
226    fn set_tid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
227        unsafe {
228            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229            ::unity::il2cpp_call!((::unity::module_base()+0x21def60usize)as*mut u8,();
230(TasteData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
231        }
232    }
233    #[doc = "`get_Name()` overload"]
234    fn get_name(self) -> ::unity::Il2CppString {
235        unsafe {
236            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
237            ::unity::il2cpp_call!((::unity::module_base()+0x21def70usize)as*mut u8, ::unity::Il2CppString;
238(TasteData)__receiver)
239        }
240    }
241    #[doc = "`set_Name(::unity::Il2CppString)` overload"]
242    fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
243        unsafe {
244            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
245            ::unity::il2cpp_call!((::unity::module_base()+0x21def80usize)as*mut u8,();
246(TasteData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
247        }
248    }
249    #[doc = "`get_Grade()` overload"]
250    fn get_grade(self) -> crate::app::tastedata::TasteData_TasteGrade {
251        unsafe {
252            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
253            ::unity::il2cpp_call!((::unity::module_base()+0x21def90usize)as*mut u8,crate::app::tastedata::TasteData_TasteGrade;
254(TasteData)__receiver)
255        }
256    }
257    #[doc = "`set_Grade(crate::app::tastedata::TasteData_TasteGrade)` overload"]
258    fn set_grade(self, value: impl ::core::convert::Into<crate::app::tastedata::TasteData_TasteGrade>) -> () {
259        unsafe {
260            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
261            ::unity::il2cpp_call!((::unity::module_base()+0x21defa0usize)as*mut u8,();
262(TasteData)__receiver,(crate::app::tastedata::TasteData_TasteGrade)::core::convert::Into::into(value))
263        }
264    }
265    #[doc = "`get_Augment()` overload"]
266    fn get_augment(self) -> i8 {
267        unsafe {
268            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
269            ::unity::il2cpp_call!((::unity::module_base()+0x21defb0usize)as*mut u8,i8;
270(TasteData)__receiver)
271        }
272    }
273    #[doc = "`set_Augment(i8)` overload"]
274    fn set_augment(self, value: impl ::core::convert::Into<i8>) -> () {
275        unsafe {
276            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
277            ::unity::il2cpp_call!((::unity::module_base()+0x21defc0usize)as*mut u8,();
278(TasteData)__receiver,(i8)::core::convert::Into::into(value))
279        }
280    }
281    #[doc = "`get_OtherEnhance()` overload"]
282    fn get_other_enhance(self) -> i8 {
283        unsafe {
284            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
285            ::unity::il2cpp_call!((::unity::module_base()+0x21defd0usize)as*mut u8,i8;
286(TasteData)__receiver)
287        }
288    }
289    #[doc = "`set_OtherEnhance(i8)` overload"]
290    fn set_other_enhance(self, value: impl ::core::convert::Into<i8>) -> () {
291        unsafe {
292            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
293            ::unity::il2cpp_call!((::unity::module_base()+0x21defe0usize)as*mut u8,();
294(TasteData)__receiver,(i8)::core::convert::Into::into(value))
295        }
296    }
297    #[doc = "`get_Enhance()` overload"]
298    fn get_enhance(self) -> crate::app::capabilitysbyte::CapabilitySbyte {
299        unsafe {
300            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
301            ::unity::il2cpp_call!((::unity::module_base()+0x21deff0usize)as*mut u8,crate::app::capabilitysbyte::CapabilitySbyte;
302(TasteData)__receiver)
303        }
304    }
305    #[doc = "`set_Enhance(crate::app::capabilitysbyte::CapabilitySbyte)` overload"]
306    fn set_enhance(self, value: impl ::core::convert::Into<crate::app::capabilitysbyte::CapabilitySbyte>) -> () {
307        unsafe {
308            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
309            ::unity::il2cpp_call!((::unity::module_base()+0x21df000usize)as*mut u8,();
310(TasteData)__receiver,(crate::app::capabilitysbyte::CapabilitySbyte)::core::convert::Into::into(value))
311        }
312    }
313    #[doc = "`get_Flag()` overload"]
314    fn get_flag(self) -> crate::app::tastedata::TasteData_FlagField {
315        unsafe {
316            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
317            ::unity::il2cpp_call!((::unity::module_base()+0x21df010usize)as*mut u8,crate::app::tastedata::TasteData_FlagField;
318(TasteData)__receiver)
319        }
320    }
321    #[doc = "`set_Flag(crate::app::tastedata::TasteData_FlagField)` overload"]
322    fn set_flag(self, value: impl ::core::convert::Into<crate::app::tastedata::TasteData_FlagField>) -> () {
323        unsafe {
324            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
325            ::unity::il2cpp_call!((::unity::module_base()+0x21df020usize)as*mut u8,();
326(TasteData)__receiver,(crate::app::tastedata::TasteData_FlagField)::core::convert::Into::into(value))
327        }
328    }
329    #[doc = "`get_Cid()` overload"]
330    fn get_cid(self) -> ::unity::Il2CppString {
331        unsafe {
332            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
333            ::unity::il2cpp_call!((::unity::module_base()+0x21df030usize)as*mut u8, ::unity::Il2CppString;
334(TasteData)__receiver)
335        }
336    }
337    #[doc = "`set_Cid(::unity::Il2CppString)` overload"]
338    fn set_cid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
339        unsafe {
340            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
341            ::unity::il2cpp_call!((::unity::module_base()+0x21df040usize)as*mut u8,();
342(TasteData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
343        }
344    }
345    #[doc = "`get_AlternativeTaste()` overload"]
346    fn get_alternative_taste(self) -> ::unity::Il2CppString {
347        unsafe {
348            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
349            ::unity::il2cpp_call!((::unity::module_base()+0x21df050usize)as*mut u8, ::unity::Il2CppString;
350(TasteData)__receiver)
351        }
352    }
353    #[doc = "`set_AlternativeTaste(::unity::Il2CppString)` overload"]
354    fn set_alternative_taste(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
355        unsafe {
356            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
357            ::unity::il2cpp_call!((::unity::module_base()+0x21df060usize)as*mut u8,();
358(TasteData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
359        }
360    }
361    #[doc = "`get_DerivingProbability()` overload"]
362    fn get_deriving_probability(self) -> i8 {
363        unsafe {
364            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
365            ::unity::il2cpp_call!((::unity::module_base()+0x21df070usize)as*mut u8,i8;
366(TasteData)__receiver)
367        }
368    }
369    #[doc = "`set_DerivingProbability(i8)` overload"]
370    fn set_deriving_probability(self, value: impl ::core::convert::Into<i8>) -> () {
371        unsafe {
372            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
373            ::unity::il2cpp_call!((::unity::module_base()+0x21df080usize)as*mut u8,();
374(TasteData)__receiver,(i8)::core::convert::Into::into(value))
375        }
376    }
377    #[doc = "`get_DerivedTid()` overload"]
378    fn get_derived_tid(self) -> ::unity::Il2CppString {
379        unsafe {
380            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
381            ::unity::il2cpp_call!((::unity::module_base()+0x21df090usize)as*mut u8, ::unity::Il2CppString;
382(TasteData)__receiver)
383        }
384    }
385    #[doc = "`set_DerivedTid(::unity::Il2CppString)` overload"]
386    fn set_derived_tid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
387        unsafe {
388            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
389            ::unity::il2cpp_call!((::unity::module_base()+0x21df0a0usize)as*mut u8,();
390(TasteData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
391        }
392    }
393    #[doc = "`GetDebugName()` overload"]
394    fn get_debug_name(self) -> ::unity::Il2CppString {
395        unsafe {
396            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
397            {
398                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
399                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
400                    panic!(
401                        "unity: virtual slot {}
402 out of range (vtable len {}
403) on the runtime class behind {}
404 (method `{}
405`)",
406                        8usize,
407                        __vt.len(),
408                        <TasteData as ::unity::ClassIdentity>::NAME,
409                        "GetDebugName",
410                    )
411                });
412                let __inner: extern "C" fn(TasteData, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
413                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
414                __inner(__receiver, __mi)
415            }
416        }
417    }
418    #[doc = "`IsConditional()` overload"]
419    fn is_conditional(self) -> bool {
420        unsafe {
421            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422            ::unity::il2cpp_call!((::unity::module_base()+0x21df130usize)as*mut u8,bool;
423(TasteData)__receiver)
424        }
425    }
426    #[doc = "`GetConditionFunc()` overload"]
427    fn get_condition_func(self) -> crate::app::tasteconditiondata::TasteConditionData_ConditionFunc {
428        unsafe {
429            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430            ::unity::il2cpp_call!((::unity::module_base()+0x21df190usize)as*mut u8,crate::app::tasteconditiondata::TasteConditionData_ConditionFunc;
431(TasteData)__receiver)
432        }
433    }
434    #[doc = "`IsDisableFoodEnhance()` overload"]
435    fn is_disable_food_enhance(self) -> bool {
436        unsafe {
437            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438            ::unity::il2cpp_call!((::unity::module_base()+0x21df220usize)as*mut u8,bool;
439(TasteData)__receiver)
440        }
441    }
442    #[doc = "`IsMakeBento()` overload"]
443    fn is_make_bento(self) -> bool {
444        unsafe {
445            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446            ::unity::il2cpp_call!((::unity::module_base()+0x21df280usize)as*mut u8,bool;
447(TasteData)__receiver)
448        }
449    }
450    #[doc = "`GetGradeString()` overload"]
451    fn get_grade_string(self) -> ::unity::Il2CppString {
452        unsafe {
453            let __receiver = <TasteData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454            ::unity::il2cpp_call!((::unity::module_base()+0x21df2e0usize)as*mut u8, ::unity::Il2CppString;
455(TasteData)__receiver)
456        }
457    }
458}
459
460#[cfg(feature = "app-tastedata")]
461impl<__T: ITasteData> ITasteDataMethods for __T {}
462
463#[cfg(feature = "app-tastedata")]
464impl TasteData {
465    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
467    }
468
469    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
471    }
472
473    pub fn get_tid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
475    }
476
477    pub fn set_tid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
479    }
480
481    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
483    }
484
485    pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
487    }
488
489    pub fn get_grade_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
491    }
492
493    pub fn set_grade_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
495    }
496
497    pub fn get_augment_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
499    }
500
501    pub fn set_augment_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
503    }
504
505    pub fn get_other_enhance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
507    }
508
509    pub fn set_other_enhance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
511    }
512
513    pub fn get_enhance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
515    }
516
517    pub fn set_enhance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
519    }
520
521    pub fn get_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
522        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
523    }
524
525    pub fn set_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
527    }
528
529    pub fn get_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
531    }
532
533    pub fn set_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
535    }
536
537    pub fn get_alternative_taste_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
539    }
540
541    pub fn set_alternative_taste_method_info() -> &'static ::unity::il2cpp::MethodInfo {
542        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
543    }
544
545    pub fn get_deriving_probability_method_info() -> &'static ::unity::il2cpp::MethodInfo {
546        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
547    }
548
549    pub fn set_deriving_probability_method_info() -> &'static ::unity::il2cpp::MethodInfo {
550        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
551    }
552
553    pub fn get_derived_tid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
554        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
555    }
556
557    pub fn set_derived_tid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
558        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
559    }
560
561    pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
562        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
563    }
564
565    pub fn is_conditional_method_info() -> &'static ::unity::il2cpp::MethodInfo {
566        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
567    }
568
569    pub fn get_condition_func_method_info() -> &'static ::unity::il2cpp::MethodInfo {
570        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
571    }
572
573    pub fn is_disable_food_enhance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
574        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
575    }
576
577    pub fn is_make_bento_method_info() -> &'static ::unity::il2cpp::MethodInfo {
578        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
579    }
580
581    pub fn get_grade_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
582        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
583    }
584}
585
586#[cfg(feature = "app-tastedata")]
587impl TasteData {
588    #[doc = "Direct (non-virtual) call to `TasteData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
589    pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
590        let __mi = Self::get_debug_name_method_info();
591        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
592        __inner(this.into(), ::core::option::Option::None)
593    }
594}
595
596#[cfg(feature = "app-tastedata")]
597impl TasteData {
598    #[doc = "`.ctor()` — no args"]
599    pub fn new() -> Self {
600        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
601            panic!(
602                "{}
603::{}
604 failed to instantiate",
605                ::core::stringify!(TasteData),
606                ::core::stringify!(new),
607            )
608        });
609        <Self as ITasteDataMethods>::ctor(this);
610        this
611    }
612}
613
614#[cfg(feature = "app-tastedata")]
615pub trait ITasteData_FlagFieldMethods: ITasteData_FlagField {
616    #[doc = "`.ctor(i32)` overload"]
617    fn ctor(self, f: impl ::core::convert::Into<i32>) -> () {
618        unsafe {
619            let __receiver = <TasteData_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
620            ::unity::il2cpp_call!((::unity::module_base()+0x21ff710usize)as*mut u8,();
621(TasteData_FlagField)__receiver,(i32)::core::convert::Into::into(f))
622        }
623    }
624    #[doc = "`.ctor(crate::app::tastedata::TasteData_Flags)` overload"]
625    fn ctor_2(self, f: impl ::core::convert::Into<crate::app::tastedata::TasteData_Flags>) -> () {
626        unsafe {
627            let __receiver = <TasteData_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
628            ::unity::il2cpp_call!((::unity::module_base()+0x21ff770usize)as*mut u8,();
629(TasteData_FlagField)__receiver,(crate::app::tastedata::TasteData_Flags)::core::convert::Into::into(f))
630        }
631    }
632    #[doc = "`ToInt(crate::app::tastedata::TasteData_Flags)` overload"]
633    fn to_int(self, value: impl ::core::convert::Into<crate::app::tastedata::TasteData_Flags>) -> i32 {
634        unsafe {
635            let __receiver = <TasteData_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
636            {
637                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
638                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
639                    panic!(
640                        "unity: virtual slot {}
641 out of range (vtable len {}
642) on the runtime class behind {}
643 (method `{}
644`)",
645                        5usize,
646                        __vt.len(),
647                        <TasteData_FlagField as ::unity::ClassIdentity>::NAME,
648                        "ToInt",
649                    )
650                });
651                let __inner: extern "C" fn(TasteData_FlagField, crate::app::tastedata::TasteData_Flags, ::unity::OptionalMethod) -> i32 =
652                    ::core::mem::transmute(__vi.method_ptr);
653                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
654                __inner(__receiver, ::core::convert::Into::into(value), __mi)
655            }
656        }
657    }
658}
659
660#[cfg(feature = "app-tastedata")]
661impl<__T: ITasteData_FlagField> ITasteData_FlagFieldMethods for __T {}
662
663#[cfg(feature = "app-tastedata")]
664impl TasteData_FlagField {
665    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
666        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
667    }
668
669    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
671    }
672
673    pub fn to_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
674        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
675    }
676}
677
678#[cfg(feature = "app-tastedata")]
679impl TasteData_FlagField {
680    #[doc = "Direct (non-virtual) call to `TasteData_FlagField`'s own `ToInt`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
681    pub unsafe fn to_int(this: impl ::core::convert::Into<::unity::IlInstance>, value: crate::app::tastedata::TasteData_Flags) -> i32 {
682        let __mi = Self::to_int_method_info();
683        let __inner: extern "C" fn(::unity::IlInstance, crate::app::tastedata::TasteData_Flags, ::unity::OptionalMethod) -> i32 =
684            ::core::mem::transmute(__mi.method_ptr);
685        __inner(this.into(), value, ::core::option::Option::None)
686    }
687}
688
689#[cfg(feature = "app-tastedata")]
690impl TasteData_FlagField {
691    #[doc = "`.ctor(i32)` — overload selector"]
692    pub fn new(f: i32) -> Self {
693        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
694            panic!(
695                "{}
696::{}
697 failed to instantiate",
698                ::core::stringify!(TasteData_FlagField),
699                ::core::stringify!(new),
700            )
701        });
702        <Self as ITasteData_FlagFieldMethods>::ctor(this, f);
703        this
704    }
705
706    #[doc = "`.ctor(crate::app::tastedata::TasteData_Flags)` — overload selector"]
707    pub fn new_2(f: crate::app::tastedata::TasteData_Flags) -> Self {
708        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
709            panic!(
710                "{}
711::{}
712 failed to instantiate",
713                ::core::stringify!(TasteData_FlagField),
714                ::core::stringify!(new_2),
715            )
716        });
717        <Self as ITasteData_FlagFieldMethods>::ctor_2(this, f);
718        this
719    }
720}
721
722#[cfg(feature = "app-tastedata")]
723#[doc(hidden)]
724pub mod prelude {
725    pub use super::{
726        ITasteData, ITasteDataMethods, ITasteData_FlagField, ITasteData_FlagFieldMethods, TasteData, TasteData_ConditionType, TasteData_FlagField,
727        TasteData_Flags, TasteData_TasteGrade,
728    };
729    #[cfg(feature = "app-bitfield32")]
730    pub use crate::app::bitfield32::IBitField32Methods;
731    #[cfg(feature = "app-bitfieldcommon")]
732    pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
733    #[cfg(feature = "app-bitfieldtemplate32_1")]
734    pub use crate::app::bitfieldtemplate32_1::IBitFieldTemplate32_1Methods;
735    #[cfg(feature = "app-structbase")]
736    pub use crate::app::structbase::IStructBaseMethods;
737    #[cfg(feature = "app-structdata_1")]
738    pub use crate::app::structdata_1::IStructData_1Methods;
739    #[cfg(feature = "app-structtemplate_1")]
740    pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
741    #[cfg(feature = "system-object")]
742    pub use crate::system::object::IObjectMethods;
743    #[cfg(feature = "system-enum")]
744    pub use crate::system::r#enum::IEnumMethods;
745    #[cfg(feature = "system-valuetype")]
746    pub use crate::system::valuetype::IValueTypeMethods;
747    pub use crate::{
748        app::{
749            bitfield32::IBitField32, bitfieldcommon::IBitFieldCommon, bitfieldtemplate32_1::IBitFieldTemplate32_1, structbase::IStructBase,
750            structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1,
751        },
752        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
753    };
754}