1#[cfg(feature = "app-rewindsequence-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/rewindsequence/RewindSequence.md"))]
21 #[::unity::class(namespace = "App", name = "RewindSequence")]
22 #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::rewindsequence::RewindSequence>)]
23 pub struct RewindSequence {
24 #[static_field]
25 #[rename(name = "EffectForStartPath")]
26 pub effect_for_start_path: ::unity::Il2CppString,
27 #[static_field]
28 #[rename(name = "EffectForStart_Sec")]
29 pub effect_for_start_sec: f32,
30 #[static_field]
31 #[rename(name = "EffectUnitForStart_Sec")]
32 pub effect_unit_for_start_sec: f32,
33 #[static_field]
34 #[rename(name = "EffectForExecuteRewind_Sec")]
35 pub effect_for_execute_rewind_sec: f32,
36 #[static_field]
37 #[rename(name = "EffectForCancelRewind_Sec")]
38 pub effect_for_cancel_rewind_sec: f32,
39 #[offset(114)]
40 #[rename(name = "m_IsRewindToPhaseBegin")]
41 pub m_is_rewind_to_phase_begin: bool,
42 #[offset(116)]
43 #[rename(name = "m_WaitTime")]
44 pub m_wait_time: f32,
45 #[offset(120)]
46 #[rename(name = "m_EffectForStartObject")]
47 pub m_effect_for_start_object: crate::unity_engine::gameobject::GameObject,
48 #[offset(128)]
49 #[rename(name = "m_CursorInitX")]
50 pub m_cursor_init_x: i32,
51 #[offset(132)]
52 #[rename(name = "m_CursorInitZ")]
53 pub m_cursor_init_z: i32,
54 }
55
56 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/rewindsequence/RewindSequence_Label.md"))]
57 #[repr(C)]
58 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
59 pub struct RewindSequence_Label {
60 pub value: i32,
61 }
62 impl ::unity::ClassIdentity for RewindSequence_Label {
63 const NAME: &'static str = "RewindSequence.Label";
64 const NAMESPACE: &'static str = "App";
65
66 fn class() -> ::unity::Class {
67 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
68 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
69 }
70 }
71 impl ::unity::IlType for RewindSequence_Label {
72 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
73 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
74 }
75 }
76 impl RewindSequence_Label {
77 pub fn start() -> Self {
78 Self { value: 0 }
79 }
80
81 pub fn menu() -> Self {
82 Self { value: 1 }
83 }
84
85 pub fn execute_rewind() -> Self {
86 Self { value: 2 }
87 }
88
89 pub fn cancel_rewind() -> Self {
90 Self { value: 3 }
91 }
92
93 pub fn end() -> Self {
94 Self { value: 4 }
95 }
96 }
97}
98
99#[cfg(feature = "app-rewindsequence-types")]
100pub use __types::*;
101
102#[cfg(feature = "app-rewindsequence")]
103impl RewindSequence {
104 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
105 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
106 unsafe {
107 ::unity::il2cpp_call!((::unity::module_base()+0x2416030usize)as*mut u8,();
108(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
109 }
110 }
111}
112
113#[cfg(feature = "app-rewindsequence")]
114pub trait IRewindSequenceMethods: IRewindSequence {
115 #[doc = "`.ctor()` overload"]
116 fn ctor(self) -> () {
117 unsafe {
118 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119 ::unity::il2cpp_call!((::unity::module_base()+0x24140c0usize)as*mut u8,();
120(RewindSequence)__receiver)
121 }
122 }
123 #[doc = "`OnCreate()` overload"]
124 fn on_create(self) -> () {
125 unsafe {
126 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127 {
128 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
129 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
130 panic!(
131 "unity: virtual slot {}
132 out of range (vtable len {}
133) on the runtime class behind {}
134 (method `{}
135`)",
136 9usize,
137 __vt.len(),
138 <RewindSequence as ::unity::ClassIdentity>::NAME,
139 "OnCreate",
140 )
141 });
142 let __inner: extern "C" fn(RewindSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
143 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
144 __inner(__receiver, __mi)
145 }
146 }
147 }
148 #[doc = "`OnDispose()` overload"]
149 fn on_dispose(self) -> () {
150 unsafe {
151 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152 {
153 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
154 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
155 panic!(
156 "unity: virtual slot {}
157 out of range (vtable len {}
158) on the runtime class behind {}
159 (method `{}
160`)",
161 10usize,
162 __vt.len(),
163 <RewindSequence as ::unity::ClassIdentity>::NAME,
164 "OnDispose",
165 )
166 });
167 let __inner: extern "C" fn(RewindSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
168 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
169 __inner(__receiver, __mi)
170 }
171 }
172 }
173 #[doc = "`LoadResource()` overload"]
174 fn load_resource(self) -> () {
175 unsafe {
176 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177 ::unity::il2cpp_call!((::unity::module_base()+0x2414470usize)as*mut u8,();
178(RewindSequence)__receiver)
179 }
180 }
181 #[doc = "`UnloadResource()` overload"]
182 fn unload_resource(self) -> () {
183 unsafe {
184 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185 ::unity::il2cpp_call!((::unity::module_base()+0x2414510usize)as*mut u8,();
186(RewindSequence)__receiver)
187 }
188 }
189 #[doc = "`IsLoadingResource()` overload"]
190 fn is_loading_resource(self) -> bool {
191 unsafe {
192 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193 ::unity::il2cpp_call!((::unity::module_base()+0x2414620usize)as*mut u8,bool;
194(RewindSequence)__receiver)
195 }
196 }
197 #[doc = "`InitEffectForStart()` overload"]
198 fn init_effect_for_start(self) -> () {
199 unsafe {
200 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201 ::unity::il2cpp_call!((::unity::module_base()+0x24146b0usize)as*mut u8,();
202(RewindSequence)__receiver)
203 }
204 }
205 #[doc = "`WaitEffectForStart()` overload"]
206 fn wait_effect_for_start(self) -> () {
207 unsafe {
208 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209 ::unity::il2cpp_call!((::unity::module_base()+0x2414a10usize)as*mut u8,();
210(RewindSequence)__receiver)
211 }
212 }
213 #[doc = "`Start()` overload"]
214 fn start(self) -> () {
215 unsafe {
216 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217 ::unity::il2cpp_call!((::unity::module_base()+0x2414b90usize)as*mut u8,();
218(RewindSequence)__receiver)
219 }
220 }
221 #[doc = "`CreateMenu()` overload"]
222 fn create_menu(self) -> () {
223 unsafe {
224 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225 ::unity::il2cpp_call!((::unity::module_base()+0x2414ba0usize)as*mut u8,();
226(RewindSequence)__receiver)
227 }
228 }
229 #[doc = "`InitEffectForExecuteRewind()` overload"]
230 fn init_effect_for_execute_rewind(self) -> () {
231 unsafe {
232 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233 ::unity::il2cpp_call!((::unity::module_base()+0x2414c40usize)as*mut u8,();
234(RewindSequence)__receiver)
235 }
236 }
237 #[doc = "`WaitEffectForExecuteRewind()` overload"]
238 fn wait_effect_for_execute_rewind(self) -> () {
239 unsafe {
240 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241 ::unity::il2cpp_call!((::unity::module_base()+0x2414cd0usize)as*mut u8,();
242(RewindSequence)__receiver)
243 }
244 }
245 #[doc = "`ExecuteRewind()` overload"]
246 fn execute_rewind(self) -> () {
247 unsafe {
248 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249 ::unity::il2cpp_call!((::unity::module_base()+0x2414de0usize)as*mut u8,();
250(RewindSequence)__receiver)
251 }
252 }
253 #[doc = "`InitEffectForCancelRewind()` overload"]
254 fn init_effect_for_cancel_rewind(self) -> () {
255 unsafe {
256 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
257 ::unity::il2cpp_call!((::unity::module_base()+0x24151a0usize)as*mut u8,();
258(RewindSequence)__receiver)
259 }
260 }
261 #[doc = "`WaitEffectForCancelRewind()` overload"]
262 fn wait_effect_for_cancel_rewind(self) -> () {
263 unsafe {
264 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
265 ::unity::il2cpp_call!((::unity::module_base()+0x2415230usize)as*mut u8,();
266(RewindSequence)__receiver)
267 }
268 }
269 #[doc = "`ReturnMapCursor()` overload"]
270 fn return_map_cursor(self) -> () {
271 unsafe {
272 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
273 ::unity::il2cpp_call!((::unity::module_base()+0x2415350usize)as*mut u8,();
274(RewindSequence)__receiver)
275 }
276 }
277 #[doc = "`CancelRewind()` overload"]
278 fn cancel_rewind(self) -> () {
279 unsafe {
280 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
281 ::unity::il2cpp_call!((::unity::module_base()+0x2415450usize)as*mut u8,();
282(RewindSequence)__receiver)
283 }
284 }
285 #[doc = "`GetDesc()` overload"]
286 fn get_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
287 unsafe {
288 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
289 ::unity::il2cpp_call!((::unity::module_base()+0x24154c0usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
290(RewindSequence)__receiver)
291 }
292 }
293 #[doc = "`SetRewindToPhaseBegin(bool)` overload"]
294 fn set_rewind_to_phase_begin(self, is_rewind_to_phase_begin: impl ::core::convert::Into<bool>) -> () {
295 unsafe {
296 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297 ::unity::il2cpp_call!((::unity::module_base()+0x2415ea0usize)as*mut u8,();
298(RewindSequence)__receiver,(bool)::core::convert::Into::into(is_rewind_to_phase_begin))
299 }
300 }
301 #[doc = "`JumpToExecuteRewind()` overload"]
302 fn jump_to_execute_rewind(self) -> () {
303 unsafe {
304 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
305 ::unity::il2cpp_call!((::unity::module_base()+0x2415eb0usize)as*mut u8,();
306(RewindSequence)__receiver)
307 }
308 }
309 #[doc = "`JumpToCancelRewind()` overload"]
310 fn jump_to_cancel_rewind(self) -> () {
311 unsafe {
312 let __receiver = <RewindSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
313 ::unity::il2cpp_call!((::unity::module_base()+0x2415f70usize)as*mut u8,();
314(RewindSequence)__receiver)
315 }
316 }
317}
318
319#[cfg(feature = "app-rewindsequence")]
320impl<__T: IRewindSequence> IRewindSequenceMethods for __T {}
321
322#[cfg(feature = "app-rewindsequence")]
323impl RewindSequence {
324 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
325 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
326 }
327
328 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
329 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
330 }
331
332 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
333 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
334 }
335
336 pub fn load_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
337 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
338 }
339
340 pub fn unload_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
341 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
342 }
343
344 pub fn is_loading_resource_method_info() -> &'static ::unity::il2cpp::MethodInfo {
345 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
346 }
347
348 pub fn init_effect_for_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
349 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
350 }
351
352 pub fn wait_effect_for_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
353 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
354 }
355
356 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
357 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
358 }
359
360 pub fn create_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
361 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
362 }
363
364 pub fn init_effect_for_execute_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
366 }
367
368 pub fn wait_effect_for_execute_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
370 }
371
372 pub fn execute_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
373 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
374 }
375
376 pub fn init_effect_for_cancel_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
377 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
378 }
379
380 pub fn wait_effect_for_cancel_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
381 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
382 }
383
384 pub fn return_map_cursor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
385 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
386 }
387
388 pub fn cancel_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
389 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
390 }
391
392 pub fn get_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
393 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
394 }
395
396 pub fn set_rewind_to_phase_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
397 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
398 }
399
400 pub fn jump_to_execute_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
401 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
402 }
403
404 pub fn jump_to_cancel_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
405 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
406 }
407
408 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
409 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
410 }
411}
412
413#[cfg(feature = "app-rewindsequence")]
414impl RewindSequence {
415 #[doc = "Direct (non-virtual) call to `RewindSequence`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
416 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
417 let __mi = Self::on_create_method_info();
418 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
419 __inner(this.into(), ::core::option::Option::None)
420 }
421
422 #[doc = "Direct (non-virtual) call to `RewindSequence`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
423 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
424 let __mi = Self::on_dispose_method_info();
425 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
426 __inner(this.into(), ::core::option::Option::None)
427 }
428}
429
430#[cfg(feature = "app-rewindsequence")]
431impl RewindSequence {
432 #[doc = "`.ctor()` — no args"]
433 pub fn new() -> Self {
434 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
435 panic!(
436 "{}
437::{}
438 failed to instantiate",
439 ::core::stringify!(RewindSequence),
440 ::core::stringify!(new),
441 )
442 });
443 <Self as IRewindSequenceMethods>::ctor(this);
444 this
445 }
446}
447
448#[cfg(feature = "app-rewindsequence")]
449#[doc(hidden)]
450pub mod prelude {
451 pub use super::{IRewindSequence, IRewindSequenceMethods, RewindSequence, RewindSequence_Label};
452 #[cfg(feature = "app-procinst")]
453 pub use crate::app::procinst::IProcInstMethods;
454 #[cfg(feature = "app-singletonprocinst_1")]
455 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
456 #[cfg(feature = "system-object")]
457 pub use crate::system::object::IObjectMethods;
458 #[cfg(feature = "system-enum")]
459 pub use crate::system::r#enum::IEnumMethods;
460 #[cfg(feature = "system-valuetype")]
461 pub use crate::system::valuetype::IValueTypeMethods;
462 pub use crate::{
463 app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
464 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
465 };
466}