Skip to main content

engage/generated/app/
relayappearancesequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-relayappearancesequence-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/relayappearancesequence/RelayAppearanceSequence.md"))]
21    #[::unity::class(namespace = "App", name = "RelayAppearanceSequence")]
22    #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::relayappearancesequence::RelayAppearanceSequence>)]
23    pub struct RelayAppearanceSequence {
24        #[offset(116)]
25        #[rename(name = "m_Index")]
26        pub m_index: i32,
27        #[offset(120)]
28        #[rename(name = "m_Unit")]
29        pub m_unit: crate::app::unit::Unit,
30        #[offset(128)]
31        #[rename(name = "m_ReplayAppearanceIndexes")]
32        pub m_replay_appearance_indexes: ::unity::Array<i32>,
33        #[offset(136)]
34        #[rename(name = "m_ReplayLeavingIndexes")]
35        pub m_replay_leaving_indexes: ::unity::Array<i32>,
36    }
37
38    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayappearancesequence/RelayAppearanceSequence_Label.md"))]
39    #[repr(C)]
40    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
41    pub struct RelayAppearanceSequence_Label {
42        pub value: i32,
43    }
44    impl ::unity::ClassIdentity for RelayAppearanceSequence_Label {
45        const NAME: &'static str = "RelayAppearanceSequence.Label";
46        const NAMESPACE: &'static str = "App";
47
48        fn class() -> ::unity::Class {
49            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
50            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
51        }
52    }
53    impl ::unity::IlType for RelayAppearanceSequence_Label {
54        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
55            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
56        }
57    }
58    impl RelayAppearanceSequence_Label {
59        pub fn leaving() -> Self {
60            Self { value: 0 }
61        }
62
63        pub fn leaving_loop() -> Self {
64            Self { value: 1 }
65        }
66
67        pub fn appearance() -> Self {
68            Self { value: 2 }
69        }
70
71        pub fn appearance_loop() -> Self {
72            Self { value: 3 }
73        }
74
75        pub fn end() -> Self {
76            Self { value: 4 }
77        }
78    }
79}
80
81#[cfg(feature = "app-relayappearancesequence-types")]
82pub use __types::*;
83
84#[cfg(feature = "app-relayappearancesequence")]
85impl RelayAppearanceSequence {
86    #[doc = "`CreateBindTakeOver(crate::app::procinst::ProcInst)` overload"]
87    pub fn create_bind_take_over(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
88        unsafe {
89            ::unity::il2cpp_call!((::unity::module_base()+0x22cd790usize)as*mut u8,();
90(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
91        }
92    }
93
94    #[doc = "`CreateBindReplay(crate::app::procinst::ProcInst)` overload"]
95    pub fn create_bind_replay(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
96        unsafe {
97            ::unity::il2cpp_call!((::unity::module_base()+0x22ce070usize)as*mut u8,();
98(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
99        }
100    }
101
102    #[doc = "`CreateBindCommon(crate::app::relayappearancesequence::RelayAppearanceSequence, crate::app::procinst::ProcInst)` overload"]
103    pub fn create_bind_common(
104        p: impl ::core::convert::Into<crate::app::relayappearancesequence::RelayAppearanceSequence>,
105        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
106    ) -> () {
107        unsafe {
108            ::unity::il2cpp_call!((::unity::module_base()+0x22cd9c0usize)as*mut u8,();
109(crate::app::relayappearancesequence::RelayAppearanceSequence)::core::convert::Into::into(p),(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
110        }
111    }
112}
113
114#[cfg(feature = "app-relayappearancesequence")]
115pub trait IRelayAppearanceSequenceMethods: IRelayAppearanceSequence {
116    #[doc = "`.ctor()` overload"]
117    fn ctor(self) -> () {
118        unsafe {
119            let __receiver =
120                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
121            ::unity::il2cpp_call!((::unity::module_base()+0x22cce50usize)as*mut u8,();
122(RelayAppearanceSequence)__receiver)
123        }
124    }
125    #[doc = "`.ctor(::unity::Array<i32>, ::unity::Array<i32>)` overload"]
126    fn ctor_2(
127        self,
128        appearance_indexes: impl ::core::convert::Into<::unity::Array<i32>>,
129        leaving_indexes: impl ::core::convert::Into<::unity::Array<i32>>,
130    ) -> () {
131        unsafe {
132            let __receiver =
133                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134            ::unity::il2cpp_call!((::unity::module_base()+0x22ccef0usize)as*mut u8,();
135(RelayAppearanceSequence)__receiver,(::unity::Array<i32>)::core::convert::Into::into(appearance_indexes),(::unity::Array<i32>)::core::convert::Into::into(leaving_indexes))
136        }
137    }
138    #[doc = "`LeavingBegin()` overload"]
139    fn leaving_begin(self) -> () {
140        unsafe {
141            let __receiver =
142                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            ::unity::il2cpp_call!((::unity::module_base()+0x22ccfa0usize)as*mut u8,();
144(RelayAppearanceSequence)__receiver)
145        }
146    }
147    #[doc = "`Leaving()` overload"]
148    fn leaving(self) -> () {
149        unsafe {
150            let __receiver =
151                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152            ::unity::il2cpp_call!((::unity::module_base()+0x22cd1d0usize)as*mut u8,();
153(RelayAppearanceSequence)__receiver)
154        }
155    }
156    #[doc = "`LeavingNext()` overload"]
157    fn leaving_next(self) -> () {
158        unsafe {
159            let __receiver =
160                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161            ::unity::il2cpp_call!((::unity::module_base()+0x22cd310usize)as*mut u8,();
162(RelayAppearanceSequence)__receiver)
163        }
164    }
165    #[doc = "`AppearanceBegin()` overload"]
166    fn appearance_begin(self) -> () {
167        unsafe {
168            let __receiver =
169                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170            ::unity::il2cpp_call!((::unity::module_base()+0x22cd3f0usize)as*mut u8,();
171(RelayAppearanceSequence)__receiver)
172        }
173    }
174    #[doc = "`Appearance()` overload"]
175    fn appearance(self) -> () {
176        unsafe {
177            let __receiver =
178                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179            ::unity::il2cpp_call!((::unity::module_base()+0x22cd560usize)as*mut u8,();
180(RelayAppearanceSequence)__receiver)
181        }
182    }
183    #[doc = "`AppearanceNext()` overload"]
184    fn appearance_next(self) -> () {
185        unsafe {
186            let __receiver =
187                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
188            ::unity::il2cpp_call!((::unity::module_base()+0x22cd670usize)as*mut u8,();
189(RelayAppearanceSequence)__receiver)
190        }
191    }
192    #[doc = "`FocusUnit()` overload"]
193    fn focus_unit(self) -> () {
194        unsafe {
195            let __receiver =
196                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
197            ::unity::il2cpp_call!((::unity::module_base()+0x22cd710usize)as*mut u8,();
198(RelayAppearanceSequence)__receiver)
199        }
200    }
201    #[doc = "`GetLeavingUnit(i32)` overload"]
202    fn get_leaving_unit(self, index: impl ::core::convert::Into<i32>) -> crate::app::unit::Unit {
203        unsafe {
204            let __receiver =
205                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
206            ::unity::il2cpp_call!((::unity::module_base()+0x22cd080usize)as*mut u8,crate::app::unit::Unit;
207(RelayAppearanceSequence)__receiver,(i32)::core::convert::Into::into(index))
208        }
209    }
210    #[doc = "`GetAppearanceUnit(i32)` overload"]
211    fn get_appearance_unit(self, index: impl ::core::convert::Into<i32>) -> crate::app::unit::Unit {
212        unsafe {
213            let __receiver =
214                <RelayAppearanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
215            ::unity::il2cpp_call!((::unity::module_base()+0x22cd4a0usize)as*mut u8,crate::app::unit::Unit;
216(RelayAppearanceSequence)__receiver,(i32)::core::convert::Into::into(index))
217        }
218    }
219}
220
221#[cfg(feature = "app-relayappearancesequence")]
222impl<__T: IRelayAppearanceSequence> IRelayAppearanceSequenceMethods for __T {}
223
224#[cfg(feature = "app-relayappearancesequence")]
225impl RelayAppearanceSequence {
226    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
228    }
229
230    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
231        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
232    }
233
234    pub fn leaving_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
235        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
236    }
237
238    pub fn leaving_method_info() -> &'static ::unity::il2cpp::MethodInfo {
239        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
240    }
241
242    pub fn leaving_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
243        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
244    }
245
246    pub fn appearance_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
247        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
248    }
249
250    pub fn appearance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
251        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
252    }
253
254    pub fn appearance_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
255        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
256    }
257
258    pub fn focus_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
260    }
261
262    pub fn get_leaving_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
263        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
264    }
265
266    pub fn get_appearance_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
267        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
268    }
269
270    pub fn create_bind_take_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
271        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
272    }
273
274    pub fn create_bind_replay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
275        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
276    }
277
278    pub fn create_bind_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
279        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
280    }
281}
282
283#[cfg(feature = "app-relayappearancesequence")]
284impl RelayAppearanceSequence {
285    #[doc = "`.ctor()` — no args"]
286    pub fn new() -> Self {
287        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
288            panic!(
289                "{}
290::{}
291 failed to instantiate",
292                ::core::stringify!(RelayAppearanceSequence),
293                ::core::stringify!(new),
294            )
295        });
296        <Self as IRelayAppearanceSequenceMethods>::ctor(this);
297        this
298    }
299
300    #[doc = "`.ctor(::unity::Array<i32>, ::unity::Array<i32>)` — overload selector"]
301    pub fn new_2(appearance_indexes: ::unity::Array<i32>, leaving_indexes: ::unity::Array<i32>) -> Self {
302        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
303            panic!(
304                "{}
305::{}
306 failed to instantiate",
307                ::core::stringify!(RelayAppearanceSequence),
308                ::core::stringify!(new_2),
309            )
310        });
311        <Self as IRelayAppearanceSequenceMethods>::ctor_2(this, appearance_indexes, leaving_indexes);
312        this
313    }
314}
315
316#[cfg(feature = "app-relayappearancesequence")]
317#[doc(hidden)]
318pub mod prelude {
319    pub use super::{IRelayAppearanceSequence, IRelayAppearanceSequenceMethods, RelayAppearanceSequence, RelayAppearanceSequence_Label};
320    #[cfg(feature = "app-procinst")]
321    pub use crate::app::procinst::IProcInstMethods;
322    #[cfg(feature = "app-singletonprocinst_1")]
323    pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
324    #[cfg(feature = "system-object")]
325    pub use crate::system::object::IObjectMethods;
326    #[cfg(feature = "system-enum")]
327    pub use crate::system::r#enum::IEnumMethods;
328    #[cfg(feature = "system-valuetype")]
329    pub use crate::system::valuetype::IValueTypeMethods;
330    pub use crate::{
331        app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
332        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
333    };
334}