Skip to main content

engage/generated/app/squat/
note.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-squat-note-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/squat/note/Note.md"))]
15    #[::unity::class(namespace = "App.Squat", name = "Note")]
16    #[parent(crate::system::object::Object)]
17    pub struct Note {
18        #[static_field]
19        #[rename(name = "cUIRootPath")]
20        pub c_ui_root_path: ::unity::Il2CppString,
21        #[static_field]
22        #[rename(name = "cUINotesLeft")]
23        pub c_ui_notes_left: ::unity::Il2CppString,
24        #[static_field]
25        #[rename(name = "cUINotesRight")]
26        pub c_ui_notes_right: ::unity::Il2CppString,
27        #[static_field]
28        #[rename(name = "cUINotesUp")]
29        pub c_ui_notes_up: ::unity::Il2CppString,
30        #[static_field]
31        #[rename(name = "cUINotesDown")]
32        pub c_ui_notes_down: ::unity::Il2CppString,
33        #[static_field]
34        #[rename(name = "cUINotesClockwise")]
35        pub c_ui_notes_clockwise: ::unity::Il2CppString,
36        #[static_field]
37        #[rename(name = "cUINotesUnclockwise")]
38        pub c_ui_notes_unclockwise: ::unity::Il2CppString,
39        #[static_field]
40        #[rename(name = "DisplayHeight")]
41        pub display_height: f32,
42        #[offset(16)]
43        #[rename(name = "m_NodeImage")]
44        pub m_node_image: crate::unity_engine::gameobject::GameObject,
45        #[offset(24)]
46        #[rename(name = "m_ImageAnime")]
47        pub m_image_anime: crate::unity_engine::animator::Animator,
48        #[offset(32)]
49        #[rename(name = "m_ImageTrans")]
50        pub m_image_trans: crate::unity_engine::recttransform::RectTransform,
51        #[offset(40)]
52        #[rename(name = "m_StickImageTrans")]
53        pub m_stick_image_trans: crate::unity_engine::recttransform::RectTransform,
54        #[offset(48)]
55        #[rename(name = "m_BaseTrans")]
56        pub m_base_trans: crate::unity_engine::transform::Transform,
57        #[offset(56)]
58        #[rename(name = "m_BaseHeightPerFrame")]
59        pub m_base_height_per_frame: f32,
60        #[offset(60)]
61        #[rename(name = "m_BaseDiffLength")]
62        pub m_base_diff_length: f32,
63        #[offset(64)]
64        #[rename(name = "m_StickRangeMult")]
65        pub m_stick_range_mult: f32,
66        #[offset(80)]
67        #[rename(name = "m_Timer")]
68        pub m_timer: f32,
69        #[offset(84)]
70        #[rename(name = "m_ClockwiseTimer")]
71        pub m_clockwise_timer: f32,
72        #[offset(88)]
73        #[rename(name = "m_TimeMult")]
74        pub m_time_mult: f32,
75        #[offset(92)]
76        #[rename(name = "m_IsPlayClockwiseInputAnime")]
77        pub m_is_play_clockwise_input_anime: bool,
78        #[offset(96)]
79        #[rename(name = "m_FirstP")]
80        pub m_first_p: f32,
81        #[offset(100)]
82        #[rename(name = "m_FirstG")]
83        pub m_first_g: f32,
84        #[offset(104)]
85        #[rename(name = "m_FirstB")]
86        pub m_first_b: f32,
87        #[offset(108)]
88        #[rename(name = "m_LatterP")]
89        pub m_latter_p: f32,
90        #[offset(112)]
91        #[rename(name = "m_LatterG")]
92        pub m_latter_g: f32,
93        #[offset(116)]
94        #[rename(name = "m_LatterB")]
95        pub m_latter_b: f32,
96    }
97
98    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/squat/note/Note_Type.md"))]
99    #[repr(C)]
100    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
101    pub struct Note_Type {
102        pub value: i32,
103    }
104    impl ::unity::ClassIdentity for Note_Type {
105        const NAME: &'static str = "Note.Type";
106        const NAMESPACE: &'static str = "App.Squat";
107
108        fn class() -> ::unity::Class {
109            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
110            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
111        }
112    }
113    impl ::unity::IlType for Note_Type {
114        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
115            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
116        }
117    }
118    impl Note_Type {
119        pub fn skip() -> Self {
120            Self { value: 0 }
121        }
122
123        pub fn right() -> Self {
124            Self { value: 1 }
125        }
126
127        pub fn left() -> Self {
128            Self { value: 2 }
129        }
130
131        pub fn up() -> Self {
132            Self { value: 3 }
133        }
134
135        pub fn down() -> Self {
136            Self { value: 4 }
137        }
138
139        pub fn clockwise() -> Self {
140            Self { value: 5 }
141        }
142
143        pub fn un_clockwise() -> Self {
144            Self { value: 6 }
145        }
146
147        pub fn clockwise_end() -> Self {
148            Self { value: 50 }
149        }
150
151        pub fn un_clockwise_end() -> Self {
152            Self { value: 60 }
153        }
154
155        pub fn type_count() -> Self {
156            Self { value: 61 }
157        }
158    }
159
160    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/squat/note/Note_ResultRank.md"))]
161    #[repr(C)]
162    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
163    pub struct Note_ResultRank {
164        pub value: i32,
165    }
166    impl ::unity::ClassIdentity for Note_ResultRank {
167        const NAME: &'static str = "Note.ResultRank";
168        const NAMESPACE: &'static str = "App.Squat";
169
170        fn class() -> ::unity::Class {
171            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
172            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
173        }
174    }
175    impl ::unity::IlType for Note_ResultRank {
176        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
177            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
178        }
179    }
180    impl Note_ResultRank {
181        pub fn perfect() -> Self {
182            Self { value: 0 }
183        }
184
185        pub fn good() -> Self {
186            Self { value: 1 }
187        }
188
189        pub fn bad() -> Self {
190            Self { value: 2 }
191        }
192
193        pub fn miss() -> Self {
194            Self { value: 3 }
195        }
196
197        pub fn assist() -> Self {
198            Self { value: 4 }
199        }
200
201        pub fn rank_num() -> Self {
202            Self { value: 5 }
203        }
204    }
205}
206
207#[cfg(feature = "app-squat-note-types")]
208pub use __types::*;
209
210#[cfg(feature = "app-squat-note")]
211pub trait INoteMethods: INote {
212    #[doc = "`get_NoteType()` overload"]
213    fn get_note_type(self) -> crate::app::squat::note::Note_Type {
214        unsafe {
215            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
216            ::unity::il2cpp_call!((::unity::module_base()+0x1f18ba0usize)as*mut u8,crate::app::squat::note::Note_Type;
217(Note)__receiver)
218        }
219    }
220    #[doc = "`set_NoteType(crate::app::squat::note::Note_Type)` overload"]
221    fn set_note_type(self, value: impl ::core::convert::Into<crate::app::squat::note::Note_Type>) -> () {
222        unsafe {
223            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
224            ::unity::il2cpp_call!((::unity::module_base()+0x1f18bb0usize)as*mut u8,();
225(Note)__receiver,(crate::app::squat::note::Note_Type)::core::convert::Into::into(value))
226        }
227    }
228    #[doc = "`get_IsFinish()` overload"]
229    fn get_is_finish(self) -> bool {
230        unsafe {
231            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
232            ::unity::il2cpp_call!((::unity::module_base()+0x1f18bc0usize)as*mut u8,bool;
233(Note)__receiver)
234        }
235    }
236    #[doc = "`set_IsFinish(bool)` overload"]
237    fn set_is_finish(self, value: impl ::core::convert::Into<bool>) -> () {
238        unsafe {
239            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
240            ::unity::il2cpp_call!((::unity::module_base()+0x1f18bd0usize)as*mut u8,();
241(Note)__receiver,(bool)::core::convert::Into::into(value))
242        }
243    }
244    #[doc = "`get_IsTrigger()` overload"]
245    fn get_is_trigger(self) -> bool {
246        unsafe {
247            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
248            ::unity::il2cpp_call!((::unity::module_base()+0x1f18be0usize)as*mut u8,bool;
249(Note)__receiver)
250        }
251    }
252    #[doc = "`set_IsTrigger(bool)` overload"]
253    fn set_is_trigger(self, value: impl ::core::convert::Into<bool>) -> () {
254        unsafe {
255            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
256            ::unity::il2cpp_call!((::unity::module_base()+0x1f18bf0usize)as*mut u8,();
257(Note)__receiver,(bool)::core::convert::Into::into(value))
258        }
259    }
260    #[doc = "`get_IsAccepted()` overload"]
261    fn get_is_accepted(self) -> bool {
262        unsafe {
263            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
264            ::unity::il2cpp_call!((::unity::module_base()+0x1f18c00usize)as*mut u8,bool;
265(Note)__receiver)
266        }
267    }
268    #[doc = "`set_IsAccepted(bool)` overload"]
269    fn set_is_accepted(self, value: impl ::core::convert::Into<bool>) -> () {
270        unsafe {
271            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
272            ::unity::il2cpp_call!((::unity::module_base()+0x1f18c10usize)as*mut u8,();
273(Note)__receiver,(bool)::core::convert::Into::into(value))
274        }
275    }
276    #[doc = "`get_IsClockwiseCheck()` overload"]
277    fn get_is_clockwise_check(self) -> bool {
278        unsafe {
279            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280            ::unity::il2cpp_call!((::unity::module_base()+0x1f18c20usize)as*mut u8,bool;
281(Note)__receiver)
282        }
283    }
284    #[doc = "`set_IsClockwiseCheck(bool)` overload"]
285    fn set_is_clockwise_check(self, value: impl ::core::convert::Into<bool>) -> () {
286        unsafe {
287            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288            ::unity::il2cpp_call!((::unity::module_base()+0x1f18c30usize)as*mut u8,();
289(Note)__receiver,(bool)::core::convert::Into::into(value))
290        }
291    }
292    #[doc = "`get_Result()` overload"]
293    fn get_result(self) -> crate::app::squat::note::Note_ResultRank {
294        unsafe {
295            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296            ::unity::il2cpp_call!((::unity::module_base()+0x1f18c40usize)as*mut u8,crate::app::squat::note::Note_ResultRank;
297(Note)__receiver)
298        }
299    }
300    #[doc = "`set_Result(crate::app::squat::note::Note_ResultRank)` overload"]
301    fn set_result(self, value: impl ::core::convert::Into<crate::app::squat::note::Note_ResultRank>) -> () {
302        unsafe {
303            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304            ::unity::il2cpp_call!((::unity::module_base()+0x1f18c50usize)as*mut u8,();
305(Note)__receiver,(crate::app::squat::note::Note_ResultRank)::core::convert::Into::into(value))
306        }
307    }
308    #[doc = "`get_RectPos()` overload"]
309    fn get_rect_pos(self) -> crate::unity_engine::vector3::Vector3 {
310        unsafe {
311            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312            ::unity::il2cpp_call!((::unity::module_base()+0x1f18c60usize)as*mut u8,crate::unity_engine::vector3::Vector3;
313(Note)__receiver)
314        }
315    }
316    #[doc = "`.ctor()` overload"]
317    fn ctor(self) -> () {
318        unsafe {
319            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320            ::unity::il2cpp_call!((::unity::module_base()+0x1f18c70usize)as*mut u8,();
321(Note)__receiver)
322        }
323    }
324    #[doc = "`SetJudgeParam(crate::app::musclesquatjudgeareadata::MuscleSquatJudgeAreaData)` overload"]
325    fn set_judge_param(self, set_judge: impl ::core::convert::Into<crate::app::musclesquatjudgeareadata::MuscleSquatJudgeAreaData>) -> () {
326        unsafe {
327            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328            ::unity::il2cpp_call!((::unity::module_base()+0x1f18cb0usize)as*mut u8,();
329(Note)__receiver,(crate::app::musclesquatjudgeareadata::MuscleSquatJudgeAreaData)::core::convert::Into::into(set_judge))
330        }
331    }
332    #[doc = "`CreateArrow(bool, *mutcrate::unity_engine::gameobject::GameObject, crate::app::squat::note::Note_Type, f32, f32, crate::unity_engine::transform::Transform, f32)` overload"]
333    fn create_arrow(
334        self,
335        is_right: impl ::core::convert::Into<bool>,
336        set_type: impl ::core::convert::Into<crate::app::squat::note::Note_Type>,
337        set_time: impl ::core::convert::Into<f32>,
338        move_height_pf: impl ::core::convert::Into<f32>,
339        base_trans: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
340        first_time_mult: impl ::core::convert::Into<f32>,
341    ) -> crate::unity_engine::gameobject::GameObject {
342        unsafe {
343            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::gameobject::GameObject>::uninit();
345            ::unity::il2cpp_call!((::unity::module_base()+0x1f18cf0usize)as*mut u8,();
346(Note)__receiver,(bool)::core::convert::Into::into(is_right),(*mut crate::unity_engine::gameobject::GameObject)__out_0.as_mut_ptr(),(crate::app::squat::note::Note_Type)::core::convert::Into::into(set_type),(f32)::core::convert::Into::into(set_time),(f32)::core::convert::Into::into(move_height_pf),(crate::unity_engine::transform::Transform)::core::convert::Into::into(base_trans),(f32)::core::convert::Into::into(first_time_mult));
347            __out_0.assume_init()
348        }
349    }
350    #[doc = "`CreateClockWise(bool, *mutcrate::unity_engine::gameobject::GameObject, crate::app::squat::note::Note_Type, f32, f32, f32, crate::unity_engine::transform::Transform, f32, i32)` overload"]
351    fn create_clock_wise(
352        self,
353        is_right: impl ::core::convert::Into<bool>,
354        set_type: impl ::core::convert::Into<crate::app::squat::note::Note_Type>,
355        start_time: impl ::core::convert::Into<f32>,
356        end_time: impl ::core::convert::Into<f32>,
357        move_height_pf: impl ::core::convert::Into<f32>,
358        base_trans: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
359        first_time_mult: impl ::core::convert::Into<f32>,
360        radius_count: impl ::core::convert::Into<i32>,
361    ) -> crate::unity_engine::gameobject::GameObject {
362        unsafe {
363            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
364            let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::gameobject::GameObject>::uninit();
365            ::unity::il2cpp_call!((::unity::module_base()+0x1f18fa0usize)as*mut u8,();
366(Note)__receiver,(bool)::core::convert::Into::into(is_right),(*mut crate::unity_engine::gameobject::GameObject)__out_0.as_mut_ptr(),(crate::app::squat::note::Note_Type)::core::convert::Into::into(set_type),(f32)::core::convert::Into::into(start_time),(f32)::core::convert::Into::into(end_time),(f32)::core::convert::Into::into(move_height_pf),(crate::unity_engine::transform::Transform)::core::convert::Into::into(base_trans),(f32)::core::convert::Into::into(first_time_mult),(i32)::core::convert::Into::into(radius_count));
367            __out_0.assume_init()
368        }
369    }
370    #[doc = "`Destroy()` overload"]
371    fn destroy(self) -> () {
372        unsafe {
373            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
374            ::unity::il2cpp_call!((::unity::module_base()+0x1f192f0usize)as*mut u8,();
375(Note)__receiver)
376        }
377    }
378    #[doc = "`Tick(f32, *mutcrate::app::squat::stick::Stick, f32, bool, f32, f32, f32, f32, f32, f32, f32)` overload"]
379    fn tick(
380        self,
381        time_mult: impl ::core::convert::Into<f32>,
382        height_pf: impl ::core::convert::Into<f32>,
383        is_top: impl ::core::convert::Into<bool>,
384        setfb: impl ::core::convert::Into<f32>,
385        setfg: impl ::core::convert::Into<f32>,
386        setfp: impl ::core::convert::Into<f32>,
387        setlp: impl ::core::convert::Into<f32>,
388        setlg: impl ::core::convert::Into<f32>,
389        setlb: impl ::core::convert::Into<f32>,
390        overwrite_range: impl ::core::convert::Into<f32>,
391    ) -> crate::app::squat::stick::Stick {
392        unsafe {
393            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
394            let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::squat::stick::Stick>::uninit();
395            ::unity::il2cpp_call!((::unity::module_base()+0x1f19360usize)as*mut u8,();
396(Note)__receiver,(f32)::core::convert::Into::into(time_mult),(*mut crate::app::squat::stick::Stick)__out_0.as_mut_ptr(),(f32)::core::convert::Into::into(height_pf),(bool)::core::convert::Into::into(is_top),(f32)::core::convert::Into::into(setfb),(f32)::core::convert::Into::into(setfg),(f32)::core::convert::Into::into(setfp),(f32)::core::convert::Into::into(setlp),(f32)::core::convert::Into::into(setlg),(f32)::core::convert::Into::into(setlb),(f32)::core::convert::Into::into(overwrite_range));
397            __out_0.assume_init()
398        }
399    }
400    #[doc = "`TickArrow(bool, f32, f32, *mutcrate::app::squat::stick::Stick)` overload"]
401    fn tick_arrow(
402        self,
403        is_top: impl ::core::convert::Into<bool>,
404        center: impl ::core::convert::Into<f32>,
405        not_check_area: impl ::core::convert::Into<f32>,
406    ) -> crate::app::squat::stick::Stick {
407        unsafe {
408            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
409            let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::squat::stick::Stick>::uninit();
410            ::unity::il2cpp_call!((::unity::module_base()+0x1f19750usize)as*mut u8,();
411(Note)__receiver,(bool)::core::convert::Into::into(is_top),(f32)::core::convert::Into::into(center),(f32)::core::convert::Into::into(not_check_area),(*mut crate::app::squat::stick::Stick)__out_0.as_mut_ptr());
412            __out_0.assume_init()
413        }
414    }
415    #[doc = "`TickArrowJudge(f32, f32, *mutcrate::app::squat::stick::Stick)` overload"]
416    fn tick_arrow_judge(
417        self,
418        center: impl ::core::convert::Into<f32>,
419        not_check_area: impl ::core::convert::Into<f32>,
420    ) -> crate::app::squat::stick::Stick {
421        unsafe {
422            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
423            let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::squat::stick::Stick>::uninit();
424            ::unity::il2cpp_call!((::unity::module_base()+0x1f19870usize)as*mut u8,();
425(Note)__receiver,(f32)::core::convert::Into::into(center),(f32)::core::convert::Into::into(not_check_area),(*mut crate::app::squat::stick::Stick)__out_0.as_mut_ptr());
426            __out_0.assume_init()
427        }
428    }
429    #[doc = "`TickClockwise(bool, *mutcrate::app::squat::stick::Stick, f32)` overload"]
430    fn tick_clockwise(
431        self,
432        is_top: impl ::core::convert::Into<bool>,
433        overwrite_range: impl ::core::convert::Into<f32>,
434    ) -> crate::app::squat::stick::Stick {
435        unsafe {
436            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
437            let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::squat::stick::Stick>::uninit();
438            ::unity::il2cpp_call!((::unity::module_base()+0x1f194e0usize)as*mut u8,();
439(Note)__receiver,(bool)::core::convert::Into::into(is_top),(*mut crate::app::squat::stick::Stick)__out_0.as_mut_ptr(),(f32)::core::convert::Into::into(overwrite_range));
440            __out_0.assume_init()
441        }
442    }
443    #[doc = "`TickClockwiseJudge(*mutcrate::app::squat::stick::Stick)` overload"]
444    fn tick_clockwise_judge(self) -> crate::app::squat::stick::Stick {
445        unsafe {
446            let __receiver = <Note as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
447            let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::squat::stick::Stick>::uninit();
448            ::unity::il2cpp_call!((::unity::module_base()+0x1f19a20usize)as*mut u8,();
449(Note)__receiver,(*mut crate::app::squat::stick::Stick)__out_0.as_mut_ptr());
450            __out_0.assume_init()
451        }
452    }
453}
454
455#[cfg(feature = "app-squat-note")]
456impl<__T: INote> INoteMethods for __T {}
457
458#[cfg(feature = "app-squat-note")]
459impl Note {
460    pub fn get_note_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
461        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
462    }
463
464    pub fn set_note_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
465        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
466    }
467
468    pub fn get_is_finish_method_info() -> &'static ::unity::il2cpp::MethodInfo {
469        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
470    }
471
472    pub fn set_is_finish_method_info() -> &'static ::unity::il2cpp::MethodInfo {
473        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
474    }
475
476    pub fn get_is_trigger_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
478    }
479
480    pub fn set_is_trigger_method_info() -> &'static ::unity::il2cpp::MethodInfo {
481        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
482    }
483
484    pub fn get_is_accepted_method_info() -> &'static ::unity::il2cpp::MethodInfo {
485        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
486    }
487
488    pub fn set_is_accepted_method_info() -> &'static ::unity::il2cpp::MethodInfo {
489        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
490    }
491
492    pub fn get_is_clockwise_check_method_info() -> &'static ::unity::il2cpp::MethodInfo {
493        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
494    }
495
496    pub fn set_is_clockwise_check_method_info() -> &'static ::unity::il2cpp::MethodInfo {
497        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
498    }
499
500    pub fn get_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
501        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
502    }
503
504    pub fn set_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
505        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
506    }
507
508    pub fn get_rect_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
509        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
510    }
511
512    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
513        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
514    }
515
516    pub fn set_judge_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
517        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
518    }
519
520    pub fn create_arrow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
521        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
522    }
523
524    pub fn create_clock_wise_method_info() -> &'static ::unity::il2cpp::MethodInfo {
525        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
526    }
527
528    pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
529        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
530    }
531
532    pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
533        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
534    }
535
536    pub fn tick_arrow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
537        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
538    }
539
540    pub fn tick_arrow_judge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
541        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
542    }
543
544    pub fn tick_clockwise_method_info() -> &'static ::unity::il2cpp::MethodInfo {
545        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
546    }
547
548    pub fn tick_clockwise_judge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
549        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
550    }
551}
552
553#[cfg(feature = "app-squat-note")]
554impl Note {
555    #[doc = "`.ctor()` — no args"]
556    pub fn new() -> Self {
557        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
558            panic!(
559                "{}
560::{}
561 failed to instantiate",
562                ::core::stringify!(Note),
563                ::core::stringify!(new),
564            )
565        });
566        <Self as INoteMethods>::ctor(this);
567        this
568    }
569}
570
571#[cfg(feature = "app-squat-note")]
572#[doc(hidden)]
573pub mod prelude {
574    pub use super::{INote, INoteMethods, Note, Note_ResultRank, Note_Type};
575    #[cfg(feature = "system-object")]
576    pub use crate::system::object::IObjectMethods;
577    #[cfg(feature = "system-enum")]
578    pub use crate::system::r#enum::IEnumMethods;
579    #[cfg(feature = "system-valuetype")]
580    pub use crate::system::valuetype::IValueTypeMethods;
581    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
582}