Skip to main content

engage/generated/app/
mappaneldanger.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mappaneldanger-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::singletonmonobehaviour_1::{ISingletonMonoBehaviour_1, SingletonMonoBehaviour_1},
10        root::mappanelbase_1::{IMapPanelBase_1, MapPanelBase_1},
11        system::{
12            object::{IObject, Object},
13            r#enum::{Enum, IEnum},
14            valuetype::{IValueType, ValueType},
15        },
16        unity_engine::{
17            behaviour::{Behaviour, IBehaviour},
18            component::{Component, IComponent},
19            monobehaviour::{IMonoBehaviour, MonoBehaviour},
20            object_2::{IObject_2, Object_2},
21        },
22    };
23
24    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappaneldanger/MapPanelDanger_Mode.md"))]
25    #[repr(C)]
26    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
27    pub struct MapPanelDanger_Mode {
28        pub value: i32,
29    }
30    impl ::unity::ClassIdentity for MapPanelDanger_Mode {
31        const NAME: &'static str = "MapPanelDanger.Mode";
32        const NAMESPACE: &'static str = "App";
33
34        fn class() -> ::unity::Class {
35            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
36            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
37        }
38    }
39    impl ::unity::IlType for MapPanelDanger_Mode {
40        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
41            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
42        }
43    }
44    impl MapPanelDanger_Mode {
45        pub fn hide() -> Self {
46            Self { value: 0 }
47        }
48
49        pub fn show() -> Self {
50            Self { value: 1 }
51        }
52    }
53
54    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappaneldanger/MapPanelDanger.md"))]
55    #[::unity::class(namespace = "App", name = "MapPanelDanger")]
56    #[parent(crate::root::mappanelbase_1::MapPanelBase_1<crate::app::mappaneldanger::MapPanelDanger>)]
57    pub struct MapPanelDanger {
58        #[offset(64)]
59        #[rename(name = "m_ImageList")]
60        pub m_image_list: ::unity::Array<crate::system::collections::generic::list_1::List_1<crate::app::mappaneldanger::MapPanelDanger_MeshIndex>>,
61        #[offset(72)]
62        #[rename(name = "m_AttackDanger_0")]
63        pub m_attack_danger_0: crate::unity_engine::material::Material,
64        #[offset(80)]
65        #[rename(name = "m_AttackDanger_1")]
66        pub m_attack_danger_1: crate::unity_engine::material::Material,
67        #[offset(88)]
68        #[rename(name = "m_AttackDanger_2")]
69        pub m_attack_danger_2: crate::unity_engine::material::Material,
70        #[offset(96)]
71        #[rename(name = "m_AttackDanger_3")]
72        pub m_attack_danger_3: crate::unity_engine::material::Material,
73        #[offset(104)]
74        #[rename(name = "m_RodDanger_0")]
75        pub m_rod_danger_0: crate::unity_engine::material::Material,
76        #[offset(112)]
77        #[rename(name = "m_RodDanger_1")]
78        pub m_rod_danger_1: crate::unity_engine::material::Material,
79        #[offset(120)]
80        #[rename(name = "m_RodDanger_2")]
81        pub m_rod_danger_2: crate::unity_engine::material::Material,
82        #[offset(128)]
83        #[rename(name = "m_RodDanger_3")]
84        pub m_rod_danger_3: crate::unity_engine::material::Material,
85        #[offset(136)]
86        #[rename(name = "m_Mode")]
87        pub m_mode: crate::app::mappaneldanger::MapPanelDanger_Mode,
88        #[offset(140)]
89        #[rename(name = "m_IsUpdate")]
90        pub m_is_update: bool,
91        #[offset(144)]
92        #[rename(name = "m_Alpha")]
93        pub m_alpha: crate::app::interpolatorfloat::InterpolatorFloat,
94        #[offset(152)]
95        #[rename(name = "m_AttackColor")]
96        pub m_attack_color: crate::unity_engine::color::Color,
97        #[offset(168)]
98        #[rename(name = "m_RodColor")]
99        pub m_rod_color: crate::unity_engine::color::Color,
100        #[offset(184)]
101        #[rename(name = "m_SwitchCurve")]
102        pub m_switch_curve: crate::unity_engine::animationcurve::AnimationCurve,
103        #[offset(192)]
104        #[rename(name = "m_Time")]
105        pub m_time: f32,
106        #[offset(196)]
107        #[rename(name = "m_IsLoopAnime")]
108        pub m_is_loop_anime: bool,
109        #[offset(197)]
110        #[rename(name = "m_IsVisible")]
111        pub m_is_visible: bool,
112    }
113
114    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappaneldanger/MapPanelDanger_MeshIndex.md"))]
115    #[repr(C)]
116    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
117    pub struct MapPanelDanger_MeshIndex {
118        pub value: i32,
119    }
120    impl ::unity::ClassIdentity for MapPanelDanger_MeshIndex {
121        const NAME: &'static str = "MapPanelDanger.MeshIndex";
122        const NAMESPACE: &'static str = "App";
123
124        fn class() -> ::unity::Class {
125            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
126            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
127        }
128    }
129    impl ::unity::IlType for MapPanelDanger_MeshIndex {
130        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
131            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
132        }
133    }
134    impl MapPanelDanger_MeshIndex {
135        pub fn rod_panel_0() -> Self {
136            Self { value: 0 }
137        }
138
139        pub fn rod_panel_1() -> Self {
140            Self { value: 1 }
141        }
142
143        pub fn rod_panel_2() -> Self {
144            Self { value: 2 }
145        }
146
147        pub fn rod_panel_3() -> Self {
148            Self { value: 3 }
149        }
150
151        pub fn attack_panel_0() -> Self {
152            Self { value: 4 }
153        }
154
155        pub fn attack_panel_1() -> Self {
156            Self { value: 5 }
157        }
158
159        pub fn attack_panel_2() -> Self {
160            Self { value: 6 }
161        }
162
163        pub fn attack_panel_3() -> Self {
164            Self { value: 7 }
165        }
166
167        pub fn num() -> Self {
168            Self { value: 8 }
169        }
170    }
171
172    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappaneldanger/MapPanelDanger_DangerType.md"))]
173    #[repr(C)]
174    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
175    pub struct MapPanelDanger_DangerType {
176        pub value: i32,
177    }
178    impl ::unity::ClassIdentity for MapPanelDanger_DangerType {
179        const NAME: &'static str = "MapPanelDanger.DangerType";
180        const NAMESPACE: &'static str = "App";
181
182        fn class() -> ::unity::Class {
183            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
184            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
185        }
186    }
187    impl ::unity::IlType for MapPanelDanger_DangerType {
188        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
189            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
190        }
191    }
192    impl MapPanelDanger_DangerType {
193        pub fn rod() -> Self {
194            Self { value: 0 }
195        }
196
197        pub fn attack() -> Self {
198            Self { value: 1 }
199        }
200
201        pub fn num() -> Self {
202            Self { value: 2 }
203        }
204    }
205}
206
207#[cfg(feature = "app-mappaneldanger-types")]
208pub use __types::*;
209
210#[cfg(feature = "app-mappaneldanger")]
211pub trait IMapPanelDangerMethods: IMapPanelDanger {
212    #[doc = "`get_SubMeshCount()` overload"]
213    fn get_sub_mesh_count(self) -> i32 {
214        unsafe {
215            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
216            {
217                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
218                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
219                    panic!(
220                        "unity: virtual slot {}
221 out of range (vtable len {}
222) on the runtime class behind {}
223 (method `{}
224`)",
225                        6usize,
226                        __vt.len(),
227                        <MapPanelDanger as ::unity::ClassIdentity>::NAME,
228                        "get_SubMeshCount",
229                    )
230                });
231                let __inner: extern "C" fn(MapPanelDanger, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
232                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
233                __inner(__receiver, __mi)
234            }
235        }
236    }
237    #[doc = "`Start()` overload"]
238    fn start(self) -> () {
239        unsafe {
240            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241            ::unity::il2cpp_call!((::unity::module_base()+0x1e02850usize)as*mut u8,();
242(MapPanelDanger)__receiver)
243        }
244    }
245    #[doc = "`Update()` overload"]
246    fn update(self) -> () {
247        unsafe {
248            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249            ::unity::il2cpp_call!((::unity::module_base()+0x1e02990usize)as*mut u8,();
250(MapPanelDanger)__receiver)
251        }
252    }
253    #[doc = "`OnValidate()` overload"]
254    fn on_validate(self) -> () {
255        unsafe {
256            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
257            ::unity::il2cpp_call!((::unity::module_base()+0x1e02ce0usize)as*mut u8,();
258(MapPanelDanger)__receiver)
259        }
260    }
261    #[doc = "`GetSourceMaterials()` overload"]
262    fn get_source_materials(self) -> ::unity::Array<crate::unity_engine::material::Material> {
263        unsafe {
264            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
265            {
266                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
267                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
268                    panic!(
269                        "unity: virtual slot {}
270 out of range (vtable len {}
271) on the runtime class behind {}
272 (method `{}
273`)",
274                        5usize,
275                        __vt.len(),
276                        <MapPanelDanger as ::unity::ClassIdentity>::NAME,
277                        "GetSourceMaterials",
278                    )
279                });
280                let __inner: extern "C" fn(MapPanelDanger, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
281                    ::core::mem::transmute(__vi.method_ptr);
282                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
283                __inner(__receiver, __mi)
284            }
285        }
286    }
287    #[doc = "`SetMode(crate::app::mappaneldanger::MapPanelDanger_Mode, bool)` overload"]
288    fn set_mode(
289        self,
290        mode: impl ::core::convert::Into<crate::app::mappaneldanger::MapPanelDanger_Mode>,
291        is_force_update: impl ::core::convert::Into<bool>,
292    ) -> () {
293        unsafe {
294            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
295            ::unity::il2cpp_call!((::unity::module_base()+0x1e02f90usize)as*mut u8,();
296(MapPanelDanger)__receiver,(crate::app::mappaneldanger::MapPanelDanger_Mode)::core::convert::Into::into(mode),(bool)::core::convert::Into::into(is_force_update))
297        }
298    }
299    #[doc = "`UpdateVisible()` overload"]
300    fn update_visible(self) -> () {
301        unsafe {
302            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
303            ::unity::il2cpp_call!((::unity::module_base()+0x1e02a80usize)as*mut u8,();
304(MapPanelDanger)__receiver)
305        }
306    }
307    #[doc = "`UpdateMode(crate::app::mappaneldanger::MapPanelDanger_Mode)` overload"]
308    fn update_mode(self, mode: impl ::core::convert::Into<crate::app::mappaneldanger::MapPanelDanger_Mode>) -> () {
309        unsafe {
310            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311            ::unity::il2cpp_call!((::unity::module_base()+0x1e02b90usize)as*mut u8,();
312(MapPanelDanger)__receiver,(crate::app::mappaneldanger::MapPanelDanger_Mode)::core::convert::Into::into(mode))
313        }
314    }
315    #[doc = "`UpdateVertex(crate::app::mappaneldanger::MapPanelDanger_Mode)` overload"]
316    fn update_vertex(self, mode: impl ::core::convert::Into<crate::app::mappaneldanger::MapPanelDanger_Mode>) -> () {
317        unsafe {
318            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
319            ::unity::il2cpp_call!((::unity::module_base()+0x1e02c80usize)as*mut u8,();
320(MapPanelDanger)__receiver,(crate::app::mappaneldanger::MapPanelDanger_Mode)::core::convert::Into::into(mode))
321        }
322    }
323    #[doc = "`UpdatePanelAlpha()` overload"]
324    fn update_panel_alpha(self) -> () {
325        unsafe {
326            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
327            ::unity::il2cpp_call!((::unity::module_base()+0x1e02c90usize)as*mut u8,();
328(MapPanelDanger)__receiver)
329        }
330    }
331    #[doc = "`InitPanelAlpha()` overload"]
332    fn init_panel_alpha(self) -> () {
333        unsafe {
334            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
335            ::unity::il2cpp_call!((::unity::module_base()+0x1e03350usize)as*mut u8,();
336(MapPanelDanger)__receiver)
337        }
338    }
339    #[doc = "`SetPanelAlpha(crate::app::mappaneldanger::MapPanelDanger_DangerType, i32, i32)` overload"]
340    fn set_panel_alpha(
341        self,
342        r#type: impl ::core::convert::Into<crate::app::mappaneldanger::MapPanelDanger_DangerType>,
343        first_index: impl ::core::convert::Into<i32>,
344        last_index: impl ::core::convert::Into<i32>,
345    ) -> () {
346        unsafe {
347            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
348            ::unity::il2cpp_call!((::unity::module_base()+0x1e03450usize)as*mut u8,();
349(MapPanelDanger)__receiver,(crate::app::mappaneldanger::MapPanelDanger_DangerType)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(first_index),(i32)::core::convert::Into::into(last_index))
350        }
351    }
352    #[doc = "`SetVertex()` overload"]
353    fn set_vertex(self) -> () {
354        unsafe {
355            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356            ::unity::il2cpp_call!((::unity::module_base()+0x1e02fc0usize)as*mut u8,();
357(MapPanelDanger)__receiver)
358        }
359    }
360    #[doc = "`SetMesh(crate::app::mappaneldanger::MapPanelDanger_MeshIndex, crate::unity_engine::color::Color, crate::app::mappaneldanger::MapPanelDanger_DangerType, crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldanger::MapPanelDanger>)` overload"]
361    fn set_mesh(
362        self,
363        index: impl ::core::convert::Into<crate::app::mappaneldanger::MapPanelDanger_MeshIndex>,
364        color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
365        r#type: impl ::core::convert::Into<crate::app::mappaneldanger::MapPanelDanger_DangerType>,
366        func: impl ::core::convert::Into<crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldanger::MapPanelDanger>>,
367    ) -> () {
368        unsafe {
369            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
370            ::unity::il2cpp_call!((::unity::module_base()+0x1e036a0usize)as*mut u8,();
371(MapPanelDanger)__receiver,(crate::app::mappaneldanger::MapPanelDanger_MeshIndex)::core::convert::Into::into(index),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(crate::app::mappaneldanger::MapPanelDanger_DangerType)::core::convert::Into::into(r#type),(crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldanger::MapPanelDanger>)::core::convert::Into::into(func))
372        }
373    }
374    #[doc = "`SetMesh(crate::app::mappaneldanger::MapPanelDanger_MeshIndex, crate::unity_engine::color::Color, crate::app::mappaneldanger::MapPanelDanger_DangerType, crate::system::collections::generic::list_1::List_1<crate::app::mapimagecorebit::MapImageCoreBit>)` overload"]
375    fn set_mesh_2(
376        self,
377        index: impl ::core::convert::Into<crate::app::mappaneldanger::MapPanelDanger_MeshIndex>,
378        color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
379        r#type: impl ::core::convert::Into<crate::app::mappaneldanger::MapPanelDanger_DangerType>,
380        list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::mapimagecorebit::MapImageCoreBit>>,
381    ) -> () {
382        unsafe {
383            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384            ::unity::il2cpp_call!((::unity::module_base()+0x1e03cb0usize)as*mut u8,();
385(MapPanelDanger)__receiver,(crate::app::mappaneldanger::MapPanelDanger_MeshIndex)::core::convert::Into::into(index),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(crate::app::mappaneldanger::MapPanelDanger_DangerType)::core::convert::Into::into(r#type),(crate::system::collections::generic::list_1::List_1<crate::app::mapimagecorebit::MapImageCoreBit>)::core::convert::Into::into(list))
386        }
387    }
388    #[doc = "`AddVertex(i32, i32, u32, crate::unity_engine::color::Color)` overload"]
389    fn add_vertex(
390        self,
391        x: impl ::core::convert::Into<i32>,
392        z: impl ::core::convert::Into<i32>,
393        mask: impl ::core::convert::Into<u32>,
394        density: impl ::core::convert::Into<crate::unity_engine::color::Color>,
395    ) -> () {
396        unsafe {
397            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
398            ::unity::il2cpp_call!((::unity::module_base()+0x1e03bc0usize)as*mut u8,();
399(MapPanelDanger)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(u32)::core::convert::Into::into(mask),(crate::unity_engine::color::Color)::core::convert::Into::into(density))
400        }
401    }
402    #[doc = "`.ctor()` overload"]
403    fn ctor(self) -> () {
404        unsafe {
405            let __receiver = <MapPanelDanger as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406            ::unity::il2cpp_call!((::unity::module_base()+0x1e04400usize)as*mut u8,();
407(MapPanelDanger)__receiver)
408        }
409    }
410}
411
412#[cfg(feature = "app-mappaneldanger")]
413impl<__T: IMapPanelDanger> IMapPanelDangerMethods for __T {}
414
415#[cfg(feature = "app-mappaneldanger")]
416impl MapPanelDanger {
417    pub fn get_sub_mesh_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
419    }
420
421    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
423    }
424
425    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
427    }
428
429    pub fn on_validate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
430        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
431    }
432
433    pub fn get_source_materials_method_info() -> &'static ::unity::il2cpp::MethodInfo {
434        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
435    }
436
437    pub fn set_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
438        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
439    }
440
441    pub fn update_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
442        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
443    }
444
445    pub fn update_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
446        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
447    }
448
449    pub fn update_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
451    }
452
453    pub fn update_panel_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
455    }
456
457    pub fn init_panel_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
459    }
460
461    pub fn set_panel_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
463    }
464
465    pub fn set_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
467    }
468
469    pub fn set_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
471    }
472
473    pub fn set_mesh_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
475    }
476
477    pub fn add_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
479    }
480
481    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
483    }
484}
485
486#[cfg(feature = "app-mappaneldanger")]
487impl MapPanelDanger {
488    #[doc = "Direct (non-virtual) call to `MapPanelDanger`'s own `get_SubMeshCount`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
489    pub unsafe fn get_sub_mesh_count(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
490        let __mi = Self::get_sub_mesh_count_method_info();
491        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
492        __inner(this.into(), ::core::option::Option::None)
493    }
494
495    #[doc = "Direct (non-virtual) call to `MapPanelDanger`'s own `GetSourceMaterials`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
496    pub unsafe fn get_source_materials(
497        this: impl ::core::convert::Into<::unity::IlInstance>,
498    ) -> ::unity::Array<crate::unity_engine::material::Material> {
499        let __mi = Self::get_source_materials_method_info();
500        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
501            ::core::mem::transmute(__mi.method_ptr);
502        __inner(this.into(), ::core::option::Option::None)
503    }
504}
505
506#[cfg(feature = "app-mappaneldanger")]
507impl MapPanelDanger {
508    #[doc = "`.ctor()` — no args"]
509    pub fn new() -> Self {
510        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
511            panic!(
512                "{}
513::{}
514 failed to instantiate",
515                ::core::stringify!(MapPanelDanger),
516                ::core::stringify!(new),
517            )
518        });
519        <Self as IMapPanelDangerMethods>::ctor(this);
520        this
521    }
522}
523
524#[cfg(feature = "app-mappaneldanger")]
525#[doc(hidden)]
526pub mod prelude {
527    pub use super::{
528        IMapPanelDanger, IMapPanelDangerMethods, MapPanelDanger, MapPanelDanger_DangerType, MapPanelDanger_MeshIndex, MapPanelDanger_Mode,
529    };
530    #[cfg(feature = "app-singletonmonobehaviour_1")]
531    pub use crate::app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1Methods;
532    #[cfg(feature = "root-mappanelbase_1")]
533    pub use crate::root::mappanelbase_1::IMapPanelBase_1Methods;
534    #[cfg(feature = "system-object")]
535    pub use crate::system::object::IObjectMethods;
536    #[cfg(feature = "system-enum")]
537    pub use crate::system::r#enum::IEnumMethods;
538    #[cfg(feature = "system-valuetype")]
539    pub use crate::system::valuetype::IValueTypeMethods;
540    #[cfg(feature = "unity_engine-behaviour")]
541    pub use crate::unity_engine::behaviour::IBehaviourMethods;
542    #[cfg(feature = "unity_engine-component")]
543    pub use crate::unity_engine::component::IComponentMethods;
544    #[cfg(feature = "unity_engine-monobehaviour")]
545    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
546    #[cfg(feature = "unity_engine-object_2")]
547    pub use crate::unity_engine::object_2::IObject_2Methods;
548    pub use crate::{
549        app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1,
550        root::mappanelbase_1::IMapPanelBase_1,
551        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
552        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
553    };
554}