1#[cfg(feature = "app-maproute-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::singletonclass_1::{ISingletonClass_1, SingletonClass_1},
10 system::{
11 delegate::{Delegate, IDelegate},
12 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
13 object::{IObject, Object},
14 r#enum::{Enum, IEnum},
15 valuetype::{IValueType, ValueType},
16 },
17 };
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/maproute/MapRoute_Flag.md"))]
20 #[repr(C)]
21 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
22 pub struct MapRoute_Flag {
23 pub value: i32,
24 }
25 impl ::unity::ClassIdentity for MapRoute_Flag {
26 const NAME: &'static str = "MapRoute.Flag";
27 const NAMESPACE: &'static str = "App";
28
29 fn class() -> ::unity::Class {
30 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
31 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
32 }
33 }
34 impl ::unity::IlType for MapRoute_Flag {
35 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
36 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
37 }
38 }
39 impl MapRoute_Flag {
40 pub fn attack() -> Self {
41 Self { value: 1 }
42 }
43
44 pub fn rod() -> Self {
45 Self { value: 2 }
46 }
47
48 pub fn destroy() -> Self {
49 Self { value: 4 }
50 }
51
52 pub fn talk() -> Self {
53 Self { value: 8 }
54 }
55
56 pub fn dance() -> Self {
57 Self { value: 16 }
58 }
59
60 pub fn informal() -> Self {
61 Self { value: 64 }
62 }
63
64 pub fn no_update() -> Self {
65 Self { value: 128 }
66 }
67
68 pub fn resume() -> Self {
69 Self { value: 256 }
70 }
71
72 pub fn mask_mind() -> Self {
73 Self { value: 95 }
74 }
75 }
76
77 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/maproute/MapRoute_Func.md"))]
78 #[::unity::class(namespace = "App", name = "MapRoute.Func")]
79 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
80 pub struct MapRoute_Func {}
81
82 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/maproute/MapRoute.md"))]
83 #[::unity::class(namespace = "App", name = "MapRoute")]
84 #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::maproute::MapRoute>)]
85 pub struct MapRoute {
86 #[static_field]
87 #[rename(name = "Max")]
88 pub max: i32,
89 #[static_field]
90 #[rename(name = "ScoreCross")]
91 pub score_cross: i32,
92 #[static_field]
93 #[rename(name = "ScoreContinue")]
94 pub score_continue: i32,
95 #[static_field]
96 #[rename(name = "ScoreDistance")]
97 pub score_distance: i32,
98 #[static_field]
99 #[rename(name = "ScoreAvoid")]
100 pub score_avoid: i32,
101 #[static_field]
102 #[rename(name = "ScoreDef")]
103 pub score_def: i32,
104 #[offset(32)]
105 #[rename(name = "m_Routes")]
106 pub m_routes: ::unity::Array<crate::app::dir_2::Dir_Type>,
107 #[offset(40)]
108 #[rename(name = "m_Count")]
109 pub m_count: u8,
110 #[offset(41)]
111 #[rename(name = "m_FirstX")]
112 pub m_first_x: i8,
113 #[offset(42)]
114 #[rename(name = "m_FirstZ")]
115 pub m_first_z: i8,
116 #[offset(43)]
117 #[rename(name = "m_LastX")]
118 pub m_last_x: i8,
119 #[offset(44)]
120 #[rename(name = "m_LastZ")]
121 pub m_last_z: i8,
122 #[offset(45)]
123 #[rename(name = "m_CursorX")]
124 pub m_cursor_x: i8,
125 #[offset(46)]
126 #[rename(name = "m_CursorZ")]
127 pub m_cursor_z: i8,
128 #[offset(47)]
129 #[rename(name = "m_Cost")]
130 pub m_cost: u8,
131 #[offset(48)]
132 #[rename(name = "m_Mind")]
133 pub m_mind: crate::app::mapmind::MapMind_Type,
134 #[offset(52)]
135 #[rename(name = "m_Active")]
136 pub m_active: bool,
137 #[offset(56)]
138 #[rename(name = "m_Cells")]
139 pub m_cells: ::unity::Array<crate::app::mappos::MapPos>,
140 }
141}
142
143#[cfg(feature = "app-maproute-types")]
144pub use __types::*;
145
146#[cfg(feature = "app-maproute")]
147pub trait IMapRoute_FuncMethods: IMapRoute_Func {
148 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
149 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
150 unsafe {
151 let __receiver = <MapRoute_Func as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152 ::unity::il2cpp_call!((::unity::module_base()+0x218d7e0usize)as*mut u8,();
153(MapRoute_Func)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
154 }
155 }
156 #[doc = "`Invoke(i32, i32)` overload"]
157 fn invoke(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
158 unsafe {
159 let __receiver = <MapRoute_Func as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160 {
161 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
162 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
163 panic!(
164 "unity: virtual slot {}
165 out of range (vtable len {}
166) on the runtime class behind {}
167 (method `{}
168`)",
169 13usize,
170 __vt.len(),
171 <MapRoute_Func as ::unity::ClassIdentity>::NAME,
172 "Invoke",
173 )
174 });
175 let __inner: extern "C" fn(MapRoute_Func, i32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
176 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
177 __inner(__receiver, ::core::convert::Into::into(x), ::core::convert::Into::into(z), __mi)
178 }
179 }
180 }
181}
182
183#[cfg(feature = "app-maproute")]
184impl<__T: IMapRoute_Func> IMapRoute_FuncMethods for __T {}
185
186#[cfg(feature = "app-maproute")]
187impl MapRoute_Func {
188 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
190 }
191
192 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
194 }
195}
196
197#[cfg(feature = "app-maproute")]
198impl MapRoute_Func {
199 #[doc = "Direct (non-virtual) call to `MapRoute_Func`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
200 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, x: i32, z: i32) -> () {
201 let __mi = Self::invoke_method_info();
202 let __inner: extern "C" fn(::unity::IlInstance, i32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
203 __inner(this.into(), x, z, ::core::option::Option::None)
204 }
205}
206
207#[cfg(feature = "app-maproute")]
208impl MapRoute_Func {
209 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
210 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
211 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
212 panic!(
213 "{}
214::{}
215 failed to instantiate",
216 ::core::stringify!(MapRoute_Func),
217 ::core::stringify!(new),
218 )
219 });
220 <Self as IMapRoute_FuncMethods>::ctor(this, object, method);
221 this
222 }
223}
224
225#[cfg(feature = "app-maproute")]
226impl MapRoute {
227 #[doc = "`GetGoalX(i32, ::unity::Array<crate::app::dir_2::Dir_Type>)` overload"]
228 pub fn get_goal_x(x: impl ::core::convert::Into<i32>, routes: impl ::core::convert::Into<::unity::Array<crate::app::dir_2::Dir_Type>>) -> i32 {
229 unsafe {
230 ::unity::il2cpp_call!((::unity::module_base()+0x235e410usize)as*mut u8,i32;
231(i32)::core::convert::Into::into(x),(::unity::Array<crate::app::dir_2::Dir_Type>)::core::convert::Into::into(routes))
232 }
233 }
234
235 #[doc = "`GetGoalZ(i32, ::unity::Array<crate::app::dir_2::Dir_Type>)` overload"]
236 pub fn get_goal_z(z: impl ::core::convert::Into<i32>, routes: impl ::core::convert::Into<::unity::Array<crate::app::dir_2::Dir_Type>>) -> i32 {
237 unsafe {
238 ::unity::il2cpp_call!((::unity::module_base()+0x235e4a0usize)as*mut u8,i32;
239(i32)::core::convert::Into::into(z),(::unity::Array<crate::app::dir_2::Dir_Type>)::core::convert::Into::into(routes))
240 }
241 }
242
243 #[doc = "`GetGoalDir(::unity::Array<crate::app::dir_2::Dir_Type>)` overload"]
244 pub fn get_goal_dir(routes: impl ::core::convert::Into<::unity::Array<crate::app::dir_2::Dir_Type>>) -> crate::app::dir_2::Dir_Type {
245 unsafe {
246 ::unity::il2cpp_call!((::unity::module_base()+0x235e530usize)as*mut u8,crate::app::dir_2::Dir_Type;
247(::unity::Array<crate::app::dir_2::Dir_Type>)::core::convert::Into::into(routes))
248 }
249 }
250
251 #[doc = "`SetOneRoute(::unity::Array<crate::app::dir_2::Dir_Type>, crate::app::dir_2::Dir_Type)` overload"]
252 pub fn set_one_route(
253 routes: impl ::core::convert::Into<::unity::Array<crate::app::dir_2::Dir_Type>>,
254 dir: impl ::core::convert::Into<crate::app::dir_2::Dir_Type>,
255 ) -> () {
256 unsafe {
257 ::unity::il2cpp_call!((::unity::module_base()+0x235e690usize)as*mut u8,();
258(::unity::Array<crate::app::dir_2::Dir_Type>)::core::convert::Into::into(routes),(crate::app::dir_2::Dir_Type)::core::convert::Into::into(dir))
259 }
260 }
261
262 #[doc = "`SetOneRoute(::unity::Array<crate::app::dir_2::Dir_Type>, i32, i32, i32, i32)` overload"]
263 pub fn set_one_route_2(
264 routes: impl ::core::convert::Into<::unity::Array<crate::app::dir_2::Dir_Type>>,
265 sx: impl ::core::convert::Into<i32>,
266 sz: impl ::core::convert::Into<i32>,
267 tx: impl ::core::convert::Into<i32>,
268 tz: impl ::core::convert::Into<i32>,
269 ) -> () {
270 unsafe {
271 ::unity::il2cpp_call!((::unity::module_base()+0x235e6d0usize)as*mut u8,();
272(::unity::Array<crate::app::dir_2::Dir_Type>)::core::convert::Into::into(routes),(i32)::core::convert::Into::into(sx),(i32)::core::convert::Into::into(sz),(i32)::core::convert::Into::into(tx),(i32)::core::convert::Into::into(tz))
273 }
274 }
275
276 #[doc = "`GetRouteCost(crate::app::unit::Unit, i32, i32, ::unity::Array<crate::app::dir_2::Dir_Type>)` overload"]
277 pub fn get_route_cost(
278 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
279 first_x: impl ::core::convert::Into<i32>,
280 first_z: impl ::core::convert::Into<i32>,
281 routes: impl ::core::convert::Into<::unity::Array<crate::app::dir_2::Dir_Type>>,
282 ) -> i32 {
283 unsafe {
284 ::unity::il2cpp_call!((::unity::module_base()+0x235e730usize)as*mut u8,i32;
285(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(first_x),(i32)::core::convert::Into::into(first_z),(::unity::Array<crate::app::dir_2::Dir_Type>)::core::convert::Into::into(routes))
286 }
287 }
288
289 #[doc = "`ForEach(::unity::Array<crate::app::dir_2::Dir_Type>, i32, i32, crate::app::maproute::MapRoute_Func)` overload"]
290 pub fn for_each(
291 routes: impl ::core::convert::Into<::unity::Array<crate::app::dir_2::Dir_Type>>,
292 first_x: impl ::core::convert::Into<i32>,
293 first_z: impl ::core::convert::Into<i32>,
294 func: impl ::core::convert::Into<crate::app::maproute::MapRoute_Func>,
295 ) -> () {
296 unsafe {
297 ::unity::il2cpp_call!((::unity::module_base()+0x2362510usize)as*mut u8,();
298(::unity::Array<crate::app::dir_2::Dir_Type>)::core::convert::Into::into(routes),(i32)::core::convert::Into::into(first_x),(i32)::core::convert::Into::into(first_z),(crate::app::maproute::MapRoute_Func)::core::convert::Into::into(func))
299 }
300 }
301}
302
303#[cfg(feature = "app-maproute")]
304pub trait IMapRouteMethods: IMapRoute {
305 #[doc = "`GetGoalX()` overload"]
306 fn get_goal_x_2(self) -> i32 {
307 unsafe {
308 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
309 ::unity::il2cpp_call!((::unity::module_base()+0x235e5c0usize)as*mut u8,i32;
310(MapRoute)__receiver)
311 }
312 }
313 #[doc = "`GetGoalZ()` overload"]
314 fn get_goal_z_2(self) -> i32 {
315 unsafe {
316 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
317 ::unity::il2cpp_call!((::unity::module_base()+0x235e5d0usize)as*mut u8,i32;
318(MapRoute)__receiver)
319 }
320 }
321 #[doc = "`GetGoalX(i32)` overload"]
322 fn get_goal_x_3(self, x: impl ::core::convert::Into<i32>) -> i32 {
323 unsafe {
324 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
325 ::unity::il2cpp_call!((::unity::module_base()+0x235e5e0usize)as*mut u8,i32;
326(MapRoute)__receiver,(i32)::core::convert::Into::into(x))
327 }
328 }
329 #[doc = "`GetGoalZ(i32)` overload"]
330 fn get_goal_z_3(self, z: impl ::core::convert::Into<i32>) -> i32 {
331 unsafe {
332 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
333 ::unity::il2cpp_call!((::unity::module_base()+0x235e5f0usize)as*mut u8,i32;
334(MapRoute)__receiver,(i32)::core::convert::Into::into(z))
335 }
336 }
337 #[doc = "`GetGoalDir()` overload"]
338 fn get_goal_dir_2(self) -> crate::app::dir_2::Dir_Type {
339 unsafe {
340 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
341 ::unity::il2cpp_call!((::unity::module_base()+0x235e600usize)as*mut u8,crate::app::dir_2::Dir_Type;
342(MapRoute)__receiver)
343 }
344 }
345 #[doc = "`.ctor()` overload"]
346 fn ctor(self) -> () {
347 unsafe {
348 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
349 ::unity::il2cpp_call!((::unity::module_base()+0x235e800usize)as*mut u8,();
350(MapRoute)__receiver)
351 }
352 }
353 #[doc = "`Reset()` overload"]
354 fn reset(self) -> () {
355 unsafe {
356 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
357 ::unity::il2cpp_call!((::unity::module_base()+0x235e8f0usize)as*mut u8,();
358(MapRoute)__receiver)
359 }
360 }
361 #[doc = "`Reset(i32, i32)` overload"]
362 fn reset_2(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
363 unsafe {
364 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
365 ::unity::il2cpp_call!((::unity::module_base()+0x235e930usize)as*mut u8,();
366(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
367 }
368 }
369 #[doc = "`Reset(crate::app::mapmind::MapMind_Type)` overload"]
370 fn reset_3(self, mind: impl ::core::convert::Into<crate::app::mapmind::MapMind_Type>) -> () {
371 unsafe {
372 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
373 ::unity::il2cpp_call!((::unity::module_base()+0x235e990usize)as*mut u8,();
374(MapRoute)__receiver,(crate::app::mapmind::MapMind_Type)::core::convert::Into::into(mind))
375 }
376 }
377 #[doc = "`Tick(i32, i32)` overload"]
378 fn tick(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
379 unsafe {
380 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
381 ::unity::il2cpp_call!((::unity::module_base()+0x235e9e0usize)as*mut u8,();
382(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
383 }
384 }
385 #[doc = "`GetMindMask(i32, i32, crate::app::maproute::MapRoute_Flag)` overload"]
386 fn get_mind_mask(
387 self,
388 x: impl ::core::convert::Into<i32>,
389 z: impl ::core::convert::Into<i32>,
390 flag: impl ::core::convert::Into<crate::app::maproute::MapRoute_Flag>,
391 ) -> crate::app::maproute::MapRoute_Flag {
392 unsafe {
393 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
394 ::unity::il2cpp_call!((::unity::module_base()+0x235eeb0usize)as*mut u8,crate::app::maproute::MapRoute_Flag;
395(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::maproute::MapRoute_Flag)::core::convert::Into::into(flag))
396 }
397 }
398 #[doc = "`TickMind(i32, i32, crate::app::maproute::MapRoute_Flag)` overload"]
399 fn tick_mind(
400 self,
401 x: impl ::core::convert::Into<i32>,
402 z: impl ::core::convert::Into<i32>,
403 flag: impl ::core::convert::Into<crate::app::maproute::MapRoute_Flag>,
404 ) -> bool {
405 unsafe {
406 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
407 ::unity::il2cpp_call!((::unity::module_base()+0x235ee20usize)as*mut u8,bool;
408(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::maproute::MapRoute_Flag)::core::convert::Into::into(flag))
409 }
410 }
411 #[doc = "`CanMindSeek(i32, i32, crate::app::maproute::MapRoute_Flag)` overload"]
412 fn can_mind_seek(
413 self,
414 x: impl ::core::convert::Into<i32>,
415 z: impl ::core::convert::Into<i32>,
416 flag: impl ::core::convert::Into<crate::app::maproute::MapRoute_Flag>,
417 ) -> bool {
418 unsafe {
419 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420 ::unity::il2cpp_call!((::unity::module_base()+0x235fc60usize)as*mut u8,bool;
421(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::maproute::MapRoute_Flag)::core::convert::Into::into(flag))
422 }
423 }
424 #[doc = "`CanPassable(crate::app::mapdeploy::MapDeploy)` overload"]
425 fn can_passable(self, deploy: impl ::core::convert::Into<crate::app::mapdeploy::MapDeploy>) -> bool {
426 unsafe {
427 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
428 ::unity::il2cpp_call!((::unity::module_base()+0x235fd00usize)as*mut u8,bool;
429(MapRoute)__receiver,(crate::app::mapdeploy::MapDeploy)::core::convert::Into::into(deploy))
430 }
431 }
432 #[doc = "`GetCross(i32, i32)` overload"]
433 fn get_cross(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> i32 {
434 unsafe {
435 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
436 ::unity::il2cpp_call!((::unity::module_base()+0x235fe90usize)as*mut u8,i32;
437(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
438 }
439 }
440 #[doc = "`SetForAI(i32, i32, i32, i32)` overload"]
441 fn set_for_ai(
442 self,
443 first_x: impl ::core::convert::Into<i32>,
444 first_z: impl ::core::convert::Into<i32>,
445 last_x: impl ::core::convert::Into<i32>,
446 last_z: impl ::core::convert::Into<i32>,
447 ) -> () {
448 unsafe {
449 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
450 ::unity::il2cpp_call!((::unity::module_base()+0x235ff90usize)as*mut u8,();
451(MapRoute)__receiver,(i32)::core::convert::Into::into(first_x),(i32)::core::convert::Into::into(first_z),(i32)::core::convert::Into::into(last_x),(i32)::core::convert::Into::into(last_z))
452 }
453 }
454 #[doc = "`SetForReplay(i32, i32, i32, i32)` overload"]
455 fn set_for_replay(
456 self,
457 first_x: impl ::core::convert::Into<i32>,
458 first_z: impl ::core::convert::Into<i32>,
459 last_x: impl ::core::convert::Into<i32>,
460 last_z: impl ::core::convert::Into<i32>,
461 ) -> () {
462 unsafe {
463 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
464 ::unity::il2cpp_call!((::unity::module_base()+0x2360520usize)as*mut u8,();
465(MapRoute)__receiver,(i32)::core::convert::Into::into(first_x),(i32)::core::convert::Into::into(first_z),(i32)::core::convert::Into::into(last_x),(i32)::core::convert::Into::into(last_z))
466 }
467 }
468 #[doc = "`SetForResume(i32, i32, i32, i32)` overload"]
469 fn set_for_resume(
470 self,
471 first_x: impl ::core::convert::Into<i32>,
472 first_z: impl ::core::convert::Into<i32>,
473 last_x: impl ::core::convert::Into<i32>,
474 last_z: impl ::core::convert::Into<i32>,
475 ) -> () {
476 unsafe {
477 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478 ::unity::il2cpp_call!((::unity::module_base()+0x23605a0usize)as*mut u8,();
479(MapRoute)__receiver,(i32)::core::convert::Into::into(first_x),(i32)::core::convert::Into::into(first_z),(i32)::core::convert::Into::into(last_x),(i32)::core::convert::Into::into(last_z))
480 }
481 }
482 #[doc = "`SetForEvent(i32, i32, i32, i32)` overload"]
483 fn set_for_event(
484 self,
485 first_x: impl ::core::convert::Into<i32>,
486 first_z: impl ::core::convert::Into<i32>,
487 last_x: impl ::core::convert::Into<i32>,
488 last_z: impl ::core::convert::Into<i32>,
489 ) -> () {
490 unsafe {
491 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
492 ::unity::il2cpp_call!((::unity::module_base()+0x23608e0usize)as*mut u8,();
493(MapRoute)__receiver,(i32)::core::convert::Into::into(first_x),(i32)::core::convert::Into::into(first_z),(i32)::core::convert::Into::into(last_x),(i32)::core::convert::Into::into(last_z))
494 }
495 }
496 #[doc = "`SetForEvent(i32, i32, ::unity::Il2CppString)` overload"]
497 fn set_for_event_2(
498 self,
499 first_x: impl ::core::convert::Into<i32>,
500 first_z: impl ::core::convert::Into<i32>,
501 str: impl ::core::convert::Into<::unity::Il2CppString>,
502 ) -> () {
503 unsafe {
504 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
505 ::unity::il2cpp_call!((::unity::module_base()+0x2360c30usize)as*mut u8,();
506(MapRoute)__receiver,(i32)::core::convert::Into::into(first_x),(i32)::core::convert::Into::into(first_z),(::unity::Il2CppString)::core::convert::Into::into(str))
507 }
508 }
509 #[doc = "`SetForEscape(crate::app::dir_2::Dir_Type)` overload"]
510 fn set_for_escape(self, dir: impl ::core::convert::Into<crate::app::dir_2::Dir_Type>) -> () {
511 unsafe {
512 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
513 ::unity::il2cpp_call!((::unity::module_base()+0x2360da0usize)as*mut u8,();
514(MapRoute)__receiver,(crate::app::dir_2::Dir_Type)::core::convert::Into::into(dir))
515 }
516 }
517 #[doc = "`get_Routes()` overload"]
518 fn get_routes(self) -> ::unity::Array<crate::app::dir_2::Dir_Type> {
519 unsafe {
520 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
521 ::unity::il2cpp_call!((::unity::module_base()+0x2360e20usize)as*mut u8, ::unity::Array<crate::app::dir_2::Dir_Type> ;
522(MapRoute)__receiver)
523 }
524 }
525 #[doc = "`get_Count()` overload"]
526 fn get_count(self) -> i32 {
527 unsafe {
528 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
529 ::unity::il2cpp_call!((::unity::module_base()+0x2360e30usize)as*mut u8,i32;
530(MapRoute)__receiver)
531 }
532 }
533 #[doc = "`get_FirstX()` overload"]
534 fn get_first_x(self) -> i32 {
535 unsafe {
536 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
537 ::unity::il2cpp_call!((::unity::module_base()+0x2360e40usize)as*mut u8,i32;
538(MapRoute)__receiver)
539 }
540 }
541 #[doc = "`get_FirstZ()` overload"]
542 fn get_first_z(self) -> i32 {
543 unsafe {
544 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
545 ::unity::il2cpp_call!((::unity::module_base()+0x2360e50usize)as*mut u8,i32;
546(MapRoute)__receiver)
547 }
548 }
549 #[doc = "`get_LastX()` overload"]
550 fn get_last_x(self) -> i32 {
551 unsafe {
552 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
553 ::unity::il2cpp_call!((::unity::module_base()+0x2360e60usize)as*mut u8,i32;
554(MapRoute)__receiver)
555 }
556 }
557 #[doc = "`get_LastZ()` overload"]
558 fn get_last_z(self) -> i32 {
559 unsafe {
560 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
561 ::unity::il2cpp_call!((::unity::module_base()+0x2360e70usize)as*mut u8,i32;
562(MapRoute)__receiver)
563 }
564 }
565 #[doc = "`get_CursorX()` overload"]
566 fn get_cursor_x(self) -> i32 {
567 unsafe {
568 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
569 ::unity::il2cpp_call!((::unity::module_base()+0x2360e80usize)as*mut u8,i32;
570(MapRoute)__receiver)
571 }
572 }
573 #[doc = "`get_CursorZ()` overload"]
574 fn get_cursor_z(self) -> i32 {
575 unsafe {
576 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
577 ::unity::il2cpp_call!((::unity::module_base()+0x2360e90usize)as*mut u8,i32;
578(MapRoute)__receiver)
579 }
580 }
581 #[doc = "`get_Mind()` overload"]
582 fn get_mind(self) -> crate::app::mapmind::MapMind_Type {
583 unsafe {
584 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
585 ::unity::il2cpp_call!((::unity::module_base()+0x2360ea0usize)as*mut u8,crate::app::mapmind::MapMind_Type;
586(MapRoute)__receiver)
587 }
588 }
589 #[doc = "`GetMovePower(crate::app::unit::Unit)` overload"]
590 fn get_move_power(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> i32 {
591 unsafe {
592 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
593 ::unity::il2cpp_call!((::unity::module_base()+0x2360eb0usize)as*mut u8,i32;
594(MapRoute)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
595 }
596 }
597 #[doc = "`TryAddMove(i32, i32)` overload"]
598 fn try_add_move(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
599 unsafe {
600 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
601 ::unity::il2cpp_call!((::unity::module_base()+0x23606a0usize)as*mut u8,bool;
602(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
603 }
604 }
605 #[doc = "`TickMove(i32, i32)` overload"]
606 fn tick_move(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
607 unsafe {
608 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
609 ::unity::il2cpp_call!((::unity::module_base()+0x235eb70usize)as*mut u8,();
610(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
611 }
612 }
613 #[doc = "`TickMindHere(i32, i32, crate::app::maproute::MapRoute_Flag)` overload"]
614 fn tick_mind_here(
615 self,
616 x: impl ::core::convert::Into<i32>,
617 z: impl ::core::convert::Into<i32>,
618 flag: impl ::core::convert::Into<crate::app::maproute::MapRoute_Flag>,
619 ) -> bool {
620 unsafe {
621 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
622 ::unity::il2cpp_call!((::unity::module_base()+0x235f640usize)as*mut u8,bool;
623(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::maproute::MapRoute_Flag)::core::convert::Into::into(flag))
624 }
625 }
626 #[doc = "`TryGetCandidate(crate::app::unit::Unit, i32, i32, crate::app::maproute::MapRoute_Flag, *muti32, *muti32, *mutcrate::app::mapmind::MapMind_Type, *muti32)` overload"]
627 fn try_get_candidate(
628 self,
629 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
630 x: impl ::core::convert::Into<i32>,
631 z: impl ::core::convert::Into<i32>,
632 flag: impl ::core::convert::Into<crate::app::maproute::MapRoute_Flag>,
633 ) -> (bool, i32, i32, crate::app::mapmind::MapMind_Type, i32) {
634 unsafe {
635 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
636 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
637 let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
638 let mut __out_2 = ::core::mem::MaybeUninit::<crate::app::mapmind::MapMind_Type>::uninit();
639 let mut __out_3 = ::core::mem::MaybeUninit::<i32>::uninit();
640 let __ret = {
641 ::unity::il2cpp_call!((::unity::module_base()+0x2361280usize)as*mut u8,bool;
642(MapRoute)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::maproute::MapRoute_Flag)::core::convert::Into::into(flag),(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr(),(*mut crate::app::mapmind::MapMind_Type)__out_2.as_mut_ptr(),(*mut i32)__out_3.as_mut_ptr())
643 };
644 (
645 __ret,
646 __out_0.assume_init(),
647 __out_1.assume_init(),
648 __out_2.assume_init(),
649 __out_3.assume_init(),
650 )
651 }
652 }
653 #[doc = "`BeginMaskMove(crate::app::unit::Unit, i32, i32, i32)` overload"]
654 fn begin_mask_move(
655 self,
656 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
657 start_x: impl ::core::convert::Into<i32>,
658 start_z: impl ::core::convert::Into<i32>,
659 move_power: impl ::core::convert::Into<i32>,
660 ) -> () {
661 unsafe {
662 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
663 ::unity::il2cpp_call!((::unity::module_base()+0x2362090usize)as*mut u8,();
664(MapRoute)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(start_x),(i32)::core::convert::Into::into(start_z),(i32)::core::convert::Into::into(move_power))
665 }
666 }
667 #[doc = "`EndMaskMove()` overload"]
668 fn end_mask_move(self) -> () {
669 unsafe {
670 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
671 ::unity::il2cpp_call!((::unity::module_base()+0x23621e0usize)as*mut u8,();
672(MapRoute)__receiver)
673 }
674 }
675 #[doc = "`TickMindSeek(i32, i32, crate::app::maproute::MapRoute_Flag)` overload"]
676 fn tick_mind_seek(
677 self,
678 x: impl ::core::convert::Into<i32>,
679 z: impl ::core::convert::Into<i32>,
680 flag: impl ::core::convert::Into<crate::app::maproute::MapRoute_Flag>,
681 ) -> bool {
682 unsafe {
683 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
684 ::unity::il2cpp_call!((::unity::module_base()+0x235fa30usize)as*mut u8,bool;
685(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::maproute::MapRoute_Flag)::core::convert::Into::into(flag))
686 }
687 }
688 #[doc = "`GetMindSeekScore(crate::app::mapmind::MapMind_Type)` overload"]
689 fn get_mind_seek_score(self, mind: impl ::core::convert::Into<crate::app::mapmind::MapMind_Type>) -> i32 {
690 unsafe {
691 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
692 ::unity::il2cpp_call!((::unity::module_base()+0x2361d30usize)as*mut u8,i32;
693(MapRoute)__receiver,(crate::app::mapmind::MapMind_Type)::core::convert::Into::into(mind))
694 }
695 }
696 #[doc = "`GetMindSeekScoreTerrain(i32, i32, i32)` overload"]
697 fn get_mind_seek_score_terrain(
698 self,
699 x: impl ::core::convert::Into<i32>,
700 z: impl ::core::convert::Into<i32>,
701 range: impl ::core::convert::Into<i32>,
702 ) -> i32 {
703 unsafe {
704 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
705 ::unity::il2cpp_call!((::unity::module_base()+0x2361d70usize)as*mut u8,i32;
706(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(range))
707 }
708 }
709 #[doc = "`Seek(i32, i32)` overload"]
710 fn seek(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
711 unsafe {
712 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
713 ::unity::il2cpp_call!((::unity::module_base()+0x2360010usize)as*mut u8,();
714(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
715 }
716 }
717 #[doc = "`AddRouteLast(crate::app::dir_2::Dir_Type)` overload"]
718 fn add_route_last(self, dir: impl ::core::convert::Into<crate::app::dir_2::Dir_Type>) -> () {
719 unsafe {
720 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
721 ::unity::il2cpp_call!((::unity::module_base()+0x2362410usize)as*mut u8,();
722(MapRoute)__receiver,(crate::app::dir_2::Dir_Type)::core::convert::Into::into(dir))
723 }
724 }
725 #[doc = "`AddRouteFirst(crate::app::dir_2::Dir_Type)` overload"]
726 fn add_route_first(self, dir: impl ::core::convert::Into<crate::app::dir_2::Dir_Type>) -> () {
727 unsafe {
728 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
729 ::unity::il2cpp_call!((::unity::module_base()+0x2362470usize)as*mut u8,();
730(MapRoute)__receiver,(crate::app::dir_2::Dir_Type)::core::convert::Into::into(dir))
731 }
732 }
733 #[doc = "`Clamp(i32, i32, i32, i32)` overload"]
734 fn clamp(
735 self,
736 first_x: impl ::core::convert::Into<i32>,
737 first_z: impl ::core::convert::Into<i32>,
738 last_x: impl ::core::convert::Into<i32>,
739 last_z: impl ::core::convert::Into<i32>,
740 ) -> () {
741 unsafe {
742 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
743 ::unity::il2cpp_call!((::unity::module_base()+0x23609b0usize)as*mut u8,();
744(MapRoute)__receiver,(i32)::core::convert::Into::into(first_x),(i32)::core::convert::Into::into(first_z),(i32)::core::convert::Into::into(last_x),(i32)::core::convert::Into::into(last_z))
745 }
746 }
747 #[doc = "`TryBack(i32, i32)` overload"]
748 fn try_back(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
749 unsafe {
750 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
751 ::unity::il2cpp_call!((::unity::module_base()+0x2361ce0usize)as*mut u8,bool;
752(MapRoute)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
753 }
754 }
755 #[doc = "`Back(i32)` overload"]
756 fn back(self, index: impl ::core::convert::Into<i32>) -> () {
757 unsafe {
758 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
759 ::unity::il2cpp_call!((::unity::module_base()+0x23622a0usize)as*mut u8,();
760(MapRoute)__receiver,(i32)::core::convert::Into::into(index))
761 }
762 }
763 #[doc = "`IsEnable()` overload"]
764 fn is_enable(self) -> bool {
765 unsafe {
766 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
767 ::unity::il2cpp_call!((::unity::module_base()+0x23625e0usize)as*mut u8,bool;
768(MapRoute)__receiver)
769 }
770 }
771 #[doc = "`IsActive()` overload"]
772 fn is_active(self) -> bool {
773 unsafe {
774 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
775 ::unity::il2cpp_call!((::unity::module_base()+0x23625f0usize)as*mut u8,bool;
776(MapRoute)__receiver)
777 }
778 }
779 #[doc = "`SetActive(bool)` overload"]
780 fn set_active(self, active: impl ::core::convert::Into<bool>) -> () {
781 unsafe {
782 let __receiver = <MapRoute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
783 ::unity::il2cpp_call!((::unity::module_base()+0x2362600usize)as*mut u8,();
784(MapRoute)__receiver,(bool)::core::convert::Into::into(active))
785 }
786 }
787}
788
789#[cfg(feature = "app-maproute")]
790impl<__T: IMapRoute> IMapRouteMethods for __T {}
791
792#[cfg(feature = "app-maproute")]
793impl MapRoute {
794 pub fn get_goal_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
795 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
796 }
797
798 pub fn get_goal_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
799 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
800 }
801
802 pub fn get_goal_dir_method_info() -> &'static ::unity::il2cpp::MethodInfo {
803 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
804 }
805
806 pub fn get_goal_x_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
807 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
808 }
809
810 pub fn get_goal_z_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
811 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
812 }
813
814 pub fn get_goal_x_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
815 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
816 }
817
818 pub fn get_goal_z_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
819 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
820 }
821
822 pub fn get_goal_dir_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
823 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
824 }
825
826 pub fn set_one_route_method_info() -> &'static ::unity::il2cpp::MethodInfo {
827 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
828 }
829
830 pub fn set_one_route_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
831 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
832 }
833
834 pub fn get_route_cost_method_info() -> &'static ::unity::il2cpp::MethodInfo {
835 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
836 }
837
838 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
839 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
840 }
841
842 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
843 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
844 }
845
846 pub fn reset_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
847 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
848 }
849
850 pub fn reset_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
851 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
852 }
853
854 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
855 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
856 }
857
858 pub fn get_mind_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
859 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
860 }
861
862 pub fn tick_mind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
863 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
864 }
865
866 pub fn can_mind_seek_method_info() -> &'static ::unity::il2cpp::MethodInfo {
867 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
868 }
869
870 pub fn can_passable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
871 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
872 }
873
874 pub fn get_cross_method_info() -> &'static ::unity::il2cpp::MethodInfo {
875 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
876 }
877
878 pub fn set_for_ai_method_info() -> &'static ::unity::il2cpp::MethodInfo {
879 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
880 }
881
882 pub fn set_for_replay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
883 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
884 }
885
886 pub fn set_for_resume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
887 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
888 }
889
890 pub fn set_for_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
891 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
892 }
893
894 pub fn set_for_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
895 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
896 }
897
898 pub fn set_for_escape_method_info() -> &'static ::unity::il2cpp::MethodInfo {
899 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
900 }
901
902 pub fn get_routes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
903 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
904 }
905
906 pub fn get_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
907 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
908 }
909
910 pub fn get_first_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
911 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
912 }
913
914 pub fn get_first_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
915 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
916 }
917
918 pub fn get_last_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
919 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
920 }
921
922 pub fn get_last_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
923 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
924 }
925
926 pub fn get_cursor_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
927 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
928 }
929
930 pub fn get_cursor_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
931 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
932 }
933
934 pub fn get_mind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
935 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
936 }
937
938 pub fn get_move_power_method_info() -> &'static ::unity::il2cpp::MethodInfo {
939 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
940 }
941
942 pub fn try_add_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
943 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
944 }
945
946 pub fn tick_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
947 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
948 }
949
950 pub fn tick_mind_here_method_info() -> &'static ::unity::il2cpp::MethodInfo {
951 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
952 }
953
954 pub fn try_get_candidate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
955 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
956 }
957
958 pub fn begin_mask_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
959 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
960 }
961
962 pub fn end_mask_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
963 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
964 }
965
966 pub fn tick_mind_seek_method_info() -> &'static ::unity::il2cpp::MethodInfo {
967 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
968 }
969
970 pub fn get_mind_seek_score_method_info() -> &'static ::unity::il2cpp::MethodInfo {
971 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
972 }
973
974 pub fn get_mind_seek_score_terrain_method_info() -> &'static ::unity::il2cpp::MethodInfo {
975 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
976 }
977
978 pub fn seek_method_info() -> &'static ::unity::il2cpp::MethodInfo {
979 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
980 }
981
982 pub fn add_route_last_method_info() -> &'static ::unity::il2cpp::MethodInfo {
983 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
984 }
985
986 pub fn add_route_first_method_info() -> &'static ::unity::il2cpp::MethodInfo {
987 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
988 }
989
990 pub fn clamp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
991 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
992 }
993
994 pub fn try_back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
995 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
996 }
997
998 pub fn back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
999 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1000 }
1001
1002 pub fn for_each_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1003 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1004 }
1005
1006 pub fn is_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1007 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1008 }
1009
1010 pub fn is_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1011 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1012 }
1013
1014 pub fn set_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1015 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1016 }
1017}
1018
1019#[cfg(feature = "app-maproute")]
1020impl MapRoute {
1021 #[doc = "`.ctor()` — no args"]
1022 pub fn new() -> Self {
1023 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1024 panic!(
1025 "{}
1026::{}
1027 failed to instantiate",
1028 ::core::stringify!(MapRoute),
1029 ::core::stringify!(new),
1030 )
1031 });
1032 <Self as IMapRouteMethods>::ctor(this);
1033 this
1034 }
1035}
1036
1037#[cfg(feature = "app-maproute")]
1038#[doc(hidden)]
1039pub mod prelude {
1040 pub use super::{IMapRoute, IMapRouteMethods, IMapRoute_Func, IMapRoute_FuncMethods, MapRoute, MapRoute_Flag, MapRoute_Func};
1041 #[cfg(feature = "app-singletonclass_1")]
1042 pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
1043 #[cfg(feature = "system-delegate")]
1044 pub use crate::system::delegate::IDelegateMethods;
1045 #[cfg(feature = "system-multicastdelegate")]
1046 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
1047 #[cfg(feature = "system-object")]
1048 pub use crate::system::object::IObjectMethods;
1049 #[cfg(feature = "system-enum")]
1050 pub use crate::system::r#enum::IEnumMethods;
1051 #[cfg(feature = "system-valuetype")]
1052 pub use crate::system::valuetype::IValueTypeMethods;
1053 pub use crate::{
1054 app::singletonclass_1::ISingletonClass_1,
1055 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
1056 };
1057}