Skip to main content

engage/generated/app/
chartgoddata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-chartgoddata-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/chartgoddata/ChartGodData_Flags.md"))]
25    #[repr(C)]
26    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
27    pub struct ChartGodData_Flags {
28        pub value: i32,
29    }
30    impl ::unity::ClassIdentity for ChartGodData_Flags {
31        const NAME: &'static str = "ChartGodData.Flags";
32        const NAMESPACE: &'static str = "App";
33
34        fn class() -> ::unity::Class {
35            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
36            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
37        }
38    }
39    impl ::unity::IlType for ChartGodData_Flags {
40        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
41            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
42        }
43    }
44    impl ChartGodData_Flags {
45        pub fn add_god_lueur() -> Self {
46            Self { value: 1 }
47        }
48    }
49
50    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/chartgoddata/ChartGodData_FlagField.md"))]
51    #[::unity::class(namespace = "App", name = "ChartGodData.FlagField")]
52    #[parent(crate::app::bitfieldtemplate32_1::BitFieldTemplate32_1<crate::app::chartgoddata::ChartGodData_Flags>)]
53    pub struct ChartGodData_FlagField {}
54
55    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/chartgoddata/ChartGodData.md"))]
56    #[::unity::class(namespace = "App", name = "ChartGodData")]
57    #[parent(crate::app::structdata_1::StructData_1<crate::app::chartgoddata::ChartGodData>)]
58    pub struct ChartGodData {}
59}
60
61#[cfg(feature = "app-chartgoddata-types")]
62pub use __types::*;
63
64#[cfg(feature = "app-chartgoddata")]
65pub trait IChartGodData_FlagFieldMethods: IChartGodData_FlagField {
66    #[doc = "`.ctor(i32)` overload"]
67    fn ctor(self, f: impl ::core::convert::Into<i32>) -> () {
68        unsafe {
69            let __receiver =
70                <ChartGodData_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
71            ::unity::il2cpp_call!((::unity::module_base()+0x19c61e0usize)as*mut u8,();
72(ChartGodData_FlagField)__receiver,(i32)::core::convert::Into::into(f))
73        }
74    }
75    #[doc = "`.ctor(crate::app::chartgoddata::ChartGodData_Flags)` overload"]
76    fn ctor_2(self, f: impl ::core::convert::Into<crate::app::chartgoddata::ChartGodData_Flags>) -> () {
77        unsafe {
78            let __receiver =
79                <ChartGodData_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x19c6240usize)as*mut u8,();
81(ChartGodData_FlagField)__receiver,(crate::app::chartgoddata::ChartGodData_Flags)::core::convert::Into::into(f))
82        }
83    }
84    #[doc = "`ToInt(crate::app::chartgoddata::ChartGodData_Flags)` overload"]
85    fn to_int(self, value: impl ::core::convert::Into<crate::app::chartgoddata::ChartGodData_Flags>) -> i32 {
86        unsafe {
87            let __receiver =
88                <ChartGodData_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89            {
90                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
91                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
92                    panic!(
93                        "unity: virtual slot {}
94 out of range (vtable len {}
95) on the runtime class behind {}
96 (method `{}
97`)",
98                        5usize,
99                        __vt.len(),
100                        <ChartGodData_FlagField as ::unity::ClassIdentity>::NAME,
101                        "ToInt",
102                    )
103                });
104                let __inner: extern "C" fn(ChartGodData_FlagField, crate::app::chartgoddata::ChartGodData_Flags, ::unity::OptionalMethod) -> i32 =
105                    ::core::mem::transmute(__vi.method_ptr);
106                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
107                __inner(__receiver, ::core::convert::Into::into(value), __mi)
108            }
109        }
110    }
111}
112
113#[cfg(feature = "app-chartgoddata")]
114impl<__T: IChartGodData_FlagField> IChartGodData_FlagFieldMethods for __T {}
115
116#[cfg(feature = "app-chartgoddata")]
117impl ChartGodData_FlagField {
118    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
119        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
120    }
121
122    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
123        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
124    }
125
126    pub fn to_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
127        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
128    }
129}
130
131#[cfg(feature = "app-chartgoddata")]
132impl ChartGodData_FlagField {
133    #[doc = "Direct (non-virtual) call to `ChartGodData_FlagField`'s own `ToInt`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
134    pub unsafe fn to_int(this: impl ::core::convert::Into<::unity::IlInstance>, value: crate::app::chartgoddata::ChartGodData_Flags) -> i32 {
135        let __mi = Self::to_int_method_info();
136        let __inner: extern "C" fn(::unity::IlInstance, crate::app::chartgoddata::ChartGodData_Flags, ::unity::OptionalMethod) -> i32 =
137            ::core::mem::transmute(__mi.method_ptr);
138        __inner(this.into(), value, ::core::option::Option::None)
139    }
140}
141
142#[cfg(feature = "app-chartgoddata")]
143impl ChartGodData_FlagField {
144    #[doc = "`.ctor(i32)` — overload selector"]
145    pub fn new(f: i32) -> Self {
146        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
147            panic!(
148                "{}
149::{}
150 failed to instantiate",
151                ::core::stringify!(ChartGodData_FlagField),
152                ::core::stringify!(new),
153            )
154        });
155        <Self as IChartGodData_FlagFieldMethods>::ctor(this, f);
156        this
157    }
158
159    #[doc = "`.ctor(crate::app::chartgoddata::ChartGodData_Flags)` — overload selector"]
160    pub fn new_2(f: crate::app::chartgoddata::ChartGodData_Flags) -> Self {
161        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
162            panic!(
163                "{}
164::{}
165 failed to instantiate",
166                ::core::stringify!(ChartGodData_FlagField),
167                ::core::stringify!(new_2),
168            )
169        });
170        <Self as IChartGodData_FlagFieldMethods>::ctor_2(this, f);
171        this
172    }
173}
174
175#[cfg(feature = "app-chartgoddata")]
176impl ChartGodData {
177    #[doc = "`Load()` overload"]
178    pub fn load() -> () {
179        unsafe {
180            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0220usize)as*mut u8,();
181            )
182        }
183    }
184
185    #[doc = "`GetLevel(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
186    pub fn get_level(
187        prefixless_cid: impl ::core::convert::Into<::unity::Il2CppString>,
188        gid: impl ::core::convert::Into<::unity::Il2CppString>,
189    ) -> i32 {
190        unsafe {
191            ::unity::il2cpp_call!((::unity::module_base()+0x1ea04a0usize)as*mut u8,i32;
192(::unity::Il2CppString)::core::convert::Into::into(prefixless_cid),(::unity::Il2CppString)::core::convert::Into::into(gid))
193        }
194    }
195}
196
197#[cfg(feature = "app-chartgoddata")]
198pub trait IChartGodDataMethods: IChartGodData {
199    #[doc = "`get_Chapter()` overload"]
200    fn get_chapter(self) -> ::unity::Il2CppString {
201        unsafe {
202            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203            ::unity::il2cpp_call!((::unity::module_base()+0x1ea02d0usize)as*mut u8, ::unity::Il2CppString;
204(ChartGodData)__receiver)
205        }
206    }
207    #[doc = "`set_Chapter(::unity::Il2CppString)` overload"]
208    fn set_chapter(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
209        unsafe {
210            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211            ::unity::il2cpp_call!((::unity::module_base()+0x1ea02e0usize)as*mut u8,();
212(ChartGodData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
213        }
214    }
215    #[doc = "`get_MarthLevel()` overload"]
216    fn get_marth_level(self) -> i32 {
217        unsafe {
218            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219            ::unity::il2cpp_call!((::unity::module_base()+0x1ea02f0usize)as*mut u8,i32;
220(ChartGodData)__receiver)
221        }
222    }
223    #[doc = "`set_MarthLevel(i32)` overload"]
224    fn set_marth_level(self, value: impl ::core::convert::Into<i32>) -> () {
225        unsafe {
226            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0300usize)as*mut u8,();
228(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
229        }
230    }
231    #[doc = "`get_SigludLevel()` overload"]
232    fn get_siglud_level(self) -> i32 {
233        unsafe {
234            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
235            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0310usize)as*mut u8,i32;
236(ChartGodData)__receiver)
237        }
238    }
239    #[doc = "`set_SigludLevel(i32)` overload"]
240    fn set_siglud_level(self, value: impl ::core::convert::Into<i32>) -> () {
241        unsafe {
242            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0320usize)as*mut u8,();
244(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
245        }
246    }
247    #[doc = "`get_CelicaLevel()` overload"]
248    fn get_celica_level(self) -> i32 {
249        unsafe {
250            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0330usize)as*mut u8,i32;
252(ChartGodData)__receiver)
253        }
254    }
255    #[doc = "`set_CelicaLevel(i32)` overload"]
256    fn set_celica_level(self, value: impl ::core::convert::Into<i32>) -> () {
257        unsafe {
258            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0340usize)as*mut u8,();
260(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
261        }
262    }
263    #[doc = "`get_MicaiahLevel()` overload"]
264    fn get_micaiah_level(self) -> i32 {
265        unsafe {
266            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
267            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0350usize)as*mut u8,i32;
268(ChartGodData)__receiver)
269        }
270    }
271    #[doc = "`set_MicaiahLevel(i32)` overload"]
272    fn set_micaiah_level(self, value: impl ::core::convert::Into<i32>) -> () {
273        unsafe {
274            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
275            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0360usize)as*mut u8,();
276(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
277        }
278    }
279    #[doc = "`get_RoyLevel()` overload"]
280    fn get_roy_level(self) -> i32 {
281        unsafe {
282            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
283            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0370usize)as*mut u8,i32;
284(ChartGodData)__receiver)
285        }
286    }
287    #[doc = "`set_RoyLevel(i32)` overload"]
288    fn set_roy_level(self, value: impl ::core::convert::Into<i32>) -> () {
289        unsafe {
290            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
291            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0380usize)as*mut u8,();
292(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
293        }
294    }
295    #[doc = "`get_LeafLevel()` overload"]
296    fn get_leaf_level(self) -> i32 {
297        unsafe {
298            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
299            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0390usize)as*mut u8,i32;
300(ChartGodData)__receiver)
301        }
302    }
303    #[doc = "`set_LeafLevel(i32)` overload"]
304    fn set_leaf_level(self, value: impl ::core::convert::Into<i32>) -> () {
305        unsafe {
306            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
307            ::unity::il2cpp_call!((::unity::module_base()+0x1ea03a0usize)as*mut u8,();
308(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
309        }
310    }
311    #[doc = "`get_LucinaLevel()` overload"]
312    fn get_lucina_level(self) -> i32 {
313        unsafe {
314            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
315            ::unity::il2cpp_call!((::unity::module_base()+0x1ea03b0usize)as*mut u8,i32;
316(ChartGodData)__receiver)
317        }
318    }
319    #[doc = "`set_LucinaLevel(i32)` overload"]
320    fn set_lucina_level(self, value: impl ::core::convert::Into<i32>) -> () {
321        unsafe {
322            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
323            ::unity::il2cpp_call!((::unity::module_base()+0x1ea03c0usize)as*mut u8,();
324(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
325        }
326    }
327    #[doc = "`get_LinLevel()` overload"]
328    fn get_lin_level(self) -> i32 {
329        unsafe {
330            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
331            ::unity::il2cpp_call!((::unity::module_base()+0x1ea03d0usize)as*mut u8,i32;
332(ChartGodData)__receiver)
333        }
334    }
335    #[doc = "`set_LinLevel(i32)` overload"]
336    fn set_lin_level(self, value: impl ::core::convert::Into<i32>) -> () {
337        unsafe {
338            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
339            ::unity::il2cpp_call!((::unity::module_base()+0x1ea03e0usize)as*mut u8,();
340(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
341        }
342    }
343    #[doc = "`get_IkeLevel()` overload"]
344    fn get_ike_level(self) -> i32 {
345        unsafe {
346            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
347            ::unity::il2cpp_call!((::unity::module_base()+0x1ea03f0usize)as*mut u8,i32;
348(ChartGodData)__receiver)
349        }
350    }
351    #[doc = "`set_IkeLevel(i32)` overload"]
352    fn set_ike_level(self, value: impl ::core::convert::Into<i32>) -> () {
353        unsafe {
354            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
355            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0400usize)as*mut u8,();
356(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
357        }
358    }
359    #[doc = "`get_BylethLevel()` overload"]
360    fn get_byleth_level(self) -> i32 {
361        unsafe {
362            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0410usize)as*mut u8,i32;
364(ChartGodData)__receiver)
365        }
366    }
367    #[doc = "`set_BylethLevel(i32)` overload"]
368    fn set_byleth_level(self, value: impl ::core::convert::Into<i32>) -> () {
369        unsafe {
370            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
371            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0420usize)as*mut u8,();
372(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
373        }
374    }
375    #[doc = "`get_KamuiLevel()` overload"]
376    fn get_kamui_level(self) -> i32 {
377        unsafe {
378            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
379            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0430usize)as*mut u8,i32;
380(ChartGodData)__receiver)
381        }
382    }
383    #[doc = "`set_KamuiLevel(i32)` overload"]
384    fn set_kamui_level(self, value: impl ::core::convert::Into<i32>) -> () {
385        unsafe {
386            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
387            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0440usize)as*mut u8,();
388(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
389        }
390    }
391    #[doc = "`get_EirikLevel()` overload"]
392    fn get_eirik_level(self) -> i32 {
393        unsafe {
394            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
395            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0450usize)as*mut u8,i32;
396(ChartGodData)__receiver)
397        }
398    }
399    #[doc = "`set_EirikLevel(i32)` overload"]
400    fn set_eirik_level(self, value: impl ::core::convert::Into<i32>) -> () {
401        unsafe {
402            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0460usize)as*mut u8,();
404(ChartGodData)__receiver,(i32)::core::convert::Into::into(value))
405        }
406    }
407    #[doc = "`get_Flag()` overload"]
408    fn get_flag(self) -> crate::app::chartgoddata::ChartGodData_FlagField {
409        unsafe {
410            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
411            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0470usize)as*mut u8,crate::app::chartgoddata::ChartGodData_FlagField;
412(ChartGodData)__receiver)
413        }
414    }
415    #[doc = "`set_Flag(crate::app::chartgoddata::ChartGodData_FlagField)` overload"]
416    fn set_flag(self, value: impl ::core::convert::Into<crate::app::chartgoddata::ChartGodData_FlagField>) -> () {
417        unsafe {
418            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
419            ::unity::il2cpp_call!((::unity::module_base()+0x1ea0480usize)as*mut u8,();
420(ChartGodData)__receiver,(crate::app::chartgoddata::ChartGodData_FlagField)::core::convert::Into::into(value))
421        }
422    }
423    #[doc = "`GetDebugName()` overload"]
424    fn get_debug_name(self) -> ::unity::Il2CppString {
425        unsafe {
426            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
427            {
428                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
429                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
430                    panic!(
431                        "unity: virtual slot {}
432 out of range (vtable len {}
433) on the runtime class behind {}
434 (method `{}
435`)",
436                        8usize,
437                        __vt.len(),
438                        <ChartGodData as ::unity::ClassIdentity>::NAME,
439                        "GetDebugName",
440                    )
441                });
442                let __inner: extern "C" fn(ChartGodData, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
443                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
444                __inner(__receiver, __mi)
445            }
446        }
447    }
448    #[doc = "`Gid2Level(::unity::Il2CppString)` overload"]
449    fn gid2_level(self, gid: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
450        unsafe {
451            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
452            ::unity::il2cpp_call!((::unity::module_base()+0x1ea05c0usize)as*mut u8,i32;
453(ChartGodData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(gid))
454        }
455    }
456    #[doc = "`.ctor()` overload"]
457    fn ctor(self) -> () {
458        unsafe {
459            let __receiver = <ChartGodData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
460            ::unity::il2cpp_call!((::unity::module_base()+0x1ea09c0usize)as*mut u8,();
461(ChartGodData)__receiver)
462        }
463    }
464}
465
466#[cfg(feature = "app-chartgoddata")]
467impl<__T: IChartGodData> IChartGodDataMethods for __T {}
468
469#[cfg(feature = "app-chartgoddata")]
470impl ChartGodData {
471    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
472        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
473    }
474
475    pub fn get_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
476        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
477    }
478
479    pub fn set_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
480        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
481    }
482
483    pub fn get_marth_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
484        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
485    }
486
487    pub fn set_marth_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
488        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
489    }
490
491    pub fn get_siglud_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
493    }
494
495    pub fn set_siglud_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
497    }
498
499    pub fn get_celica_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
501    }
502
503    pub fn set_celica_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
505    }
506
507    pub fn get_micaiah_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
509    }
510
511    pub fn set_micaiah_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
513    }
514
515    pub fn get_roy_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
517    }
518
519    pub fn set_roy_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
521    }
522
523    pub fn get_leaf_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
524        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
525    }
526
527    pub fn set_leaf_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
528        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
529    }
530
531    pub fn get_lucina_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
532        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
533    }
534
535    pub fn set_lucina_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
536        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
537    }
538
539    pub fn get_lin_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
540        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
541    }
542
543    pub fn set_lin_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
544        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
545    }
546
547    pub fn get_ike_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
548        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
549    }
550
551    pub fn set_ike_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
552        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
553    }
554
555    pub fn get_byleth_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
556        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
557    }
558
559    pub fn set_byleth_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
560        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
561    }
562
563    pub fn get_kamui_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
564        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
565    }
566
567    pub fn set_kamui_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
568        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
569    }
570
571    pub fn get_eirik_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
572        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
573    }
574
575    pub fn set_eirik_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
576        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
577    }
578
579    pub fn get_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
580        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
581    }
582
583    pub fn set_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
584        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
585    }
586
587    pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
588        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
589    }
590
591    pub fn get_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
592        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
593    }
594
595    pub fn gid2_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
596        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
597    }
598
599    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
600        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
601    }
602}
603
604#[cfg(feature = "app-chartgoddata")]
605impl ChartGodData {
606    #[doc = "Direct (non-virtual) call to `ChartGodData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
607    pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
608        let __mi = Self::get_debug_name_method_info();
609        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
610        __inner(this.into(), ::core::option::Option::None)
611    }
612}
613
614#[cfg(feature = "app-chartgoddata")]
615impl ChartGodData {
616    #[doc = "`.ctor()` — no args"]
617    pub fn new() -> Self {
618        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
619            panic!(
620                "{}
621::{}
622 failed to instantiate",
623                ::core::stringify!(ChartGodData),
624                ::core::stringify!(new),
625            )
626        });
627        <Self as IChartGodDataMethods>::ctor(this);
628        this
629    }
630}
631
632#[cfg(feature = "app-chartgoddata")]
633#[doc(hidden)]
634pub mod prelude {
635    pub use super::{
636        ChartGodData, ChartGodData_FlagField, ChartGodData_Flags, IChartGodData, IChartGodDataMethods, IChartGodData_FlagField,
637        IChartGodData_FlagFieldMethods,
638    };
639    #[cfg(feature = "app-bitfield32")]
640    pub use crate::app::bitfield32::IBitField32Methods;
641    #[cfg(feature = "app-bitfieldcommon")]
642    pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
643    #[cfg(feature = "app-bitfieldtemplate32_1")]
644    pub use crate::app::bitfieldtemplate32_1::IBitFieldTemplate32_1Methods;
645    #[cfg(feature = "app-structbase")]
646    pub use crate::app::structbase::IStructBaseMethods;
647    #[cfg(feature = "app-structdata_1")]
648    pub use crate::app::structdata_1::IStructData_1Methods;
649    #[cfg(feature = "app-structtemplate_1")]
650    pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
651    #[cfg(feature = "system-object")]
652    pub use crate::system::object::IObjectMethods;
653    #[cfg(feature = "system-enum")]
654    pub use crate::system::r#enum::IEnumMethods;
655    #[cfg(feature = "system-valuetype")]
656    pub use crate::system::valuetype::IValueTypeMethods;
657    pub use crate::{
658        app::{
659            bitfield32::IBitField32, bitfieldcommon::IBitFieldCommon, bitfieldtemplate32_1::IBitFieldTemplate32_1, structbase::IStructBase,
660            structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1,
661        },
662        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
663    };
664}