1#[cfg(feature = "app-mapcursor-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 bitfield32::{BitField32, IBitField32},
11 bitfieldcommon::{BitFieldCommon, IBitFieldCommon},
12 bitfieldtemplate32_1::{BitFieldTemplate32_1, IBitFieldTemplate32_1},
13 singletonclass_1::{ISingletonClass_1, SingletonClass_1},
14 },
15 system::{
16 object::{IObject, Object},
17 r#enum::{Enum, IEnum},
18 valuetype::{IValueType, ValueType},
19 },
20 };
21
22 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapcursor/MapCursor_FlagField.md"))]
23 #[::unity::class(namespace = "App", name = "MapCursor.FlagField")]
24 #[parent(crate::app::bitfieldtemplate32_1::BitFieldTemplate32_1<crate::app::mapcursor::MapCursor_Flag>)]
25 pub struct MapCursor_FlagField {}
26
27 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapcursor/MapCursor.md"))]
28 #[::unity::class(namespace = "App", name = "MapCursor")]
29 #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::mapcursor::MapCursor>)]
30 pub struct MapCursor {
31 #[static_field]
32 #[rename(name = "MapCursorMoveOffset")]
33 pub map_cursor_move_offset: f32,
34 #[static_field]
35 #[rename(name = "MOVE_WAIT_FRAME")]
36 pub move_wait_frame: i32,
37 #[static_field]
38 #[rename(name = "MOVE_CENTER_FRAME")]
39 pub move_center_frame: i32,
40 #[offset(28)]
41 #[rename(name = "m_Pos")]
42 pub m_pos: crate::unity_engine::vector3::Vector3,
43 #[offset(40)]
44 #[rename(name = "m_OldPos")]
45 pub m_old_pos: crate::unity_engine::vector3::Vector3,
46 #[offset(52)]
47 #[rename(name = "m_OrigPos")]
48 pub m_orig_pos: crate::unity_engine::vector3::Vector3,
49 #[offset(64)]
50 #[rename(name = "m_Rotate")]
51 pub m_rotate: crate::unity_engine::vector3::Vector3,
52 #[offset(76)]
53 #[rename(name = "m_Move")]
54 pub m_move: crate::unity_engine::vector3::Vector3,
55 #[offset(88)]
56 #[rename(name = "m_EnterPos")]
57 pub m_enter_pos: crate::unity_engine::vector3::Vector3,
58 #[offset(100)]
59 #[rename(name = "m_MoveCount")]
60 pub m_move_count: i32,
61 #[offset(104)]
62 #[rename(name = "m_IsRotateXSoundPlaying")]
63 pub m_is_rotate_x_sound_playing: bool,
64 #[static_field]
65 #[rename(name = "m_CursorTop")]
66 pub m_cursor_top: crate::app::mapcursor::MapCursor_CursorTopType,
67 #[static_field]
68 #[rename(name = "m_CursorTopAnim")]
69 pub m_cursor_top_anim: crate::app::mapcursor::MapCursor_AnimType,
70 #[static_field]
71 #[rename(name = "m_CursorBottomAnim")]
72 pub m_cursor_bottom_anim: crate::app::mapcursor::MapCursor_AnimType,
73 #[offset(112)]
74 #[rename(name = "m_CursorIconBill")]
75 pub m_cursor_icon_bill: crate::unity_engine::transform::Transform,
76 #[offset(120)]
77 #[rename(name = "m_DistanceDir")]
78 pub m_distance_dir: i32,
79 #[offset(124)]
80 #[rename(name = "m_AnalogCount")]
81 pub m_analog_count: i32,
82 #[offset(128)]
83 #[rename(name = "m_CenterCount")]
84 pub m_center_count: i32,
85 #[offset(132)]
86 #[rename(name = "m_DistanceScale")]
87 pub m_distance_scale: f32,
88 #[offset(136)]
89 #[rename(name = "m_MapCursorMoveType")]
90 pub m_map_cursor_move_type: crate::app::gameconfig::GameConfig_MapCursorMoveTyep,
91 #[offset(140)]
92 #[rename(name = "m_IsLockMoveType")]
93 pub m_is_lock_move_type: bool,
94 #[offset(144)]
95 #[rename(name = "m_CursorTopObj")]
96 pub m_cursor_top_obj: crate::unity_engine::gameobject::GameObject,
97 #[offset(152)]
98 #[rename(name = "m_CursorBottomObj")]
99 pub m_cursor_bottom_obj: crate::unity_engine::gameobject::GameObject,
100 #[offset(160)]
101 #[rename(name = "m_CursorTopMgr")]
102 pub m_cursor_top_mgr: crate::root::mappointeranimmanager::MapPointerAnimManager,
103 #[offset(168)]
104 #[rename(name = "m_CursorBottomMgr")]
105 pub m_cursor_bottom_mgr: crate::root::mapcursoranimmanager::MapCursorAnimManager,
106 #[static_field]
107 #[rename(name = "m_MapPointerLocatorRoot")]
108 pub m_map_pointer_locator_root: crate::root::mappointerlocatorroot::MapPointerLocatorRoot,
109 #[static_field]
110 #[rename(name = "m_MapCursorLocatorRoot")]
111 pub m_map_cursor_locator_root: crate::root::mapcursorlocatorroot::MapCursorLocatorRoot,
112 #[offset(176)]
113 #[rename(name = "m_PositionTop")]
114 pub m_position_top: crate::app::interpolatorvector3::InterpolatorVector3,
115 #[offset(184)]
116 #[rename(name = "m_PositionBottom")]
117 pub m_position_bottom: crate::app::interpolatorvector3::InterpolatorVector3,
118 #[offset(192)]
119 #[rename(name = "m_CursorMind")]
120 pub m_cursor_mind: crate::app::mapmind::MapMind_Type,
121 #[offset(196)]
122 #[rename(name = "m_Color")]
123 pub m_color: crate::unity_engine::color::Color,
124 #[offset(216)]
125 #[rename(name = "m_Flags")]
126 pub m_flags: crate::app::mapcursor::MapCursor_FlagField,
127 }
128
129 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapcursor/MapCursor_DistanceMode.md"))]
130 #[repr(C)]
131 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
132 pub struct MapCursor_DistanceMode {
133 pub value: i32,
134 }
135 impl ::unity::ClassIdentity for MapCursor_DistanceMode {
136 const NAME: &'static str = "MapCursor.DistanceMode";
137 const NAMESPACE: &'static str = "App";
138
139 fn class() -> ::unity::Class {
140 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
141 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
142 }
143 }
144 impl ::unity::IlType for MapCursor_DistanceMode {
145 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
146 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
147 }
148 }
149 impl MapCursor_DistanceMode {
150 pub fn near() -> Self {
151 Self { value: 0 }
152 }
153
154 pub fn middle() -> Self {
155 Self { value: 1 }
156 }
157
158 pub fn far() -> Self {
159 Self { value: 2 }
160 }
161 }
162
163 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapcursor/MapCursor_CursorTopType.md"))]
164 #[repr(C)]
165 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
166 pub struct MapCursor_CursorTopType {
167 pub value: i32,
168 }
169 impl ::unity::ClassIdentity for MapCursor_CursorTopType {
170 const NAME: &'static str = "MapCursor.CursorTopType";
171 const NAMESPACE: &'static str = "App";
172
173 fn class() -> ::unity::Class {
174 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
175 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
176 }
177 }
178 impl ::unity::IlType for MapCursor_CursorTopType {
179 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
180 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
181 }
182 }
183 impl MapCursor_CursorTopType {
184 pub fn pointer() -> Self {
185 Self { value: 0 }
186 }
187
188 pub fn attack() -> Self {
189 Self { value: 1 }
190 }
191
192 pub fn talk() -> Self {
193 Self { value: 2 }
194 }
195
196 pub fn rod() -> Self {
197 Self { value: 3 }
198 }
199
200 pub fn dance() -> Self {
201 Self { value: 4 }
202 }
203
204 pub fn cannon() -> Self {
205 Self { value: 5 }
206 }
207
208 pub fn num() -> Self {
209 Self { value: 6 }
210 }
211 }
212
213 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapcursor/MapCursor_AnimType.md"))]
214 #[repr(C)]
215 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
216 pub struct MapCursor_AnimType {
217 pub value: i32,
218 }
219 impl ::unity::ClassIdentity for MapCursor_AnimType {
220 const NAME: &'static str = "MapCursor.AnimType";
221 const NAMESPACE: &'static str = "App";
222
223 fn class() -> ::unity::Class {
224 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
225 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
226 }
227 }
228 impl ::unity::IlType for MapCursor_AnimType {
229 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
230 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
231 }
232 }
233 impl MapCursor_AnimType {
234 pub fn none() -> Self {
235 Self { value: 1 }
236 }
237
238 pub fn r#in() -> Self {
239 Self { value: 2 }
240 }
241
242 pub fn out() -> Self {
243 Self { value: 4 }
244 }
245 }
246
247 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapcursor/MapCursor_Flag.md"))]
248 #[repr(C)]
249 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
250 pub struct MapCursor_Flag {
251 pub value: i32,
252 }
253 impl ::unity::ClassIdentity for MapCursor_Flag {
254 const NAME: &'static str = "MapCursor.Flag";
255 const NAMESPACE: &'static str = "App";
256
257 fn class() -> ::unity::Class {
258 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
259 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
260 }
261 }
262 impl ::unity::IlType for MapCursor_Flag {
263 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
264 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
265 }
266 }
267 impl MapCursor_Flag {
268 pub fn hide() -> Self {
269 Self { value: 1 }
270 }
271
272 pub fn auto() -> Self {
273 Self { value: 2 }
274 }
275 }
276}
277
278#[cfg(feature = "app-mapcursor-types")]
279pub use __types::*;
280
281#[cfg(feature = "app-mapcursor")]
282pub trait IMapCursor_FlagFieldMethods: IMapCursor_FlagField {
283 #[doc = "`ToInt(crate::app::mapcursor::MapCursor_Flag)` overload"]
284 fn to_int(self, value: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_Flag>) -> i32 {
285 unsafe {
286 let __receiver = <MapCursor_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287 {
288 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
289 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
290 panic!(
291 "unity: virtual slot {}
292 out of range (vtable len {}
293) on the runtime class behind {}
294 (method `{}
295`)",
296 5usize,
297 __vt.len(),
298 <MapCursor_FlagField as ::unity::ClassIdentity>::NAME,
299 "ToInt",
300 )
301 });
302 let __inner: extern "C" fn(MapCursor_FlagField, crate::app::mapcursor::MapCursor_Flag, ::unity::OptionalMethod) -> i32 =
303 ::core::mem::transmute(__vi.method_ptr);
304 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
305 __inner(__receiver, ::core::convert::Into::into(value), __mi)
306 }
307 }
308 }
309 #[doc = "`.ctor()` overload"]
310 fn ctor(self) -> () {
311 unsafe {
312 let __receiver = <MapCursor_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
313 ::unity::il2cpp_call!((::unity::module_base()+0x24bdb10usize)as*mut u8,();
314(MapCursor_FlagField)__receiver)
315 }
316 }
317}
318
319#[cfg(feature = "app-mapcursor")]
320impl<__T: IMapCursor_FlagField> IMapCursor_FlagFieldMethods for __T {}
321
322#[cfg(feature = "app-mapcursor")]
323impl MapCursor_FlagField {
324 pub fn to_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
325 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
326 }
327
328 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
329 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
330 }
331}
332
333#[cfg(feature = "app-mapcursor")]
334impl MapCursor_FlagField {
335 #[doc = "Direct (non-virtual) call to `MapCursor_FlagField`'s own `ToInt`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
336 pub unsafe fn to_int(this: impl ::core::convert::Into<::unity::IlInstance>, value: crate::app::mapcursor::MapCursor_Flag) -> i32 {
337 let __mi = Self::to_int_method_info();
338 let __inner: extern "C" fn(::unity::IlInstance, crate::app::mapcursor::MapCursor_Flag, ::unity::OptionalMethod) -> i32 =
339 ::core::mem::transmute(__mi.method_ptr);
340 __inner(this.into(), value, ::core::option::Option::None)
341 }
342}
343
344#[cfg(feature = "app-mapcursor")]
345impl MapCursor_FlagField {
346 #[doc = "`.ctor()` — no args"]
347 pub fn new() -> Self {
348 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
349 panic!(
350 "{}
351::{}
352 failed to instantiate",
353 ::core::stringify!(MapCursor_FlagField),
354 ::core::stringify!(new),
355 )
356 });
357 <Self as IMapCursor_FlagFieldMethods>::ctor(this);
358 this
359 }
360}
361
362#[cfg(feature = "app-mapcursor")]
363impl MapCursor {
364 #[doc = "`GetCursorMind()` overload"]
365 pub fn get_cursor_mind() -> crate::app::mapmind::MapMind_Type {
366 unsafe {
367 ::unity::il2cpp_call!((::unity::module_base()+0x29a9a70usize)as*mut u8,crate::app::mapmind::MapMind_Type;
368 )
369 }
370 }
371
372 #[doc = "`SetCursorMind(crate::app::mapmind::MapMind_Type)` overload"]
373 pub fn set_cursor_mind(mind: impl ::core::convert::Into<crate::app::mapmind::MapMind_Type>) -> () {
374 unsafe {
375 ::unity::il2cpp_call!((::unity::module_base()+0x29a9b10usize)as*mut u8,();
376(crate::app::mapmind::MapMind_Type)::core::convert::Into::into(mind))
377 }
378 }
379
380 #[doc = "`GetCameraTilt(crate::app::mapcursor::MapCursor_DistanceMode)` overload"]
381 pub fn get_camera_tilt(mode: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_DistanceMode>) -> f32 {
382 unsafe {
383 ::unity::il2cpp_call!((::unity::module_base()+0x29a9cf0usize)as*mut u8,f32;
384(crate::app::mapcursor::MapCursor_DistanceMode)::core::convert::Into::into(mode))
385 }
386 }
387
388 #[doc = "`GetCameraTiltClamp(crate::app::mapcursor::MapCursor_DistanceMode)` overload"]
389 pub fn get_camera_tilt_clamp(mode: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_DistanceMode>) -> f32 {
390 unsafe {
391 ::unity::il2cpp_call!((::unity::module_base()+0x29a9dd0usize)as*mut u8,f32;
392(crate::app::mapcursor::MapCursor_DistanceMode)::core::convert::Into::into(mode))
393 }
394 }
395
396 #[doc = "`GetCameraTilt(f32)` overload"]
397 pub fn get_camera_tilt_2(ratio: impl ::core::convert::Into<f32>) -> f32 {
398 unsafe {
399 ::unity::il2cpp_call!((::unity::module_base()+0x29aa030usize)as*mut u8,f32;
400(f32)::core::convert::Into::into(ratio))
401 }
402 }
403
404 #[doc = "`GetCameraTiltMin()` overload"]
405 pub fn get_camera_tilt_min() -> f32 {
406 unsafe {
407 ::unity::il2cpp_call!((::unity::module_base()+0x29aa1d0usize)as*mut u8,f32;
408 )
409 }
410 }
411
412 #[doc = "`GetCameraTiltMax()` overload"]
413 pub fn get_camera_tilt_max() -> f32 {
414 unsafe {
415 ::unity::il2cpp_call!((::unity::module_base()+0x29aa270usize)as*mut u8,f32;
416 )
417 }
418 }
419
420 #[doc = "`GetCameraDistance(crate::app::mapcursor::MapCursor_DistanceMode)` overload"]
421 pub fn get_camera_distance(mode: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_DistanceMode>) -> f32 {
422 unsafe {
423 ::unity::il2cpp_call!((::unity::module_base()+0x299db10usize)as*mut u8,f32;
424(crate::app::mapcursor::MapCursor_DistanceMode)::core::convert::Into::into(mode))
425 }
426 }
427
428 #[doc = "`GetCameraTiltClamp(f32, bool)` overload"]
429 pub fn get_camera_tilt_clamp_2(value: impl ::core::convert::Into<f32>, is_margin: impl ::core::convert::Into<bool>) -> f32 {
430 unsafe {
431 ::unity::il2cpp_call!((::unity::module_base()+0x29a9e40usize)as*mut u8,f32;
432(f32)::core::convert::Into::into(value),(bool)::core::convert::Into::into(is_margin))
433 }
434 }
435
436 #[doc = "`GetCameraTiltRate(f32)` overload"]
437 pub fn get_camera_tilt_rate(tilt: impl ::core::convert::Into<f32>) -> f32 {
438 unsafe {
439 ::unity::il2cpp_call!((::unity::module_base()+0x29aa310usize)as*mut u8,f32;
440(f32)::core::convert::Into::into(tilt))
441 }
442 }
443
444 #[doc = "`GetCameraDistanceMode(f32)` overload"]
445 pub fn get_camera_distance_mode(tilt: impl ::core::convert::Into<f32>) -> crate::app::mapcursor::MapCursor_DistanceMode {
446 unsafe {
447 ::unity::il2cpp_call!((::unity::module_base()+0x29aa4b0usize)as*mut u8,crate::app::mapcursor::MapCursor_DistanceMode;
448(f32)::core::convert::Into::into(tilt))
449 }
450 }
451
452 #[doc = "`IsChangeCursorTop()` overload"]
453 pub fn is_change_cursor_top() -> bool {
454 unsafe {
455 ::unity::il2cpp_call!((::unity::module_base()+0x29b20e0usize)as*mut u8,bool;
456 )
457 }
458 }
459
460 #[doc = "`IsChangeCursorBottom()` overload"]
461 pub fn is_change_cursor_bottom() -> bool {
462 unsafe {
463 ::unity::il2cpp_call!((::unity::module_base()+0x29b2240usize)as*mut u8,bool;
464 )
465 }
466 }
467
468 #[doc = "`SetCursorTop(crate::app::mapmind::MapMind_Type)` overload"]
469 pub fn set_cursor_top(mind: impl ::core::convert::Into<crate::app::mapmind::MapMind_Type>) -> () {
470 unsafe {
471 ::unity::il2cpp_call!((::unity::module_base()+0x29b27f0usize)as*mut u8,();
472(crate::app::mapmind::MapMind_Type)::core::convert::Into::into(mind))
473 }
474 }
475
476 #[doc = "`ApplyCursorTop(crate::app::mapcursor::MapCursor_CursorTopType)` overload"]
477 pub fn apply_cursor_top(new_cursor_top: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_CursorTopType>) -> () {
478 unsafe {
479 ::unity::il2cpp_call!((::unity::module_base()+0x29b2a30usize)as*mut u8,();
480(crate::app::mapcursor::MapCursor_CursorTopType)::core::convert::Into::into(new_cursor_top))
481 }
482 }
483
484 #[doc = "`GetMapPointerTransform(crate::app::mapcursor::MapCursor_CursorTopType)` overload"]
485 pub fn get_map_pointer_transform(
486 r#type: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_CursorTopType>,
487 ) -> crate::unity_engine::transform::Transform {
488 unsafe {
489 ::unity::il2cpp_call!((::unity::module_base()+0x29b2c50usize)as*mut u8,crate::unity_engine::transform::Transform;
490(crate::app::mapcursor::MapCursor_CursorTopType)::core::convert::Into::into(r#type))
491 }
492 }
493
494 #[doc = "`SetActive(crate::unity_engine::gameobject::GameObject, bool)` overload"]
495 pub fn set_active(
496 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
497 value: impl ::core::convert::Into<bool>,
498 ) -> () {
499 unsafe {
500 ::unity::il2cpp_call!((::unity::module_base()+0x29b2dc0usize)as*mut u8,();
501(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(bool)::core::convert::Into::into(value))
502 }
503 }
504
505 #[doc = "`PlayCursorAnim()` overload"]
506 pub fn play_cursor_anim() -> () {
507 unsafe {
508 ::unity::il2cpp_call!((::unity::module_base()+0x29a9c80usize)as*mut u8,();
509 )
510 }
511 }
512
513 #[doc = "`PlayCursorTopAnim()` overload"]
514 pub fn play_cursor_top_anim() -> () {
515 unsafe {
516 ::unity::il2cpp_call!((::unity::module_base()+0x29b2e10usize)as*mut u8,();
517 )
518 }
519 }
520
521 #[doc = "`PlayCursorBottomAnim()` overload"]
522 pub fn play_cursor_bottom_anim() -> () {
523 unsafe {
524 ::unity::il2cpp_call!((::unity::module_base()+0x29b2fe0usize)as*mut u8,();
525 )
526 }
527 }
528
529 #[doc = "`Setup()` overload"]
530 pub fn setup() -> () {
531 unsafe {
532 ::unity::il2cpp_call!((::unity::module_base()+0x29bb9a0usize)as*mut u8,();
533 )
534 }
535 }
536
537 #[doc = "`GetCursorUnit()` overload"]
538 pub fn get_cursor_unit() -> crate::app::unit::Unit {
539 unsafe {
540 ::unity::il2cpp_call!((::unity::module_base()+0x29b1910usize)as*mut u8,crate::app::unit::Unit;
541 )
542 }
543 }
544
545 #[doc = "`GetX()` overload"]
546 pub fn get_x() -> i32 {
547 unsafe {
548 ::unity::il2cpp_call!((::unity::module_base()+0x29bbec0usize)as*mut u8,i32;
549 )
550 }
551 }
552
553 #[doc = "`GetZ()` overload"]
554 pub fn get_z() -> i32 {
555 unsafe {
556 ::unity::il2cpp_call!((::unity::module_base()+0x29bc000usize)as*mut u8,i32;
557 )
558 }
559 }
560
561 #[doc = "`GetNoClampX()` overload"]
562 pub fn get_no_clamp_x() -> i32 {
563 unsafe {
564 ::unity::il2cpp_call!((::unity::module_base()+0x29bc140usize)as*mut u8,i32;
565 )
566 }
567 }
568
569 #[doc = "`GetNoClampZ()` overload"]
570 pub fn get_no_clamp_z() -> i32 {
571 unsafe {
572 ::unity::il2cpp_call!((::unity::module_base()+0x29bc260usize)as*mut u8,i32;
573 )
574 }
575 }
576
577 #[doc = "`Set(i32, i32, f32, bool)` overload"]
578 pub fn set(
579 x: impl ::core::convert::Into<i32>,
580 z: impl ::core::convert::Into<i32>,
581 speed: impl ::core::convert::Into<f32>,
582 is_update_enter_pos: impl ::core::convert::Into<bool>,
583 ) -> () {
584 unsafe {
585 ::unity::il2cpp_call!((::unity::module_base()+0x29bc380usize)as*mut u8,();
586(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(f32)::core::convert::Into::into(speed),(bool)::core::convert::Into::into(is_update_enter_pos))
587 }
588 }
589
590 #[doc = "`Set(crate::app::unit::Unit, f32, bool)` overload"]
591 pub fn set_2(
592 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
593 speed: impl ::core::convert::Into<f32>,
594 is_update_enter_pos: impl ::core::convert::Into<bool>,
595 ) -> () {
596 unsafe {
597 ::unity::il2cpp_call!((::unity::module_base()+0x29bd180usize)as*mut u8,();
598(crate::app::unit::Unit)::core::convert::Into::into(unit),(f32)::core::convert::Into::into(speed),(bool)::core::convert::Into::into(is_update_enter_pos))
599 }
600 }
601
602 #[doc = "`Set(crate::unity_engine::vector3::Vector3, f32, bool)` overload"]
603 pub fn set_3(
604 pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
605 speed: impl ::core::convert::Into<f32>,
606 is_update_enter_pos: impl ::core::convert::Into<bool>,
607 ) -> () {
608 unsafe {
609 ::unity::il2cpp_call!((::unity::module_base()+0x29bd0a0usize)as*mut u8,();
610(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos),(f32)::core::convert::Into::into(speed),(bool)::core::convert::Into::into(is_update_enter_pos))
611 }
612 }
613
614 #[doc = "`TrySet(crate::unity_engine::vector3::Vector3, f32, bool)` overload"]
615 pub fn try_set(
616 pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
617 speed: impl ::core::convert::Into<f32>,
618 is_update_enter_pos: impl ::core::convert::Into<bool>,
619 ) -> bool {
620 unsafe {
621 ::unity::il2cpp_call!((::unity::module_base()+0x29bec90usize)as*mut u8,bool;
622(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos),(f32)::core::convert::Into::into(speed),(bool)::core::convert::Into::into(is_update_enter_pos))
623 }
624 }
625
626 #[doc = "`Instant()` overload"]
627 pub fn instant() -> () {
628 unsafe {
629 ::unity::il2cpp_call!((::unity::module_base()+0x29beec0usize)as*mut u8,();
630 )
631 }
632 }
633
634 #[doc = "`Show()` overload"]
635 pub fn show() -> () {
636 unsafe {
637 ::unity::il2cpp_call!((::unity::module_base()+0x29bfa80usize)as*mut u8,();
638 )
639 }
640 }
641
642 #[doc = "`Hide()` overload"]
643 pub fn hide() -> () {
644 unsafe {
645 ::unity::il2cpp_call!((::unity::module_base()+0x29bfd50usize)as*mut u8,();
646 )
647 }
648 }
649
650 #[doc = "`IsVisible()` overload"]
651 pub fn is_visible() -> bool {
652 unsafe {
653 ::unity::il2cpp_call!((::unity::module_base()+0x29bfde0usize)as*mut u8,bool;
654 )
655 }
656 }
657
658 #[doc = "`SetVisible(bool)` overload"]
659 pub fn set_visible(enable: impl ::core::convert::Into<bool>) -> () {
660 unsafe {
661 ::unity::il2cpp_call!((::unity::module_base()+0x29bfc40usize)as*mut u8,();
662(bool)::core::convert::Into::into(enable))
663 }
664 }
665
666 #[doc = "`PlayCameraMoveSe()` overload"]
667 pub fn play_camera_move_se() -> () {
668 unsafe {
669 ::unity::il2cpp_call!((::unity::module_base()+0x29b92c0usize)as*mut u8,();
670 )
671 }
672 }
673
674 #[doc = "`StopCameraMoveSe()` overload"]
675 pub fn stop_camera_move_se() -> () {
676 unsafe {
677 ::unity::il2cpp_call!((::unity::module_base()+0x29b93b0usize)as*mut u8,();
678 )
679 }
680 }
681
682 #[doc = "`GetDistanceMode()` overload"]
683 pub fn get_distance_mode() -> crate::app::mapcursor::MapCursor_DistanceMode {
684 unsafe {
685 ::unity::il2cpp_call!((::unity::module_base()+0x29bfeb0usize)as*mut u8,crate::app::mapcursor::MapCursor_DistanceMode;
686 )
687 }
688 }
689
690 #[doc = "`SetDistanceMode(crate::app::mapcursor::MapCursor_DistanceMode)` overload"]
691 pub fn set_distance_mode(mode: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_DistanceMode>) -> () {
692 unsafe {
693 ::unity::il2cpp_call!((::unity::module_base()+0x29bffb0usize)as*mut u8,();
694(crate::app::mapcursor::MapCursor_DistanceMode)::core::convert::Into::into(mode))
695 }
696 }
697
698 #[doc = "`SetDistanceScale(f32)` overload"]
699 pub fn set_distance_scale(scale: impl ::core::convert::Into<f32>) -> () {
700 unsafe {
701 ::unity::il2cpp_call!((::unity::module_base()+0x29c0110usize)as*mut u8,();
702(f32)::core::convert::Into::into(scale))
703 }
704 }
705
706 #[doc = "`GetDistanceRateForSound()` overload"]
707 pub fn get_distance_rate_for_sound() -> f32 {
708 unsafe {
709 ::unity::il2cpp_call!((::unity::module_base()+0x29c01e0usize)as*mut u8,f32;
710 )
711 }
712 }
713
714 #[doc = "`GetMapCursorMoveType()` overload"]
715 pub fn get_map_cursor_move_type() -> crate::app::gameconfig::GameConfig_MapCursorMoveTyep {
716 unsafe {
717 ::unity::il2cpp_call!((::unity::module_base()+0x29b2020usize)as*mut u8,crate::app::gameconfig::GameConfig_MapCursorMoveTyep;
718 )
719 }
720 }
721
722 #[doc = "`SetMapCursorMoveType(crate::app::gameconfig::GameConfig_MapCursorMoveTyep)` overload"]
723 pub fn set_map_cursor_move_type(r#type: impl ::core::convert::Into<crate::app::gameconfig::GameConfig_MapCursorMoveTyep>) -> () {
724 unsafe {
725 ::unity::il2cpp_call!((::unity::module_base()+0x29c0400usize)as*mut u8,();
726(crate::app::gameconfig::GameConfig_MapCursorMoveTyep)::core::convert::Into::into(r#type))
727 }
728 }
729
730 #[doc = "`get_IsLockMoveType()` overload"]
731 pub fn get_is_lock_move_type() -> bool {
732 unsafe {
733 ::unity::il2cpp_call!((::unity::module_base()+0x29b1f70usize)as*mut u8,bool;
734 )
735 }
736 }
737
738 #[doc = "`set_IsLockMoveType(bool)` overload"]
739 pub fn set_is_lock_move_type(value: impl ::core::convert::Into<bool>) -> () {
740 unsafe {
741 ::unity::il2cpp_call!((::unity::module_base()+0x29c04b0usize)as*mut u8,();
742(bool)::core::convert::Into::into(value))
743 }
744 }
745
746 #[doc = "`GetRotate()` overload"]
747 pub fn get_rotate() -> crate::unity_engine::vector3::Vector3 {
748 unsafe {
749 ::unity::il2cpp_call!((::unity::module_base()+0x29c0560usize)as*mut u8,crate::unity_engine::vector3::Vector3;
750 )
751 }
752 }
753
754 #[doc = "`GetPos()` overload"]
755 pub fn get_pos() -> crate::unity_engine::vector3::Vector3 {
756 unsafe {
757 ::unity::il2cpp_call!((::unity::module_base()+0x29bee00usize)as*mut u8,crate::unity_engine::vector3::Vector3;
758 )
759 }
760 }
761
762 #[doc = "`GetEnterPos()` overload"]
763 pub fn get_enter_pos() -> crate::unity_engine::vector3::Vector3 {
764 unsafe {
765 ::unity::il2cpp_call!((::unity::module_base()+0x29c0620usize)as*mut u8,crate::unity_engine::vector3::Vector3;
766 )
767 }
768 }
769
770 #[doc = "`SetEnterPos(crate::unity_engine::vector3::Vector3)` overload"]
771 pub fn set_enter_pos(pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
772 unsafe {
773 ::unity::il2cpp_call!((::unity::module_base()+0x29c06e0usize)as*mut u8,();
774(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos))
775 }
776 }
777
778 #[doc = "`Tick()` overload"]
779 pub fn tick() -> () {
780 unsafe {
781 ::unity::il2cpp_call!((::unity::module_base()+0x29c07a0usize)as*mut u8,();
782 )
783 }
784 }
785
786 #[doc = "`TickMove(bool)` overload"]
787 pub fn tick_move(is_trigger: impl ::core::convert::Into<bool>) -> () {
788 unsafe {
789 ::unity::il2cpp_call!((::unity::module_base()+0x29c07b0usize)as*mut u8,();
790(bool)::core::convert::Into::into(is_trigger))
791 }
792 }
793
794 #[doc = "`TickRotate()` overload"]
795 pub fn tick_rotate() -> () {
796 unsafe {
797 ::unity::il2cpp_call!((::unity::module_base()+0x29c0880usize)as*mut u8,();
798 )
799 }
800 }
801
802 #[doc = "`.cctor()` overload"]
803 pub fn cctor() -> () {
804 unsafe {
805 ::unity::il2cpp_call!((::unity::module_base()+0x29c0ea0usize)as*mut u8,();
806 )
807 }
808 }
809}
810
811#[cfg(feature = "app-mapcursor")]
812pub trait IMapCursorMethods: IMapCursor {
813 #[doc = "`GetCameraDistance()` overload"]
814 fn get_camera_distance_2(self) -> f32 {
815 unsafe {
816 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
817 ::unity::il2cpp_call!((::unity::module_base()+0x29aa5a0usize)as*mut u8,f32;
818(MapCursor)__receiver)
819 }
820 }
821 #[doc = "`GetCameraRotate()` overload"]
822 fn get_camera_rotate(self) -> crate::unity_engine::vector3::Vector3 {
823 unsafe {
824 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
825 ::unity::il2cpp_call!((::unity::module_base()+0x29aa6c0usize)as*mut u8,crate::unity_engine::vector3::Vector3;
826(MapCursor)__receiver)
827 }
828 }
829 #[doc = "`GetBackMode(crate::app::mapcursor::MapCursor_DistanceMode)` overload"]
830 fn get_back_mode(
831 self,
832 mode: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_DistanceMode>,
833 ) -> crate::app::mapcursor::MapCursor_DistanceMode {
834 unsafe {
835 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
836 ::unity::il2cpp_call!((::unity::module_base()+0x29aa750usize)as*mut u8,crate::app::mapcursor::MapCursor_DistanceMode;
837(MapCursor)__receiver,(crate::app::mapcursor::MapCursor_DistanceMode)::core::convert::Into::into(mode))
838 }
839 }
840 #[doc = "`GetZoomMode(crate::app::mapcursor::MapCursor_DistanceMode)` overload"]
841 fn get_zoom_mode(
842 self,
843 mode: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_DistanceMode>,
844 ) -> crate::app::mapcursor::MapCursor_DistanceMode {
845 unsafe {
846 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
847 ::unity::il2cpp_call!((::unity::module_base()+0x29aa800usize)as*mut u8,crate::app::mapcursor::MapCursor_DistanceMode;
848(MapCursor)__receiver,(crate::app::mapcursor::MapCursor_DistanceMode)::core::convert::Into::into(mode))
849 }
850 }
851 #[doc = "`GetNextMode(crate::app::mapcursor::MapCursor_DistanceMode, i32)` overload"]
852 fn get_next_mode(
853 self,
854 mode: impl ::core::convert::Into<crate::app::mapcursor::MapCursor_DistanceMode>,
855 dir: impl ::core::convert::Into<i32>,
856 ) -> crate::app::mapcursor::MapCursor_DistanceMode {
857 unsafe {
858 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
859 ::unity::il2cpp_call!((::unity::module_base()+0x29aa8b0usize)as*mut u8,crate::app::mapcursor::MapCursor_DistanceMode;
860(MapCursor)__receiver,(crate::app::mapcursor::MapCursor_DistanceMode)::core::convert::Into::into(mode),(i32)::core::convert::Into::into(dir))
861 }
862 }
863 #[doc = "`.ctor()` overload"]
864 fn ctor(self) -> () {
865 unsafe {
866 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
867 ::unity::il2cpp_call!((::unity::module_base()+0x29aa9d0usize)as*mut u8,();
868(MapCursor)__receiver)
869 }
870 }
871 #[doc = "`OnTick()` overload"]
872 fn on_tick(self) -> () {
873 unsafe {
874 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
875 {
876 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
877 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
878 panic!(
879 "unity: virtual slot {}
880 out of range (vtable len {}
881) on the runtime class behind {}
882 (method `{}
883`)",
884 7usize,
885 __vt.len(),
886 <MapCursor as ::unity::ClassIdentity>::NAME,
887 "OnTick",
888 )
889 });
890 let __inner: extern "C" fn(MapCursor, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
891 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
892 __inner(__receiver, __mi)
893 }
894 }
895 }
896 #[doc = "`OnUpdate()` overload"]
897 fn on_update(self) -> () {
898 unsafe {
899 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
900 {
901 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
902 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
903 panic!(
904 "unity: virtual slot {}
905 out of range (vtable len {}
906) on the runtime class behind {}
907 (method `{}
908`)",
909 8usize,
910 __vt.len(),
911 <MapCursor as ::unity::ClassIdentity>::NAME,
912 "OnUpdate",
913 )
914 });
915 let __inner: extern "C" fn(MapCursor, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
916 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
917 __inner(__receiver, __mi)
918 }
919 }
920 }
921 #[doc = "`ToggleCursorMoveSize()` overload"]
922 fn toggle_cursor_move_size(self) -> () {
923 unsafe {
924 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
925 ::unity::il2cpp_call!((::unity::module_base()+0x29b07c0usize)as*mut u8,();
926(MapCursor)__receiver)
927 }
928 }
929 #[doc = "`CalcCursorTopPos()` overload"]
930 fn calc_cursor_top_pos(self) -> crate::unity_engine::vector3::Vector3 {
931 unsafe {
932 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
933 ::unity::il2cpp_call!((::unity::module_base()+0x29abc80usize)as*mut u8,crate::unity_engine::vector3::Vector3;
934(MapCursor)__receiver)
935 }
936 }
937 #[doc = "`CalcCursorBottomPos()` overload"]
938 fn calc_cursor_bottom_pos(self) -> crate::unity_engine::vector3::Vector3 {
939 unsafe {
940 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
941 ::unity::il2cpp_call!((::unity::module_base()+0x29ad650usize)as*mut u8,crate::unity_engine::vector3::Vector3;
942(MapCursor)__receiver)
943 }
944 }
945 #[doc = "`GetCursorTime(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
946 fn get_cursor_time(
947 self,
948 prev: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
949 next: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
950 ) -> f32 {
951 unsafe {
952 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
953 ::unity::il2cpp_call!((::unity::module_base()+0x29afcf0usize)as*mut u8,f32;
954(MapCursor)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(prev),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(next))
955 }
956 }
957 #[doc = "`GetCursorSpeed()` overload"]
958 fn get_cursor_speed(self) -> f32 {
959 unsafe {
960 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
961 ::unity::il2cpp_call!((::unity::module_base()+0x29afda0usize)as*mut u8,f32;
962(MapCursor)__receiver)
963 }
964 }
965 #[doc = "`GetMovePos(f32, f32, f32)` overload"]
966 fn get_move_pos(
967 self,
968 prev: impl ::core::convert::Into<f32>,
969 next: impl ::core::convert::Into<f32>,
970 speed: impl ::core::convert::Into<f32>,
971 ) -> f32 {
972 unsafe {
973 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
974 ::unity::il2cpp_call!((::unity::module_base()+0x29b2380usize)as*mut u8,f32;
975(MapCursor)__receiver,(f32)::core::convert::Into::into(prev),(f32)::core::convert::Into::into(next),(f32)::core::convert::Into::into(speed))
976 }
977 }
978 #[doc = "`GetMovePos(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32)` overload"]
979 fn get_move_pos_2(
980 self,
981 prev: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
982 next: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
983 speed: impl ::core::convert::Into<f32>,
984 ) -> crate::unity_engine::vector3::Vector3 {
985 unsafe {
986 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
987 ::unity::il2cpp_call!((::unity::module_base()+0x29aff00usize)as*mut u8,crate::unity_engine::vector3::Vector3;
988(MapCursor)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(prev),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(next),(f32)::core::convert::Into::into(speed))
989 }
990 }
991 #[doc = "`GetDigitalMove(crate::nn::hid::npadbutton::NpadButton)` overload"]
992 fn get_digital_move(self, button: impl ::core::convert::Into<crate::nn::hid::npadbutton::NpadButton>) -> f32 {
993 unsafe {
994 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
995 ::unity::il2cpp_call!((::unity::module_base()+0x29b23d0usize)as*mut u8,f32;
996(MapCursor)__receiver,(crate::nn::hid::npadbutton::NpadButton)::core::convert::Into::into(button))
997 }
998 }
999 #[doc = "`TryBorderSound(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
1000 fn try_border_sound(
1001 self,
1002 old: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
1003 pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
1004 ) -> () {
1005 unsafe {
1006 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1007 ::unity::il2cpp_call!((::unity::module_base()+0x29b3370usize)as*mut u8,();
1008(MapCursor)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(old),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos))
1009 }
1010 }
1011 #[doc = "`CalcDigitalMove()` overload"]
1012 fn calc_digital_move(self) -> () {
1013 unsafe {
1014 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1015 ::unity::il2cpp_call!((::unity::module_base()+0x29b3790usize)as*mut u8,();
1016(MapCursor)__receiver)
1017 }
1018 }
1019 #[doc = "`CalcAnalogMove()` overload"]
1020 fn calc_analog_move(self) -> () {
1021 unsafe {
1022 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1023 ::unity::il2cpp_call!((::unity::module_base()+0x29b3bd0usize)as*mut u8,();
1024(MapCursor)__receiver)
1025 }
1026 }
1027 #[doc = "`UpdateEnterPos()` overload"]
1028 fn update_enter_pos(self) -> () {
1029 unsafe {
1030 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1031 ::unity::il2cpp_call!((::unity::module_base()+0x29b5f20usize)as*mut u8,();
1032(MapCursor)__receiver)
1033 }
1034 }
1035 #[doc = "`ResetEnterPos()` overload"]
1036 fn reset_enter_pos(self) -> () {
1037 unsafe {
1038 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1039 ::unity::il2cpp_call!((::unity::module_base()+0x29b62e0usize)as*mut u8,();
1040(MapCursor)__receiver)
1041 }
1042 }
1043 #[doc = "`AdjustPosition()` overload"]
1044 fn adjust_position(self) -> () {
1045 unsafe {
1046 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1047 ::unity::il2cpp_call!((::unity::module_base()+0x29b64d0usize)as*mut u8,();
1048(MapCursor)__receiver)
1049 }
1050 }
1051 #[doc = "`TickInputReset()` overload"]
1052 fn tick_input_reset(self) -> () {
1053 unsafe {
1054 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1055 ::unity::il2cpp_call!((::unity::module_base()+0x29b8cc0usize)as*mut u8,();
1056(MapCursor)__receiver)
1057 }
1058 }
1059 #[doc = "`TickInputMove(bool)` overload"]
1060 fn tick_input_move(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
1061 unsafe {
1062 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1063 ::unity::il2cpp_call!((::unity::module_base()+0x29b8cd0usize)as*mut u8,();
1064(MapCursor)__receiver,(bool)::core::convert::Into::into(is_trigger))
1065 }
1066 }
1067 #[doc = "`TryPlayCameraMoveSe()` overload"]
1068 fn try_play_camera_move_se(self) -> () {
1069 unsafe {
1070 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1071 ::unity::il2cpp_call!((::unity::module_base()+0x29b91d0usize)as*mut u8,();
1072(MapCursor)__receiver)
1073 }
1074 }
1075 #[doc = "`TryStopCameraMoveSe()` overload"]
1076 fn try_stop_camera_move_se(self) -> () {
1077 unsafe {
1078 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1079 ::unity::il2cpp_call!((::unity::module_base()+0x29b9340usize)as*mut u8,();
1080(MapCursor)__receiver)
1081 }
1082 }
1083 #[doc = "`TickInputRotate()` overload"]
1084 fn tick_input_rotate(self) -> () {
1085 unsafe {
1086 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1087 ::unity::il2cpp_call!((::unity::module_base()+0x29b9470usize)as*mut u8,();
1088(MapCursor)__receiver)
1089 }
1090 }
1091 #[doc = "`TickInputDanger()` overload"]
1092 fn tick_input_danger(self) -> () {
1093 unsafe {
1094 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1095 ::unity::il2cpp_call!((::unity::module_base()+0x29ba630usize)as*mut u8,();
1096(MapCursor)__receiver)
1097 }
1098 }
1099 #[doc = "`CommitCamera()` overload"]
1100 fn commit_camera(self) -> () {
1101 unsafe {
1102 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1103 ::unity::il2cpp_call!((::unity::module_base()+0x29bab50usize)as*mut u8,();
1104(MapCursor)__receiver)
1105 }
1106 }
1107 #[doc = "`CommitCameraPosition(f32)` overload"]
1108 fn commit_camera_position(self, speed: impl ::core::convert::Into<f32>) -> () {
1109 unsafe {
1110 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1111 ::unity::il2cpp_call!((::unity::module_base()+0x29b8ff0usize)as*mut u8,();
1112(MapCursor)__receiver,(f32)::core::convert::Into::into(speed))
1113 }
1114 }
1115 #[doc = "`CommitCameraRotate()` overload"]
1116 fn commit_camera_rotate(self) -> () {
1117 unsafe {
1118 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1119 ::unity::il2cpp_call!((::unity::module_base()+0x29ba590usize)as*mut u8,();
1120(MapCursor)__receiver)
1121 }
1122 }
1123 #[doc = "`UpdatePosition()` overload"]
1124 fn update_position(self) -> () {
1125 unsafe {
1126 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1127 ::unity::il2cpp_call!((::unity::module_base()+0x29b8e90usize)as*mut u8,();
1128(MapCursor)__receiver)
1129 }
1130 }
1131 #[doc = "`ClampPosition(*mutcrate::unity_engine::vector3::Vector3)` overload"]
1132 fn clamp_position(self) -> crate::unity_engine::vector3::Vector3 {
1133 unsafe {
1134 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1135 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
1136 ::unity::il2cpp_call!((::unity::module_base()+0x29bab80usize)as*mut u8,();
1137(MapCursor)__receiver,(*mut crate::unity_engine::vector3::Vector3)__out_0.as_mut_ptr());
1138 __out_0.assume_init()
1139 }
1140 }
1141 #[doc = "`SetColor(crate::unity_engine::color::Color)` overload"]
1142 fn set_color(self, color: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
1143 unsafe {
1144 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1145 ::unity::il2cpp_call!((::unity::module_base()+0x29bf000usize)as*mut u8,();
1146(MapCursor)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(color))
1147 }
1148 }
1149 #[doc = "`SetColor()` overload"]
1150 fn set_color_2(self) -> () {
1151 unsafe {
1152 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1153 ::unity::il2cpp_call!((::unity::module_base()+0x29bf1d0usize)as*mut u8,();
1154(MapCursor)__receiver)
1155 }
1156 }
1157 #[doc = "`get_Color()` overload"]
1158 fn get_color(self) -> crate::unity_engine::color::Color {
1159 unsafe {
1160 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1161 ::unity::il2cpp_call!((::unity::module_base()+0x29bfa70usize)as*mut u8,crate::unity_engine::color::Color;
1162(MapCursor)__receiver)
1163 }
1164 }
1165 #[doc = "`InstantImpl()` overload"]
1166 fn instant_impl(self) -> () {
1167 unsafe {
1168 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1169 ::unity::il2cpp_call!((::unity::module_base()+0x29befa0usize)as*mut u8,();
1170(MapCursor)__receiver)
1171 }
1172 }
1173 #[doc = "`SetImpl(crate::unity_engine::vector3::Vector3, f32, bool)` overload"]
1174 fn set_impl(
1175 self,
1176 pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
1177 speed: impl ::core::convert::Into<f32>,
1178 is_update_enter_pos: impl ::core::convert::Into<bool>,
1179 ) -> () {
1180 unsafe {
1181 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1182 ::unity::il2cpp_call!((::unity::module_base()+0x29be990usize)as*mut u8,();
1183(MapCursor)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos),(f32)::core::convert::Into::into(speed),(bool)::core::convert::Into::into(is_update_enter_pos))
1184 }
1185 }
1186 #[doc = "`UpdateVisible()` overload"]
1187 fn update_visible(self) -> () {
1188 unsafe {
1189 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1190 ::unity::il2cpp_call!((::unity::module_base()+0x29bbd60usize)as*mut u8,();
1191(MapCursor)__receiver)
1192 }
1193 }
1194 #[doc = "`OnBind()` overload"]
1195 fn on_bind(self) -> () {
1196 unsafe {
1197 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1198 {
1199 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1200 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
1201 panic!(
1202 "unity: virtual slot {}
1203 out of range (vtable len {}
1204) on the runtime class behind {}
1205 (method `{}
1206`)",
1207 9usize,
1208 __vt.len(),
1209 <MapCursor as ::unity::ClassIdentity>::NAME,
1210 "OnBind",
1211 )
1212 });
1213 let __inner: extern "C" fn(MapCursor, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1214 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1215 __inner(__receiver, __mi)
1216 }
1217 }
1218 }
1219 #[doc = "`OnUnbind()` overload"]
1220 fn on_unbind(self) -> () {
1221 unsafe {
1222 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1223 {
1224 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1225 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
1226 panic!(
1227 "unity: virtual slot {}
1228 out of range (vtable len {}
1229) on the runtime class behind {}
1230 (method `{}
1231`)",
1232 10usize,
1233 __vt.len(),
1234 <MapCursor as ::unity::ClassIdentity>::NAME,
1235 "OnUnbind",
1236 )
1237 });
1238 let __inner: extern "C" fn(MapCursor, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1239 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1240 __inner(__receiver, __mi)
1241 }
1242 }
1243 }
1244 #[doc = "`get_Version()` overload"]
1245 fn get_version(self) -> i32 {
1246 unsafe {
1247 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1248 {
1249 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1250 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
1251 panic!(
1252 "unity: virtual slot {}
1253 out of range (vtable len {}
1254) on the runtime class behind {}
1255 (method `{}
1256`)",
1257 4usize,
1258 __vt.len(),
1259 <MapCursor as ::unity::ClassIdentity>::NAME,
1260 "get_Version",
1261 )
1262 });
1263 let __inner: extern "C" fn(MapCursor, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
1264 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1265 __inner(__receiver, __mi)
1266 }
1267 }
1268 }
1269 #[doc = "`OnSerialize(crate::app::stream_2::Stream_2)` overload"]
1270 fn on_serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
1271 unsafe {
1272 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1273 {
1274 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1275 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
1276 panic!(
1277 "unity: virtual slot {}
1278 out of range (vtable len {}
1279) on the runtime class behind {}
1280 (method `{}
1281`)",
1282 11usize,
1283 __vt.len(),
1284 <MapCursor as ::unity::ClassIdentity>::NAME,
1285 "OnSerialize",
1286 )
1287 });
1288 let __inner: extern "C" fn(MapCursor, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
1289 ::core::mem::transmute(__vi.method_ptr);
1290 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1291 __inner(__receiver, ::core::convert::Into::into(stream), __mi)
1292 }
1293 }
1294 }
1295 #[doc = "`OnDeserialize(crate::app::stream_2::Stream_2, i32)` overload"]
1296 fn on_deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>, version: impl ::core::convert::Into<i32>) -> () {
1297 unsafe {
1298 let __receiver = <MapCursor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1299 {
1300 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1301 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
1302 panic!(
1303 "unity: virtual slot {}
1304 out of range (vtable len {}
1305) on the runtime class behind {}
1306 (method `{}
1307`)",
1308 12usize,
1309 __vt.len(),
1310 <MapCursor as ::unity::ClassIdentity>::NAME,
1311 "OnDeserialize",
1312 )
1313 });
1314 let __inner: extern "C" fn(MapCursor, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
1315 ::core::mem::transmute(__vi.method_ptr);
1316 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1317 __inner(
1318 __receiver,
1319 ::core::convert::Into::into(stream),
1320 ::core::convert::Into::into(version),
1321 __mi,
1322 )
1323 }
1324 }
1325 }
1326}
1327
1328#[cfg(feature = "app-mapcursor")]
1329impl<__T: IMapCursor> IMapCursorMethods for __T {}
1330
1331#[cfg(feature = "app-mapcursor")]
1332impl MapCursor {
1333 pub fn get_cursor_mind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1334 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1335 }
1336
1337 pub fn set_cursor_mind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1338 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1339 }
1340
1341 pub fn get_camera_tilt_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1342 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1343 }
1344
1345 pub fn get_camera_tilt_clamp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1346 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1347 }
1348
1349 pub fn get_camera_tilt_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1350 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1351 }
1352
1353 pub fn get_camera_tilt_min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1354 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1355 }
1356
1357 pub fn get_camera_tilt_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1358 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1359 }
1360
1361 pub fn get_camera_distance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1362 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1363 }
1364
1365 pub fn get_camera_tilt_clamp_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1366 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1367 }
1368
1369 pub fn get_camera_tilt_rate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1370 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1371 }
1372
1373 pub fn get_camera_distance_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1374 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1375 }
1376
1377 pub fn get_camera_distance_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1379 }
1380
1381 pub fn get_camera_rotate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1383 }
1384
1385 pub fn get_back_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1386 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1387 }
1388
1389 pub fn get_zoom_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1390 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1391 }
1392
1393 pub fn get_next_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1394 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1395 }
1396
1397 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1398 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1399 }
1400
1401 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1402 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1403 }
1404
1405 pub fn on_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1406 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1407 }
1408
1409 pub fn toggle_cursor_move_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1410 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1411 }
1412
1413 pub fn calc_cursor_top_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1414 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1415 }
1416
1417 pub fn calc_cursor_bottom_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1418 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1419 }
1420
1421 pub fn is_change_cursor_top_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1422 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1423 }
1424
1425 pub fn is_change_cursor_bottom_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1426 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1427 }
1428
1429 pub fn get_cursor_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1430 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1431 }
1432
1433 pub fn get_cursor_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1434 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1435 }
1436
1437 pub fn get_move_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1438 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1439 }
1440
1441 pub fn get_move_pos_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1442 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1443 }
1444
1445 pub fn get_digital_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1446 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1447 }
1448
1449 pub fn set_cursor_top_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1450 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1451 }
1452
1453 pub fn apply_cursor_top_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1454 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1455 }
1456
1457 pub fn get_map_pointer_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1458 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1459 }
1460
1461 pub fn set_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1462 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1463 }
1464
1465 pub fn play_cursor_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1466 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1467 }
1468
1469 pub fn play_cursor_top_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1470 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1471 }
1472
1473 pub fn play_cursor_bottom_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1474 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1475 }
1476
1477 pub fn try_border_sound_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1478 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1479 }
1480
1481 pub fn calc_digital_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1482 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1483 }
1484
1485 pub fn calc_analog_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1486 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1487 }
1488
1489 pub fn update_enter_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1490 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1491 }
1492
1493 pub fn reset_enter_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1494 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1495 }
1496
1497 pub fn adjust_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1498 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1499 }
1500
1501 pub fn tick_input_reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1502 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1503 }
1504
1505 pub fn tick_input_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1506 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1507 }
1508
1509 pub fn try_play_camera_move_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1510 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1511 }
1512
1513 pub fn try_stop_camera_move_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1514 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1515 }
1516
1517 pub fn tick_input_rotate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1518 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1519 }
1520
1521 pub fn tick_input_danger_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1522 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1523 }
1524
1525 pub fn commit_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1526 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1527 }
1528
1529 pub fn commit_camera_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1530 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1531 }
1532
1533 pub fn commit_camera_rotate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1534 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1535 }
1536
1537 pub fn update_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1538 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1539 }
1540
1541 pub fn clamp_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1542 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1543 }
1544
1545 pub fn setup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1546 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1547 }
1548
1549 pub fn get_cursor_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1550 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1551 }
1552
1553 pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1554 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1555 }
1556
1557 pub fn get_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1558 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1559 }
1560
1561 pub fn get_no_clamp_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1562 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1563 }
1564
1565 pub fn get_no_clamp_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1566 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1567 }
1568
1569 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1570 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1571 }
1572
1573 pub fn set_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1574 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1575 }
1576
1577 pub fn set_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1578 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1579 }
1580
1581 pub fn try_set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1582 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1583 }
1584
1585 pub fn instant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1586 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1587 }
1588
1589 pub fn set_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1590 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1591 }
1592
1593 pub fn set_color_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1594 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1595 }
1596
1597 pub fn get_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1598 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1599 }
1600
1601 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1602 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1603 }
1604
1605 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1606 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1607 }
1608
1609 pub fn is_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1610 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1611 }
1612
1613 pub fn set_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1614 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1615 }
1616
1617 pub fn instant_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1618 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1619 }
1620
1621 pub fn set_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1622 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1623 }
1624
1625 pub fn update_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1626 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1627 }
1628
1629 pub fn play_camera_move_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1630 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1631 }
1632
1633 pub fn stop_camera_move_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1634 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1635 }
1636
1637 pub fn get_distance_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1638 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1639 }
1640
1641 pub fn set_distance_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1642 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1643 }
1644
1645 pub fn set_distance_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1646 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1647 }
1648
1649 pub fn get_distance_rate_for_sound_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1650 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1651 }
1652
1653 pub fn get_map_cursor_move_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1654 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1655 }
1656
1657 pub fn set_map_cursor_move_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1658 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1659 }
1660
1661 pub fn get_is_lock_move_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1662 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1663 }
1664
1665 pub fn set_is_lock_move_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1666 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1667 }
1668
1669 pub fn get_rotate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1670 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1671 }
1672
1673 pub fn get_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1674 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
1675 }
1676
1677 pub fn get_enter_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1678 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1679 }
1680
1681 pub fn set_enter_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1682 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1683 }
1684
1685 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1686 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1687 }
1688
1689 pub fn tick_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1690 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1691 }
1692
1693 pub fn tick_rotate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1694 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1695 }
1696
1697 pub fn on_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1698 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
1699 }
1700
1701 pub fn on_unbind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1702 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
1703 }
1704
1705 pub fn get_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1706 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
1707 }
1708
1709 pub fn on_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1710 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
1711 }
1712
1713 pub fn on_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1714 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
1715 }
1716
1717 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1718 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[96]
1719 }
1720}
1721
1722#[cfg(feature = "app-mapcursor")]
1723impl MapCursor {
1724 #[doc = "Direct (non-virtual) call to `MapCursor`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1725 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1726 let __mi = Self::on_tick_method_info();
1727 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1728 __inner(this.into(), ::core::option::Option::None)
1729 }
1730
1731 #[doc = "Direct (non-virtual) call to `MapCursor`'s own `OnUpdate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1732 pub unsafe fn on_update(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1733 let __mi = Self::on_update_method_info();
1734 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1735 __inner(this.into(), ::core::option::Option::None)
1736 }
1737
1738 #[doc = "Direct (non-virtual) call to `MapCursor`'s own `OnBind`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1739 pub unsafe fn on_bind(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1740 let __mi = Self::on_bind_method_info();
1741 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1742 __inner(this.into(), ::core::option::Option::None)
1743 }
1744
1745 #[doc = "Direct (non-virtual) call to `MapCursor`'s own `OnUnbind`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1746 pub unsafe fn on_unbind(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1747 let __mi = Self::on_unbind_method_info();
1748 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1749 __inner(this.into(), ::core::option::Option::None)
1750 }
1751
1752 #[doc = "Direct (non-virtual) call to `MapCursor`'s own `get_Version`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1753 pub unsafe fn get_version(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
1754 let __mi = Self::get_version_method_info();
1755 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
1756 __inner(this.into(), ::core::option::Option::None)
1757 }
1758
1759 #[doc = "Direct (non-virtual) call to `MapCursor`'s own `OnSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1760 pub unsafe fn on_serialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2) -> () {
1761 let __mi = Self::on_serialize_method_info();
1762 let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
1763 ::core::mem::transmute(__mi.method_ptr);
1764 __inner(this.into(), stream, ::core::option::Option::None)
1765 }
1766
1767 #[doc = "Direct (non-virtual) call to `MapCursor`'s own `OnDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1768 pub unsafe fn on_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2, version: i32) -> () {
1769 let __mi = Self::on_deserialize_method_info();
1770 let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
1771 ::core::mem::transmute(__mi.method_ptr);
1772 __inner(this.into(), stream, version, ::core::option::Option::None)
1773 }
1774}
1775
1776#[cfg(feature = "app-mapcursor")]
1777impl MapCursor {
1778 #[doc = "`.ctor()` — no args"]
1779 pub fn new() -> Self {
1780 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1781 panic!(
1782 "{}
1783::{}
1784 failed to instantiate",
1785 ::core::stringify!(MapCursor),
1786 ::core::stringify!(new),
1787 )
1788 });
1789 <Self as IMapCursorMethods>::ctor(this);
1790 this
1791 }
1792}
1793
1794#[cfg(feature = "app-mapcursor")]
1795#[doc(hidden)]
1796pub mod prelude {
1797 pub use super::{
1798 IMapCursor, IMapCursorMethods, IMapCursor_FlagField, IMapCursor_FlagFieldMethods, MapCursor, MapCursor_AnimType, MapCursor_CursorTopType,
1799 MapCursor_DistanceMode, MapCursor_Flag, MapCursor_FlagField,
1800 };
1801 #[cfg(feature = "app-bitfield32")]
1802 pub use crate::app::bitfield32::IBitField32Methods;
1803 #[cfg(feature = "app-bitfieldcommon")]
1804 pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
1805 #[cfg(feature = "app-bitfieldtemplate32_1")]
1806 pub use crate::app::bitfieldtemplate32_1::IBitFieldTemplate32_1Methods;
1807 #[cfg(feature = "app-singletonclass_1")]
1808 pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
1809 #[cfg(feature = "system-object")]
1810 pub use crate::system::object::IObjectMethods;
1811 #[cfg(feature = "system-enum")]
1812 pub use crate::system::r#enum::IEnumMethods;
1813 #[cfg(feature = "system-valuetype")]
1814 pub use crate::system::valuetype::IValueTypeMethods;
1815 pub use crate::{
1816 app::{
1817 bitfield32::IBitField32, bitfieldcommon::IBitFieldCommon, bitfieldtemplate32_1::IBitFieldTemplate32_1,
1818 singletonclass_1::ISingletonClass_1,
1819 },
1820 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
1821 };
1822}