1#[cfg(feature = "app-mapsequencehelper-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::procinst::{IProcInst, ProcInst},
10 system::object::{IObject, Object},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsequencehelper/MapSequenceHelper_ProcWaitCameraLoosely.md"))]
14 #[::unity::class(namespace = "App", name = "MapSequenceHelper.ProcWaitCameraLoosely")]
15 #[parent(crate::app::procinst::ProcInst)]
16 pub struct MapSequenceHelper_ProcWaitCameraLoosely {}
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsequencehelper/MapSequenceHelper.md"))]
19 #[::unity::class(namespace = "App", name = "MapSequenceHelper")]
20 #[parent(crate::system::object::Object)]
21 pub struct MapSequenceHelper {
22 #[static_field]
23 #[rename(name = "AroundOffsetXs")]
24 pub around_offset_xs: ::unity::Array<i32>,
25 #[static_field]
26 #[rename(name = "AroundOffsetZs")]
27 pub around_offset_zs: ::unity::Array<i32>,
28 #[static_field]
29 #[rename(name = "InsideScreenMin")]
30 pub inside_screen_min: f32,
31 #[static_field]
32 #[rename(name = "InsideScreenMax")]
33 pub inside_screen_max: f32,
34 }
35
36 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsequencehelper/MapSequenceHelper_ProcWaitCamera.md"))]
37 #[::unity::class(namespace = "App", name = "MapSequenceHelper.ProcWaitCamera")]
38 #[parent(crate::app::procinst::ProcInst)]
39 pub struct MapSequenceHelper_ProcWaitCamera {}
40}
41
42#[cfg(feature = "app-mapsequencehelper-types")]
43pub use __types::*;
44
45#[cfg(feature = "app-mapsequencehelper")]
46impl MapSequenceHelper_ProcWaitCameraLoosely {
47 #[doc = "`IsCameraScrolling()` overload"]
48 pub fn is_camera_scrolling() -> bool {
49 unsafe {
50 ::unity::il2cpp_call!((::unity::module_base()+0x1e37a20usize)as*mut u8,bool;
51 )
52 }
53 }
54
55 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
56 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
57 unsafe {
58 ::unity::il2cpp_call!((::unity::module_base()+0x1e37a30usize)as*mut u8,();
59(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
60 }
61 }
62}
63
64#[cfg(feature = "app-mapsequencehelper")]
65pub trait IMapSequenceHelper_ProcWaitCameraLooselyMethods: IMapSequenceHelper_ProcWaitCameraLoosely {
66 #[doc = "`OnTick()` overload"]
67 fn on_tick(self) -> () {
68 unsafe {
69 let __receiver = <MapSequenceHelper_ProcWaitCameraLoosely as ::unity::FromIlInstance>::from_il_instance(
70 <Self as ::unity::SystemObject>::as_instance(self),
71 );
72 {
73 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
74 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
75 panic!(
76 "unity: virtual slot {}
77 out of range (vtable len {}
78) on the runtime class behind {}
79 (method `{}
80`)",
81 6usize,
82 __vt.len(),
83 <MapSequenceHelper_ProcWaitCameraLoosely as ::unity::ClassIdentity>::NAME,
84 "OnTick",
85 )
86 });
87 let __inner: extern "C" fn(MapSequenceHelper_ProcWaitCameraLoosely, ::unity::OptionalMethod) -> () =
88 ::core::mem::transmute(__vi.method_ptr);
89 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
90 __inner(__receiver, __mi)
91 }
92 }
93 }
94 #[doc = "`.ctor()` overload"]
95 fn ctor(self) -> () {
96 unsafe {
97 let __receiver = <MapSequenceHelper_ProcWaitCameraLoosely as ::unity::FromIlInstance>::from_il_instance(
98 <Self as ::unity::SystemObject>::as_instance(self),
99 );
100 ::unity::il2cpp_call!((::unity::module_base()+0x1e37b00usize)as*mut u8,();
101(MapSequenceHelper_ProcWaitCameraLoosely)__receiver)
102 }
103 }
104}
105
106#[cfg(feature = "app-mapsequencehelper")]
107impl<__T: IMapSequenceHelper_ProcWaitCameraLoosely> IMapSequenceHelper_ProcWaitCameraLooselyMethods for __T {}
108
109#[cfg(feature = "app-mapsequencehelper")]
110impl MapSequenceHelper_ProcWaitCameraLoosely {
111 pub fn is_camera_scrolling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
113 }
114
115 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
117 }
118
119 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
120 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
121 }
122
123 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
124 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
125 }
126}
127
128#[cfg(feature = "app-mapsequencehelper")]
129impl MapSequenceHelper_ProcWaitCameraLoosely {
130 #[doc = "Direct (non-virtual) call to `MapSequenceHelper_ProcWaitCameraLoosely`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
131 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
132 let __mi = Self::on_tick_method_info();
133 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
134 __inner(this.into(), ::core::option::Option::None)
135 }
136}
137
138#[cfg(feature = "app-mapsequencehelper")]
139impl MapSequenceHelper_ProcWaitCameraLoosely {
140 #[doc = "`.ctor()` — no args"]
141 pub fn new() -> Self {
142 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
143 panic!(
144 "{}
145::{}
146 failed to instantiate",
147 ::core::stringify!(MapSequenceHelper_ProcWaitCameraLoosely),
148 ::core::stringify!(new),
149 )
150 });
151 <Self as IMapSequenceHelper_ProcWaitCameraLooselyMethods>::ctor(this);
152 this
153 }
154}
155
156#[cfg(feature = "app-mapsequencehelper")]
157impl MapSequenceHelper {
158 #[doc = "`GetCursorTurnFirst(crate::app::force::Force_Type, *muti32, *muti32)` overload"]
159 pub fn get_cursor_turn_first(force: impl ::core::convert::Into<crate::app::force::Force_Type>) -> (bool, i32, i32) {
160 unsafe {
161 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
162 let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
163 let __ret = {
164 ::unity::il2cpp_call!((::unity::module_base()+0x23b0f90usize)as*mut u8,bool;
165(crate::app::force::Force_Type)::core::convert::Into::into(force),(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr())
166 };
167 (__ret, __out_0.assume_init(), __out_1.assume_init())
168 }
169 }
170
171 #[doc = "`GetCursorTurnHero(crate::app::force::Force_Type, *muti32, *muti32)` overload"]
172 pub fn get_cursor_turn_hero(force: impl ::core::convert::Into<crate::app::force::Force_Type>) -> (bool, i32, i32) {
173 unsafe {
174 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
175 let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
176 let __ret = {
177 ::unity::il2cpp_call!((::unity::module_base()+0x23d0850usize)as*mut u8,bool;
178(crate::app::force::Force_Type)::core::convert::Into::into(force),(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr())
179 };
180 (__ret, __out_0.assume_init(), __out_1.assume_init())
181 }
182 }
183
184 #[doc = "`WaitCamera(crate::app::procinst::ProcInst)` overload"]
185 pub fn wait_camera(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
186 unsafe {
187 ::unity::il2cpp_call!((::unity::module_base()+0x23d08c0usize)as*mut u8,();
188(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
189 }
190 }
191
192 #[doc = "`MoveCamera(crate::app::procinst::ProcInst, i32, i32)` overload"]
193 pub fn move_camera(
194 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
195 x: impl ::core::convert::Into<i32>,
196 z: impl ::core::convert::Into<i32>,
197 ) -> () {
198 unsafe {
199 ::unity::il2cpp_call!((::unity::module_base()+0x23d0900usize)as*mut u8,();
200(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
201 }
202 }
203
204 #[doc = "`MoveCamera(crate::app::procinst::ProcInst, f32, f32)` overload"]
205 pub fn move_camera_2(
206 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
207 x: impl ::core::convert::Into<f32>,
208 z: impl ::core::convert::Into<f32>,
209 ) -> () {
210 unsafe {
211 ::unity::il2cpp_call!((::unity::module_base()+0x23d09c0usize)as*mut u8,();
212(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(z))
213 }
214 }
215
216 #[doc = "`WaitCameraLoosely(crate::app::procinst::ProcInst)` overload"]
217 pub fn wait_camera_loosely(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
218 unsafe {
219 ::unity::il2cpp_call!((::unity::module_base()+0x23d0a90usize)as*mut u8,();
220(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
221 }
222 }
223
224 #[doc = "`MoveCameraLoosely(crate::app::procinst::ProcInst, i32, i32)` overload"]
225 pub fn move_camera_loosely(
226 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
227 x: impl ::core::convert::Into<i32>,
228 y: impl ::core::convert::Into<i32>,
229 ) -> () {
230 unsafe {
231 ::unity::il2cpp_call!((::unity::module_base()+0x23d0ad0usize)as*mut u8,();
232(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(y))
233 }
234 }
235
236 #[doc = "`TryMoveCameraLoosely(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
237 pub fn try_move_camera_loosely(
238 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
239 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
240 ) -> bool {
241 unsafe {
242 ::unity::il2cpp_call!((::unity::module_base()+0x23d0b90usize)as*mut u8,bool;
243(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
244 }
245 }
246
247 #[doc = "`CheckPhaseEnd()` overload"]
248 pub fn check_phase_end() -> bool {
249 unsafe {
250 ::unity::il2cpp_call!((::unity::module_base()+0x23b04b0usize)as*mut u8,bool;
251 )
252 }
253 }
254
255 #[doc = "`CheckRemovable(crate::app::unit::Unit)` overload"]
256 pub fn check_removable(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
257 unsafe {
258 ::unity::il2cpp_call!((::unity::module_base()+0x23d19e0usize)as*mut u8,bool;
259(crate::app::unit::Unit)::core::convert::Into::into(unit))
260 }
261 }
262
263 #[doc = "`CheckRemovableDetail(crate::app::unit::Unit)` overload"]
264 pub fn check_removable_detail(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
265 unsafe {
266 ::unity::il2cpp_call!((::unity::module_base()+0x23d1c70usize)as*mut u8,bool;
267(crate::app::unit::Unit)::core::convert::Into::into(unit))
268 }
269 }
270
271 #[doc = "`SetRemovable(crate::app::unit::Unit)` overload"]
272 pub fn set_removable(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
273 unsafe {
274 ::unity::il2cpp_call!((::unity::module_base()+0x23d2410usize)as*mut u8,();
275(crate::app::unit::Unit)::core::convert::Into::into(unit))
276 }
277 }
278
279 #[doc = "`CheckRemagicable(crate::app::unit::Unit)` overload"]
280 pub fn check_remagicable(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
281 unsafe {
282 ::unity::il2cpp_call!((::unity::module_base()+0x23d25b0usize)as*mut u8,bool;
283(crate::app::unit::Unit)::core::convert::Into::into(unit))
284 }
285 }
286
287 #[doc = "`SetRemagicable(crate::app::unit::Unit)` overload"]
288 pub fn set_remagicable(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
289 unsafe {
290 ::unity::il2cpp_call!((::unity::module_base()+0x23d27d0usize)as*mut u8,();
291(crate::app::unit::Unit)::core::convert::Into::into(unit))
292 }
293 }
294
295 #[doc = "`CheckRerewarp(crate::app::unit::Unit)` overload"]
296 pub fn check_rerewarp(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
297 unsafe {
298 ::unity::il2cpp_call!((::unity::module_base()+0x23d2950usize)as*mut u8,bool;
299(crate::app::unit::Unit)::core::convert::Into::into(unit))
300 }
301 }
302
303 #[doc = "`SetRerewarp(crate::app::unit::Unit)` overload"]
304 pub fn set_rerewarp(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
305 unsafe {
306 ::unity::il2cpp_call!((::unity::module_base()+0x23d2ad0usize)as*mut u8,();
307(crate::app::unit::Unit)::core::convert::Into::into(unit))
308 }
309 }
310
311 #[doc = "`GetRouteCost()` overload"]
312 pub fn get_route_cost() -> i32 {
313 unsafe {
314 ::unity::il2cpp_call!((::unity::module_base()+0x23d2b30usize)as*mut u8,i32;
315 )
316 }
317 }
318
319 #[doc = "`IsInsideScreen(crate::app::unit::Unit)` overload"]
320 pub fn is_inside_screen(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
321 unsafe {
322 ::unity::il2cpp_call!((::unity::module_base()+0x23d0cc0usize)as*mut u8,bool;
323(crate::app::unit::Unit)::core::convert::Into::into(unit))
324 }
325 }
326
327 #[doc = "`EngageAttackTelop(crate::app::procinst::ProcInst)` overload"]
328 pub fn engage_attack_telop(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
329 unsafe {
330 ::unity::il2cpp_call!((::unity::module_base()+0x23b45c0usize)as*mut u8,();
331(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
332 }
333 }
334
335 #[doc = "`TryGetEngageAttackPair(*mutcrate::app::goddata::GodData, *mutcrate::app::goddata::GodData)` overload"]
336 pub fn try_get_engage_attack_pair() -> (bool, crate::app::goddata::GodData, crate::app::goddata::GodData) {
337 unsafe {
338 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::goddata::GodData>::uninit();
339 let mut __out_1 = ::core::mem::MaybeUninit::<crate::app::goddata::GodData>::uninit();
340 let __ret = {
341 ::unity::il2cpp_call!((::unity::module_base()+0x23d2bf0usize)as*mut u8,bool;
342(*mut crate::app::goddata::GodData)__out_0.as_mut_ptr(),(*mut crate::app::goddata::GodData)__out_1.as_mut_ptr())
343 };
344 (__ret, __out_0.assume_init(), __out_1.assume_init())
345 }
346 }
347
348 #[doc = "`.cctor()` overload"]
349 pub fn cctor() -> () {
350 unsafe {
351 ::unity::il2cpp_call!((::unity::module_base()+0x23d2e10usize)as*mut u8,();
352 )
353 }
354 }
355}
356
357#[cfg(feature = "app-mapsequencehelper")]
358pub trait IMapSequenceHelperMethods: IMapSequenceHelper {
359 #[doc = "`.ctor()` overload"]
360 fn ctor(self) -> () {
361 unsafe {
362 let __receiver = <MapSequenceHelper as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363 ::unity::il2cpp_call!((::unity::module_base()+0x23d2e00usize)as*mut u8,();
364(MapSequenceHelper)__receiver)
365 }
366 }
367}
368
369#[cfg(feature = "app-mapsequencehelper")]
370impl<__T: IMapSequenceHelper> IMapSequenceHelperMethods for __T {}
371
372#[cfg(feature = "app-mapsequencehelper")]
373impl MapSequenceHelper {
374 pub fn get_cursor_turn_first_method_info() -> &'static ::unity::il2cpp::MethodInfo {
375 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
376 }
377
378 pub fn get_cursor_turn_hero_method_info() -> &'static ::unity::il2cpp::MethodInfo {
379 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
380 }
381
382 pub fn wait_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
383 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
384 }
385
386 pub fn move_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
387 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
388 }
389
390 pub fn move_camera_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
391 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
392 }
393
394 pub fn wait_camera_loosely_method_info() -> &'static ::unity::il2cpp::MethodInfo {
395 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
396 }
397
398 pub fn move_camera_loosely_method_info() -> &'static ::unity::il2cpp::MethodInfo {
399 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
400 }
401
402 pub fn try_move_camera_loosely_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
404 }
405
406 pub fn check_phase_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
407 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
408 }
409
410 pub fn check_removable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
411 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
412 }
413
414 pub fn check_removable_detail_method_info() -> &'static ::unity::il2cpp::MethodInfo {
415 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
416 }
417
418 pub fn set_removable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
419 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
420 }
421
422 pub fn check_remagicable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
423 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
424 }
425
426 pub fn set_remagicable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
427 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
428 }
429
430 pub fn check_rerewarp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
432 }
433
434 pub fn set_rerewarp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
436 }
437
438 pub fn get_route_cost_method_info() -> &'static ::unity::il2cpp::MethodInfo {
439 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
440 }
441
442 pub fn is_inside_screen_method_info() -> &'static ::unity::il2cpp::MethodInfo {
443 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
444 }
445
446 pub fn engage_attack_telop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
447 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
448 }
449
450 pub fn try_get_engage_attack_pair_method_info() -> &'static ::unity::il2cpp::MethodInfo {
451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
452 }
453
454 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
456 }
457
458 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
459 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
460 }
461}
462
463#[cfg(feature = "app-mapsequencehelper")]
464impl MapSequenceHelper {
465 #[doc = "`.ctor()` — no args"]
466 pub fn new() -> Self {
467 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
468 panic!(
469 "{}
470::{}
471 failed to instantiate",
472 ::core::stringify!(MapSequenceHelper),
473 ::core::stringify!(new),
474 )
475 });
476 <Self as IMapSequenceHelperMethods>::ctor(this);
477 this
478 }
479}
480
481#[cfg(feature = "app-mapsequencehelper")]
482impl MapSequenceHelper_ProcWaitCamera {
483 #[doc = "`IsCameraScrolling()` overload"]
484 pub fn is_camera_scrolling() -> bool {
485 unsafe {
486 ::unity::il2cpp_call!((::unity::module_base()+0x1e37930usize)as*mut u8,bool;
487 )
488 }
489 }
490
491 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
492 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
493 unsafe {
494 ::unity::il2cpp_call!((::unity::module_base()+0x1e37940usize)as*mut u8,();
495(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
496 }
497 }
498}
499
500#[cfg(feature = "app-mapsequencehelper")]
501pub trait IMapSequenceHelper_ProcWaitCameraMethods: IMapSequenceHelper_ProcWaitCamera {
502 #[doc = "`OnTick()` overload"]
503 fn on_tick(self) -> () {
504 unsafe {
505 let __receiver =
506 <MapSequenceHelper_ProcWaitCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
507 {
508 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
509 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
510 panic!(
511 "unity: virtual slot {}
512 out of range (vtable len {}
513) on the runtime class behind {}
514 (method `{}
515`)",
516 6usize,
517 __vt.len(),
518 <MapSequenceHelper_ProcWaitCamera as ::unity::ClassIdentity>::NAME,
519 "OnTick",
520 )
521 });
522 let __inner: extern "C" fn(MapSequenceHelper_ProcWaitCamera, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
523 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
524 __inner(__receiver, __mi)
525 }
526 }
527 }
528 #[doc = "`.ctor()` overload"]
529 fn ctor(self) -> () {
530 unsafe {
531 let __receiver =
532 <MapSequenceHelper_ProcWaitCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
533 ::unity::il2cpp_call!((::unity::module_base()+0x1e379b0usize)as*mut u8,();
534(MapSequenceHelper_ProcWaitCamera)__receiver)
535 }
536 }
537}
538
539#[cfg(feature = "app-mapsequencehelper")]
540impl<__T: IMapSequenceHelper_ProcWaitCamera> IMapSequenceHelper_ProcWaitCameraMethods for __T {}
541
542#[cfg(feature = "app-mapsequencehelper")]
543impl MapSequenceHelper_ProcWaitCamera {
544 pub fn is_camera_scrolling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
545 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
546 }
547
548 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
549 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
550 }
551
552 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
553 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
554 }
555
556 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
557 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
558 }
559}
560
561#[cfg(feature = "app-mapsequencehelper")]
562impl MapSequenceHelper_ProcWaitCamera {
563 #[doc = "Direct (non-virtual) call to `MapSequenceHelper_ProcWaitCamera`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
564 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
565 let __mi = Self::on_tick_method_info();
566 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
567 __inner(this.into(), ::core::option::Option::None)
568 }
569}
570
571#[cfg(feature = "app-mapsequencehelper")]
572impl MapSequenceHelper_ProcWaitCamera {
573 #[doc = "`.ctor()` — no args"]
574 pub fn new() -> Self {
575 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
576 panic!(
577 "{}
578::{}
579 failed to instantiate",
580 ::core::stringify!(MapSequenceHelper_ProcWaitCamera),
581 ::core::stringify!(new),
582 )
583 });
584 <Self as IMapSequenceHelper_ProcWaitCameraMethods>::ctor(this);
585 this
586 }
587}
588
589#[cfg(feature = "app-mapsequencehelper")]
590#[doc(hidden)]
591pub mod prelude {
592 pub use super::{
593 IMapSequenceHelper, IMapSequenceHelperMethods, IMapSequenceHelper_ProcWaitCamera, IMapSequenceHelper_ProcWaitCameraLoosely,
594 IMapSequenceHelper_ProcWaitCameraLooselyMethods, IMapSequenceHelper_ProcWaitCameraMethods, MapSequenceHelper,
595 MapSequenceHelper_ProcWaitCamera, MapSequenceHelper_ProcWaitCameraLoosely,
596 };
597 #[cfg(feature = "app-procinst")]
598 pub use crate::app::procinst::IProcInstMethods;
599 #[cfg(feature = "system-object")]
600 pub use crate::system::object::IObjectMethods;
601 pub use crate::{app::procinst::IProcInst, system::object::IObject};
602}