1#[cfg(feature = "app-mapheight-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 object::{IObject, Object},
12 r#enum::{Enum, IEnum},
13 valuetype::{IValueType, ValueType},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapheight/MapHeight_Layers.md"))]
18 #[repr(C)]
19 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
20 pub struct MapHeight_Layers {
21 pub value: i32,
22 }
23 impl ::unity::ClassIdentity for MapHeight_Layers {
24 const NAME: &'static str = "MapHeight.Layers";
25 const NAMESPACE: &'static str = "App";
26
27 fn class() -> ::unity::Class {
28 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
29 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
30 }
31 }
32 impl ::unity::IlType for MapHeight_Layers {
33 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
34 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
35 }
36 }
37 impl MapHeight_Layers {
38 pub fn under() -> Self {
39 Self { value: 0 }
40 }
41
42 pub fn over() -> Self {
43 Self { value: 1 }
44 }
45
46 pub fn num() -> Self {
47 Self { value: 2 }
48 }
49 }
50
51 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapheight/MapHeight_CellInfo.md"))]
52 #[::unity::class(namespace = "App", name = "MapHeight.CellInfo")]
53 #[parent(crate::system::object::Object)]
54 pub struct MapHeight_CellInfo {
55 #[offset(16)]
56 #[rename(name = "heights")]
57 pub heights: ::unity::Array<f32>,
58 #[offset(24)]
59 #[rename(name = "normals")]
60 pub normals: ::unity::Array<crate::unity_engine::vector3::Vector3>,
61 #[offset(32)]
62 #[rename(name = "layers")]
63 pub layers: ::unity::Array<i32>,
64 }
65
66 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapheight/MapHeight_Plane.md"))]
67 #[repr(C)]
68 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
69 pub struct MapHeight_Plane {
70 pub value: i32,
71 }
72 impl ::unity::ClassIdentity for MapHeight_Plane {
73 const NAME: &'static str = "MapHeight.Plane";
74 const NAMESPACE: &'static str = "App";
75
76 fn class() -> ::unity::Class {
77 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
78 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
79 }
80 }
81 impl ::unity::IlType for MapHeight_Plane {
82 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
83 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
84 }
85 }
86 impl MapHeight_Plane {
87 pub fn up() -> Self {
88 Self { value: 0 }
89 }
90
91 pub fn down() -> Self {
92 Self { value: 1 }
93 }
94
95 pub fn left() -> Self {
96 Self { value: 2 }
97 }
98
99 pub fn right() -> Self {
100 Self { value: 3 }
101 }
102 }
103
104 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapheight/MapHeight_EdgeIndex.md"))]
105 #[::unity::class(namespace = "App", name = "MapHeight.EdgeIndex")]
106 #[parent(crate::system::object::Object)]
107 pub struct MapHeight_EdgeIndex {
108 #[offset(16)]
109 #[rename(name = "Index1")]
110 pub index1: i32,
111 #[offset(20)]
112 #[rename(name = "Index2")]
113 pub index2: i32,
114 }
115
116 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapheight/MapHeight_CellMap.md"))]
117 #[::unity::class(namespace = "App", name = "MapHeight.CellMap")]
118 #[parent(crate::system::object::Object)]
119 pub struct MapHeight_CellMap {
120 #[offset(16)]
121 #[rename(name = "m_Cells")]
122 pub m_cells: ::unity::Array<crate::app::mapheight::MapHeight_CellInfo>,
123 #[offset(24)]
124 #[rename(name = "m_LayerMaskA")]
125 pub m_layer_mask_a: i32,
126 #[offset(28)]
127 #[rename(name = "m_LayerMaskB")]
128 pub m_layer_mask_b: i32,
129 }
130
131 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapheight/MapHeight.md"))]
132 #[::unity::class(namespace = "App", name = "MapHeight")]
133 #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::mapheight::MapHeight>)]
134 pub struct MapHeight {
135 #[static_field]
136 #[rename(name = "R")]
137 pub r: i32,
138 #[static_field]
139 #[rename(name = "N")]
140 pub n: i32,
141 #[static_field]
142 #[rename(name = "W")]
143 pub w: i32,
144 #[static_field]
145 #[rename(name = "H")]
146 pub h: i32,
147 #[offset(32)]
148 #[rename(name = "m_CellMaps")]
149 pub m_cell_maps: ::unity::Array<crate::app::mapheight::MapHeight_CellMap>,
150 #[offset(40)]
151 #[rename(name = "m_LayerMasksA")]
152 pub m_layer_masks_a: ::unity::Array<i32>,
153 #[offset(48)]
154 #[rename(name = "m_LayerMasksB")]
155 pub m_layer_masks_b: ::unity::Array<i32>,
156 #[offset(56)]
157 #[rename(name = "m_LayerMaskOver")]
158 pub m_layer_mask_over: i32,
159 #[static_field]
160 #[rename(name = "ZERO")]
161 pub zero: crate::unity_engine::vector3::Vector3,
162 #[static_field]
163 #[rename(name = "s_EdgeIndexes")]
164 pub s_edge_indexes: ::unity::Array<crate::app::mapheight::MapHeight_EdgeIndex>,
165 }
166}
167
168#[cfg(feature = "app-mapheight-types")]
169pub use __types::*;
170
171#[cfg(feature = "app-mapheight")]
172pub trait IMapHeight_CellInfoMethods: IMapHeight_CellInfo {
173 #[doc = "`.ctor()` overload"]
174 fn ctor(self) -> () {
175 unsafe {
176 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177 ::unity::il2cpp_call!((::unity::module_base()+0x24c8470usize)as*mut u8,();
178(MapHeight_CellInfo)__receiver)
179 }
180 }
181 #[doc = "`Clear()` overload"]
182 fn clear(self) -> () {
183 unsafe {
184 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185 ::unity::il2cpp_call!((::unity::module_base()+0x24c8560usize)as*mut u8,();
186(MapHeight_CellInfo)__receiver)
187 }
188 }
189 #[doc = "`GetMin()` overload"]
190 fn get_min(self) -> f32 {
191 unsafe {
192 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193 ::unity::il2cpp_call!((::unity::module_base()+0x24c86f0usize)as*mut u8,f32;
194(MapHeight_CellInfo)__receiver)
195 }
196 }
197 #[doc = "`GetMax()` overload"]
198 fn get_max(self) -> f32 {
199 unsafe {
200 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201 ::unity::il2cpp_call!((::unity::module_base()+0x24c8780usize)as*mut u8,f32;
202(MapHeight_CellInfo)__receiver)
203 }
204 }
205 #[doc = "`GetDiff()` overload"]
206 fn get_diff(self) -> f32 {
207 unsafe {
208 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209 ::unity::il2cpp_call!((::unity::module_base()+0x24c8810usize)as*mut u8,f32;
210(MapHeight_CellInfo)__receiver)
211 }
212 }
213 #[doc = "`Update(i32, f32, f32, i32, i32)` overload"]
214 fn update(
215 self,
216 index: impl ::core::convert::Into<i32>,
217 x: impl ::core::convert::Into<f32>,
218 z: impl ::core::convert::Into<f32>,
219 layer_mask_a: impl ::core::convert::Into<i32>,
220 layer_mask_b: impl ::core::convert::Into<i32>,
221 ) -> () {
222 unsafe {
223 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
224 ::unity::il2cpp_call!((::unity::module_base()+0x24c8900usize)as*mut u8,();
225(MapHeight_CellInfo)__receiver,(i32)::core::convert::Into::into(index),(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(layer_mask_a),(i32)::core::convert::Into::into(layer_mask_b))
226 }
227 }
228 #[doc = "`IsFlat(i32)` overload"]
229 fn is_flat(self, index: impl ::core::convert::Into<i32>) -> bool {
230 unsafe {
231 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
232 ::unity::il2cpp_call!((::unity::module_base()+0x24c8b20usize)as*mut u8,bool;
233(MapHeight_CellInfo)__receiver,(i32)::core::convert::Into::into(index))
234 }
235 }
236 #[doc = "`IsFlat()` overload"]
237 fn is_flat_2(self) -> bool {
238 unsafe {
239 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
240 ::unity::il2cpp_call!((::unity::module_base()+0x24c8b70usize)as*mut u8,bool;
241(MapHeight_CellInfo)__receiver)
242 }
243 }
244 #[doc = "`Commit()` overload"]
245 fn commit(self) -> () {
246 unsafe {
247 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
248 ::unity::il2cpp_call!((::unity::module_base()+0x24c8c30usize)as*mut u8,();
249(MapHeight_CellInfo)__receiver)
250 }
251 }
252 #[doc = "`Copy(crate::app::mapheight::MapHeight_CellInfo)` overload"]
253 fn copy(self, src: impl ::core::convert::Into<crate::app::mapheight::MapHeight_CellInfo>) -> () {
254 unsafe {
255 let __receiver = <MapHeight_CellInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
256 ::unity::il2cpp_call!((::unity::module_base()+0x24c8f80usize)as*mut u8,();
257(MapHeight_CellInfo)__receiver,(crate::app::mapheight::MapHeight_CellInfo)::core::convert::Into::into(src))
258 }
259 }
260}
261
262#[cfg(feature = "app-mapheight")]
263impl<__T: IMapHeight_CellInfo> IMapHeight_CellInfoMethods for __T {}
264
265#[cfg(feature = "app-mapheight")]
266impl MapHeight_CellInfo {
267 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
269 }
270
271 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
273 }
274
275 pub fn get_min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
277 }
278
279 pub fn get_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
281 }
282
283 pub fn get_diff_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
285 }
286
287 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
289 }
290
291 pub fn is_flat_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
293 }
294
295 pub fn is_flat_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
297 }
298
299 pub fn commit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
301 }
302
303 pub fn copy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
305 }
306}
307
308#[cfg(feature = "app-mapheight")]
309impl MapHeight_CellInfo {
310 #[doc = "`.ctor()` — no args"]
311 pub fn new() -> Self {
312 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
313 panic!(
314 "{}
315::{}
316 failed to instantiate",
317 ::core::stringify!(MapHeight_CellInfo),
318 ::core::stringify!(new),
319 )
320 });
321 <Self as IMapHeight_CellInfoMethods>::ctor(this);
322 this
323 }
324}
325
326#[cfg(feature = "app-mapheight")]
327pub trait IMapHeight_EdgeIndexMethods: IMapHeight_EdgeIndex {
328 #[doc = "`.ctor()` overload"]
329 fn ctor(self) -> () {
330 unsafe {
331 let __receiver = <MapHeight_EdgeIndex as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332 ::unity::il2cpp_call!((::unity::module_base()+0x24cac50usize)as*mut u8,();
333(MapHeight_EdgeIndex)__receiver)
334 }
335 }
336}
337
338#[cfg(feature = "app-mapheight")]
339impl<__T: IMapHeight_EdgeIndex> IMapHeight_EdgeIndexMethods for __T {}
340
341#[cfg(feature = "app-mapheight")]
342impl MapHeight_EdgeIndex {
343 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
344 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
345 }
346}
347
348#[cfg(feature = "app-mapheight")]
349impl MapHeight_EdgeIndex {
350 #[doc = "`.ctor()` — no args"]
351 pub fn new() -> Self {
352 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
353 panic!(
354 "{}
355::{}
356 failed to instantiate",
357 ::core::stringify!(MapHeight_EdgeIndex),
358 ::core::stringify!(new),
359 )
360 });
361 <Self as IMapHeight_EdgeIndexMethods>::ctor(this);
362 this
363 }
364}
365
366#[cfg(feature = "app-mapheight")]
367pub trait IMapHeight_CellMapMethods: IMapHeight_CellMap {
368 #[doc = "`.ctor(i32, i32)` overload"]
369 fn ctor(self, layer_mask_a: impl ::core::convert::Into<i32>, layer_mask_b: impl ::core::convert::Into<i32>) -> () {
370 unsafe {
371 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372 ::unity::il2cpp_call!((::unity::module_base()+0x24c9210usize)as*mut u8,();
373(MapHeight_CellMap)__receiver,(i32)::core::convert::Into::into(layer_mask_a),(i32)::core::convert::Into::into(layer_mask_b))
374 }
375 }
376 #[doc = "`GetX(i32, i32)` overload"]
377 fn get_x(self, x: impl ::core::convert::Into<i32>, index: impl ::core::convert::Into<i32>) -> f32 {
378 unsafe {
379 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380 ::unity::il2cpp_call!((::unity::module_base()+0x24c9340usize)as*mut u8,f32;
381(MapHeight_CellMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(index))
382 }
383 }
384 #[doc = "`GetZ(i32, i32)` overload"]
385 fn get_z(self, z: impl ::core::convert::Into<i32>, index: impl ::core::convert::Into<i32>) -> f32 {
386 unsafe {
387 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388 ::unity::il2cpp_call!((::unity::module_base()+0x24c93f0usize)as*mut u8,f32;
389(MapHeight_CellMap)__receiver,(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(index))
390 }
391 }
392 #[doc = "`GetHeight(i32, i32, i32)` overload"]
393 fn get_height(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>, index: impl ::core::convert::Into<i32>) -> f32 {
394 unsafe {
395 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
396 ::unity::il2cpp_call!((::unity::module_base()+0x24c94a0usize)as*mut u8,f32;
397(MapHeight_CellMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(index))
398 }
399 }
400 #[doc = "`GetMaxHeight(i32, i32)` overload"]
401 fn get_max_height(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> f32 {
402 unsafe {
403 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
404 ::unity::il2cpp_call!((::unity::module_base()+0x24c9790usize)as*mut u8,f32;
405(MapHeight_CellMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
406 }
407 }
408 #[doc = "`GetMinHeight(i32, i32)` overload"]
409 fn get_min_height(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> f32 {
410 unsafe {
411 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
412 ::unity::il2cpp_call!((::unity::module_base()+0x24c9d80usize)as*mut u8,f32;
413(MapHeight_CellMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
414 }
415 }
416 #[doc = "`Get(i32, i32)` overload"]
417 fn get(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> crate::app::mapheight::MapHeight_CellInfo {
418 unsafe {
419 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420 ::unity::il2cpp_call!((::unity::module_base()+0x24ca370usize)as*mut u8,crate::app::mapheight::MapHeight_CellInfo;
421(MapHeight_CellMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
422 }
423 }
424 #[doc = "`Update(i32, i32)` overload"]
425 fn update(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
426 unsafe {
427 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
428 ::unity::il2cpp_call!((::unity::module_base()+0x24ca3b0usize)as*mut u8,();
429(MapHeight_CellMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
430 }
431 }
432 #[doc = "`IsLayerMask(i32, i32, i32)` overload"]
433 fn is_layer_mask(
434 self,
435 x: impl ::core::convert::Into<i32>,
436 z: impl ::core::convert::Into<i32>,
437 layer_mask: impl ::core::convert::Into<i32>,
438 ) -> bool {
439 unsafe {
440 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
441 ::unity::il2cpp_call!((::unity::module_base()+0x24cab60usize)as*mut u8,bool;
442(MapHeight_CellMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(layer_mask))
443 }
444 }
445 #[doc = "`Clear()` overload"]
446 fn clear(self) -> () {
447 unsafe {
448 let __receiver = <MapHeight_CellMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
449 ::unity::il2cpp_call!((::unity::module_base()+0x24cabf0usize)as*mut u8,();
450(MapHeight_CellMap)__receiver)
451 }
452 }
453}
454
455#[cfg(feature = "app-mapheight")]
456impl<__T: IMapHeight_CellMap> IMapHeight_CellMapMethods for __T {}
457
458#[cfg(feature = "app-mapheight")]
459impl MapHeight_CellMap {
460 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
461 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
462 }
463
464 pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
465 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
466 }
467
468 pub fn get_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
469 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
470 }
471
472 pub fn get_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
473 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
474 }
475
476 pub fn get_max_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
478 }
479
480 pub fn get_min_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
481 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
482 }
483
484 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
485 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
486 }
487
488 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
489 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
490 }
491
492 pub fn is_layer_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
493 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
494 }
495
496 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
497 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
498 }
499}
500
501#[cfg(feature = "app-mapheight")]
502impl MapHeight_CellMap {
503 #[doc = "`.ctor(i32, i32)` — overload selector"]
504 pub fn new(layer_mask_a: i32, layer_mask_b: i32) -> Self {
505 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
506 panic!(
507 "{}
508::{}
509 failed to instantiate",
510 ::core::stringify!(MapHeight_CellMap),
511 ::core::stringify!(new),
512 )
513 });
514 <Self as IMapHeight_CellMapMethods>::ctor(this, layer_mask_a, layer_mask_b);
515 this
516 }
517}
518
519#[cfg(feature = "app-mapheight")]
520impl MapHeight {
521 #[doc = "`CalcRayCast(*mutcrate::unity_engine::raycasthit::RaycastHit, f32, f32, i32, i32)` overload"]
522 pub fn calc_ray_cast(
523 x: impl ::core::convert::Into<f32>,
524 z: impl ::core::convert::Into<f32>,
525 layer_mask_a: impl ::core::convert::Into<i32>,
526 layer_mask_b: impl ::core::convert::Into<i32>,
527 ) -> (bool, crate::unity_engine::raycasthit::RaycastHit) {
528 unsafe {
529 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::raycasthit::RaycastHit>::uninit();
530 let __ret = {
531 ::unity::il2cpp_call!((::unity::module_base()+0x1dcbd90usize)as*mut u8,bool;
532(*mut crate::unity_engine::raycasthit::RaycastHit)__out_0.as_mut_ptr(),(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(layer_mask_a),(i32)::core::convert::Into::into(layer_mask_b))
533 };
534 (__ret, __out_0.assume_init())
535 }
536 }
537
538 #[doc = "`CalcRayCast(f32, f32, i32, i32)` overload"]
539 pub fn calc_ray_cast_2(
540 x: impl ::core::convert::Into<f32>,
541 z: impl ::core::convert::Into<f32>,
542 layer_mask_a: impl ::core::convert::Into<i32>,
543 layer_mask_b: impl ::core::convert::Into<i32>,
544 ) -> f32 {
545 unsafe {
546 ::unity::il2cpp_call!((::unity::module_base()+0x1dcbe40usize)as*mut u8,f32;
547(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(layer_mask_a),(i32)::core::convert::Into::into(layer_mask_b))
548 }
549 }
550
551 #[doc = "`GetPlane(f32, f32)` overload"]
552 pub fn get_plane(ox: impl ::core::convert::Into<f32>, oz: impl ::core::convert::Into<f32>) -> crate::app::mapheight::MapHeight_Plane {
553 unsafe {
554 ::unity::il2cpp_call!((::unity::module_base()+0x1dd1470usize)as*mut u8,crate::app::mapheight::MapHeight_Plane;
555(f32)::core::convert::Into::into(ox),(f32)::core::convert::Into::into(oz))
556 }
557 }
558
559 #[doc = "`IsOutSide(i32, i32)` overload"]
560 pub fn is_out_side(x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
561 unsafe {
562 ::unity::il2cpp_call!((::unity::module_base()+0x1dd14b0usize)as*mut u8,bool;
563(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
564 }
565 }
566
567 #[doc = "`GetLength_point_plane(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
568 pub fn get_length_point_plane(
569 p: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
570 d: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
571 normalized_n: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
572 ) -> f32 {
573 unsafe {
574 ::unity::il2cpp_call!((::unity::module_base()+0x1dd55b0usize)as*mut u8,f32;
575(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(p),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(d),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(normalized_n))
576 }
577 }
578
579 #[doc = "`GetLength_point_plane(crate::unity_engine::vector3::Vector3, f32, crate::unity_engine::vector3::Vector3)` overload"]
580 pub fn get_length_point_plane_2(
581 p: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
582 d: impl ::core::convert::Into<f32>,
583 normalized_n: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
584 ) -> f32 {
585 unsafe {
586 ::unity::il2cpp_call!((::unity::module_base()+0x1dd5690usize)as*mut u8,f32;
587(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(p),(f32)::core::convert::Into::into(d),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(normalized_n))
588 }
589 }
590
591 #[doc = "`GetIntersectPt_segment_plane(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3)` overload"]
592 pub fn get_intersect_pt_segment_plane(
593 p: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
594 q: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
595 a: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
596 b: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
597 c: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
598 ) -> (bool, crate::unity_engine::vector3::Vector3) {
599 unsafe {
600 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
601 let __ret = {
602 ::unity::il2cpp_call!((::unity::module_base()+0x1dd56b0usize)as*mut u8,bool;
603(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(p),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(q),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(a),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(b),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(c),(*mut crate::unity_engine::vector3::Vector3)__out_0.as_mut_ptr())
604 };
605 (__ret, __out_0.assume_init())
606 }
607 }
608
609 #[doc = "`GetIntersectPt_segment_triangle(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3)` overload"]
610 pub fn get_intersect_pt_segment_triangle(
611 p: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
612 q: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
613 a: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
614 b: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
615 c: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
616 ) -> (bool, crate::unity_engine::vector3::Vector3) {
617 unsafe {
618 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
619 let __ret = {
620 ::unity::il2cpp_call!((::unity::module_base()+0x1dd59a0usize)as*mut u8,bool;
621(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(p),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(q),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(a),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(b),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(c),(*mut crate::unity_engine::vector3::Vector3)__out_0.as_mut_ptr())
622 };
623 (__ret, __out_0.assume_init())
624 }
625 }
626
627 #[doc = "`.cctor()` overload"]
628 pub fn cctor() -> () {
629 unsafe {
630 ::unity::il2cpp_call!((::unity::module_base()+0x1dd5c40usize)as*mut u8,();
631 )
632 }
633 }
634}
635
636#[cfg(feature = "app-mapheight")]
637pub trait IMapHeightMethods: IMapHeight {
638 #[doc = "`.ctor()` overload"]
639 fn ctor(self) -> () {
640 unsafe {
641 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
642 ::unity::il2cpp_call!((::unity::module_base()+0x1dcbf60usize)as*mut u8,();
643(MapHeight)__receiver)
644 }
645 }
646 #[doc = "`Clear()` overload"]
647 fn clear(self) -> () {
648 unsafe {
649 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
650 ::unity::il2cpp_call!((::unity::module_base()+0x1dcc440usize)as*mut u8,();
651(MapHeight)__receiver)
652 }
653 }
654 #[doc = "`GetCellMap(crate::app::mapheight::MapHeight_Layers)` overload"]
655 fn get_cell_map(self, layer: impl ::core::convert::Into<crate::app::mapheight::MapHeight_Layers>) -> crate::app::mapheight::MapHeight_CellMap {
656 unsafe {
657 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
658 ::unity::il2cpp_call!((::unity::module_base()+0x1dcc4a0usize)as*mut u8,crate::app::mapheight::MapHeight_CellMap;
659(MapHeight)__receiver,(crate::app::mapheight::MapHeight_Layers)::core::convert::Into::into(layer))
660 }
661 }
662 #[doc = "`GetOver()` overload"]
663 fn get_over(self) -> crate::app::mapheight::MapHeight_CellMap {
664 unsafe {
665 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
666 ::unity::il2cpp_call!((::unity::module_base()+0x1dcc4e0usize)as*mut u8,crate::app::mapheight::MapHeight_CellMap;
667(MapHeight)__receiver)
668 }
669 }
670 #[doc = "`GetUnder()` overload"]
671 fn get_under(self) -> crate::app::mapheight::MapHeight_CellMap {
672 unsafe {
673 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
674 ::unity::il2cpp_call!((::unity::module_base()+0x1dcc510usize)as*mut u8,crate::app::mapheight::MapHeight_CellMap;
675(MapHeight)__receiver)
676 }
677 }
678 #[doc = "`Update(i32, i32)` overload"]
679 fn update(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
680 unsafe {
681 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
682 ::unity::il2cpp_call!((::unity::module_base()+0x1dcc540usize)as*mut u8,();
683(MapHeight)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
684 }
685 }
686 #[doc = "`OnUpdate()` overload"]
687 fn on_update(self) -> () {
688 unsafe {
689 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
690 {
691 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
692 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
693 panic!(
694 "unity: virtual slot {}
695 out of range (vtable len {}
696) on the runtime class behind {}
697 (method `{}
698`)",
699 8usize,
700 __vt.len(),
701 <MapHeight as ::unity::ClassIdentity>::NAME,
702 "OnUpdate",
703 )
704 });
705 let __inner: extern "C" fn(MapHeight, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
706 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
707 __inner(__receiver, __mi)
708 }
709 }
710 }
711 #[doc = "`Get(crate::unity_engine::vector3::Vector3, crate::app::mapheight::MapHeight_Layers)` overload"]
712 fn get(
713 self,
714 pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
715 layer: impl ::core::convert::Into<crate::app::mapheight::MapHeight_Layers>,
716 ) -> f32 {
717 unsafe {
718 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
719 ::unity::il2cpp_call!((::unity::module_base()+0x1dce9f0usize)as*mut u8,f32;
720(MapHeight)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos),(crate::app::mapheight::MapHeight_Layers)::core::convert::Into::into(layer))
721 }
722 }
723 #[doc = "`GetNormal(crate::unity_engine::vector3::Vector3, crate::app::mapheight::MapHeight_Layers)` overload"]
724 fn get_normal(
725 self,
726 pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
727 layer: impl ::core::convert::Into<crate::app::mapheight::MapHeight_Layers>,
728 ) -> crate::unity_engine::vector3::Vector3 {
729 unsafe {
730 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
731 ::unity::il2cpp_call!((::unity::module_base()+0x1dcf530usize)as*mut u8,crate::unity_engine::vector3::Vector3;
732(MapHeight)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos),(crate::app::mapheight::MapHeight_Layers)::core::convert::Into::into(layer))
733 }
734 }
735 #[doc = "`GetMaxHeight(i32, i32)` overload"]
736 fn get_max_height(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> f32 {
737 unsafe {
738 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
739 ::unity::il2cpp_call!((::unity::module_base()+0x1dcfd70usize)as*mut u8,f32;
740(MapHeight)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
741 }
742 }
743 #[doc = "`GetMinHeight(i32, i32)` overload"]
744 fn get_min_height(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> f32 {
745 unsafe {
746 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
747 ::unity::il2cpp_call!((::unity::module_base()+0x1dd08f0usize)as*mut u8,f32;
748(MapHeight)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
749 }
750 }
751 #[doc = "`Get(f32, f32, crate::app::mapheight::MapHeight_Layers)` overload"]
752 fn get_2(
753 self,
754 x: impl ::core::convert::Into<f32>,
755 z: impl ::core::convert::Into<f32>,
756 layer: impl ::core::convert::Into<crate::app::mapheight::MapHeight_Layers>,
757 ) -> f32 {
758 unsafe {
759 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
760 ::unity::il2cpp_call!((::unity::module_base()+0x1dd14e0usize)as*mut u8,f32;
761(MapHeight)__receiver,(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(z),(crate::app::mapheight::MapHeight_Layers)::core::convert::Into::into(layer))
762 }
763 }
764 #[doc = "`Get(i32, i32, i32, crate::app::mapheight::MapHeight_Layers)` overload"]
765 fn get_3(
766 self,
767 x: impl ::core::convert::Into<i32>,
768 z: impl ::core::convert::Into<i32>,
769 index: impl ::core::convert::Into<i32>,
770 layer: impl ::core::convert::Into<crate::app::mapheight::MapHeight_Layers>,
771 ) -> f32 {
772 unsafe {
773 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
774 ::unity::il2cpp_call!((::unity::module_base()+0x1dd2010usize)as*mut u8,f32;
775(MapHeight)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(index),(crate::app::mapheight::MapHeight_Layers)::core::convert::Into::into(layer))
776 }
777 }
778 #[doc = "`GetNormal(f32, f32, crate::app::mapheight::MapHeight_Layers)` overload"]
779 fn get_normal_2(
780 self,
781 x: impl ::core::convert::Into<f32>,
782 z: impl ::core::convert::Into<f32>,
783 layer: impl ::core::convert::Into<crate::app::mapheight::MapHeight_Layers>,
784 ) -> crate::unity_engine::vector3::Vector3 {
785 unsafe {
786 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
787 ::unity::il2cpp_call!((::unity::module_base()+0x1dd2310usize)as*mut u8,crate::unity_engine::vector3::Vector3;
788(MapHeight)__receiver,(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(z),(crate::app::mapheight::MapHeight_Layers)::core::convert::Into::into(layer))
789 }
790 }
791 #[doc = "`GetEdge(i32, i32, crate::app::dir_2::Dir_Type)` overload"]
792 fn get_edge(
793 self,
794 x: impl ::core::convert::Into<i32>,
795 z: impl ::core::convert::Into<i32>,
796 dir: impl ::core::convert::Into<crate::app::dir_2::Dir_Type>,
797 ) -> f32 {
798 unsafe {
799 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
800 ::unity::il2cpp_call!((::unity::module_base()+0x1dd2b50usize)as*mut u8,f32;
801(MapHeight)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::dir_2::Dir_Type)::core::convert::Into::into(dir))
802 }
803 }
804 #[doc = "`GetMinEdge(i32, i32, crate::app::dir_2::Dir_Type)` overload"]
805 fn get_min_edge(
806 self,
807 x: impl ::core::convert::Into<i32>,
808 z: impl ::core::convert::Into<i32>,
809 dir: impl ::core::convert::Into<crate::app::dir_2::Dir_Type>,
810 ) -> f32 {
811 unsafe {
812 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
813 ::unity::il2cpp_call!((::unity::module_base()+0x1dd31b0usize)as*mut u8,f32;
814(MapHeight)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::dir_2::Dir_Type)::core::convert::Into::into(dir))
815 }
816 }
817 #[doc = "`GetMaxEdge(i32, i32, crate::app::dir_2::Dir_Type)` overload"]
818 fn get_max_edge(
819 self,
820 x: impl ::core::convert::Into<i32>,
821 z: impl ::core::convert::Into<i32>,
822 dir: impl ::core::convert::Into<crate::app::dir_2::Dir_Type>,
823 ) -> f32 {
824 unsafe {
825 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
826 ::unity::il2cpp_call!((::unity::module_base()+0x1dd3810usize)as*mut u8,f32;
827(MapHeight)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::dir_2::Dir_Type)::core::convert::Into::into(dir))
828 }
829 }
830 #[doc = "`IsSlope(i32, i32, f32)` overload"]
831 fn is_slope(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>, slope: impl ::core::convert::Into<f32>) -> bool {
832 unsafe {
833 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
834 ::unity::il2cpp_call!((::unity::module_base()+0x1dd3e70usize)as*mut u8,bool;
835(MapHeight)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(f32)::core::convert::Into::into(slope))
836 }
837 }
838 #[doc = "`GetTiltAngle(i32, i32)` overload"]
839 fn get_tilt_angle(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> f32 {
840 unsafe {
841 let __receiver = <MapHeight as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
842 ::unity::il2cpp_call!((::unity::module_base()+0x1dd4a10usize)as*mut u8,f32;
843(MapHeight)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
844 }
845 }
846}
847
848#[cfg(feature = "app-mapheight")]
849impl<__T: IMapHeight> IMapHeightMethods for __T {}
850
851#[cfg(feature = "app-mapheight")]
852impl MapHeight {
853 pub fn calc_ray_cast_method_info() -> &'static ::unity::il2cpp::MethodInfo {
854 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
855 }
856
857 pub fn calc_ray_cast_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
858 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
859 }
860
861 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
862 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
863 }
864
865 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
866 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
867 }
868
869 pub fn get_cell_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
870 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
871 }
872
873 pub fn get_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
874 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
875 }
876
877 pub fn get_under_method_info() -> &'static ::unity::il2cpp::MethodInfo {
878 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
879 }
880
881 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
882 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
883 }
884
885 pub fn on_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
886 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
887 }
888
889 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
890 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
891 }
892
893 pub fn get_normal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
894 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
895 }
896
897 pub fn get_max_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
898 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
899 }
900
901 pub fn get_min_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
902 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
903 }
904
905 pub fn get_plane_method_info() -> &'static ::unity::il2cpp::MethodInfo {
906 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
907 }
908
909 pub fn is_out_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
910 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
911 }
912
913 pub fn get_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
914 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
915 }
916
917 pub fn get_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
918 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
919 }
920
921 pub fn get_normal_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
922 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
923 }
924
925 pub fn get_edge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
926 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
927 }
928
929 pub fn get_min_edge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
930 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
931 }
932
933 pub fn get_max_edge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
934 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
935 }
936
937 pub fn is_slope_method_info() -> &'static ::unity::il2cpp::MethodInfo {
938 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
939 }
940
941 pub fn get_tilt_angle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
942 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
943 }
944
945 pub fn get_length_point_plane_method_info() -> &'static ::unity::il2cpp::MethodInfo {
946 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
947 }
948
949 pub fn get_length_point_plane_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
950 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
951 }
952
953 pub fn get_intersect_pt_segment_plane_method_info() -> &'static ::unity::il2cpp::MethodInfo {
954 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
955 }
956
957 pub fn get_intersect_pt_segment_triangle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
958 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
959 }
960
961 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
962 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
963 }
964}
965
966#[cfg(feature = "app-mapheight")]
967impl MapHeight {
968 #[doc = "Direct (non-virtual) call to `MapHeight`'s own `OnUpdate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
969 pub unsafe fn on_update(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
970 let __mi = Self::on_update_method_info();
971 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
972 __inner(this.into(), ::core::option::Option::None)
973 }
974}
975
976#[cfg(feature = "app-mapheight")]
977impl MapHeight {
978 #[doc = "`.ctor()` — no args"]
979 pub fn new() -> Self {
980 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
981 panic!(
982 "{}
983::{}
984 failed to instantiate",
985 ::core::stringify!(MapHeight),
986 ::core::stringify!(new),
987 )
988 });
989 <Self as IMapHeightMethods>::ctor(this);
990 this
991 }
992}
993
994#[cfg(feature = "app-mapheight")]
995#[doc(hidden)]
996pub mod prelude {
997 pub use super::{
998 IMapHeight, IMapHeightMethods, IMapHeight_CellInfo, IMapHeight_CellInfoMethods, IMapHeight_CellMap, IMapHeight_CellMapMethods,
999 IMapHeight_EdgeIndex, IMapHeight_EdgeIndexMethods, MapHeight, MapHeight_CellInfo, MapHeight_CellMap, MapHeight_EdgeIndex, MapHeight_Layers,
1000 MapHeight_Plane,
1001 };
1002 #[cfg(feature = "app-singletonclass_1")]
1003 pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
1004 #[cfg(feature = "system-object")]
1005 pub use crate::system::object::IObjectMethods;
1006 #[cfg(feature = "system-enum")]
1007 pub use crate::system::r#enum::IEnumMethods;
1008 #[cfg(feature = "system-valuetype")]
1009 pub use crate::system::valuetype::IValueTypeMethods;
1010 pub use crate::{
1011 app::singletonclass_1::ISingletonClass_1,
1012 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
1013 };
1014}