engage/generated/root/
tutoriallistsequence.rs1#[cfg(feature = "root-tutoriallistsequence-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::procinst::{IProcInst, ProcInst},
10 system::{
11 object::{IObject, Object},
12 r#enum::{Enum, IEnum},
13 valuetype::{IValueType, ValueType},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/tutoriallistsequence/TutorialListSequence_Label.md"))]
18 #[repr(C)]
19 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
20 pub struct TutorialListSequence_Label {
21 pub value: i32,
22 }
23 impl ::unity::ClassIdentity for TutorialListSequence_Label {
24 const NAME: &'static str = "TutorialListSequence.Label";
25 const NAMESPACE: &'static str = "";
26
27 fn class() -> ::unity::Class {
28 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
29 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
30 }
31 }
32 impl ::unity::IlType for TutorialListSequence_Label {
33 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
34 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
35 }
36 }
37 impl TutorialListSequence_Label {
38 pub fn entry() -> Self {
39 Self { value: 0 }
40 }
41
42 pub fn select_category() -> Self {
43 Self { value: 1 }
44 }
45
46 pub fn list() -> Self {
47 Self { value: 2 }
48 }
49
50 pub fn end() -> Self {
51 Self { value: 3 }
52 }
53 }
54
55 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/tutoriallistsequence/TutorialListSequence.md"))]
56 #[::unity::class(namespace = "", name = "TutorialListSequence")]
57 #[parent(crate::app::procinst::ProcInst)]
58 pub struct TutorialListSequence {
59 #[offset(112)]
60 #[rename(name = "m_CategorySelectObject")]
61 pub m_category_select_object: crate::unity_engine::gameobject::GameObject,
62 #[offset(120)]
63 #[rename(name = "m_TutorialListObject")]
64 pub m_tutorial_list_object: crate::unity_engine::gameobject::GameObject,
65 #[offset(128)]
66 #[rename(name = "m_PathTable")]
67 pub m_path_table: crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString, ::unity::Il2CppString>,
68 #[offset(136)]
69 #[rename(name = "m_SelectCategory")]
70 pub m_select_category: crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType,
71 #[offset(144)]
72 #[rename(name = "m_CategoryList")]
73 pub m_category_list:
74 crate::system::collections::generic::list_1::List_1<crate::root::tutoriallisttopmenu::TutorialListTopMenu_SelectCategoryType>,
75 #[offset(152)]
76 #[rename(name = "m_IsGetAllTutorial")]
77 pub m_is_get_all_tutorial: bool,
78 }
79}
80
81#[cfg(feature = "root-tutoriallistsequence-types")]
82pub use __types::*;
83
84#[cfg(feature = "root-tutoriallistsequence")]
85impl TutorialListSequence {
86 #[doc = "`CreateBind(crate::app::procinst::ProcInst, bool)` overload"]
87 pub fn create_bind(
88 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
89 is_get_all_tutorial: impl ::core::convert::Into<bool>,
90 ) -> () {
91 unsafe {
92 ::unity::il2cpp_call!((::unity::module_base()+0x22b2c40usize)as*mut u8,();
93(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(bool)::core::convert::Into::into(is_get_all_tutorial))
94 }
95 }
96}
97
98#[cfg(feature = "root-tutoriallistsequence")]
99pub trait ITutorialListSequenceMethods: ITutorialListSequence {
100 #[doc = "`LoadResources()` overload"]
101 fn load_resources(self) -> () {
102 unsafe {
103 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104 ::unity::il2cpp_call!((::unity::module_base()+0x22b1d40usize)as*mut u8,();
105(TutorialListSequence)__receiver)
106 }
107 }
108 #[doc = "`IsLoadingResources()` overload"]
109 fn is_loading_resources(self) -> bool {
110 unsafe {
111 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
112 ::unity::il2cpp_call!((::unity::module_base()+0x22b1dc0usize)as*mut u8,bool;
113(TutorialListSequence)__receiver)
114 }
115 }
116 #[doc = "`StartSequence()` overload"]
117 fn start_sequence(self) -> () {
118 unsafe {
119 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
120 ::unity::il2cpp_call!((::unity::module_base()+0x22b1e50usize)as*mut u8,();
121(TutorialListSequence)__receiver)
122 }
123 }
124 #[doc = "`CreateTutorialListTopMenu()` overload"]
125 fn create_tutorial_list_top_menu(self) -> () {
126 unsafe {
127 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128 ::unity::il2cpp_call!((::unity::module_base()+0x22b1f00usize)as*mut u8,();
129(TutorialListSequence)__receiver)
130 }
131 }
132 #[doc = "`DestroyTutorialListTopMenu()` overload"]
133 fn destroy_tutorial_list_top_menu(self) -> () {
134 unsafe {
135 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136 ::unity::il2cpp_call!((::unity::module_base()+0x22b2480usize)as*mut u8,();
137(TutorialListSequence)__receiver)
138 }
139 }
140 #[doc = "`CreateTutorialListSelectMenu()` overload"]
141 fn create_tutorial_list_select_menu(self) -> () {
142 unsafe {
143 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
144 ::unity::il2cpp_call!((::unity::module_base()+0x22b24f0usize)as*mut u8,();
145(TutorialListSequence)__receiver)
146 }
147 }
148 #[doc = "`CloseWdwTutorial()` overload"]
149 fn close_wdw_tutorial(self) -> () {
150 unsafe {
151 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152 ::unity::il2cpp_call!((::unity::module_base()+0x22b26d0usize)as*mut u8,();
153(TutorialListSequence)__receiver)
154 }
155 }
156 #[doc = "`IsClosingWdwTutorial()` overload"]
157 fn is_closing_wdw_tutorial(self) -> bool {
158 unsafe {
159 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160 ::unity::il2cpp_call!((::unity::module_base()+0x22b27c0usize)as*mut u8,bool;
161(TutorialListSequence)__receiver)
162 }
163 }
164 #[doc = "`DestoryTutorialListSelectMenu()` overload"]
165 fn destory_tutorial_list_select_menu(self) -> () {
166 unsafe {
167 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
168 ::unity::il2cpp_call!((::unity::module_base()+0x22b28b0usize)as*mut u8,();
169(TutorialListSequence)__receiver)
170 }
171 }
172 #[doc = "`EndSequence()` overload"]
173 fn end_sequence(self) -> () {
174 unsafe {
175 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
176 ::unity::il2cpp_call!((::unity::module_base()+0x22b2920usize)as*mut u8,();
177(TutorialListSequence)__receiver)
178 }
179 }
180 #[doc = "`UnloadResources()` overload"]
181 fn unload_resources(self) -> () {
182 unsafe {
183 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184 ::unity::il2cpp_call!((::unity::module_base()+0x22b2a60usize)as*mut u8,();
185(TutorialListSequence)__receiver)
186 }
187 }
188 #[doc = "`CreateDesc()` overload"]
189 fn create_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
190 unsafe {
191 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
192 ::unity::il2cpp_call!((::unity::module_base()+0x22b2db0usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
193(TutorialListSequence)__receiver)
194 }
195 }
196 #[doc = "`OnDispose()` overload"]
197 fn on_dispose(self) -> () {
198 unsafe {
199 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200 {
201 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
202 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
203 panic!(
204 "unity: virtual slot {}
205 out of range (vtable len {}
206) on the runtime class behind {}
207 (method `{}
208`)",
209 10usize,
210 __vt.len(),
211 <TutorialListSequence as ::unity::ClassIdentity>::NAME,
212 "OnDispose",
213 )
214 });
215 let __inner: extern "C" fn(TutorialListSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
216 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
217 __inner(__receiver, __mi)
218 }
219 }
220 }
221 #[doc = "`.ctor()` overload"]
222 fn ctor(self) -> () {
223 unsafe {
224 let __receiver = <TutorialListSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225 ::unity::il2cpp_call!((::unity::module_base()+0x22b2cd0usize)as*mut u8,();
226(TutorialListSequence)__receiver)
227 }
228 }
229}
230
231#[cfg(feature = "root-tutoriallistsequence")]
232impl<__T: ITutorialListSequence> ITutorialListSequenceMethods for __T {}
233
234#[cfg(feature = "root-tutoriallistsequence")]
235impl TutorialListSequence {
236 pub fn load_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
237 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
238 }
239
240 pub fn is_loading_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
242 }
243
244 pub fn start_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
246 }
247
248 pub fn create_tutorial_list_top_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
250 }
251
252 pub fn destroy_tutorial_list_top_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
254 }
255
256 pub fn create_tutorial_list_select_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
258 }
259
260 pub fn close_wdw_tutorial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
262 }
263
264 pub fn is_closing_wdw_tutorial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
266 }
267
268 pub fn destory_tutorial_list_select_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
270 }
271
272 pub fn end_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
274 }
275
276 pub fn unload_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
278 }
279
280 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
282 }
283
284 pub fn create_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
286 }
287
288 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
290 }
291
292 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
294 }
295}
296
297#[cfg(feature = "root-tutoriallistsequence")]
298impl TutorialListSequence {
299 #[doc = "Direct (non-virtual) call to `TutorialListSequence`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
300 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
301 let __mi = Self::on_dispose_method_info();
302 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
303 __inner(this.into(), ::core::option::Option::None)
304 }
305}
306
307#[cfg(feature = "root-tutoriallistsequence")]
308impl TutorialListSequence {
309 #[doc = "`.ctor()` — no args"]
310 pub fn new() -> Self {
311 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
312 panic!(
313 "{}
314::{}
315 failed to instantiate",
316 ::core::stringify!(TutorialListSequence),
317 ::core::stringify!(new),
318 )
319 });
320 <Self as ITutorialListSequenceMethods>::ctor(this);
321 this
322 }
323}
324
325#[cfg(feature = "root-tutoriallistsequence")]
326#[doc(hidden)]
327pub mod prelude {
328 pub use super::{ITutorialListSequence, ITutorialListSequenceMethods, TutorialListSequence, TutorialListSequence_Label};
329 #[cfg(feature = "app-procinst")]
330 pub use crate::app::procinst::IProcInstMethods;
331 #[cfg(feature = "system-object")]
332 pub use crate::system::object::IObjectMethods;
333 #[cfg(feature = "system-enum")]
334 pub use crate::system::r#enum::IEnumMethods;
335 #[cfg(feature = "system-valuetype")]
336 pub use crate::system::valuetype::IValueTypeMethods;
337 pub use crate::{
338 app::procinst::IProcInst,
339 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
340 };
341}