Skip to main content

engage/generated/app/
mapoverlap.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mapoverlap-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::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapoverlap/MapOverlap_List.md"))]
14    #[::unity::class(namespace = "App", name = "MapOverlap.List")]
15    #[parent(crate::system::object::Object)]
16    pub struct MapOverlap_List {
17        #[offset(16)]
18        #[rename(name = "m_List")]
19        pub m_list: crate::system::collections::generic::list_1::List_1<crate::app::mapoverlap::MapOverlap_Data>,
20    }
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapoverlap/MapOverlap_Data.md"))]
23    #[::unity::class(namespace = "App", name = "MapOverlap.Data")]
24    #[parent(crate::system::object::Object)]
25    pub struct MapOverlap_Data {}
26
27    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapoverlap/MapOverlap.md"))]
28    #[::unity::class(namespace = "App", name = "MapOverlap")]
29    #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::mapoverlap::MapOverlap>)]
30    pub struct MapOverlap {
31        #[static_field]
32        #[rename(name = "MaxCount")]
33        pub max_count: i32,
34        #[offset(32)]
35        #[rename(name = "m_Image")]
36        pub m_image: crate::app::mapimagecorebyte::MapImageCoreByte,
37        #[offset(40)]
38        #[rename(name = "m_List")]
39        pub m_list: crate::app::mapoverlap::MapOverlap_List,
40    }
41}
42
43#[cfg(feature = "app-mapoverlap-types")]
44pub use __types::*;
45
46#[cfg(feature = "app-mapoverlap")]
47pub trait IMapOverlap_ListMethods: IMapOverlap_List {
48    #[doc = "`IndexOf(i32, i32)` overload"]
49    fn index_of(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> i32 {
50        unsafe {
51            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
52            ::unity::il2cpp_call!((::unity::module_base()+0x218c870usize)as*mut u8,i32;
53(MapOverlap_List)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
54        }
55    }
56    #[doc = "`Add(crate::app::mapoverlap::MapOverlap_Data)` overload"]
57    fn add(self, data: impl ::core::convert::Into<crate::app::mapoverlap::MapOverlap_Data>) -> () {
58        unsafe {
59            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
60            ::unity::il2cpp_call!((::unity::module_base()+0x218c970usize)as*mut u8,();
61(MapOverlap_List)__receiver,(crate::app::mapoverlap::MapOverlap_Data)::core::convert::Into::into(data))
62        }
63    }
64    #[doc = "`Clear()` overload"]
65    fn clear(self) -> () {
66        unsafe {
67            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68            ::unity::il2cpp_call!((::unity::module_base()+0x218c9d0usize)as*mut u8,();
69(MapOverlap_List)__receiver)
70        }
71    }
72    #[doc = "`RemoveAt(i32)` overload"]
73    fn remove_at(self, index: impl ::core::convert::Into<i32>) -> () {
74        unsafe {
75            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
76            ::unity::il2cpp_call!((::unity::module_base()+0x218cb50usize)as*mut u8,();
77(MapOverlap_List)__receiver,(i32)::core::convert::Into::into(index))
78        }
79    }
80    #[doc = "`CreateEffect()` overload"]
81    fn create_effect(self) -> () {
82        unsafe {
83            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
84            ::unity::il2cpp_call!((::unity::module_base()+0x218cc80usize)as*mut u8,();
85(MapOverlap_List)__receiver)
86        }
87    }
88    #[doc = "`UpdateEffect()` overload"]
89    fn update_effect(self) -> () {
90        unsafe {
91            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
92            ::unity::il2cpp_call!((::unity::module_base()+0x218cd20usize)as*mut u8,();
93(MapOverlap_List)__receiver)
94        }
95    }
96    #[doc = "`DeleteEffect()` overload"]
97    fn delete_effect(self) -> () {
98        unsafe {
99            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100            ::unity::il2cpp_call!((::unity::module_base()+0x218ca30usize)as*mut u8,();
101(MapOverlap_List)__receiver)
102        }
103    }
104    #[doc = "`get_Count()` overload"]
105    fn get_count(self) -> i32 {
106        unsafe {
107            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108            ::unity::il2cpp_call!((::unity::module_base()+0x218cdc0usize)as*mut u8,i32;
109(MapOverlap_List)__receiver)
110        }
111    }
112    #[doc = "`get_Item(i32)` overload"]
113    fn get_item(self, index: impl ::core::convert::Into<i32>) -> crate::app::mapoverlap::MapOverlap_Data {
114        unsafe {
115            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116            ::unity::il2cpp_call!((::unity::module_base()+0x218ce10usize)as*mut u8,crate::app::mapoverlap::MapOverlap_Data;
117(MapOverlap_List)__receiver,(i32)::core::convert::Into::into(index))
118        }
119    }
120    #[doc = "`.ctor()` overload"]
121    fn ctor(self) -> () {
122        unsafe {
123            let __receiver = <MapOverlap_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
124            ::unity::il2cpp_call!((::unity::module_base()+0x218ce80usize)as*mut u8,();
125(MapOverlap_List)__receiver)
126        }
127    }
128}
129
130#[cfg(feature = "app-mapoverlap")]
131impl<__T: IMapOverlap_List> IMapOverlap_ListMethods for __T {}
132
133#[cfg(feature = "app-mapoverlap")]
134impl MapOverlap_List {
135    pub fn index_of_method_info() -> &'static ::unity::il2cpp::MethodInfo {
136        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
137    }
138
139    pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
141    }
142
143    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
144        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
145    }
146
147    pub fn remove_at_method_info() -> &'static ::unity::il2cpp::MethodInfo {
148        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
149    }
150
151    pub fn create_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
152        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
153    }
154
155    pub fn update_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
156        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
157    }
158
159    pub fn delete_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
160        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
161    }
162
163    pub fn get_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
164        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
165    }
166
167    pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
168        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
169    }
170
171    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
173    }
174}
175
176#[cfg(feature = "app-mapoverlap")]
177impl MapOverlap_List {
178    #[doc = "`.ctor()` — no args"]
179    pub fn new() -> Self {
180        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
181            panic!(
182                "{}
183::{}
184 failed to instantiate",
185                ::core::stringify!(MapOverlap_List),
186                ::core::stringify!(new),
187            )
188        });
189        <Self as IMapOverlap_ListMethods>::ctor(this);
190        this
191    }
192}
193
194#[cfg(feature = "app-mapoverlap")]
195pub trait IMapOverlap_DataMethods: IMapOverlap_Data {
196    #[doc = "`get_X()` overload"]
197    fn get_x(self) -> i32 {
198        unsafe {
199            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200            ::unity::il2cpp_call!((::unity::module_base()+0x218bac0usize)as*mut u8,i32;
201(MapOverlap_Data)__receiver)
202        }
203    }
204    #[doc = "`set_X(i32)` overload"]
205    fn set_x(self, value: impl ::core::convert::Into<i32>) -> () {
206        unsafe {
207            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
208            ::unity::il2cpp_call!((::unity::module_base()+0x218bad0usize)as*mut u8,();
209(MapOverlap_Data)__receiver,(i32)::core::convert::Into::into(value))
210        }
211    }
212    #[doc = "`get_Z()` overload"]
213    fn get_z(self) -> i32 {
214        unsafe {
215            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
216            ::unity::il2cpp_call!((::unity::module_base()+0x218bae0usize)as*mut u8,i32;
217(MapOverlap_Data)__receiver)
218        }
219    }
220    #[doc = "`set_Z(i32)` overload"]
221    fn set_z(self, value: impl ::core::convert::Into<i32>) -> () {
222        unsafe {
223            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
224            ::unity::il2cpp_call!((::unity::module_base()+0x218baf0usize)as*mut u8,();
225(MapOverlap_Data)__receiver,(i32)::core::convert::Into::into(value))
226        }
227    }
228    #[doc = "`get_Index()` overload"]
229    fn get_index(self) -> i32 {
230        unsafe {
231            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
232            ::unity::il2cpp_call!((::unity::module_base()+0x218bb00usize)as*mut u8,i32;
233(MapOverlap_Data)__receiver)
234        }
235    }
236    #[doc = "`set_Index(i32)` overload"]
237    fn set_index(self, value: impl ::core::convert::Into<i32>) -> () {
238        unsafe {
239            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
240            ::unity::il2cpp_call!((::unity::module_base()+0x218bb10usize)as*mut u8,();
241(MapOverlap_Data)__receiver,(i32)::core::convert::Into::into(value))
242        }
243    }
244    #[doc = "`get_Hp()` overload"]
245    fn get_hp(self) -> i32 {
246        unsafe {
247            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
248            ::unity::il2cpp_call!((::unity::module_base()+0x218bb20usize)as*mut u8,i32;
249(MapOverlap_Data)__receiver)
250        }
251    }
252    #[doc = "`set_Hp(i32)` overload"]
253    fn set_hp(self, value: impl ::core::convert::Into<i32>) -> () {
254        unsafe {
255            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
256            ::unity::il2cpp_call!((::unity::module_base()+0x218bb30usize)as*mut u8,();
257(MapOverlap_Data)__receiver,(i32)::core::convert::Into::into(value))
258        }
259    }
260    #[doc = "`get_Life()` overload"]
261    fn get_life(self) -> i32 {
262        unsafe {
263            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
264            ::unity::il2cpp_call!((::unity::module_base()+0x218bb40usize)as*mut u8,i32;
265(MapOverlap_Data)__receiver)
266        }
267    }
268    #[doc = "`set_Life(i32)` overload"]
269    fn set_life(self, value: impl ::core::convert::Into<i32>) -> () {
270        unsafe {
271            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
272            ::unity::il2cpp_call!((::unity::module_base()+0x218bb50usize)as*mut u8,();
273(MapOverlap_Data)__receiver,(i32)::core::convert::Into::into(value))
274        }
275    }
276    #[doc = "`get_Turn()` overload"]
277    fn get_turn(self) -> i32 {
278        unsafe {
279            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280            ::unity::il2cpp_call!((::unity::module_base()+0x218bb60usize)as*mut u8,i32;
281(MapOverlap_Data)__receiver)
282        }
283    }
284    #[doc = "`set_Turn(i32)` overload"]
285    fn set_turn(self, value: impl ::core::convert::Into<i32>) -> () {
286        unsafe {
287            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288            ::unity::il2cpp_call!((::unity::module_base()+0x218bb70usize)as*mut u8,();
289(MapOverlap_Data)__receiver,(i32)::core::convert::Into::into(value))
290        }
291    }
292    #[doc = "`get_Phase()` overload"]
293    fn get_phase(self) -> crate::app::force::Force_Type {
294        unsafe {
295            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296            ::unity::il2cpp_call!((::unity::module_base()+0x218bb80usize)as*mut u8,crate::app::force::Force_Type;
297(MapOverlap_Data)__receiver)
298        }
299    }
300    #[doc = "`set_Phase(crate::app::force::Force_Type)` overload"]
301    fn set_phase(self, value: impl ::core::convert::Into<crate::app::force::Force_Type>) -> () {
302        unsafe {
303            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304            ::unity::il2cpp_call!((::unity::module_base()+0x218bb90usize)as*mut u8,();
305(MapOverlap_Data)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(value))
306        }
307    }
308    #[doc = "`get_Effect()` overload"]
309    fn get_effect(self) -> crate::app::resourceobject::ResourceObject {
310        unsafe {
311            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312            ::unity::il2cpp_call!((::unity::module_base()+0x218bba0usize)as*mut u8,crate::app::resourceobject::ResourceObject;
313(MapOverlap_Data)__receiver)
314        }
315    }
316    #[doc = "`set_Effect(crate::app::resourceobject::ResourceObject)` overload"]
317    fn set_effect(self, value: impl ::core::convert::Into<crate::app::resourceobject::ResourceObject>) -> () {
318        unsafe {
319            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320            ::unity::il2cpp_call!((::unity::module_base()+0x218bbb0usize)as*mut u8,();
321(MapOverlap_Data)__receiver,(crate::app::resourceobject::ResourceObject)::core::convert::Into::into(value))
322        }
323    }
324    #[doc = "`get_Terrain()` overload"]
325    fn get_terrain(self) -> crate::app::terraindata_2::TerrainData_2 {
326        unsafe {
327            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328            ::unity::il2cpp_call!((::unity::module_base()+0x218bbc0usize)as*mut u8,crate::app::terraindata_2::TerrainData_2;
329(MapOverlap_Data)__receiver)
330        }
331    }
332    #[doc = "`get_Age()` overload"]
333    fn get_age(self) -> i32 {
334        unsafe {
335            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
336            ::unity::il2cpp_call!((::unity::module_base()+0x218bc50usize)as*mut u8,i32;
337(MapOverlap_Data)__receiver)
338        }
339    }
340    #[doc = "`get_MaxHp()` overload"]
341    fn get_max_hp(self) -> i32 {
342        unsafe {
343            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344            ::unity::il2cpp_call!((::unity::module_base()+0x218bcf0usize)as*mut u8,i32;
345(MapOverlap_Data)__receiver)
346        }
347    }
348    #[doc = "`IsSight()` overload"]
349    fn is_sight(self) -> bool {
350        unsafe {
351            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
352            ::unity::il2cpp_call!((::unity::module_base()+0x218bf20usize)as*mut u8,bool;
353(MapOverlap_Data)__receiver)
354        }
355    }
356    #[doc = "`CanBreakable()` overload"]
357    fn can_breakable(self) -> bool {
358        unsafe {
359            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
360            ::unity::il2cpp_call!((::unity::module_base()+0x218bfc0usize)as*mut u8,bool;
361(MapOverlap_Data)__receiver)
362        }
363    }
364    #[doc = "`CanBreakable(crate::app::unit::Unit)` overload"]
365    fn can_breakable_2(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
366        unsafe {
367            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368            ::unity::il2cpp_call!((::unity::module_base()+0x218bfd0usize)as*mut u8,bool;
369(MapOverlap_Data)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
370        }
371    }
372    #[doc = "`CanBreakable(crate::app::force::Force_Type)` overload"]
373    fn can_breakable_3(self, force: impl ::core::convert::Into<crate::app::force::Force_Type>) -> bool {
374        unsafe {
375            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376            ::unity::il2cpp_call!((::unity::module_base()+0x218c000usize)as*mut u8,bool;
377(MapOverlap_Data)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force))
378        }
379    }
380    #[doc = "`get_Sight()` overload"]
381    fn get_sight(self) -> i32 {
382        unsafe {
383            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384            ::unity::il2cpp_call!((::unity::module_base()+0x218c100usize)as*mut u8,i32;
385(MapOverlap_Data)__receiver)
386        }
387    }
388    #[doc = "`GetPosition()` overload"]
389    fn get_position(self) -> crate::unity_engine::vector3::Vector3 {
390        unsafe {
391            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392            ::unity::il2cpp_call!((::unity::module_base()+0x218c200usize)as*mut u8,crate::unity_engine::vector3::Vector3;
393(MapOverlap_Data)__receiver)
394        }
395    }
396    #[doc = "`GetScale()` overload"]
397    fn get_scale(self) -> f32 {
398        unsafe {
399            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
400            ::unity::il2cpp_call!((::unity::module_base()+0x218c280usize)as*mut u8,f32;
401(MapOverlap_Data)__receiver)
402        }
403    }
404    #[doc = "`CreateEffect()` overload"]
405    fn create_effect(self) -> () {
406        unsafe {
407            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
408            ::unity::il2cpp_call!((::unity::module_base()+0x218c330usize)as*mut u8,();
409(MapOverlap_Data)__receiver)
410        }
411    }
412    #[doc = "`UpdateEffect()` overload"]
413    fn update_effect(self) -> () {
414        unsafe {
415            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
416            ::unity::il2cpp_call!((::unity::module_base()+0x218c620usize)as*mut u8,();
417(MapOverlap_Data)__receiver)
418        }
419    }
420    #[doc = "`DeleteEffect()` overload"]
421    fn delete_effect(self) -> () {
422        unsafe {
423            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
424            ::unity::il2cpp_call!((::unity::module_base()+0x218c7b0usize)as*mut u8,();
425(MapOverlap_Data)__receiver)
426        }
427    }
428    #[doc = "`.ctor()` overload"]
429    fn ctor(self) -> () {
430        unsafe {
431            let __receiver = <MapOverlap_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
432            ::unity::il2cpp_call!((::unity::module_base()+0x218c860usize)as*mut u8,();
433(MapOverlap_Data)__receiver)
434        }
435    }
436}
437
438#[cfg(feature = "app-mapoverlap")]
439impl<__T: IMapOverlap_Data> IMapOverlap_DataMethods for __T {}
440
441#[cfg(feature = "app-mapoverlap")]
442impl MapOverlap_Data {
443    pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
444        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
445    }
446
447    pub fn set_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
448        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
449    }
450
451    pub fn get_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
452        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
453    }
454
455    pub fn set_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
456        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
457    }
458
459    pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
460        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
461    }
462
463    pub fn set_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
464        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
465    }
466
467    pub fn get_hp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
468        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
469    }
470
471    pub fn set_hp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
472        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
473    }
474
475    pub fn get_life_method_info() -> &'static ::unity::il2cpp::MethodInfo {
476        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
477    }
478
479    pub fn set_life_method_info() -> &'static ::unity::il2cpp::MethodInfo {
480        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
481    }
482
483    pub fn get_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
484        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
485    }
486
487    pub fn set_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
488        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
489    }
490
491    pub fn get_phase_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
493    }
494
495    pub fn set_phase_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
497    }
498
499    pub fn get_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
501    }
502
503    pub fn set_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
505    }
506
507    pub fn get_terrain_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
509    }
510
511    pub fn get_age_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
513    }
514
515    pub fn get_max_hp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
517    }
518
519    pub fn is_sight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
521    }
522
523    pub fn can_breakable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
524        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
525    }
526
527    pub fn can_breakable_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
528        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
529    }
530
531    pub fn can_breakable_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
532        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
533    }
534
535    pub fn get_sight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
536        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
537    }
538
539    pub fn get_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
540        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
541    }
542
543    pub fn get_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
544        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
545    }
546
547    pub fn create_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
548        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
549    }
550
551    pub fn update_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
552        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
553    }
554
555    pub fn delete_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
556        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
557    }
558
559    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
560        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
561    }
562}
563
564#[cfg(feature = "app-mapoverlap")]
565impl MapOverlap_Data {
566    #[doc = "`.ctor()` — no args"]
567    pub fn new() -> Self {
568        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
569            panic!(
570                "{}
571::{}
572 failed to instantiate",
573                ::core::stringify!(MapOverlap_Data),
574                ::core::stringify!(new),
575            )
576        });
577        <Self as IMapOverlap_DataMethods>::ctor(this);
578        this
579    }
580}
581
582#[cfg(feature = "app-mapoverlap")]
583impl MapOverlap {
584    #[doc = "`Get(i32, i32)` overload"]
585    pub fn get(x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> i32 {
586        unsafe {
587            ::unity::il2cpp_call!((::unity::module_base()+0x1dfd860usize)as*mut u8,i32;
588(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
589        }
590    }
591
592    #[doc = "`GetCount()` overload"]
593    pub fn get_count() -> i32 {
594        unsafe {
595            ::unity::il2cpp_call!((::unity::module_base()+0x1dfd930usize)as*mut u8,i32;
596            )
597        }
598    }
599
600    #[doc = "`GetTerrain(i32)` overload"]
601    pub fn get_terrain(i: impl ::core::convert::Into<i32>) -> crate::app::terraindata_2::TerrainData_2 {
602        unsafe {
603            ::unity::il2cpp_call!((::unity::module_base()+0x1dfd9b0usize)as*mut u8,crate::app::terraindata_2::TerrainData_2;
604(i32)::core::convert::Into::into(i))
605        }
606    }
607
608    #[doc = "`GetTerrain(i32, i32)` overload"]
609    pub fn get_terrain_2(x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> crate::app::terraindata_2::TerrainData_2 {
610        unsafe {
611            ::unity::il2cpp_call!((::unity::module_base()+0x1dfda90usize)as*mut u8,crate::app::terraindata_2::TerrainData_2;
612(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
613        }
614    }
615
616    #[doc = "`GetX(i32)` overload"]
617    pub fn get_x(i: impl ::core::convert::Into<i32>) -> i32 {
618        unsafe {
619            ::unity::il2cpp_call!((::unity::module_base()+0x1dfdba0usize)as*mut u8,i32;
620(i32)::core::convert::Into::into(i))
621        }
622    }
623
624    #[doc = "`GetZ(i32)` overload"]
625    pub fn get_z(i: impl ::core::convert::Into<i32>) -> i32 {
626        unsafe {
627            ::unity::il2cpp_call!((::unity::module_base()+0x1dfdc40usize)as*mut u8,i32;
628(i32)::core::convert::Into::into(i))
629        }
630    }
631
632    #[doc = "`GetData(i32)` overload"]
633    pub fn get_data(i: impl ::core::convert::Into<i32>) -> crate::app::mapoverlap::MapOverlap_Data {
634        unsafe {
635            ::unity::il2cpp_call!((::unity::module_base()+0x1dfdce0usize)as*mut u8,crate::app::mapoverlap::MapOverlap_Data;
636(i32)::core::convert::Into::into(i))
637        }
638    }
639
640    #[doc = "`GetData(i32, i32)` overload"]
641    pub fn get_data_2(x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> crate::app::mapoverlap::MapOverlap_Data {
642        unsafe {
643            ::unity::il2cpp_call!((::unity::module_base()+0x1dea110usize)as*mut u8,crate::app::mapoverlap::MapOverlap_Data;
644(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
645        }
646    }
647
648    #[doc = "`GetMoveCost(i32, i32)` overload"]
649    pub fn get_move_cost(x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> i32 {
650        unsafe {
651            ::unity::il2cpp_call!((::unity::module_base()+0x1dfdd70usize)as*mut u8,i32;
652(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
653        }
654    }
655
656    #[doc = "`GetFlyCost(i32, i32)` overload"]
657    pub fn get_fly_cost(x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> i32 {
658        unsafe {
659            ::unity::il2cpp_call!((::unity::module_base()+0x1dfdd90usize)as*mut u8,i32;
660(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
661        }
662    }
663
664    #[doc = "`Set(i32, i32, i32, i32, crate::app::force::Force_Type)` overload"]
665    pub fn set(
666        x: impl ::core::convert::Into<i32>,
667        z: impl ::core::convert::Into<i32>,
668        index: impl ::core::convert::Into<i32>,
669        turn: impl ::core::convert::Into<i32>,
670        phase: impl ::core::convert::Into<crate::app::force::Force_Type>,
671    ) -> bool {
672        unsafe {
673            ::unity::il2cpp_call!((::unity::module_base()+0x1dfddb0usize)as*mut u8,bool;
674(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(index),(i32)::core::convert::Into::into(turn),(crate::app::force::Force_Type)::core::convert::Into::into(phase))
675        }
676    }
677
678    #[doc = "`Set(i32, i32, ::unity::Il2CppString, i32, crate::app::force::Force_Type)` overload"]
679    pub fn set_2(
680        x: impl ::core::convert::Into<i32>,
681        z: impl ::core::convert::Into<i32>,
682        tid: impl ::core::convert::Into<::unity::Il2CppString>,
683        turn: impl ::core::convert::Into<i32>,
684        phase: impl ::core::convert::Into<crate::app::force::Force_Type>,
685    ) -> bool {
686        unsafe {
687            ::unity::il2cpp_call!((::unity::module_base()+0x1decd40usize)as*mut u8,bool;
688(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(::unity::Il2CppString)::core::convert::Into::into(tid),(i32)::core::convert::Into::into(turn),(crate::app::force::Force_Type)::core::convert::Into::into(phase))
689        }
690    }
691
692    #[doc = "`Set(i32, i32, crate::app::terraindata_2::TerrainData_2, i32, crate::app::force::Force_Type)` overload"]
693    pub fn set_3(
694        x: impl ::core::convert::Into<i32>,
695        z: impl ::core::convert::Into<i32>,
696        terrain: impl ::core::convert::Into<crate::app::terraindata_2::TerrainData_2>,
697        turn: impl ::core::convert::Into<i32>,
698        phase: impl ::core::convert::Into<crate::app::force::Force_Type>,
699    ) -> bool {
700        unsafe {
701            ::unity::il2cpp_call!((::unity::module_base()+0x1dfdee0usize)as*mut u8,bool;
702(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::terraindata_2::TerrainData_2)::core::convert::Into::into(terrain),(i32)::core::convert::Into::into(turn),(crate::app::force::Force_Type)::core::convert::Into::into(phase))
703        }
704    }
705
706    #[doc = "`Remove(i32, i32)` overload"]
707    pub fn remove(x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
708        unsafe {
709            ::unity::il2cpp_call!((::unity::module_base()+0x1dfdfb0usize)as*mut u8,bool;
710(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
711        }
712    }
713
714    #[doc = "`Remove(i32)` overload"]
715    pub fn remove_2(i: impl ::core::convert::Into<i32>) -> bool {
716        unsafe {
717            ::unity::il2cpp_call!((::unity::module_base()+0x1dfe040usize)as*mut u8,bool;
718(i32)::core::convert::Into::into(i))
719        }
720    }
721
722    #[doc = "`Clear()` overload"]
723    pub fn clear() -> () {
724        unsafe {
725            ::unity::il2cpp_call!((::unity::module_base()+0x1dfe160usize)as*mut u8,();
726            )
727        }
728    }
729
730    #[doc = "`CreateEffect()` overload"]
731    pub fn create_effect() -> () {
732        unsafe {
733            ::unity::il2cpp_call!((::unity::module_base()+0x1dfe200usize)as*mut u8,();
734            )
735        }
736    }
737
738    #[doc = "`UpdateEffect()` overload"]
739    pub fn update_effect() -> () {
740        unsafe {
741            ::unity::il2cpp_call!((::unity::module_base()+0x1dfe280usize)as*mut u8,();
742            )
743        }
744    }
745
746    #[doc = "`CanCreation(crate::app::unit::Unit, i32, i32, ::unity::Il2CppString)` overload"]
747    pub fn can_creation(
748        attacker: impl ::core::convert::Into<crate::app::unit::Unit>,
749        x: impl ::core::convert::Into<i32>,
750        z: impl ::core::convert::Into<i32>,
751        tid: impl ::core::convert::Into<::unity::Il2CppString>,
752    ) -> bool {
753        unsafe {
754            ::unity::il2cpp_call!((::unity::module_base()+0x1decc90usize)as*mut u8,bool;
755(crate::app::unit::Unit)::core::convert::Into::into(attacker),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(::unity::Il2CppString)::core::convert::Into::into(tid))
756        }
757    }
758
759    #[doc = "`CanCreation(crate::app::unit::Unit, i32, i32, i32)` overload"]
760    pub fn can_creation_2(
761        attacker: impl ::core::convert::Into<crate::app::unit::Unit>,
762        x: impl ::core::convert::Into<i32>,
763        z: impl ::core::convert::Into<i32>,
764        index: impl ::core::convert::Into<i32>,
765    ) -> bool {
766        unsafe {
767            ::unity::il2cpp_call!((::unity::module_base()+0x1dfe680usize)as*mut u8,bool;
768(crate::app::unit::Unit)::core::convert::Into::into(attacker),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(index))
769        }
770    }
771
772    #[doc = "`CanCreation(crate::app::unit::Unit, i32, i32, crate::app::terraindata_2::TerrainData_2)` overload"]
773    pub fn can_creation_3(
774        attacker: impl ::core::convert::Into<crate::app::unit::Unit>,
775        x: impl ::core::convert::Into<i32>,
776        z: impl ::core::convert::Into<i32>,
777        data: impl ::core::convert::Into<crate::app::terraindata_2::TerrainData_2>,
778    ) -> bool {
779        unsafe {
780            ::unity::il2cpp_call!((::unity::module_base()+0x1dfe300usize)as*mut u8,bool;
781(crate::app::unit::Unit)::core::convert::Into::into(attacker),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::terraindata_2::TerrainData_2)::core::convert::Into::into(data))
782        }
783    }
784
785    #[doc = "`CanRemove(crate::app::unit::Unit, i32, i32)` overload"]
786    pub fn can_remove(
787        attacker: impl ::core::convert::Into<crate::app::unit::Unit>,
788        x: impl ::core::convert::Into<i32>,
789        z: impl ::core::convert::Into<i32>,
790    ) -> bool {
791        unsafe {
792            ::unity::il2cpp_call!((::unity::module_base()+0x1dfe730usize)as*mut u8,bool;
793(crate::app::unit::Unit)::core::convert::Into::into(attacker),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
794        }
795    }
796
797    #[doc = "`FindBreakable(i32, i32)` overload"]
798    pub fn find_breakable(x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> crate::app::mapoverlap::MapOverlap_Data {
799        unsafe {
800            ::unity::il2cpp_call!((::unity::module_base()+0x1dfe830usize)as*mut u8,crate::app::mapoverlap::MapOverlap_Data;
801(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
802        }
803    }
804}
805
806#[cfg(feature = "app-mapoverlap")]
807pub trait IMapOverlapMethods: IMapOverlap {
808    #[doc = "`SetImpl(i32, i32, crate::app::terraindata_2::TerrainData_2, i32, crate::app::force::Force_Type, bool)` overload"]
809    fn set_impl(
810        self,
811        x: impl ::core::convert::Into<i32>,
812        z: impl ::core::convert::Into<i32>,
813        terrain: impl ::core::convert::Into<crate::app::terraindata_2::TerrainData_2>,
814        turn: impl ::core::convert::Into<i32>,
815        phase: impl ::core::convert::Into<crate::app::force::Force_Type>,
816        create: impl ::core::convert::Into<bool>,
817    ) -> crate::app::mapoverlap::MapOverlap_Data {
818        unsafe {
819            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
820            ::unity::il2cpp_call!((::unity::module_base()+0x1dfd310usize)as*mut u8,crate::app::mapoverlap::MapOverlap_Data;
821(MapOverlap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::terraindata_2::TerrainData_2)::core::convert::Into::into(terrain),(i32)::core::convert::Into::into(turn),(crate::app::force::Force_Type)::core::convert::Into::into(phase),(bool)::core::convert::Into::into(create))
822        }
823    }
824    #[doc = "`RemoveImpl(i32, i32)` overload"]
825    fn remove_impl(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
826        unsafe {
827            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
828            ::unity::il2cpp_call!((::unity::module_base()+0x1dfd660usize)as*mut u8,bool;
829(MapOverlap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
830        }
831    }
832    #[doc = "`RemoveImpl(i32)` overload"]
833    fn remove_impl_2(self, i: impl ::core::convert::Into<i32>) -> bool {
834        unsafe {
835            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
836            ::unity::il2cpp_call!((::unity::module_base()+0x1dfd730usize)as*mut u8,bool;
837(MapOverlap)__receiver,(i32)::core::convert::Into::into(i))
838        }
839    }
840    #[doc = "`ClearImpl()` overload"]
841    fn clear_impl(self) -> () {
842        unsafe {
843            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
844            ::unity::il2cpp_call!((::unity::module_base()+0x1dfd800usize)as*mut u8,();
845(MapOverlap)__receiver)
846        }
847    }
848    #[doc = "`CreateEffectImpl()` overload"]
849    fn create_effect_impl(self) -> () {
850        unsafe {
851            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
852            ::unity::il2cpp_call!((::unity::module_base()+0x1dfd840usize)as*mut u8,();
853(MapOverlap)__receiver)
854        }
855    }
856    #[doc = "`UpdateEffectImpl()` overload"]
857    fn update_effect_impl(self) -> () {
858        unsafe {
859            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
860            ::unity::il2cpp_call!((::unity::module_base()+0x1dfd850usize)as*mut u8,();
861(MapOverlap)__receiver)
862        }
863    }
864    #[doc = "`get_Version()` overload"]
865    fn get_version(self) -> i32 {
866        unsafe {
867            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
868            {
869                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
870                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
871                    panic!(
872                        "unity: virtual slot {}
873 out of range (vtable len {}
874) on the runtime class behind {}
875 (method `{}
876`)",
877                        4usize,
878                        __vt.len(),
879                        <MapOverlap as ::unity::ClassIdentity>::NAME,
880                        "get_Version",
881                    )
882                });
883                let __inner: extern "C" fn(MapOverlap, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
884                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
885                __inner(__receiver, __mi)
886            }
887        }
888    }
889    #[doc = "`OnSerialize(crate::app::stream_2::Stream_2)` overload"]
890    fn on_serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
891        unsafe {
892            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
893            {
894                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
895                let __vi = *__vt.get(11usize).unwrap_or_else(|| {
896                    panic!(
897                        "unity: virtual slot {}
898 out of range (vtable len {}
899) on the runtime class behind {}
900 (method `{}
901`)",
902                        11usize,
903                        __vt.len(),
904                        <MapOverlap as ::unity::ClassIdentity>::NAME,
905                        "OnSerialize",
906                    )
907                });
908                let __inner: extern "C" fn(MapOverlap, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
909                    ::core::mem::transmute(__vi.method_ptr);
910                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
911                __inner(__receiver, ::core::convert::Into::into(stream), __mi)
912            }
913        }
914    }
915    #[doc = "`OnDeserialize(crate::app::stream_2::Stream_2, i32)` overload"]
916    fn on_deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>, version: impl ::core::convert::Into<i32>) -> () {
917        unsafe {
918            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
919            {
920                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
921                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
922                    panic!(
923                        "unity: virtual slot {}
924 out of range (vtable len {}
925) on the runtime class behind {}
926 (method `{}
927`)",
928                        12usize,
929                        __vt.len(),
930                        <MapOverlap as ::unity::ClassIdentity>::NAME,
931                        "OnDeserialize",
932                    )
933                });
934                let __inner: extern "C" fn(MapOverlap, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
935                    ::core::mem::transmute(__vi.method_ptr);
936                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
937                __inner(
938                    __receiver,
939                    ::core::convert::Into::into(stream),
940                    ::core::convert::Into::into(version),
941                    __mi,
942                )
943            }
944        }
945    }
946    #[doc = "`.ctor()` overload"]
947    fn ctor(self) -> () {
948        unsafe {
949            let __receiver = <MapOverlap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
950            ::unity::il2cpp_call!((::unity::module_base()+0x1dff1e0usize)as*mut u8,();
951(MapOverlap)__receiver)
952        }
953    }
954}
955
956#[cfg(feature = "app-mapoverlap")]
957impl<__T: IMapOverlap> IMapOverlapMethods for __T {}
958
959#[cfg(feature = "app-mapoverlap")]
960impl MapOverlap {
961    pub fn set_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
962        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
963    }
964
965    pub fn remove_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
966        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
967    }
968
969    pub fn remove_impl_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
970        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
971    }
972
973    pub fn clear_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
974        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
975    }
976
977    pub fn create_effect_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
978        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
979    }
980
981    pub fn update_effect_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
982        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
983    }
984
985    pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
986        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
987    }
988
989    pub fn get_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
990        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
991    }
992
993    pub fn get_terrain_method_info() -> &'static ::unity::il2cpp::MethodInfo {
994        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
995    }
996
997    pub fn get_terrain_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
998        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
999    }
1000
1001    pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1002        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1003    }
1004
1005    pub fn get_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1006        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1007    }
1008
1009    pub fn get_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1010        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1011    }
1012
1013    pub fn get_data_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1014        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1015    }
1016
1017    pub fn get_move_cost_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1018        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1019    }
1020
1021    pub fn get_fly_cost_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1022        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1023    }
1024
1025    pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1026        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1027    }
1028
1029    pub fn set_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1030        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1031    }
1032
1033    pub fn set_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1034        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1035    }
1036
1037    pub fn remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1038        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1039    }
1040
1041    pub fn remove_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1042        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1043    }
1044
1045    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1046        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1047    }
1048
1049    pub fn create_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1050        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1051    }
1052
1053    pub fn update_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1054        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1055    }
1056
1057    pub fn can_creation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1058        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1059    }
1060
1061    pub fn can_creation_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1062        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1063    }
1064
1065    pub fn can_creation_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1066        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1067    }
1068
1069    pub fn can_remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1070        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1071    }
1072
1073    pub fn find_breakable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1074        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1075    }
1076
1077    pub fn get_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1078        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1079    }
1080
1081    pub fn on_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1082        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1083    }
1084
1085    pub fn on_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1086        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1087    }
1088
1089    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1090        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1091    }
1092}
1093
1094#[cfg(feature = "app-mapoverlap")]
1095impl MapOverlap {
1096    #[doc = "Direct (non-virtual) call to `MapOverlap`'s own `get_Version`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1097    pub unsafe fn get_version(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
1098        let __mi = Self::get_version_method_info();
1099        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
1100        __inner(this.into(), ::core::option::Option::None)
1101    }
1102
1103    #[doc = "Direct (non-virtual) call to `MapOverlap`'s own `OnSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1104    pub unsafe fn on_serialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2) -> () {
1105        let __mi = Self::on_serialize_method_info();
1106        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
1107            ::core::mem::transmute(__mi.method_ptr);
1108        __inner(this.into(), stream, ::core::option::Option::None)
1109    }
1110
1111    #[doc = "Direct (non-virtual) call to `MapOverlap`'s own `OnDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1112    pub unsafe fn on_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2, version: i32) -> () {
1113        let __mi = Self::on_deserialize_method_info();
1114        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
1115            ::core::mem::transmute(__mi.method_ptr);
1116        __inner(this.into(), stream, version, ::core::option::Option::None)
1117    }
1118}
1119
1120#[cfg(feature = "app-mapoverlap")]
1121impl MapOverlap {
1122    #[doc = "`.ctor()` — no args"]
1123    pub fn new() -> Self {
1124        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1125            panic!(
1126                "{}
1127::{}
1128 failed to instantiate",
1129                ::core::stringify!(MapOverlap),
1130                ::core::stringify!(new),
1131            )
1132        });
1133        <Self as IMapOverlapMethods>::ctor(this);
1134        this
1135    }
1136}
1137
1138#[cfg(feature = "app-mapoverlap")]
1139#[doc(hidden)]
1140pub mod prelude {
1141    pub use super::{
1142        IMapOverlap, IMapOverlapMethods, IMapOverlap_Data, IMapOverlap_DataMethods, IMapOverlap_List, IMapOverlap_ListMethods, MapOverlap,
1143        MapOverlap_Data, MapOverlap_List,
1144    };
1145    #[cfg(feature = "app-singletonclass_1")]
1146    pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
1147    #[cfg(feature = "system-object")]
1148    pub use crate::system::object::IObjectMethods;
1149    pub use crate::{app::singletonclass_1::ISingletonClass_1, system::object::IObject};
1150}