1#[cfg(feature = "app-mainsequence-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 procscenesequence_1::{IProcSceneSequence_1, ProcSceneSequence_1},
12 singletonprocinst_1::{ISingletonProcInst_1, SingletonProcInst_1},
13 },
14 system::{
15 object::{IObject, Object},
16 r#enum::{Enum, IEnum},
17 valuetype::{IValueType, ValueType},
18 },
19 };
20
21 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mainsequence/MainSequence.md"))]
22 #[::unity::class(namespace = "App", name = "MainSequence")]
23 #[parent(crate::app::procscenesequence_1::ProcSceneSequence_1<crate::app::mainsequence::MainSequence>)]
24 pub struct MainSequence {
25 #[static_field]
26 #[rename(name = "s_JumpLabel")]
27 pub s_jump_label: crate::app::mainsequence::MainSequence_Label,
28 #[static_field]
29 #[rename(name = "s_FakeLabel")]
30 pub s_fake_label: crate::app::mainsequence::MainSequence_Label,
31 #[static_field]
32 #[rename(name = "s_Initialized")]
33 pub s_initialized: bool,
34 }
35
36 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mainsequence/MainSequence_Label.md"))]
37 #[repr(C)]
38 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
39 pub struct MainSequence_Label {
40 pub value: i32,
41 }
42 impl ::unity::ClassIdentity for MainSequence_Label {
43 const NAME: &'static str = "MainSequence.Label";
44 const NAMESPACE: &'static str = "App";
45
46 fn class() -> ::unity::Class {
47 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
48 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
49 }
50 }
51 impl ::unity::IlType for MainSequence_Label {
52 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
53 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
54 }
55 }
56 impl MainSequence_Label {
57 pub fn none() -> Self {
58 Self { value: 0 }
59 }
60
61 pub fn startup() -> Self {
62 Self { value: 1 }
63 }
64
65 pub fn title_loop() -> Self {
66 Self { value: 2 }
67 }
68
69 pub fn title_loop_from_main_menu() -> Self {
70 Self { value: 3 }
71 }
72
73 pub fn main_menu() -> Self {
74 Self { value: 4 }
75 }
76
77 pub fn chapter() -> Self {
78 Self { value: 5 }
79 }
80
81 pub fn gmap() -> Self {
82 Self { value: 6 }
83 }
84
85 pub fn kizuna() -> Self {
86 Self { value: 7 }
87 }
88
89 pub fn hub() -> Self {
90 Self { value: 8 }
91 }
92
93 pub fn hub_to_save_position() -> Self {
94 Self { value: 9 }
95 }
96
97 pub fn ending() -> Self {
98 Self { value: 10 }
99 }
100
101 pub fn next_chapter() -> Self {
102 Self { value: 11 }
103 }
104
105 pub fn map() -> Self {
106 Self { value: 12 }
107 }
108
109 pub fn complete() -> Self {
110 Self { value: 13 }
111 }
112
113 pub fn game_over() -> Self {
114 Self { value: 14 }
115 }
116
117 pub fn chapter_save() -> Self {
118 Self { value: 15 }
119 }
120
121 pub fn after_chapter_save() -> Self {
122 Self { value: 16 }
123 }
124
125 pub fn set_save_data_load_target() -> Self {
126 Self { value: 17 }
127 }
128
129 pub fn save_data_load() -> Self {
130 Self { value: 18 }
131 }
132
133 pub fn save_data_load_failed() -> Self {
134 Self { value: 19 }
135 }
136
137 pub fn save_data_version_failed() -> Self {
138 Self { value: 20 }
139 }
140
141 pub fn data_load_failed() -> Self {
142 Self { value: 21 }
143 }
144
145 pub fn after_load_failed() -> Self {
146 Self { value: 22 }
147 }
148
149 pub fn contents_resume() -> Self {
150 Self { value: 23 }
151 }
152
153 pub fn relay_debug() -> Self {
154 Self { value: 24 }
155 }
156
157 pub fn relay() -> Self {
158 Self { value: 25 }
159 }
160
161 pub fn versus() -> Self {
162 Self { value: 26 }
163 }
164
165 pub fn challenge() -> Self {
166 Self { value: 27 }
167 }
168
169 pub fn back_to_title() -> Self {
170 Self { value: 28 }
171 }
172
173 pub fn end() -> Self {
174 Self { value: 29 }
175 }
176 }
177}
178
179#[cfg(feature = "app-mainsequence-types")]
180pub use __types::*;
181
182#[cfg(feature = "app-mainsequence")]
183impl MainSequence {
184 #[doc = "`GetCurrent(crate::app::procinst::ProcInst)` overload"]
185 pub fn get_current(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
186 unsafe {
187 ::unity::il2cpp_call!((::unity::module_base()+0x1edd2e0usize)as*mut u8,crate::app::procinst::ProcInst;
188(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
189 }
190 }
191
192 #[doc = "`GetCurrent()` overload"]
193 pub fn get_current_2() -> crate::app::procinst::ProcInst {
194 unsafe {
195 ::unity::il2cpp_call!((::unity::module_base()+0x1edd390usize)as*mut u8,crate::app::procinst::ProcInst;
196 )
197 }
198 }
199
200 #[doc = "`SetJumpSeq(crate::app::mainsequence::MainSequence_Label)` overload"]
201 pub fn set_jump_seq(label: impl ::core::convert::Into<crate::app::mainsequence::MainSequence_Label>) -> () {
202 unsafe {
203 ::unity::il2cpp_call!((::unity::module_base()+0x1edd4c0usize)as*mut u8,();
204(crate::app::mainsequence::MainSequence_Label)::core::convert::Into::into(label))
205 }
206 }
207
208 #[doc = "`Create()` overload"]
209 pub fn create() -> () {
210 unsafe {
211 ::unity::il2cpp_call!((::unity::module_base()+0x1edf400usize)as*mut u8,();
212 )
213 }
214 }
215
216 #[doc = "`IsInitialized()` overload"]
217 pub fn is_initialized() -> bool {
218 unsafe {
219 ::unity::il2cpp_call!((::unity::module_base()+0x1ee39a0usize)as*mut u8,bool;
220 )
221 }
222 }
223
224 #[doc = "`.cctor()` overload"]
225 pub fn cctor() -> () {
226 unsafe {
227 ::unity::il2cpp_call!((::unity::module_base()+0x1ee3a80usize)as*mut u8,();
228 )
229 }
230 }
231}
232
233#[cfg(feature = "app-mainsequence")]
234pub trait IMainSequenceMethods: IMainSequence {
235 #[doc = "`JumpToLabel()` overload"]
236 fn jump_to_label(self) -> () {
237 unsafe {
238 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
239 ::unity::il2cpp_call!((::unity::module_base()+0x1edd120usize)as*mut u8,();
240(MainSequence)__receiver)
241 }
242 }
243 #[doc = "`JumpToLabelNoGCCollect()` overload"]
244 fn jump_to_label_no_gc_collect(self) -> () {
245 unsafe {
246 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
247 ::unity::il2cpp_call!((::unity::module_base()+0x1edd2c0usize)as*mut u8,();
248(MainSequence)__receiver)
249 }
250 }
251 #[doc = "`JumpToLabelImpl(bool)` overload"]
252 fn jump_to_label_impl(self, is_gc_collect: impl ::core::convert::Into<bool>) -> () {
253 unsafe {
254 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255 ::unity::il2cpp_call!((::unity::module_base()+0x1edd130usize)as*mut u8,();
256(MainSequence)__receiver,(bool)::core::convert::Into::into(is_gc_collect))
257 }
258 }
259 #[doc = "`Initialize()` overload"]
260 fn initialize(self) -> () {
261 unsafe {
262 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
263 ::unity::il2cpp_call!((::unity::module_base()+0x1edd530usize)as*mut u8,();
264(MainSequence)__receiver)
265 }
266 }
267 #[doc = "`PostInitialize()` overload"]
268 fn post_initialize(self) -> () {
269 unsafe {
270 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
271 ::unity::il2cpp_call!((::unity::module_base()+0x1edd920usize)as*mut u8,();
272(MainSequence)__receiver)
273 }
274 }
275 #[doc = "`LoadPublic()` overload"]
276 fn load_public(self) -> () {
277 unsafe {
278 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279 ::unity::il2cpp_call!((::unity::module_base()+0x1edda10usize)as*mut u8,();
280(MainSequence)__receiver)
281 }
282 }
283 #[doc = "`LoadResource()` overload"]
284 fn load_resource(self) -> () {
285 unsafe {
286 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287 ::unity::il2cpp_call!((::unity::module_base()+0x1edda80usize)as*mut u8,();
288(MainSequence)__receiver)
289 }
290 }
291 #[doc = "`PostLoadResource()` overload"]
292 fn post_load_resource(self) -> () {
293 unsafe {
294 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
295 ::unity::il2cpp_call!((::unity::module_base()+0x1eddc40usize)as*mut u8,();
296(MainSequence)__receiver)
297 }
298 }
299 #[doc = "`BeginSilentVolume()` overload"]
300 fn begin_silent_volume(self) -> () {
301 unsafe {
302 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
303 ::unity::il2cpp_call!((::unity::module_base()+0x1eddce0usize)as*mut u8,();
304(MainSequence)__receiver)
305 }
306 }
307 #[doc = "`EndSilentVolume()` overload"]
308 fn end_silent_volume(self) -> () {
309 unsafe {
310 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311 ::unity::il2cpp_call!((::unity::module_base()+0x1eddcf0usize)as*mut u8,();
312(MainSequence)__receiver)
313 }
314 }
315 #[doc = "`OnPersistent()` overload"]
316 fn on_persistent(self) -> () {
317 unsafe {
318 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
319 {
320 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
321 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
322 panic!(
323 "unity: virtual slot {}
324 out of range (vtable len {}
325) on the runtime class behind {}
326 (method `{}
327`)",
328 8usize,
329 __vt.len(),
330 <MainSequence as ::unity::ClassIdentity>::NAME,
331 "OnPersistent",
332 )
333 });
334 let __inner: extern "C" fn(MainSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
335 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
336 __inner(__receiver, __mi)
337 }
338 }
339 }
340 #[doc = "`BranchStart()` overload"]
341 fn branch_start(self) -> () {
342 unsafe {
343 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344 ::unity::il2cpp_call!((::unity::module_base()+0x1eddd80usize)as*mut u8,();
345(MainSequence)__receiver)
346 }
347 }
348 #[doc = "`BranchChapterStart()` overload"]
349 fn branch_chapter_start(self) -> () {
350 unsafe {
351 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
352 ::unity::il2cpp_call!((::unity::module_base()+0x1edddf0usize)as*mut u8,();
353(MainSequence)__receiver)
354 }
355 }
356 #[doc = "`LoadChapterBank()` overload"]
357 fn load_chapter_bank(self) -> () {
358 unsafe {
359 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
360 ::unity::il2cpp_call!((::unity::module_base()+0x1eddf20usize)as*mut u8,();
361(MainSequence)__receiver)
362 }
363 }
364 #[doc = "`TryJumpToKizuna()` overload"]
365 fn try_jump_to_kizuna(self) -> () {
366 unsafe {
367 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368 ::unity::il2cpp_call!((::unity::module_base()+0x1ede020usize)as*mut u8,();
369(MainSequence)__receiver)
370 }
371 }
372 #[doc = "`TryJumpToContinueMap()` overload"]
373 fn try_jump_to_continue_map(self) -> () {
374 unsafe {
375 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376 ::unity::il2cpp_call!((::unity::module_base()+0x1ede310usize)as*mut u8,();
377(MainSequence)__receiver)
378 }
379 }
380 #[doc = "`TryJumpToHub()` overload"]
381 fn try_jump_to_hub(self) -> () {
382 unsafe {
383 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384 ::unity::il2cpp_call!((::unity::module_base()+0x1ede4f0usize)as*mut u8,();
385(MainSequence)__receiver)
386 }
387 }
388 #[doc = "`TryJumpToGmap()` overload"]
389 fn try_jump_to_gmap(self) -> () {
390 unsafe {
391 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392 ::unity::il2cpp_call!((::unity::module_base()+0x1ede610usize)as*mut u8,();
393(MainSequence)__receiver)
394 }
395 }
396 #[doc = "`TryJumpToNextChapter()` overload"]
397 fn try_jump_to_next_chapter(self) -> () {
398 unsafe {
399 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
400 ::unity::il2cpp_call!((::unity::module_base()+0x1ede3f0usize)as*mut u8,();
401(MainSequence)__receiver)
402 }
403 }
404 #[doc = "`HubToSavePosition()` overload"]
405 fn hub_to_save_position(self) -> () {
406 unsafe {
407 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
408 ::unity::il2cpp_call!((::unity::module_base()+0x1ede6e0usize)as*mut u8,();
409(MainSequence)__receiver)
410 }
411 }
412 #[doc = "`GameReset()` overload"]
413 fn game_reset(self) -> () {
414 unsafe {
415 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
416 ::unity::il2cpp_call!((::unity::module_base()+0x1ede760usize)as*mut u8,();
417(MainSequence)__receiver)
418 }
419 }
420 #[doc = "`AutoSave()` overload"]
421 fn auto_save(self) -> () {
422 unsafe {
423 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
424 ::unity::il2cpp_call!((::unity::module_base()+0x1ede820usize)as*mut u8,();
425(MainSequence)__receiver)
426 }
427 }
428 #[doc = "`SetSaveDataLoadTarget()` overload"]
429 fn set_save_data_load_target(self) -> () {
430 unsafe {
431 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
432 ::unity::il2cpp_call!((::unity::module_base()+0x1ede840usize)as*mut u8,();
433(MainSequence)__receiver)
434 }
435 }
436 #[doc = "`SaveDataLoad()` overload"]
437 fn save_data_load(self) -> () {
438 unsafe {
439 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
440 ::unity::il2cpp_call!((::unity::module_base()+0x1ede990usize)as*mut u8,();
441(MainSequence)__receiver)
442 }
443 }
444 #[doc = "`SaveDataLoadResult()` overload"]
445 fn save_data_load_result(self) -> () {
446 unsafe {
447 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
448 ::unity::il2cpp_call!((::unity::module_base()+0x1edec40usize)as*mut u8,();
449(MainSequence)__receiver)
450 }
451 }
452 #[doc = "`SaveDataRelease()` overload"]
453 fn save_data_release(self) -> () {
454 unsafe {
455 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
456 ::unity::il2cpp_call!((::unity::module_base()+0x1eded70usize)as*mut u8,();
457(MainSequence)__receiver)
458 }
459 }
460 #[doc = "`SaveDataNormalize()` overload"]
461 fn save_data_normalize(self) -> () {
462 unsafe {
463 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
464 ::unity::il2cpp_call!((::unity::module_base()+0x1edee40usize)as*mut u8,();
465(MainSequence)__receiver)
466 }
467 }
468 #[doc = "`SaveDataBranchFirst()` overload"]
469 fn save_data_branch_first(self) -> () {
470 unsafe {
471 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
472 ::unity::il2cpp_call!((::unity::module_base()+0x1edee50usize)as*mut u8,();
473(MainSequence)__receiver)
474 }
475 }
476 #[doc = "`SaveDataBranchSecond()` overload"]
477 fn save_data_branch_second(self) -> () {
478 unsafe {
479 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
480 ::unity::il2cpp_call!((::unity::module_base()+0x1edef90usize)as*mut u8,();
481(MainSequence)__receiver)
482 }
483 }
484 #[doc = "`SaveDataLoadFailed()` overload"]
485 fn save_data_load_failed(self) -> () {
486 unsafe {
487 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
488 ::unity::il2cpp_call!((::unity::module_base()+0x1edf090usize)as*mut u8,();
489(MainSequence)__receiver)
490 }
491 }
492 #[doc = "`SaveDataVersionFailed()` overload"]
493 fn save_data_version_failed(self) -> () {
494 unsafe {
495 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
496 ::unity::il2cpp_call!((::unity::module_base()+0x1edf120usize)as*mut u8,();
497(MainSequence)__receiver)
498 }
499 }
500 #[doc = "`DataLoadFailed()` overload"]
501 fn data_load_failed(self) -> () {
502 unsafe {
503 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
504 ::unity::il2cpp_call!((::unity::module_base()+0x1edf1b0usize)as*mut u8,();
505(MainSequence)__receiver)
506 }
507 }
508 #[doc = "`DeleteTemporary()` overload"]
509 fn delete_temporary(self) -> () {
510 unsafe {
511 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
512 ::unity::il2cpp_call!((::unity::module_base()+0x1edf240usize)as*mut u8,();
513(MainSequence)__receiver)
514 }
515 }
516 #[doc = "`GameSoundReset()` overload"]
517 fn game_sound_reset(self) -> () {
518 unsafe {
519 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
520 ::unity::il2cpp_call!((::unity::module_base()+0x1edf250usize)as*mut u8,();
521(MainSequence)__receiver)
522 }
523 }
524 #[doc = "`DumpMemory(crate::app::mainsequence::MainSequence_Label)` overload"]
525 fn dump_memory(self, label: impl ::core::convert::Into<crate::app::mainsequence::MainSequence_Label>) -> () {
526 unsafe {
527 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
528 ::unity::il2cpp_call!((::unity::module_base()+0x1edd2d0usize)as*mut u8,();
529(MainSequence)__receiver,(crate::app::mainsequence::MainSequence_Label)::core::convert::Into::into(label))
530 }
531 }
532 #[doc = "`DumpMemory(::unity::Il2CppString)` overload"]
533 fn dump_memory_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
534 unsafe {
535 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
536 ::unity::il2cpp_call!((::unity::module_base()+0x1edf320usize)as*mut u8,();
537(MainSequence)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
538 }
539 }
540 #[doc = "`LoadLogo()` overload"]
541 fn load_logo(self) -> () {
542 unsafe {
543 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
544 ::unity::il2cpp_call!((::unity::module_base()+0x1edf330usize)as*mut u8,();
545(MainSequence)__receiver)
546 }
547 }
548 #[doc = "`ShowLogo()` overload"]
549 fn show_logo(self) -> () {
550 unsafe {
551 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
552 ::unity::il2cpp_call!((::unity::module_base()+0x1edf3a0usize)as*mut u8,();
553(MainSequence)__receiver)
554 }
555 }
556 #[doc = "`ShowIcon()` overload"]
557 fn show_icon(self) -> () {
558 unsafe {
559 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
560 ::unity::il2cpp_call!((::unity::module_base()+0x1edf3d0usize)as*mut u8,();
561(MainSequence)__receiver)
562 }
563 }
564 #[doc = "`.ctor()` overload"]
565 fn ctor(self) -> () {
566 unsafe {
567 let __receiver = <MainSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
568 ::unity::il2cpp_call!((::unity::module_base()+0x1ee3940usize)as*mut u8,();
569(MainSequence)__receiver)
570 }
571 }
572}
573
574#[cfg(feature = "app-mainsequence")]
575impl<__T: IMainSequence> IMainSequenceMethods for __T {}
576
577#[cfg(feature = "app-mainsequence")]
578impl MainSequence {
579 pub fn jump_to_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
580 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
581 }
582
583 pub fn jump_to_label_no_gc_collect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
584 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
585 }
586
587 pub fn jump_to_label_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
588 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
589 }
590
591 pub fn get_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
592 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
593 }
594
595 pub fn get_current_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
596 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
597 }
598
599 pub fn set_jump_seq_method_info() -> &'static ::unity::il2cpp::MethodInfo {
600 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
601 }
602
603 pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
604 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
605 }
606
607 pub fn post_initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
608 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
609 }
610
611 pub fn load_public_method_info() -> &'static ::unity::il2cpp::MethodInfo {
612 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
613 }
614
615 pub fn load_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
616 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
617 }
618
619 pub fn post_load_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
620 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
621 }
622
623 pub fn begin_silent_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
624 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
625 }
626
627 pub fn end_silent_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
628 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
629 }
630
631 pub fn on_persistent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
632 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
633 }
634
635 pub fn branch_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
636 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
637 }
638
639 pub fn branch_chapter_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
640 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
641 }
642
643 pub fn load_chapter_bank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
644 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
645 }
646
647 pub fn try_jump_to_kizuna_method_info() -> &'static ::unity::il2cpp::MethodInfo {
648 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
649 }
650
651 pub fn try_jump_to_continue_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
652 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
653 }
654
655 pub fn try_jump_to_hub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
656 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
657 }
658
659 pub fn try_jump_to_gmap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
660 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
661 }
662
663 pub fn try_jump_to_next_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
664 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
665 }
666
667 pub fn hub_to_save_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
668 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
669 }
670
671 pub fn game_reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
672 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
673 }
674
675 pub fn auto_save_method_info() -> &'static ::unity::il2cpp::MethodInfo {
676 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
677 }
678
679 pub fn set_save_data_load_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
680 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
681 }
682
683 pub fn save_data_load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
684 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
685 }
686
687 pub fn save_data_load_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
688 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
689 }
690
691 pub fn save_data_release_method_info() -> &'static ::unity::il2cpp::MethodInfo {
692 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
693 }
694
695 pub fn save_data_normalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
696 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
697 }
698
699 pub fn save_data_branch_first_method_info() -> &'static ::unity::il2cpp::MethodInfo {
700 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
701 }
702
703 pub fn save_data_branch_second_method_info() -> &'static ::unity::il2cpp::MethodInfo {
704 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
705 }
706
707 pub fn save_data_load_failed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
708 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
709 }
710
711 pub fn save_data_version_failed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
712 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
713 }
714
715 pub fn data_load_failed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
716 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
717 }
718
719 pub fn delete_temporary_method_info() -> &'static ::unity::il2cpp::MethodInfo {
720 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
721 }
722
723 pub fn game_sound_reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
724 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
725 }
726
727 pub fn dump_memory_method_info() -> &'static ::unity::il2cpp::MethodInfo {
728 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
729 }
730
731 pub fn dump_memory_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
732 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
733 }
734
735 pub fn load_logo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
736 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
737 }
738
739 pub fn show_logo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
740 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
741 }
742
743 pub fn show_icon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
744 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
745 }
746
747 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
748 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
749 }
750
751 pub fn is_initialized_method_info() -> &'static ::unity::il2cpp::MethodInfo {
752 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
753 }
754
755 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
756 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
757 }
758
759 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
760 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
761 }
762}
763
764#[cfg(feature = "app-mainsequence")]
765impl MainSequence {
766 #[doc = "Direct (non-virtual) call to `MainSequence`'s own `OnPersistent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
767 pub unsafe fn on_persistent(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
768 let __mi = Self::on_persistent_method_info();
769 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
770 __inner(this.into(), ::core::option::Option::None)
771 }
772}
773
774#[cfg(feature = "app-mainsequence")]
775impl MainSequence {
776 #[doc = "`.ctor()` — no args"]
777 pub fn new() -> Self {
778 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
779 panic!(
780 "{}
781::{}
782 failed to instantiate",
783 ::core::stringify!(MainSequence),
784 ::core::stringify!(new),
785 )
786 });
787 <Self as IMainSequenceMethods>::ctor(this);
788 this
789 }
790}
791
792#[cfg(feature = "app-mainsequence")]
793#[doc(hidden)]
794pub mod prelude {
795 pub use super::{IMainSequence, IMainSequenceMethods, MainSequence, MainSequence_Label};
796 #[cfg(feature = "app-procinst")]
797 pub use crate::app::procinst::IProcInstMethods;
798 #[cfg(feature = "app-procscenesequence_1")]
799 pub use crate::app::procscenesequence_1::IProcSceneSequence_1Methods;
800 #[cfg(feature = "app-singletonprocinst_1")]
801 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
802 #[cfg(feature = "system-object")]
803 pub use crate::system::object::IObjectMethods;
804 #[cfg(feature = "system-enum")]
805 pub use crate::system::r#enum::IEnumMethods;
806 #[cfg(feature = "system-valuetype")]
807 pub use crate::system::valuetype::IValueTypeMethods;
808 pub use crate::{
809 app::{procinst::IProcInst, procscenesequence_1::IProcSceneSequence_1, singletonprocinst_1::ISingletonProcInst_1},
810 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
811 };
812}