1#[cfg(feature = "app-gameskip-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 singletonclass_1::{ISingletonClass_1, SingletonClass_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/gameskip/GameSkip_Status.md"))]
21 #[repr(C)]
22 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
23 pub struct GameSkip_Status {
24 pub value: i32,
25 }
26 impl ::unity::ClassIdentity for GameSkip_Status {
27 const NAME: &'static str = "GameSkip.Status";
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 GameSkip_Status {
36 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
37 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
38 }
39 }
40 impl GameSkip_Status {
41 pub fn disable() -> Self {
42 Self { value: 1 }
43 }
44
45 pub fn trigger() -> Self {
46 Self { value: 2 }
47 }
48
49 pub fn escape() -> Self {
50 Self { value: 4 }
51 }
52
53 pub fn short_skipable() -> Self {
54 Self { value: 8 }
55 }
56
57 pub fn short_skipping() -> Self {
58 Self { value: 16 }
59 }
60
61 pub fn trigger_ai() -> Self {
62 Self { value: 32 }
63 }
64
65 pub fn disable_ai_skip() -> Self {
66 Self { value: 64 }
67 }
68 }
69
70 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gameskip/GameSkip_ProcSuspend.md"))]
71 #[::unity::class(namespace = "App", name = "GameSkip.ProcSuspend")]
72 #[parent(crate::app::procinst::ProcInst)]
73 pub struct GameSkip_ProcSuspend {}
74
75 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gameskip/GameSkip_ProcWaitTime.md"))]
76 #[::unity::class(namespace = "App", name = "GameSkip.ProcWaitTime")]
77 #[parent(crate::app::procinst::ProcInst)]
78 pub struct GameSkip_ProcWaitTime {
79 #[offset(112)]
80 #[rename(name = "m_WaitTime")]
81 pub m_wait_time: f32,
82 #[offset(116)]
83 #[rename(name = "m_DeltaTime")]
84 pub m_delta_time: f32,
85 }
86
87 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gameskip/GameSkip.md"))]
88 #[::unity::class(namespace = "App", name = "GameSkip")]
89 #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::gameskip::GameSkip>)]
90 pub struct GameSkip {
91 #[offset(28)]
92 #[rename(name = "m_Sequence")]
93 pub m_sequence: crate::app::gameskip::GameSkip_Sequence,
94 #[offset(32)]
95 #[rename(name = "m_Status")]
96 pub m_status: crate::app::gameskip::GameSkip_Status,
97 #[offset(40)]
98 #[rename(name = "m_Statck")]
99 pub m_statck: crate::system::collections::generic::stack_1::Stack_1<crate::app::gameskip::GameSkip_Status>,
100 }
101
102 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gameskip/GameSkip_Sequence.md"))]
103 #[repr(C)]
104 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
105 pub struct GameSkip_Sequence {
106 pub value: i32,
107 }
108 impl ::unity::ClassIdentity for GameSkip_Sequence {
109 const NAME: &'static str = "GameSkip.Sequence";
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 GameSkip_Sequence {
118 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
119 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
120 }
121 }
122 impl GameSkip_Sequence {
123 pub fn tick() -> Self {
124 Self { value: 0 }
125 }
126
127 pub fn fade_out() -> Self {
128 Self { value: 1 }
129 }
130
131 pub fn executed() -> Self {
132 Self { value: 2 }
133 }
134
135 pub fn fade_in() -> Self {
136 Self { value: 3 }
137 }
138 }
139
140 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gameskip/GameSkip_Result.md"))]
141 #[repr(C)]
142 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
143 pub struct GameSkip_Result {
144 pub value: i32,
145 }
146 impl ::unity::ClassIdentity for GameSkip_Result {
147 const NAME: &'static str = "GameSkip.Result";
148 const NAMESPACE: &'static str = "App";
149
150 fn class() -> ::unity::Class {
151 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
152 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
153 }
154 }
155 impl ::unity::IlType for GameSkip_Result {
156 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
157 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
158 }
159 }
160 impl GameSkip_Result {
161 pub fn none() -> Self {
162 Self { value: 0 }
163 }
164
165 pub fn short_skip() -> Self {
166 Self { value: 1 }
167 }
168
169 pub fn long_skip() -> Self {
170 Self { value: 2 }
171 }
172 }
173}
174
175#[cfg(feature = "app-gameskip-types")]
176pub use __types::*;
177
178#[cfg(feature = "app-gameskip")]
179pub trait IGameSkip_ProcSuspendMethods: IGameSkip_ProcSuspend {
180 #[doc = "`OnCreate()` overload"]
181 fn on_create(self) -> () {
182 unsafe {
183 let __receiver = <GameSkip_ProcSuspend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184 {
185 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
186 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
187 panic!(
188 "unity: virtual slot {}
189 out of range (vtable len {}
190) on the runtime class behind {}
191 (method `{}
192`)",
193 9usize,
194 __vt.len(),
195 <GameSkip_ProcSuspend as ::unity::ClassIdentity>::NAME,
196 "OnCreate",
197 )
198 });
199 let __inner: extern "C" fn(GameSkip_ProcSuspend, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
200 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
201 __inner(__receiver, __mi)
202 }
203 }
204 }
205 #[doc = "`OnTick()` overload"]
206 fn on_tick(self) -> () {
207 unsafe {
208 let __receiver = <GameSkip_ProcSuspend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209 {
210 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
211 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
212 panic!(
213 "unity: virtual slot {}
214 out of range (vtable len {}
215) on the runtime class behind {}
216 (method `{}
217`)",
218 6usize,
219 __vt.len(),
220 <GameSkip_ProcSuspend as ::unity::ClassIdentity>::NAME,
221 "OnTick",
222 )
223 });
224 let __inner: extern "C" fn(GameSkip_ProcSuspend, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
225 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
226 __inner(__receiver, __mi)
227 }
228 }
229 }
230 #[doc = "`OnDispose()` overload"]
231 fn on_dispose(self) -> () {
232 unsafe {
233 let __receiver = <GameSkip_ProcSuspend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
234 {
235 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
236 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
237 panic!(
238 "unity: virtual slot {}
239 out of range (vtable len {}
240) on the runtime class behind {}
241 (method `{}
242`)",
243 10usize,
244 __vt.len(),
245 <GameSkip_ProcSuspend as ::unity::ClassIdentity>::NAME,
246 "OnDispose",
247 )
248 });
249 let __inner: extern "C" fn(GameSkip_ProcSuspend, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
250 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
251 __inner(__receiver, __mi)
252 }
253 }
254 }
255 #[doc = "`.ctor()` overload"]
256 fn ctor(self) -> () {
257 unsafe {
258 let __receiver = <GameSkip_ProcSuspend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259 ::unity::il2cpp_call!((::unity::module_base()+0x1e6d980usize)as*mut u8,();
260(GameSkip_ProcSuspend)__receiver)
261 }
262 }
263}
264
265#[cfg(feature = "app-gameskip")]
266impl<__T: IGameSkip_ProcSuspend> IGameSkip_ProcSuspendMethods for __T {}
267
268#[cfg(feature = "app-gameskip")]
269impl GameSkip_ProcSuspend {
270 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
271 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
272 }
273
274 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
275 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
276 }
277
278 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
279 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
280 }
281
282 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
283 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
284 }
285}
286
287#[cfg(feature = "app-gameskip")]
288impl GameSkip_ProcSuspend {
289 #[doc = "Direct (non-virtual) call to `GameSkip_ProcSuspend`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
290 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
291 let __mi = Self::on_create_method_info();
292 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
293 __inner(this.into(), ::core::option::Option::None)
294 }
295
296 #[doc = "Direct (non-virtual) call to `GameSkip_ProcSuspend`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
297 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
298 let __mi = Self::on_tick_method_info();
299 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
300 __inner(this.into(), ::core::option::Option::None)
301 }
302
303 #[doc = "Direct (non-virtual) call to `GameSkip_ProcSuspend`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
304 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
305 let __mi = Self::on_dispose_method_info();
306 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
307 __inner(this.into(), ::core::option::Option::None)
308 }
309}
310
311#[cfg(feature = "app-gameskip")]
312impl GameSkip_ProcSuspend {
313 #[doc = "`.ctor()` — no args"]
314 pub fn new() -> Self {
315 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
316 panic!(
317 "{}
318::{}
319 failed to instantiate",
320 ::core::stringify!(GameSkip_ProcSuspend),
321 ::core::stringify!(new),
322 )
323 });
324 <Self as IGameSkip_ProcSuspendMethods>::ctor(this);
325 this
326 }
327}
328
329#[cfg(feature = "app-gameskip")]
330pub trait IGameSkip_ProcWaitTimeMethods: IGameSkip_ProcWaitTime {
331 #[doc = "`.ctor(f32)` overload"]
332 fn ctor(self, time: impl ::core::convert::Into<f32>) -> () {
333 unsafe {
334 let __receiver = <GameSkip_ProcWaitTime as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
335 ::unity::il2cpp_call!((::unity::module_base()+0x1e6d990usize)as*mut u8,();
336(GameSkip_ProcWaitTime)__receiver,(f32)::core::convert::Into::into(time))
337 }
338 }
339 #[doc = "`OnTick()` overload"]
340 fn on_tick(self) -> () {
341 unsafe {
342 let __receiver = <GameSkip_ProcWaitTime as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
343 {
344 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
345 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
346 panic!(
347 "unity: virtual slot {}
348 out of range (vtable len {}
349) on the runtime class behind {}
350 (method `{}
351`)",
352 6usize,
353 __vt.len(),
354 <GameSkip_ProcWaitTime as ::unity::ClassIdentity>::NAME,
355 "OnTick",
356 )
357 });
358 let __inner: extern "C" fn(GameSkip_ProcWaitTime, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
359 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
360 __inner(__receiver, __mi)
361 }
362 }
363 }
364}
365
366#[cfg(feature = "app-gameskip")]
367impl<__T: IGameSkip_ProcWaitTime> IGameSkip_ProcWaitTimeMethods for __T {}
368
369#[cfg(feature = "app-gameskip")]
370impl GameSkip_ProcWaitTime {
371 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
372 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
373 }
374
375 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
376 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
377 }
378}
379
380#[cfg(feature = "app-gameskip")]
381impl GameSkip_ProcWaitTime {
382 #[doc = "Direct (non-virtual) call to `GameSkip_ProcWaitTime`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
383 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
384 let __mi = Self::on_tick_method_info();
385 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
386 __inner(this.into(), ::core::option::Option::None)
387 }
388}
389
390#[cfg(feature = "app-gameskip")]
391impl GameSkip_ProcWaitTime {
392 #[doc = "`.ctor(f32)` — overload selector"]
393 pub fn new(time: f32) -> Self {
394 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
395 panic!(
396 "{}
397::{}
398 failed to instantiate",
399 ::core::stringify!(GameSkip_ProcWaitTime),
400 ::core::stringify!(new),
401 )
402 });
403 <Self as IGameSkip_ProcWaitTimeMethods>::ctor(this, time);
404 this
405 }
406}
407
408#[cfg(feature = "app-gameskip")]
409impl GameSkip {
410 #[doc = "`DebugSkip()` overload"]
411 pub fn debug_skip() -> bool {
412 unsafe {
413 ::unity::il2cpp_call!((::unity::module_base()+0x22863b0usize)as*mut u8,bool;
414 )
415 }
416 }
417
418 #[doc = "`Trigger()` overload"]
419 pub fn trigger() -> () {
420 unsafe {
421 ::unity::il2cpp_call!((::unity::module_base()+0x22863c0usize)as*mut u8,();
422 )
423 }
424 }
425
426 #[doc = "`Escape()` overload"]
427 pub fn escape() -> () {
428 unsafe {
429 ::unity::il2cpp_call!((::unity::module_base()+0x2286470usize)as*mut u8,();
430 )
431 }
432 }
433
434 #[doc = "`Enable()` overload"]
435 pub fn enable() -> () {
436 unsafe {
437 ::unity::il2cpp_call!((::unity::module_base()+0x2286620usize)as*mut u8,();
438 )
439 }
440 }
441
442 #[doc = "`Disable()` overload"]
443 pub fn disable() -> () {
444 unsafe {
445 ::unity::il2cpp_call!((::unity::module_base()+0x227dec0usize)as*mut u8,();
446 )
447 }
448 }
449
450 #[doc = "`EnableShortSkip()` overload"]
451 pub fn enable_short_skip() -> () {
452 unsafe {
453 ::unity::il2cpp_call!((::unity::module_base()+0x22866d0usize)as*mut u8,();
454 )
455 }
456 }
457
458 #[doc = "`DisableShortSkip()` overload"]
459 pub fn disable_short_skip() -> () {
460 unsafe {
461 ::unity::il2cpp_call!((::unity::module_base()+0x2286780usize)as*mut u8,();
462 )
463 }
464 }
465
466 #[doc = "`IsSkip()` overload"]
467 pub fn is_skip() -> bool {
468 unsafe {
469 ::unity::il2cpp_call!((::unity::module_base()+0x2286520usize)as*mut u8,bool;
470 )
471 }
472 }
473
474 #[doc = "`IsDisable()` overload"]
475 pub fn is_disable() -> bool {
476 unsafe {
477 ::unity::il2cpp_call!((::unity::module_base()+0x2286830usize)as*mut u8,bool;
478 )
479 }
480 }
481
482 #[doc = "`IsWait()` overload"]
483 pub fn is_wait() -> bool {
484 unsafe {
485 ::unity::il2cpp_call!((::unity::module_base()+0x22868f0usize)as*mut u8,bool;
486 )
487 }
488 }
489
490 #[doc = "`IsBlackOut()` overload"]
491 pub fn is_black_out() -> bool {
492 unsafe {
493 ::unity::il2cpp_call!((::unity::module_base()+0x22869c0usize)as*mut u8,bool;
494 )
495 }
496 }
497
498 #[doc = "`IsBlackOrFadeOut()` overload"]
499 pub fn is_black_or_fade_out() -> bool {
500 unsafe {
501 ::unity::il2cpp_call!((::unity::module_base()+0x2286ac0usize)as*mut u8,bool;
502 )
503 }
504 }
505
506 #[doc = "`IsFadeIn()` overload"]
507 pub fn is_fade_in() -> bool {
508 unsafe {
509 ::unity::il2cpp_call!((::unity::module_base()+0x2286b50usize)as*mut u8,bool;
510 )
511 }
512 }
513
514 #[doc = "`PushState()` overload"]
515 pub fn push_state() -> () {
516 unsafe {
517 ::unity::il2cpp_call!((::unity::module_base()+0x227ddd0usize)as*mut u8,();
518 )
519 }
520 }
521
522 #[doc = "`PopState()` overload"]
523 pub fn pop_state() -> () {
524 unsafe {
525 ::unity::il2cpp_call!((::unity::module_base()+0x227e080usize)as*mut u8,();
526 )
527 }
528 }
529
530 #[doc = "`PushDisableAISkip()` overload"]
531 pub fn push_disable_ai_skip() -> () {
532 unsafe {
533 ::unity::il2cpp_call!((::unity::module_base()+0x2286c20usize)as*mut u8,();
534 )
535 }
536 }
537
538 #[doc = "`PopDisableAISkip()` overload"]
539 pub fn pop_disable_ai_skip() -> () {
540 unsafe {
541 ::unity::il2cpp_call!((::unity::module_base()+0x2286cf0usize)as*mut u8,();
542 )
543 }
544 }
545
546 #[doc = "`TriggerAI()` overload"]
547 pub fn trigger_ai() -> () {
548 unsafe {
549 ::unity::il2cpp_call!((::unity::module_base()+0x2286da0usize)as*mut u8,();
550 )
551 }
552 }
553
554 #[doc = "`WaitTime(crate::app::procinst::ProcInst, f32)` overload"]
555 pub fn wait_time(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>, time: impl ::core::convert::Into<f32>) -> () {
556 unsafe {
557 ::unity::il2cpp_call!((::unity::module_base()+0x2286e80usize)as*mut u8,();
558(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(f32)::core::convert::Into::into(time))
559 }
560 }
561
562 #[doc = "`PWaitTime(f32)` overload"]
563 pub fn p_wait_time(time: impl ::core::convert::Into<f32>) -> crate::app::procdesc::ProcDesc {
564 unsafe {
565 ::unity::il2cpp_call!((::unity::module_base()+0x2286f10usize)as*mut u8,crate::app::procdesc::ProcDesc;
566(f32)::core::convert::Into::into(time))
567 }
568 }
569
570 #[doc = "`SuspendBind(crate::app::procinst::ProcInst)` overload"]
571 pub fn suspend_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
572 unsafe {
573 ::unity::il2cpp_call!((::unity::module_base()+0x2287000usize)as*mut u8,crate::app::procinst::ProcInst;
574(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
575 }
576 }
577}
578
579#[cfg(feature = "app-gameskip")]
580pub trait IGameSkipMethods: IGameSkip {
581 #[doc = "`.ctor()` overload"]
582 fn ctor(self) -> () {
583 unsafe {
584 let __receiver = <GameSkip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
585 ::unity::il2cpp_call!((::unity::module_base()+0x2285f10usize)as*mut u8,();
586(GameSkip)__receiver)
587 }
588 }
589 #[doc = "`CalcSkipInput()` overload"]
590 fn calc_skip_input(self) -> crate::app::gameskip::GameSkip_Result {
591 unsafe {
592 let __receiver = <GameSkip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
593 ::unity::il2cpp_call!((::unity::module_base()+0x2285ff0usize)as*mut u8,crate::app::gameskip::GameSkip_Result;
594(GameSkip)__receiver)
595 }
596 }
597 #[doc = "`TstStatus(crate::app::gameskip::GameSkip_Status)` overload"]
598 fn tst_status(self, status: impl ::core::convert::Into<crate::app::gameskip::GameSkip_Status>) -> bool {
599 unsafe {
600 let __receiver = <GameSkip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
601 ::unity::il2cpp_call!((::unity::module_base()+0x2286150usize)as*mut u8,bool;
602(GameSkip)__receiver,(crate::app::gameskip::GameSkip_Status)::core::convert::Into::into(status))
603 }
604 }
605 #[doc = "`SetStatus(crate::app::gameskip::GameSkip_Status)` overload"]
606 fn set_status(self, status: impl ::core::convert::Into<crate::app::gameskip::GameSkip_Status>) -> () {
607 unsafe {
608 let __receiver = <GameSkip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
609 ::unity::il2cpp_call!((::unity::module_base()+0x2286160usize)as*mut u8,();
610(GameSkip)__receiver,(crate::app::gameskip::GameSkip_Status)::core::convert::Into::into(status))
611 }
612 }
613 #[doc = "`ClearStatus(crate::app::gameskip::GameSkip_Status)` overload"]
614 fn clear_status(self, status: impl ::core::convert::Into<crate::app::gameskip::GameSkip_Status>) -> () {
615 unsafe {
616 let __receiver = <GameSkip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
617 ::unity::il2cpp_call!((::unity::module_base()+0x2286170usize)as*mut u8,();
618(GameSkip)__receiver,(crate::app::gameskip::GameSkip_Status)::core::convert::Into::into(status))
619 }
620 }
621 #[doc = "`OnTick()` overload"]
622 fn on_tick(self) -> () {
623 unsafe {
624 let __receiver = <GameSkip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
625 {
626 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
627 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
628 panic!(
629 "unity: virtual slot {}
630 out of range (vtable len {}
631) on the runtime class behind {}
632 (method `{}
633`)",
634 7usize,
635 __vt.len(),
636 <GameSkip as ::unity::ClassIdentity>::NAME,
637 "OnTick",
638 )
639 });
640 let __inner: extern "C" fn(GameSkip, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
641 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
642 __inner(__receiver, __mi)
643 }
644 }
645 }
646}
647
648#[cfg(feature = "app-gameskip")]
649impl<__T: IGameSkip> IGameSkipMethods for __T {}
650
651#[cfg(feature = "app-gameskip")]
652impl GameSkip {
653 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
654 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
655 }
656
657 pub fn calc_skip_input_method_info() -> &'static ::unity::il2cpp::MethodInfo {
658 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
659 }
660
661 pub fn tst_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
662 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
663 }
664
665 pub fn set_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
666 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
667 }
668
669 pub fn clear_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
671 }
672
673 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
674 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
675 }
676
677 pub fn debug_skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
678 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
679 }
680
681 pub fn trigger_method_info() -> &'static ::unity::il2cpp::MethodInfo {
682 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
683 }
684
685 pub fn escape_method_info() -> &'static ::unity::il2cpp::MethodInfo {
686 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
687 }
688
689 pub fn enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
690 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
691 }
692
693 pub fn disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
694 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
695 }
696
697 pub fn enable_short_skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
698 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
699 }
700
701 pub fn disable_short_skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
702 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
703 }
704
705 pub fn is_skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
706 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
707 }
708
709 pub fn is_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
710 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
711 }
712
713 pub fn is_wait_method_info() -> &'static ::unity::il2cpp::MethodInfo {
714 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
715 }
716
717 pub fn is_black_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
718 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
719 }
720
721 pub fn is_black_or_fade_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
722 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
723 }
724
725 pub fn is_fade_in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
726 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
727 }
728
729 pub fn push_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
730 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
731 }
732
733 pub fn pop_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
734 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
735 }
736
737 pub fn push_disable_ai_skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
738 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
739 }
740
741 pub fn pop_disable_ai_skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
742 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
743 }
744
745 pub fn trigger_ai_method_info() -> &'static ::unity::il2cpp::MethodInfo {
746 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
747 }
748
749 pub fn wait_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
750 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
751 }
752
753 pub fn p_wait_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
754 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
755 }
756
757 pub fn suspend_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
758 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
759 }
760}
761
762#[cfg(feature = "app-gameskip")]
763impl GameSkip {
764 #[doc = "Direct (non-virtual) call to `GameSkip`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
765 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
766 let __mi = Self::on_tick_method_info();
767 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
768 __inner(this.into(), ::core::option::Option::None)
769 }
770}
771
772#[cfg(feature = "app-gameskip")]
773impl GameSkip {
774 #[doc = "`.ctor()` — no args"]
775 pub fn new() -> Self {
776 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
777 panic!(
778 "{}
779::{}
780 failed to instantiate",
781 ::core::stringify!(GameSkip),
782 ::core::stringify!(new),
783 )
784 });
785 <Self as IGameSkipMethods>::ctor(this);
786 this
787 }
788}
789
790#[cfg(feature = "app-gameskip")]
791#[doc(hidden)]
792pub mod prelude {
793 pub use super::{
794 GameSkip, GameSkip_ProcSuspend, GameSkip_ProcWaitTime, GameSkip_Result, GameSkip_Sequence, GameSkip_Status, IGameSkip, IGameSkipMethods,
795 IGameSkip_ProcSuspend, IGameSkip_ProcSuspendMethods, IGameSkip_ProcWaitTime, IGameSkip_ProcWaitTimeMethods,
796 };
797 #[cfg(feature = "app-procinst")]
798 pub use crate::app::procinst::IProcInstMethods;
799 #[cfg(feature = "app-singletonclass_1")]
800 pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
801 #[cfg(feature = "system-object")]
802 pub use crate::system::object::IObjectMethods;
803 #[cfg(feature = "system-enum")]
804 pub use crate::system::r#enum::IEnumMethods;
805 #[cfg(feature = "system-valuetype")]
806 pub use crate::system::valuetype::IValueTypeMethods;
807 pub use crate::{
808 app::{procinst::IProcInst, singletonclass_1::ISingletonClass_1},
809 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
810 };
811}