Skip to main content

engage/generated/app/
achievementsequence.rs

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