Skip to main content

engage/generated/app/
maplayer.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-maplayer-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            collections::generic::list_1::{IList_1, List_1},
12            object::{IObject, Object},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/maplayer/MapLayer.md"))]
17    #[::unity::class(namespace = "App", name = "MapLayer")]
18    #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::maplayer::MapLayer>)]
19    pub struct MapLayer {
20        #[offset(32)]
21        #[rename(name = "m_List")]
22        pub m_list: crate::app::maplayer::MapLayer_List,
23    }
24
25    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/maplayer/MapLayer_Data.md"))]
26    #[::unity::class(namespace = "App", name = "MapLayer.Data")]
27    #[parent(crate::system::object::Object)]
28    pub struct MapLayer_Data {}
29
30    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/maplayer/MapLayer_List.md"))]
31    #[::unity::class(namespace = "App", name = "MapLayer.List")]
32    #[parent(crate::system::collections::generic::list_1::List_1<crate::app::maplayer::MapLayer_Data>)]
33    pub struct MapLayer_List {}
34}
35
36#[cfg(feature = "app-maplayer-types")]
37pub use __types::*;
38
39#[cfg(feature = "app-maplayer")]
40pub trait IMapLayerMethods: IMapLayer {
41    #[doc = "`get_Count()` overload"]
42    fn get_count(self) -> i32 {
43        unsafe {
44            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
45            ::unity::il2cpp_call!((::unity::module_base()+0x1df3200usize)as*mut u8,i32;
46(MapLayer)__receiver)
47        }
48    }
49    #[doc = "`get_Item(i32)` overload"]
50    fn get_item(self, i: impl ::core::convert::Into<i32>) -> crate::app::maplayer::MapLayer_Data {
51        unsafe {
52            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
53            ::unity::il2cpp_call!((::unity::module_base()+0x1df3250usize)as*mut u8,crate::app::maplayer::MapLayer_Data;
54(MapLayer)__receiver,(i32)::core::convert::Into::into(i))
55        }
56    }
57    #[doc = "`Clear()` overload"]
58    fn clear(self) -> () {
59        unsafe {
60            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
61            ::unity::il2cpp_call!((::unity::module_base()+0x1df32c0usize)as*mut u8,();
62(MapLayer)__receiver)
63        }
64    }
65    #[doc = "`Add(crate::app::maplayer::MapLayer_Data)` overload"]
66    fn add(self, data: impl ::core::convert::Into<crate::app::maplayer::MapLayer_Data>) -> () {
67        unsafe {
68            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
69            ::unity::il2cpp_call!((::unity::module_base()+0x1df3320usize)as*mut u8,();
70(MapLayer)__receiver,(crate::app::maplayer::MapLayer_Data)::core::convert::Into::into(data))
71        }
72    }
73    #[doc = "`Add(i32, i32, i32, i32, i32, ::unity::Il2CppString, bool)` overload"]
74    fn add_2(
75        self,
76        x: impl ::core::convert::Into<i32>,
77        z: impl ::core::convert::Into<i32>,
78        w: impl ::core::convert::Into<i32>,
79        h: impl ::core::convert::Into<i32>,
80        group: impl ::core::convert::Into<i32>,
81        tid: impl ::core::convert::Into<::unity::Il2CppString>,
82        enable: impl ::core::convert::Into<bool>,
83    ) -> () {
84        unsafe {
85            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
86            ::unity::il2cpp_call!((::unity::module_base()+0x1df3380usize)as*mut u8,();
87(MapLayer)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(w),(i32)::core::convert::Into::into(h),(i32)::core::convert::Into::into(group),(::unity::Il2CppString)::core::convert::Into::into(tid),(bool)::core::convert::Into::into(enable))
88        }
89    }
90    #[doc = "`SetEnable(i32, i32, bool)` overload"]
91    fn set_enable(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>, enable: impl ::core::convert::Into<bool>) -> () {
92        unsafe {
93            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
94            ::unity::il2cpp_call!((::unity::module_base()+0x1df34c0usize)as*mut u8,();
95(MapLayer)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(bool)::core::convert::Into::into(enable))
96        }
97    }
98    #[doc = "`SetEnable(i32, bool)` overload"]
99    fn set_enable_2(self, group: impl ::core::convert::Into<i32>, enable: impl ::core::convert::Into<bool>) -> () {
100        unsafe {
101            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
102            ::unity::il2cpp_call!((::unity::module_base()+0x1df3660usize)as*mut u8,();
103(MapLayer)__receiver,(i32)::core::convert::Into::into(group),(bool)::core::convert::Into::into(enable))
104        }
105    }
106    #[doc = "`Find(i32, i32)` overload"]
107    fn find(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> crate::app::maplayer::MapLayer_Data {
108        unsafe {
109            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110            ::unity::il2cpp_call!((::unity::module_base()+0x1de82d0usize)as*mut u8,crate::app::maplayer::MapLayer_Data;
111(MapLayer)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
112        }
113    }
114    #[doc = "`get_Version()` overload"]
115    fn get_version(self) -> i32 {
116        unsafe {
117            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            {
119                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
120                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
121                    panic!(
122                        "unity: virtual slot {}
123 out of range (vtable len {}
124) on the runtime class behind {}
125 (method `{}
126`)",
127                        4usize,
128                        __vt.len(),
129                        <MapLayer as ::unity::ClassIdentity>::NAME,
130                        "get_Version",
131                    )
132                });
133                let __inner: extern "C" fn(MapLayer, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
134                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
135                __inner(__receiver, __mi)
136            }
137        }
138    }
139    #[doc = "`OnSerialize(crate::app::stream_2::Stream_2)` overload"]
140    fn on_serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
141        unsafe {
142            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            {
144                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
145                let __vi = *__vt.get(11usize).unwrap_or_else(|| {
146                    panic!(
147                        "unity: virtual slot {}
148 out of range (vtable len {}
149) on the runtime class behind {}
150 (method `{}
151`)",
152                        11usize,
153                        __vt.len(),
154                        <MapLayer as ::unity::ClassIdentity>::NAME,
155                        "OnSerialize",
156                    )
157                });
158                let __inner: extern "C" fn(MapLayer, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
159                    ::core::mem::transmute(__vi.method_ptr);
160                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
161                __inner(__receiver, ::core::convert::Into::into(stream), __mi)
162            }
163        }
164    }
165    #[doc = "`OnDeserialize(crate::app::stream_2::Stream_2, i32)` overload"]
166    fn on_deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>, version: impl ::core::convert::Into<i32>) -> () {
167        unsafe {
168            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169            {
170                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
171                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
172                    panic!(
173                        "unity: virtual slot {}
174 out of range (vtable len {}
175) on the runtime class behind {}
176 (method `{}
177`)",
178                        12usize,
179                        __vt.len(),
180                        <MapLayer as ::unity::ClassIdentity>::NAME,
181                        "OnDeserialize",
182                    )
183                });
184                let __inner: extern "C" fn(MapLayer, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
185                    ::core::mem::transmute(__vi.method_ptr);
186                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
187                __inner(
188                    __receiver,
189                    ::core::convert::Into::into(stream),
190                    ::core::convert::Into::into(version),
191                    __mi,
192                )
193            }
194        }
195    }
196    #[doc = "`.ctor()` overload"]
197    fn ctor(self) -> () {
198        unsafe {
199            let __receiver = <MapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200            ::unity::il2cpp_call!((::unity::module_base()+0x1df3d90usize)as*mut u8,();
201(MapLayer)__receiver)
202        }
203    }
204}
205
206#[cfg(feature = "app-maplayer")]
207impl<__T: IMapLayer> IMapLayerMethods for __T {}
208
209#[cfg(feature = "app-maplayer")]
210impl MapLayer {
211    pub fn get_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
212        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
213    }
214
215    pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
217    }
218
219    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
221    }
222
223    pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
225    }
226
227    pub fn add_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
229    }
230
231    pub fn set_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
233    }
234
235    pub fn set_enable_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
236        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
237    }
238
239    pub fn find_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
241    }
242
243    pub fn get_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
244        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
245    }
246
247    pub fn on_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
248        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
249    }
250
251    pub fn on_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
252        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
253    }
254
255    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
257    }
258}
259
260#[cfg(feature = "app-maplayer")]
261impl MapLayer {
262    #[doc = "Direct (non-virtual) call to `MapLayer`'s own `get_Version`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
263    pub unsafe fn get_version(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
264        let __mi = Self::get_version_method_info();
265        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
266        __inner(this.into(), ::core::option::Option::None)
267    }
268
269    #[doc = "Direct (non-virtual) call to `MapLayer`'s own `OnSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
270    pub unsafe fn on_serialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2) -> () {
271        let __mi = Self::on_serialize_method_info();
272        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
273            ::core::mem::transmute(__mi.method_ptr);
274        __inner(this.into(), stream, ::core::option::Option::None)
275    }
276
277    #[doc = "Direct (non-virtual) call to `MapLayer`'s own `OnDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
278    pub unsafe fn on_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2, version: i32) -> () {
279        let __mi = Self::on_deserialize_method_info();
280        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
281            ::core::mem::transmute(__mi.method_ptr);
282        __inner(this.into(), stream, version, ::core::option::Option::None)
283    }
284}
285
286#[cfg(feature = "app-maplayer")]
287impl MapLayer {
288    #[doc = "`.ctor()` — no args"]
289    pub fn new() -> Self {
290        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
291            panic!(
292                "{}
293::{}
294 failed to instantiate",
295                ::core::stringify!(MapLayer),
296                ::core::stringify!(new),
297            )
298        });
299        <Self as IMapLayerMethods>::ctor(this);
300        this
301    }
302}
303
304#[cfg(feature = "app-maplayer")]
305pub trait IMapLayer_DataMethods: IMapLayer_Data {
306    #[doc = "`get_X()` overload"]
307    fn get_x(self) -> i32 {
308        unsafe {
309            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
310            ::unity::il2cpp_call!((::unity::module_base()+0x21864a0usize)as*mut u8,i32;
311(MapLayer_Data)__receiver)
312        }
313    }
314    #[doc = "`set_X(i32)` overload"]
315    fn set_x(self, value: impl ::core::convert::Into<i32>) -> () {
316        unsafe {
317            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318            ::unity::il2cpp_call!((::unity::module_base()+0x21864b0usize)as*mut u8,();
319(MapLayer_Data)__receiver,(i32)::core::convert::Into::into(value))
320        }
321    }
322    #[doc = "`get_Z()` overload"]
323    fn get_z(self) -> i32 {
324        unsafe {
325            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326            ::unity::il2cpp_call!((::unity::module_base()+0x21864c0usize)as*mut u8,i32;
327(MapLayer_Data)__receiver)
328        }
329    }
330    #[doc = "`set_Z(i32)` overload"]
331    fn set_z(self, value: impl ::core::convert::Into<i32>) -> () {
332        unsafe {
333            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
334            ::unity::il2cpp_call!((::unity::module_base()+0x21864d0usize)as*mut u8,();
335(MapLayer_Data)__receiver,(i32)::core::convert::Into::into(value))
336        }
337    }
338    #[doc = "`get_W()` overload"]
339    fn get_w(self) -> i32 {
340        unsafe {
341            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342            ::unity::il2cpp_call!((::unity::module_base()+0x21864e0usize)as*mut u8,i32;
343(MapLayer_Data)__receiver)
344        }
345    }
346    #[doc = "`set_W(i32)` overload"]
347    fn set_w(self, value: impl ::core::convert::Into<i32>) -> () {
348        unsafe {
349            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350            ::unity::il2cpp_call!((::unity::module_base()+0x21864f0usize)as*mut u8,();
351(MapLayer_Data)__receiver,(i32)::core::convert::Into::into(value))
352        }
353    }
354    #[doc = "`get_H()` overload"]
355    fn get_h(self) -> i32 {
356        unsafe {
357            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
358            ::unity::il2cpp_call!((::unity::module_base()+0x2186500usize)as*mut u8,i32;
359(MapLayer_Data)__receiver)
360        }
361    }
362    #[doc = "`set_H(i32)` overload"]
363    fn set_h(self, value: impl ::core::convert::Into<i32>) -> () {
364        unsafe {
365            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
366            ::unity::il2cpp_call!((::unity::module_base()+0x2186510usize)as*mut u8,();
367(MapLayer_Data)__receiver,(i32)::core::convert::Into::into(value))
368        }
369    }
370    #[doc = "`get_Group()` overload"]
371    fn get_group(self) -> i32 {
372        unsafe {
373            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
374            ::unity::il2cpp_call!((::unity::module_base()+0x2186520usize)as*mut u8,i32;
375(MapLayer_Data)__receiver)
376        }
377    }
378    #[doc = "`set_Group(i32)` overload"]
379    fn set_group(self, value: impl ::core::convert::Into<i32>) -> () {
380        unsafe {
381            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
382            ::unity::il2cpp_call!((::unity::module_base()+0x2186530usize)as*mut u8,();
383(MapLayer_Data)__receiver,(i32)::core::convert::Into::into(value))
384        }
385    }
386    #[doc = "`get_Tid()` overload"]
387    fn get_tid(self) -> ::unity::Il2CppString {
388        unsafe {
389            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
390            ::unity::il2cpp_call!((::unity::module_base()+0x2186540usize)as*mut u8, ::unity::Il2CppString;
391(MapLayer_Data)__receiver)
392        }
393    }
394    #[doc = "`set_Tid(::unity::Il2CppString)` overload"]
395    fn set_tid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
396        unsafe {
397            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
398            ::unity::il2cpp_call!((::unity::module_base()+0x2186550usize)as*mut u8,();
399(MapLayer_Data)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
400        }
401    }
402    #[doc = "`get_Index()` overload"]
403    fn get_index(self) -> i32 {
404        unsafe {
405            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406            ::unity::il2cpp_call!((::unity::module_base()+0x2186560usize)as*mut u8,i32;
407(MapLayer_Data)__receiver)
408        }
409    }
410    #[doc = "`set_Index(i32)` overload"]
411    fn set_index(self, value: impl ::core::convert::Into<i32>) -> () {
412        unsafe {
413            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414            ::unity::il2cpp_call!((::unity::module_base()+0x2186570usize)as*mut u8,();
415(MapLayer_Data)__receiver,(i32)::core::convert::Into::into(value))
416        }
417    }
418    #[doc = "`get_Enable()` overload"]
419    fn get_enable(self) -> bool {
420        unsafe {
421            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422            ::unity::il2cpp_call!((::unity::module_base()+0x2186580usize)as*mut u8,bool;
423(MapLayer_Data)__receiver)
424        }
425    }
426    #[doc = "`set_Enable(bool)` overload"]
427    fn set_enable(self, value: impl ::core::convert::Into<bool>) -> () {
428        unsafe {
429            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430            ::unity::il2cpp_call!((::unity::module_base()+0x2186590usize)as*mut u8,();
431(MapLayer_Data)__receiver,(bool)::core::convert::Into::into(value))
432        }
433    }
434    #[doc = "`IsOutside(i32, i32)` overload"]
435    fn is_outside(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
436        unsafe {
437            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438            ::unity::il2cpp_call!((::unity::module_base()+0x21865a0usize)as*mut u8,bool;
439(MapLayer_Data)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
440        }
441    }
442    #[doc = "`IsInside(i32, i32)` overload"]
443    fn is_inside(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
444        unsafe {
445            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446            ::unity::il2cpp_call!((::unity::module_base()+0x21865f0usize)as*mut u8,bool;
447(MapLayer_Data)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
448        }
449    }
450    #[doc = "`IsConnect(crate::app::maplayer::MapLayer_Data)` overload"]
451    fn is_connect(self, data: impl ::core::convert::Into<crate::app::maplayer::MapLayer_Data>) -> bool {
452        unsafe {
453            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454            ::unity::il2cpp_call!((::unity::module_base()+0x2186640usize)as*mut u8,bool;
455(MapLayer_Data)__receiver,(crate::app::maplayer::MapLayer_Data)::core::convert::Into::into(data))
456        }
457    }
458    #[doc = "`GetTerrain()` overload"]
459    fn get_terrain(self) -> crate::app::terraindata_2::TerrainData_2 {
460        unsafe {
461            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
462            ::unity::il2cpp_call!((::unity::module_base()+0x2186720usize)as*mut u8,crate::app::terraindata_2::TerrainData_2;
463(MapLayer_Data)__receiver)
464        }
465    }
466    #[doc = "`IsRoof()` overload"]
467    fn is_roof(self) -> bool {
468        unsafe {
469            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470            ::unity::il2cpp_call!((::unity::module_base()+0x21867b0usize)as*mut u8,bool;
471(MapLayer_Data)__receiver)
472        }
473    }
474    #[doc = "`.ctor()` overload"]
475    fn ctor(self) -> () {
476        unsafe {
477            let __receiver = <MapLayer_Data as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478            ::unity::il2cpp_call!((::unity::module_base()+0x2186860usize)as*mut u8,();
479(MapLayer_Data)__receiver)
480        }
481    }
482}
483
484#[cfg(feature = "app-maplayer")]
485impl<__T: IMapLayer_Data> IMapLayer_DataMethods for __T {}
486
487#[cfg(feature = "app-maplayer")]
488impl MapLayer_Data {
489    pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
491    }
492
493    pub fn set_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
495    }
496
497    pub fn get_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
499    }
500
501    pub fn set_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
503    }
504
505    pub fn get_w_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
507    }
508
509    pub fn set_w_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
511    }
512
513    pub fn get_h_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
515    }
516
517    pub fn set_h_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
519    }
520
521    pub fn get_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
522        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
523    }
524
525    pub fn set_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
527    }
528
529    pub fn get_tid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
531    }
532
533    pub fn set_tid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
535    }
536
537    pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
539    }
540
541    pub fn set_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
542        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
543    }
544
545    pub fn get_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
546        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
547    }
548
549    pub fn set_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
550        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
551    }
552
553    pub fn is_outside_method_info() -> &'static ::unity::il2cpp::MethodInfo {
554        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
555    }
556
557    pub fn is_inside_method_info() -> &'static ::unity::il2cpp::MethodInfo {
558        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
559    }
560
561    pub fn is_connect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
562        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
563    }
564
565    pub fn get_terrain_method_info() -> &'static ::unity::il2cpp::MethodInfo {
566        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
567    }
568
569    pub fn is_roof_method_info() -> &'static ::unity::il2cpp::MethodInfo {
570        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
571    }
572
573    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
574        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
575    }
576}
577
578#[cfg(feature = "app-maplayer")]
579impl MapLayer_Data {
580    #[doc = "`.ctor()` — no args"]
581    pub fn new() -> Self {
582        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
583            panic!(
584                "{}
585::{}
586 failed to instantiate",
587                ::core::stringify!(MapLayer_Data),
588                ::core::stringify!(new),
589            )
590        });
591        <Self as IMapLayer_DataMethods>::ctor(this);
592        this
593    }
594}
595
596#[cfg(feature = "app-maplayer")]
597pub trait IMapLayer_ListMethods: IMapLayer_List {
598    #[doc = "`Exists(crate::app::maplayer::MapLayer_Data)` overload"]
599    fn exists(self, data: impl ::core::convert::Into<crate::app::maplayer::MapLayer_Data>) -> bool {
600        unsafe {
601            let __receiver = <MapLayer_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
602            ::unity::il2cpp_call!((::unity::module_base()+0x2186870usize)as*mut u8,bool;
603(MapLayer_List)__receiver,(crate::app::maplayer::MapLayer_Data)::core::convert::Into::into(data))
604        }
605    }
606    #[doc = "`IsConnect(crate::app::maplayer::MapLayer_Data)` overload"]
607    fn is_connect(self, data: impl ::core::convert::Into<crate::app::maplayer::MapLayer_Data>) -> bool {
608        unsafe {
609            let __receiver = <MapLayer_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
610            ::unity::il2cpp_call!((::unity::module_base()+0x2186920usize)as*mut u8,bool;
611(MapLayer_List)__receiver,(crate::app::maplayer::MapLayer_Data)::core::convert::Into::into(data))
612        }
613    }
614    #[doc = "`.ctor()` overload"]
615    fn ctor(self) -> () {
616        unsafe {
617            let __receiver = <MapLayer_List as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
618            ::unity::il2cpp_call!((::unity::module_base()+0x2186a80usize)as*mut u8,();
619(MapLayer_List)__receiver)
620        }
621    }
622}
623
624#[cfg(feature = "app-maplayer")]
625impl<__T: IMapLayer_List> IMapLayer_ListMethods for __T {}
626
627#[cfg(feature = "app-maplayer")]
628impl MapLayer_List {
629    pub fn exists_method_info() -> &'static ::unity::il2cpp::MethodInfo {
630        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
631    }
632
633    pub fn is_connect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
634        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
635    }
636
637    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
638        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
639    }
640}
641
642#[cfg(feature = "app-maplayer")]
643impl MapLayer_List {
644    #[doc = "`.ctor()` — no args"]
645    pub fn new() -> Self {
646        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
647            panic!(
648                "{}
649::{}
650 failed to instantiate",
651                ::core::stringify!(MapLayer_List),
652                ::core::stringify!(new),
653            )
654        });
655        <Self as IMapLayer_ListMethods>::ctor(this);
656        this
657    }
658}
659
660#[cfg(feature = "app-maplayer")]
661#[doc(hidden)]
662pub mod prelude {
663    pub use super::{
664        IMapLayer, IMapLayerMethods, IMapLayer_Data, IMapLayer_DataMethods, IMapLayer_List, IMapLayer_ListMethods, MapLayer, MapLayer_Data,
665        MapLayer_List,
666    };
667    #[cfg(feature = "app-singletonclass_1")]
668    pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
669    #[cfg(feature = "system-collections-generic-list_1")]
670    pub use crate::system::collections::generic::list_1::IList_1Methods;
671    #[cfg(feature = "system-object")]
672    pub use crate::system::object::IObjectMethods;
673    pub use crate::{
674        app::singletonclass_1::ISingletonClass_1,
675        system::{collections::generic::list_1::IList_1, object::IObject},
676    };
677}