1#[cfg(feature = "app-sortiesequence-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/sortiesequence/SortieSequence_Label.md"))]
21 #[repr(C)]
22 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
23 pub struct SortieSequence_Label {
24 pub value: i32,
25 }
26 impl ::unity::ClassIdentity for SortieSequence_Label {
27 const NAME: &'static str = "SortieSequence.Label";
28 const NAMESPACE: &'static str = "App";
29
30 fn class() -> ::unity::Class {
31 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
32 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
33 }
34 }
35 impl ::unity::IlType for SortieSequence_Label {
36 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
37 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
38 }
39 }
40 impl SortieSequence_Label {
41 pub fn notice() -> Self {
42 Self { value: 0 }
43 }
44
45 pub fn top_menu() -> Self {
46 Self { value: 1 }
47 }
48
49 pub fn selection_unit() -> Self {
50 Self { value: 2 }
51 }
52
53 pub fn position_change() -> Self {
54 Self { value: 3 }
55 }
56
57 pub fn inventory() -> Self {
58 Self { value: 4 }
59 }
60
61 pub fn god() -> Self {
62 Self { value: 5 }
63 }
64
65 pub fn tutorial() -> Self {
66 Self { value: 6 }
67 }
68
69 pub fn reliance() -> Self {
70 Self { value: 7 }
71 }
72
73 pub fn weapon_shop() -> Self {
74 Self { value: 8 }
75 }
76
77 pub fn item_shop() -> Self {
78 Self { value: 9 }
79 }
80
81 pub fn friend_list() -> Self {
82 Self { value: 10 }
83 }
84
85 pub fn ring_list() -> Self {
86 Self { value: 11 }
87 }
88
89 pub fn config() -> Self {
90 Self { value: 12 }
91 }
92
93 pub fn save() -> Self {
94 Self { value: 13 }
95 }
96
97 pub fn end() -> Self {
98 Self { value: 14 }
99 }
100 }
101
102 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/sortiesequence/SortieSequence_Modes.md"))]
103 #[repr(C)]
104 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
105 pub struct SortieSequence_Modes {
106 pub value: i32,
107 }
108 impl ::unity::ClassIdentity for SortieSequence_Modes {
109 const NAME: &'static str = "SortieSequence.Modes";
110 const NAMESPACE: &'static str = "App";
111
112 fn class() -> ::unity::Class {
113 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
114 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
115 }
116 }
117 impl ::unity::IlType for SortieSequence_Modes {
118 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
119 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
120 }
121 }
122 impl SortieSequence_Modes {
123 pub fn map() -> Self {
124 Self { value: 0 }
125 }
126
127 pub fn hub() -> Self {
128 Self { value: 1 }
129 }
130
131 pub fn edit() -> Self {
132 Self { value: 2 }
133 }
134 }
135
136 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/sortiesequence/SortieSequence.md"))]
137 #[::unity::class(namespace = "App", name = "SortieSequence")]
138 #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::sortiesequence::SortieSequence>)]
139 pub struct SortieSequence {
140 #[static_field]
141 #[rename(name = "s_IsDecidedToBattle")]
142 pub s_is_decided_to_battle: bool,
143 #[offset(116)]
144 #[rename(name = "m_Mode")]
145 pub m_mode: crate::app::sortiesequence::SortieSequence_Modes,
146 }
147}
148
149#[cfg(feature = "app-sortiesequence-types")]
150pub use __types::*;
151
152#[cfg(feature = "app-sortiesequence")]
153impl SortieSequence {
154 #[doc = "`CreateBindMap(crate::app::procinst::ProcInst)` overload"]
155 pub fn create_bind_map(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
156 unsafe {
157 ::unity::il2cpp_call!((::unity::module_base()+0x1fe8e40usize)as*mut u8,crate::app::procinst::ProcInst;
158(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
159 }
160 }
161
162 #[doc = "`CreateBindHub(crate::app::procinst::ProcInst)` overload"]
163 pub fn create_bind_hub(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
164 unsafe {
165 ::unity::il2cpp_call!((::unity::module_base()+0x1fe9fa0usize)as*mut u8,crate::app::procinst::ProcInst;
166(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
167 }
168 }
169
170 #[doc = "`CreateBindEdit(crate::app::procinst::ProcInst)` overload"]
171 pub fn create_bind_edit(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
172 unsafe {
173 ::unity::il2cpp_call!((::unity::module_base()+0x1fe9fb0usize)as*mut u8,crate::app::procinst::ProcInst;
174(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
175 }
176 }
177
178 #[doc = "`CreateBindImpl(crate::app::procinst::ProcInst, crate::app::sortiesequence::SortieSequence_Modes)` overload"]
179 pub fn create_bind_impl(
180 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
181 mode: impl ::core::convert::Into<crate::app::sortiesequence::SortieSequence_Modes>,
182 ) -> crate::app::procinst::ProcInst {
183 unsafe {
184 ::unity::il2cpp_call!((::unity::module_base()+0x1fe8e50usize)as*mut u8,crate::app::procinst::ProcInst;
185(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::sortiesequence::SortieSequence_Modes)::core::convert::Into::into(mode))
186 }
187 }
188
189 #[doc = "`DecideToBattle()` overload"]
190 pub fn decide_to_battle() -> () {
191 unsafe {
192 ::unity::il2cpp_call!((::unity::module_base()+0x1fea080usize)as*mut u8,();
193 )
194 }
195 }
196
197 #[doc = "`IsDecidedToBattle()` overload"]
198 pub fn is_decided_to_battle() -> bool {
199 unsafe {
200 ::unity::il2cpp_call!((::unity::module_base()+0x1fea130usize)as*mut u8,bool;
201 )
202 }
203 }
204}
205
206#[cfg(feature = "app-sortiesequence")]
207pub trait ISortieSequenceMethods: ISortieSequence {
208 #[doc = "`get_Mode()` overload"]
209 fn get_mode(self) -> crate::app::sortiesequence::SortieSequence_Modes {
210 unsafe {
211 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
212 ::unity::il2cpp_call!((::unity::module_base()+0x1fea180usize)as*mut u8,crate::app::sortiesequence::SortieSequence_Modes;
213(SortieSequence)__receiver)
214 }
215 }
216 #[doc = "`.ctor(crate::app::sortiesequence::SortieSequence_Modes)` overload"]
217 fn ctor(self, mode: impl ::core::convert::Into<crate::app::sortiesequence::SortieSequence_Modes>) -> () {
218 unsafe {
219 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
220 ::unity::il2cpp_call!((::unity::module_base()+0x1fe9fc0usize)as*mut u8,();
221(SortieSequence)__receiver,(crate::app::sortiesequence::SortieSequence_Modes)::core::convert::Into::into(mode))
222 }
223 }
224 #[doc = "`OnDispose()` overload"]
225 fn on_dispose(self) -> () {
226 unsafe {
227 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
228 {
229 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
230 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
231 panic!(
232 "unity: virtual slot {}
233 out of range (vtable len {}
234) on the runtime class behind {}
235 (method `{}
236`)",
237 10usize,
238 __vt.len(),
239 <SortieSequence as ::unity::ClassIdentity>::NAME,
240 "OnDispose",
241 )
242 });
243 let __inner: extern "C" fn(SortieSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
244 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
245 __inner(__receiver, __mi)
246 }
247 }
248 }
249 #[doc = "`OnShutdown()` overload"]
250 fn on_shutdown(self) -> () {
251 unsafe {
252 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
253 {
254 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
255 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
256 panic!(
257 "unity: virtual slot {}
258 out of range (vtable len {}
259) on the runtime class behind {}
260 (method `{}
261`)",
262 15usize,
263 __vt.len(),
264 <SortieSequence as ::unity::ClassIdentity>::NAME,
265 "OnShutdown",
266 )
267 });
268 let __inner: extern "C" fn(SortieSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
269 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
270 __inner(__receiver, __mi)
271 }
272 }
273 }
274 #[doc = "`SetupUnits()` overload"]
275 fn setup_units(self) -> () {
276 unsafe {
277 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278 ::unity::il2cpp_call!((::unity::module_base()+0x1fea530usize)as*mut u8,();
279(SortieSequence)__receiver)
280 }
281 }
282 #[doc = "`PostSetupUnits()` overload"]
283 fn post_setup_units(self) -> () {
284 unsafe {
285 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286 ::unity::il2cpp_call!((::unity::module_base()+0x1fea730usize)as*mut u8,();
287(SortieSequence)__receiver)
288 }
289 }
290 #[doc = "`TryShowTutorial()` overload"]
291 fn try_show_tutorial(self) -> () {
292 unsafe {
293 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
294 ::unity::il2cpp_call!((::unity::module_base()+0x1fea7c0usize)as*mut u8,();
295(SortieSequence)__receiver)
296 }
297 }
298 #[doc = "`Notice()` overload"]
299 fn notice(self) -> () {
300 unsafe {
301 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302 ::unity::il2cpp_call!((::unity::module_base()+0x1fea8a0usize)as*mut u8,();
303(SortieSequence)__receiver)
304 }
305 }
306 #[doc = "`ResetManagers()` overload"]
307 fn reset_managers(self) -> () {
308 unsafe {
309 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
310 ::unity::il2cpp_call!((::unity::module_base()+0x1feacd0usize)as*mut u8,();
311(SortieSequence)__receiver)
312 }
313 }
314 #[doc = "`ShowHelp()` overload"]
315 fn show_help(self) -> () {
316 unsafe {
317 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318 ::unity::il2cpp_call!((::unity::module_base()+0x1feae30usize)as*mut u8,();
319(SortieSequence)__receiver)
320 }
321 }
322 #[doc = "`HideHelp()` overload"]
323 fn hide_help(self) -> () {
324 unsafe {
325 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326 ::unity::il2cpp_call!((::unity::module_base()+0x1feaed0usize)as*mut u8,();
327(SortieSequence)__receiver)
328 }
329 }
330 #[doc = "`PlayBgm()` overload"]
331 fn play_bgm(self) -> () {
332 unsafe {
333 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
334 ::unity::il2cpp_call!((::unity::module_base()+0x1feaf50usize)as*mut u8,();
335(SortieSequence)__receiver)
336 }
337 }
338 #[doc = "`StopBgm()` overload"]
339 fn stop_bgm(self) -> () {
340 unsafe {
341 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342 ::unity::il2cpp_call!((::unity::module_base()+0x1feb020usize)as*mut u8,();
343(SortieSequence)__receiver)
344 }
345 }
346 #[doc = "`StopFieldBgmForRelayTakeOver()` overload"]
347 fn stop_field_bgm_for_relay_take_over(self) -> () {
348 unsafe {
349 let __receiver = <SortieSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350 ::unity::il2cpp_call!((::unity::module_base()+0x1feb0f0usize)as*mut u8,();
351(SortieSequence)__receiver)
352 }
353 }
354}
355
356#[cfg(feature = "app-sortiesequence")]
357impl<__T: ISortieSequence> ISortieSequenceMethods for __T {}
358
359#[cfg(feature = "app-sortiesequence")]
360impl SortieSequence {
361 pub fn create_bind_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
363 }
364
365 pub fn create_bind_hub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
367 }
368
369 pub fn create_bind_edit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
371 }
372
373 pub fn create_bind_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
375 }
376
377 pub fn decide_to_battle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
379 }
380
381 pub fn is_decided_to_battle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
383 }
384
385 pub fn get_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
387 }
388
389 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
391 }
392
393 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
395 }
396
397 pub fn on_shutdown_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
399 }
400
401 pub fn setup_units_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
403 }
404
405 pub fn post_setup_units_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
407 }
408
409 pub fn try_show_tutorial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
411 }
412
413 pub fn notice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
415 }
416
417 pub fn reset_managers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
419 }
420
421 pub fn show_help_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
423 }
424
425 pub fn hide_help_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
427 }
428
429 pub fn play_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
430 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
431 }
432
433 pub fn stop_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
434 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
435 }
436
437 pub fn stop_field_bgm_for_relay_take_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
438 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
439 }
440}
441
442#[cfg(feature = "app-sortiesequence")]
443impl SortieSequence {
444 #[doc = "Direct (non-virtual) call to `SortieSequence`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
445 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
446 let __mi = Self::on_dispose_method_info();
447 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
448 __inner(this.into(), ::core::option::Option::None)
449 }
450
451 #[doc = "Direct (non-virtual) call to `SortieSequence`'s own `OnShutdown`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
452 pub unsafe fn on_shutdown(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
453 let __mi = Self::on_shutdown_method_info();
454 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
455 __inner(this.into(), ::core::option::Option::None)
456 }
457}
458
459#[cfg(feature = "app-sortiesequence")]
460impl SortieSequence {
461 #[doc = "`.ctor(crate::app::sortiesequence::SortieSequence_Modes)` — overload selector"]
462 pub fn new(mode: crate::app::sortiesequence::SortieSequence_Modes) -> Self {
463 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
464 panic!(
465 "{}
466::{}
467 failed to instantiate",
468 ::core::stringify!(SortieSequence),
469 ::core::stringify!(new),
470 )
471 });
472 <Self as ISortieSequenceMethods>::ctor(this, mode);
473 this
474 }
475}
476
477#[cfg(feature = "app-sortiesequence")]
478#[doc(hidden)]
479pub mod prelude {
480 pub use super::{ISortieSequence, ISortieSequenceMethods, SortieSequence, SortieSequence_Label, SortieSequence_Modes};
481 #[cfg(feature = "app-procinst")]
482 pub use crate::app::procinst::IProcInstMethods;
483 #[cfg(feature = "app-singletonprocinst_1")]
484 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
485 #[cfg(feature = "system-object")]
486 pub use crate::system::object::IObjectMethods;
487 #[cfg(feature = "system-enum")]
488 pub use crate::system::r#enum::IEnumMethods;
489 #[cfg(feature = "system-valuetype")]
490 pub use crate::system::valuetype::IValueTypeMethods;
491 pub use crate::{
492 app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
493 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
494 };
495}