Skip to main content

engage/generated/app/
endrollsequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-endrollsequence-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::object::{IObject, Object},
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/endrollsequence/EndRollSequence.md"))]
17    #[::unity::class(namespace = "App", name = "EndRollSequence")]
18    #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::endrollsequence::EndRollSequence>)]
19    pub struct EndRollSequence {
20        #[static_field]
21        #[rename(name = "PrefabPath")]
22        pub prefab_path: ::unity::Il2CppString,
23        #[offset(120)]
24        #[rename(name = "m_BgmHeader")]
25        pub m_bgm_header: ::unity::Il2CppString,
26        #[offset(136)]
27        #[rename(name = "m_PrefabHandle")]
28        pub m_prefab_handle: crate::app::tresourcehandle_1::TResourceHandle_1<crate::unity_engine::gameobject::GameObject>,
29        #[offset(144)]
30        #[rename(name = "m_Canvas")]
31        pub m_canvas: crate::unity_engine::gameobject::GameObject,
32        #[offset(152)]
33        #[rename(name = "m_Setter")]
34        pub m_setter: crate::app::endrollsetter::EndRollSetter,
35    }
36}
37
38#[cfg(feature = "app-endrollsequence-types")]
39pub use __types::*;
40
41#[cfg(feature = "app-endrollsequence")]
42impl EndRollSequence {
43    #[doc = "`CreateBind(crate::app::procinst::ProcInst, ::unity::Il2CppString)` overload"]
44    pub fn create_bind(
45        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
46        bgm_header: impl ::core::convert::Into<::unity::Il2CppString>,
47    ) -> () {
48        unsafe {
49            ::unity::il2cpp_call!((::unity::module_base()+0x22e3880usize)as*mut u8,();
50(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(::unity::Il2CppString)::core::convert::Into::into(bgm_header))
51        }
52    }
53}
54
55#[cfg(feature = "app-endrollsequence")]
56pub trait IEndRollSequenceMethods: IEndRollSequence {
57    #[doc = "`get_IsSkipped()` overload"]
58    fn get_is_skipped(self) -> bool {
59        unsafe {
60            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
61            ::unity::il2cpp_call!((::unity::module_base()+0x22e4120usize)as*mut u8,bool;
62(EndRollSequence)__receiver)
63        }
64    }
65    #[doc = "`set_IsSkipped(bool)` overload"]
66    fn set_is_skipped(self, value: impl ::core::convert::Into<bool>) -> () {
67        unsafe {
68            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
69            ::unity::il2cpp_call!((::unity::module_base()+0x22e4130usize)as*mut u8,();
70(EndRollSequence)__receiver,(bool)::core::convert::Into::into(value))
71        }
72    }
73    #[doc = "`LoadScene()` overload"]
74    fn load_scene(self) -> () {
75        unsafe {
76            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
77            ::unity::il2cpp_call!((::unity::module_base()+0x22e4140usize)as*mut u8,();
78(EndRollSequence)__receiver)
79        }
80    }
81    #[doc = "`IsLoading()` overload"]
82    fn is_loading(self) -> bool {
83        unsafe {
84            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
85            ::unity::il2cpp_call!((::unity::module_base()+0x22e4250usize)as*mut u8,bool;
86(EndRollSequence)__receiver)
87        }
88    }
89    #[doc = "`Setup1()` overload"]
90    fn setup1(self) -> () {
91        unsafe {
92            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
93            ::unity::il2cpp_call!((::unity::module_base()+0x22e4280usize)as*mut u8,();
94(EndRollSequence)__receiver)
95        }
96    }
97    #[doc = "`Setup2()` overload"]
98    fn setup2(self) -> () {
99        unsafe {
100            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101            ::unity::il2cpp_call!((::unity::module_base()+0x22e4480usize)as*mut u8,();
102(EndRollSequence)__receiver)
103        }
104    }
105    #[doc = "`Unload()` overload"]
106    fn unload(self) -> () {
107        unsafe {
108            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            ::unity::il2cpp_call!((::unity::module_base()+0x22e47c0usize)as*mut u8,();
110(EndRollSequence)__receiver)
111        }
112    }
113    #[doc = "`Tick1()` overload"]
114    fn tick1(self) -> crate::system::collections::ienumerator::IEnumerator {
115        unsafe {
116            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117            ::unity::il2cpp_call!((::unity::module_base()+0x22e49d0usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
118(EndRollSequence)__receiver)
119        }
120    }
121    #[doc = "`Tick2()` overload"]
122    fn tick2(self) -> crate::system::collections::ienumerator::IEnumerator {
123        unsafe {
124            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
125            ::unity::il2cpp_call!((::unity::module_base()+0x22e4a50usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
126(EndRollSequence)__receiver)
127        }
128    }
129    #[doc = "`EnableControllerSupport()` overload"]
130    fn enable_controller_support(self) -> () {
131        unsafe {
132            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
133            ::unity::il2cpp_call!((::unity::module_base()+0x22e4ad0usize)as*mut u8,();
134(EndRollSequence)__receiver)
135        }
136    }
137    #[doc = "`DisableControllerSupport()` overload"]
138    fn disable_controller_support(self) -> () {
139        unsafe {
140            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141            ::unity::il2cpp_call!((::unity::module_base()+0x22e4b30usize)as*mut u8,();
142(EndRollSequence)__receiver)
143        }
144    }
145    #[doc = "`.ctor()` overload"]
146    fn ctor(self) -> () {
147        unsafe {
148            let __receiver = <EndRollSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149            ::unity::il2cpp_call!((::unity::module_base()+0x22e40a0usize)as*mut u8,();
150(EndRollSequence)__receiver)
151        }
152    }
153}
154
155#[cfg(feature = "app-endrollsequence")]
156impl<__T: IEndRollSequence> IEndRollSequenceMethods for __T {}
157
158#[cfg(feature = "app-endrollsequence")]
159impl EndRollSequence {
160    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
162    }
163
164    pub fn get_is_skipped_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
166    }
167
168    pub fn set_is_skipped_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
170    }
171
172    pub fn load_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
174    }
175
176    pub fn is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
178    }
179
180    pub fn setup1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
181        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
182    }
183
184    pub fn setup2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
186    }
187
188    pub fn unload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
190    }
191
192    pub fn tick1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
194    }
195
196    pub fn tick2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
198    }
199
200    pub fn enable_controller_support_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
202    }
203
204    pub fn disable_controller_support_method_info() -> &'static ::unity::il2cpp::MethodInfo {
205        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
206    }
207
208    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
209        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
210    }
211}
212
213#[cfg(feature = "app-endrollsequence")]
214impl EndRollSequence {
215    #[doc = "`.ctor()` — no args"]
216    pub fn new() -> Self {
217        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
218            panic!(
219                "{}
220::{}
221 failed to instantiate",
222                ::core::stringify!(EndRollSequence),
223                ::core::stringify!(new),
224            )
225        });
226        <Self as IEndRollSequenceMethods>::ctor(this);
227        this
228    }
229}
230
231#[cfg(feature = "app-endrollsequence")]
232#[doc(hidden)]
233pub mod prelude {
234    pub use super::{EndRollSequence, IEndRollSequence, IEndRollSequenceMethods};
235    #[cfg(feature = "app-procinst")]
236    pub use crate::app::procinst::IProcInstMethods;
237    #[cfg(feature = "app-singletonprocinst_1")]
238    pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
239    #[cfg(feature = "system-object")]
240    pub use crate::system::object::IObjectMethods;
241    pub use crate::{
242        app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
243        system::object::IObject,
244    };
245}