Skip to main content

engage/generated/app/
amiibosoundsequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-amiibosoundsequence-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            procinst::{IProcInst, ProcInst},
11            singletonprocinst_1::{ISingletonProcInst_1, SingletonProcInst_1},
12        },
13        system::{
14            object::{IObject, Object},
15            r#enum::{Enum, IEnum},
16            valuetype::{IValueType, ValueType},
17        },
18    };
19
20    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/amiibosoundsequence/AmiiboSoundSequence_Label.md"))]
21    #[repr(C)]
22    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
23    pub struct AmiiboSoundSequence_Label {
24        pub value: i32,
25    }
26    impl ::unity::ClassIdentity for AmiiboSoundSequence_Label {
27        const NAME: &'static str = "AmiiboSoundSequence.Label";
28        const NAMESPACE: &'static str = "App";
29
30        fn class() -> ::unity::Class {
31            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
32            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
33        }
34    }
35    impl ::unity::IlType for AmiiboSoundSequence_Label {
36        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
37            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
38        }
39    }
40    impl AmiiboSoundSequence_Label {
41        pub fn entry() -> Self {
42            Self { value: 0 }
43        }
44
45        pub fn main() -> Self {
46            Self { value: 1 }
47        }
48
49        pub fn end() -> Self {
50            Self { value: 2 }
51        }
52    }
53
54    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/amiibosoundsequence/AmiiboSoundSequence.md"))]
55    #[::unity::class(namespace = "App", name = "AmiiboSoundSequence")]
56    #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::amiibosoundsequence::AmiiboSoundSequence>)]
57    pub struct AmiiboSoundSequence {}
58}
59
60#[cfg(feature = "app-amiibosoundsequence-types")]
61pub use __types::*;
62
63#[cfg(feature = "app-amiibosoundsequence")]
64impl AmiiboSoundSequence {
65    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
66    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
67        unsafe {
68            ::unity::il2cpp_call!((::unity::module_base()+0x1c8b0b0usize)as*mut u8,();
69(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
70        }
71    }
72}
73
74#[cfg(feature = "app-amiibosoundsequence")]
75pub trait IAmiiboSoundSequenceMethods: IAmiiboSoundSequence {
76    #[doc = "`CreateDesc()` overload"]
77    fn create_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
78        unsafe {
79            let __receiver = <AmiiboSoundSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x1c8b210usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
81(AmiiboSoundSequence)__receiver)
82        }
83    }
84    #[doc = "`CreateSoundMenu()` overload"]
85    fn create_sound_menu(self) -> () {
86        unsafe {
87            let __receiver = <AmiiboSoundSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88            ::unity::il2cpp_call!((::unity::module_base()+0x1c8b6c0usize)as*mut u8,();
89(AmiiboSoundSequence)__receiver)
90        }
91    }
92    #[doc = "`Entry()` overload"]
93    fn entry(self) -> () {
94        unsafe {
95            let __receiver = <AmiiboSoundSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96            ::unity::il2cpp_call!((::unity::module_base()+0x1c8b6d0usize)as*mut u8,();
97(AmiiboSoundSequence)__receiver)
98        }
99    }
100    #[doc = "`Exit()` overload"]
101    fn exit(self) -> () {
102        unsafe {
103            let __receiver = <AmiiboSoundSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104            ::unity::il2cpp_call!((::unity::module_base()+0x1c8b810usize)as*mut u8,();
105(AmiiboSoundSequence)__receiver)
106        }
107    }
108    #[doc = "`.ctor()` overload"]
109    fn ctor(self) -> () {
110        unsafe {
111            let __receiver = <AmiiboSoundSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
112            ::unity::il2cpp_call!((::unity::module_base()+0x1c8b190usize)as*mut u8,();
113(AmiiboSoundSequence)__receiver)
114        }
115    }
116}
117
118#[cfg(feature = "app-amiibosoundsequence")]
119impl<__T: IAmiiboSoundSequence> IAmiiboSoundSequenceMethods for __T {}
120
121#[cfg(feature = "app-amiibosoundsequence")]
122impl AmiiboSoundSequence {
123    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
124        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
125    }
126
127    pub fn create_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
128        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
129    }
130
131    pub fn create_sound_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
132        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
133    }
134
135    pub fn entry_method_info() -> &'static ::unity::il2cpp::MethodInfo {
136        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
137    }
138
139    pub fn exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
141    }
142
143    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
144        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
145    }
146}
147
148#[cfg(feature = "app-amiibosoundsequence")]
149impl AmiiboSoundSequence {
150    #[doc = "`.ctor()` — no args"]
151    pub fn new() -> Self {
152        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
153            panic!(
154                "{}
155::{}
156 failed to instantiate",
157                ::core::stringify!(AmiiboSoundSequence),
158                ::core::stringify!(new),
159            )
160        });
161        <Self as IAmiiboSoundSequenceMethods>::ctor(this);
162        this
163    }
164}
165
166#[cfg(feature = "app-amiibosoundsequence")]
167#[doc(hidden)]
168pub mod prelude {
169    pub use super::{AmiiboSoundSequence, AmiiboSoundSequence_Label, IAmiiboSoundSequence, IAmiiboSoundSequenceMethods};
170    #[cfg(feature = "app-procinst")]
171    pub use crate::app::procinst::IProcInstMethods;
172    #[cfg(feature = "app-singletonprocinst_1")]
173    pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
174    #[cfg(feature = "system-object")]
175    pub use crate::system::object::IObjectMethods;
176    #[cfg(feature = "system-enum")]
177    pub use crate::system::r#enum::IEnumMethods;
178    #[cfg(feature = "system-valuetype")]
179    pub use crate::system::valuetype::IValueTypeMethods;
180    pub use crate::{
181        app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
182        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
183    };
184}