1#[cfg(feature = "app-mappaneldangerall-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/mappaneldangerall/MapPanelDangerAll_DangerType.md"))]
25 #[repr(C)]
26 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
27 pub struct MapPanelDangerAll_DangerType {
28 pub value: i32,
29 }
30 impl ::unity::ClassIdentity for MapPanelDangerAll_DangerType {
31 const NAME: &'static str = "MapPanelDangerAll.DangerType";
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 MapPanelDangerAll_DangerType {
40 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
41 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
42 }
43 }
44 impl MapPanelDangerAll_DangerType {
45 pub fn attack() -> Self {
46 Self { value: 0 }
47 }
48
49 pub fn rod() -> Self {
50 Self { value: 1 }
51 }
52
53 pub fn gunner() -> Self {
54 Self { value: 2 }
55 }
56
57 pub fn num() -> Self {
58 Self { value: 3 }
59 }
60 }
61
62 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappaneldangerall/MapPanelDangerAll.md"))]
63 #[::unity::class(namespace = "App", name = "MapPanelDangerAll")]
64 #[parent(crate::root::mappanelbase_1::MapPanelBase_1<crate::app::mappaneldangerall::MapPanelDangerAll>)]
65 pub struct MapPanelDangerAll {
66 #[offset(64)]
67 #[rename(name = "m_AttackMaterial")]
68 pub m_attack_material: crate::unity_engine::material::Material,
69 #[offset(72)]
70 #[rename(name = "m_RodMaterial")]
71 pub m_rod_material: crate::unity_engine::material::Material,
72 #[offset(80)]
73 #[rename(name = "m_GunnerMaterial")]
74 pub m_gunner_material: crate::unity_engine::material::Material,
75 #[offset(88)]
76 #[rename(name = "m_FrameForGunnerMaterial")]
77 pub m_frame_for_gunner_material: crate::unity_engine::material::Material,
78 #[offset(96)]
79 #[rename(name = "m_Mode")]
80 pub m_mode: crate::app::gameconfig::GameConfig_AllInfo,
81 #[offset(100)]
82 #[rename(name = "m_OldMode")]
83 pub m_old_mode: crate::app::gameconfig::GameConfig_AllInfo,
84 #[offset(104)]
85 #[rename(name = "m_IsUpdate")]
86 pub m_is_update: bool,
87 #[offset(105)]
88 #[rename(name = "m_IsVisible")]
89 pub m_is_visible: bool,
90 #[offset(112)]
91 #[rename(name = "m_Alpha")]
92 pub m_alpha: crate::app::interpolatorfloat::InterpolatorFloat,
93 #[offset(120)]
94 #[rename(name = "m_MiniMapFillMaterials")]
95 pub m_mini_map_fill_materials: ::unity::Array<crate::unity_engine::material::Material>,
96 #[offset(128)]
97 #[rename(name = "m_MiniMapFrameMaterials")]
98 pub m_mini_map_frame_materials: ::unity::Array<crate::unity_engine::material::Material>,
99 #[offset(136)]
100 #[rename(name = "m_AttackColor")]
101 pub m_attack_color: crate::unity_engine::color::Color,
102 #[offset(152)]
103 #[rename(name = "m_RodColor")]
104 pub m_rod_color: crate::unity_engine::color::Color,
105 #[offset(168)]
106 #[rename(name = "m_GunnerColor")]
107 pub m_gunner_color: crate::unity_engine::color::Color,
108 }
109
110 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappaneldangerall/MapPanelDangerAll_MeshIndex.md"))]
111 #[repr(C)]
112 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
113 pub struct MapPanelDangerAll_MeshIndex {
114 pub value: i32,
115 }
116 impl ::unity::ClassIdentity for MapPanelDangerAll_MeshIndex {
117 const NAME: &'static str = "MapPanelDangerAll.MeshIndex";
118 const NAMESPACE: &'static str = "App";
119
120 fn class() -> ::unity::Class {
121 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
122 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
123 }
124 }
125 impl ::unity::IlType for MapPanelDangerAll_MeshIndex {
126 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
127 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
128 }
129 }
130 impl MapPanelDangerAll_MeshIndex {
131 pub fn attack_panel() -> Self {
132 Self { value: 0 }
133 }
134
135 pub fn rod_panel() -> Self {
136 Self { value: 1 }
137 }
138
139 pub fn gunner_panel() -> Self {
140 Self { value: 2 }
141 }
142
143 pub fn frame_panel_for_gunner() -> Self {
144 Self { value: 3 }
145 }
146
147 pub fn num() -> Self {
148 Self { value: 4 }
149 }
150 }
151}
152
153#[cfg(feature = "app-mappaneldangerall-types")]
154pub use __types::*;
155
156#[cfg(feature = "app-mappaneldangerall")]
157pub trait IMapPanelDangerAllMethods: IMapPanelDangerAll {
158 #[doc = "`get_SubMeshCount()` overload"]
159 fn get_sub_mesh_count(self) -> i32 {
160 unsafe {
161 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162 {
163 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
164 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
165 panic!(
166 "unity: virtual slot {}
167 out of range (vtable len {}
168) on the runtime class behind {}
169 (method `{}
170`)",
171 6usize,
172 __vt.len(),
173 <MapPanelDangerAll as ::unity::ClassIdentity>::NAME,
174 "get_SubMeshCount",
175 )
176 });
177 let __inner: extern "C" fn(MapPanelDangerAll, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
178 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
179 __inner(__receiver, __mi)
180 }
181 }
182 }
183 #[doc = "`Start()` overload"]
184 fn start(self) -> () {
185 unsafe {
186 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187 ::unity::il2cpp_call!((::unity::module_base()+0x1e04520usize)as*mut u8,();
188(MapPanelDangerAll)__receiver)
189 }
190 }
191 #[doc = "`Update()` overload"]
192 fn update(self) -> () {
193 unsafe {
194 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195 ::unity::il2cpp_call!((::unity::module_base()+0x1e04770usize)as*mut u8,();
196(MapPanelDangerAll)__receiver)
197 }
198 }
199 #[doc = "`OnValidate()` overload"]
200 fn on_validate(self) -> () {
201 unsafe {
202 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203 ::unity::il2cpp_call!((::unity::module_base()+0x1e04a80usize)as*mut u8,();
204(MapPanelDangerAll)__receiver)
205 }
206 }
207 #[doc = "`GetSourceMaterials()` overload"]
208 fn get_source_materials(self) -> ::unity::Array<crate::unity_engine::material::Material> {
209 unsafe {
210 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211 {
212 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
213 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
214 panic!(
215 "unity: virtual slot {}
216 out of range (vtable len {}
217) on the runtime class behind {}
218 (method `{}
219`)",
220 5usize,
221 __vt.len(),
222 <MapPanelDangerAll as ::unity::ClassIdentity>::NAME,
223 "GetSourceMaterials",
224 )
225 });
226 let __inner: extern "C" fn(MapPanelDangerAll, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
227 ::core::mem::transmute(__vi.method_ptr);
228 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
229 __inner(__receiver, __mi)
230 }
231 }
232 }
233 #[doc = "`GetSourceMaterialsForMiniMapFill()` overload"]
234 fn get_source_materials_for_mini_map_fill(self) -> ::unity::Array<crate::unity_engine::material::Material> {
235 unsafe {
236 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
237 ::unity::il2cpp_call!((::unity::module_base()+0x1e04c40usize)as*mut u8, ::unity::Array<crate::unity_engine::material::Material> ;
238(MapPanelDangerAll)__receiver)
239 }
240 }
241 #[doc = "`GetSourceMaterialsForMiniMapFrame()` overload"]
242 fn get_source_materials_for_mini_map_frame(self) -> ::unity::Array<crate::unity_engine::material::Material> {
243 unsafe {
244 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
245 ::unity::il2cpp_call!((::unity::module_base()+0x1e04cf0usize)as*mut u8, ::unity::Array<crate::unity_engine::material::Material> ;
246(MapPanelDangerAll)__receiver)
247 }
248 }
249 #[doc = "`GetMode()` overload"]
250 fn get_mode(self) -> crate::app::gameconfig::GameConfig_AllInfo {
251 unsafe {
252 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
253 ::unity::il2cpp_call!((::unity::module_base()+0x1e04da0usize)as*mut u8,crate::app::gameconfig::GameConfig_AllInfo;
254(MapPanelDangerAll)__receiver)
255 }
256 }
257 #[doc = "`SetMode(crate::app::gameconfig::GameConfig_AllInfo, bool)` overload"]
258 fn set_mode(
259 self,
260 mode: impl ::core::convert::Into<crate::app::gameconfig::GameConfig_AllInfo>,
261 is_force_update: impl ::core::convert::Into<bool>,
262 ) -> () {
263 unsafe {
264 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
265 ::unity::il2cpp_call!((::unity::module_base()+0x1e04db0usize)as*mut u8,();
266(MapPanelDangerAll)__receiver,(crate::app::gameconfig::GameConfig_AllInfo)::core::convert::Into::into(mode),(bool)::core::convert::Into::into(is_force_update))
267 }
268 }
269 #[doc = "`UpdateMode(crate::app::gameconfig::GameConfig_AllInfo)` overload"]
270 fn update_mode(self, mode: impl ::core::convert::Into<crate::app::gameconfig::GameConfig_AllInfo>) -> () {
271 unsafe {
272 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
273 ::unity::il2cpp_call!((::unity::module_base()+0x1e04930usize)as*mut u8,();
274(MapPanelDangerAll)__receiver,(crate::app::gameconfig::GameConfig_AllInfo)::core::convert::Into::into(mode))
275 }
276 }
277 #[doc = "`UpdateVisible()` overload"]
278 fn update_visible(self) -> () {
279 unsafe {
280 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
281 ::unity::il2cpp_call!((::unity::module_base()+0x1e04800usize)as*mut u8,();
282(MapPanelDangerAll)__receiver)
283 }
284 }
285 #[doc = "`UpdatePanelAlpha()` overload"]
286 fn update_panel_alpha(self) -> () {
287 unsafe {
288 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
289 ::unity::il2cpp_call!((::unity::module_base()+0x1e04a30usize)as*mut u8,();
290(MapPanelDangerAll)__receiver)
291 }
292 }
293 #[doc = "`SetPanelAlpha(i32)` overload"]
294 fn set_panel_alpha(self, index: impl ::core::convert::Into<i32>) -> () {
295 unsafe {
296 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297 ::unity::il2cpp_call!((::unity::module_base()+0x1e04de0usize)as*mut u8,();
298(MapPanelDangerAll)__receiver,(i32)::core::convert::Into::into(index))
299 }
300 }
301 #[doc = "`UpdateVertex(crate::app::gameconfig::GameConfig_AllInfo)` overload"]
302 fn update_vertex(self, mode: impl ::core::convert::Into<crate::app::gameconfig::GameConfig_AllInfo>) -> () {
303 unsafe {
304 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
305 ::unity::il2cpp_call!((::unity::module_base()+0x1e04a20usize)as*mut u8,();
306(MapPanelDangerAll)__receiver,(crate::app::gameconfig::GameConfig_AllInfo)::core::convert::Into::into(mode))
307 }
308 }
309 #[doc = "`SetVertex()` overload"]
310 fn set_vertex(self) -> () {
311 unsafe {
312 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
313 ::unity::il2cpp_call!((::unity::module_base()+0x1e04ec0usize)as*mut u8,();
314(MapPanelDangerAll)__receiver)
315 }
316 }
317 #[doc = "`SetMesh(crate::app::mappaneldangerall::MapPanelDangerAll_MeshIndex, crate::unity_engine::color::Color, crate::app::mappaneldangerall::MapPanelDangerAll_DangerType, crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>)` overload"]
318 fn set_mesh(
319 self,
320 index: impl ::core::convert::Into<crate::app::mappaneldangerall::MapPanelDangerAll_MeshIndex>,
321 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
322 r#type: impl ::core::convert::Into<crate::app::mappaneldangerall::MapPanelDangerAll_DangerType>,
323 func: impl ::core::convert::Into<crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>>,
324 ) -> () {
325 unsafe {
326 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
327 ::unity::il2cpp_call!((::unity::module_base()+0x1e05220usize)as*mut u8,();
328(MapPanelDangerAll)__receiver,(crate::app::mappaneldangerall::MapPanelDangerAll_MeshIndex)::core::convert::Into::into(index),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(crate::app::mappaneldangerall::MapPanelDangerAll_DangerType)::core::convert::Into::into(r#type),(crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>)::core::convert::Into::into(func))
329 }
330 }
331 #[doc = "`SetMeshForGunner(crate::app::mappaneldangerall::MapPanelDangerAll_MeshIndex, crate::unity_engine::color::Color, bool, crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>, crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>, crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>)` overload"]
332 fn set_mesh_for_gunner(
333 self,
334 index: impl ::core::convert::Into<crate::app::mappaneldangerall::MapPanelDangerAll_MeshIndex>,
335 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
336 is_image_filled: impl ::core::convert::Into<bool>,
337 gunner: impl ::core::convert::Into<crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>>,
338 attack: impl ::core::convert::Into<crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>>,
339 rod: impl ::core::convert::Into<crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>>,
340 ) -> () {
341 unsafe {
342 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
343 ::unity::il2cpp_call!((::unity::module_base()+0x1e05670usize)as*mut u8,();
344(MapPanelDangerAll)__receiver,(crate::app::mappaneldangerall::MapPanelDangerAll_MeshIndex)::core::convert::Into::into(index),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(bool)::core::convert::Into::into(is_image_filled),(crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>)::core::convert::Into::into(gunner),(crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>)::core::convert::Into::into(attack),(crate::root::mappanelbase_1::MapPanelBase_1_ImageGetFunction<crate::app::mappaneldangerall::MapPanelDangerAll>)::core::convert::Into::into(rod))
345 }
346 }
347 #[doc = "`get_IsVisible()` overload"]
348 fn get_is_visible(self) -> bool {
349 unsafe {
350 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
351 ::unity::il2cpp_call!((::unity::module_base()+0x1e05b60usize)as*mut u8,bool;
352(MapPanelDangerAll)__receiver)
353 }
354 }
355 #[doc = "`.ctor()` overload"]
356 fn ctor(self) -> () {
357 unsafe {
358 let __receiver = <MapPanelDangerAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
359 ::unity::il2cpp_call!((::unity::module_base()+0x1e05b70usize)as*mut u8,();
360(MapPanelDangerAll)__receiver)
361 }
362 }
363}
364
365#[cfg(feature = "app-mappaneldangerall")]
366impl<__T: IMapPanelDangerAll> IMapPanelDangerAllMethods for __T {}
367
368#[cfg(feature = "app-mappaneldangerall")]
369impl MapPanelDangerAll {
370 pub fn get_sub_mesh_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
371 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
372 }
373
374 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
375 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
376 }
377
378 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
379 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
380 }
381
382 pub fn on_validate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
383 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
384 }
385
386 pub fn get_source_materials_method_info() -> &'static ::unity::il2cpp::MethodInfo {
387 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
388 }
389
390 pub fn get_source_materials_for_mini_map_fill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
391 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
392 }
393
394 pub fn get_source_materials_for_mini_map_frame_method_info() -> &'static ::unity::il2cpp::MethodInfo {
395 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
396 }
397
398 pub fn get_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
399 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
400 }
401
402 pub fn set_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
404 }
405
406 pub fn update_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
407 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
408 }
409
410 pub fn update_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
411 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
412 }
413
414 pub fn update_panel_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
415 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
416 }
417
418 pub fn set_panel_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
419 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
420 }
421
422 pub fn update_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
423 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
424 }
425
426 pub fn set_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
427 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
428 }
429
430 pub fn set_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
432 }
433
434 pub fn set_mesh_for_gunner_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
436 }
437
438 pub fn get_is_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
439 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
440 }
441
442 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
443 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
444 }
445}
446
447#[cfg(feature = "app-mappaneldangerall")]
448impl MapPanelDangerAll {
449 #[doc = "Direct (non-virtual) call to `MapPanelDangerAll`'s own `get_SubMeshCount`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
450 pub unsafe fn get_sub_mesh_count(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
451 let __mi = Self::get_sub_mesh_count_method_info();
452 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
453 __inner(this.into(), ::core::option::Option::None)
454 }
455
456 #[doc = "Direct (non-virtual) call to `MapPanelDangerAll`'s own `GetSourceMaterials`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
457 pub unsafe fn get_source_materials(
458 this: impl ::core::convert::Into<::unity::IlInstance>,
459 ) -> ::unity::Array<crate::unity_engine::material::Material> {
460 let __mi = Self::get_source_materials_method_info();
461 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
462 ::core::mem::transmute(__mi.method_ptr);
463 __inner(this.into(), ::core::option::Option::None)
464 }
465}
466
467#[cfg(feature = "app-mappaneldangerall")]
468impl MapPanelDangerAll {
469 #[doc = "`.ctor()` — no args"]
470 pub fn new() -> Self {
471 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
472 panic!(
473 "{}
474::{}
475 failed to instantiate",
476 ::core::stringify!(MapPanelDangerAll),
477 ::core::stringify!(new),
478 )
479 });
480 <Self as IMapPanelDangerAllMethods>::ctor(this);
481 this
482 }
483}
484
485#[cfg(feature = "app-mappaneldangerall")]
486#[doc(hidden)]
487pub mod prelude {
488 pub use super::{IMapPanelDangerAll, IMapPanelDangerAllMethods, MapPanelDangerAll, MapPanelDangerAll_DangerType, MapPanelDangerAll_MeshIndex};
489 #[cfg(feature = "app-singletonmonobehaviour_1")]
490 pub use crate::app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1Methods;
491 #[cfg(feature = "root-mappanelbase_1")]
492 pub use crate::root::mappanelbase_1::IMapPanelBase_1Methods;
493 #[cfg(feature = "system-object")]
494 pub use crate::system::object::IObjectMethods;
495 #[cfg(feature = "system-enum")]
496 pub use crate::system::r#enum::IEnumMethods;
497 #[cfg(feature = "system-valuetype")]
498 pub use crate::system::valuetype::IValueTypeMethods;
499 #[cfg(feature = "unity_engine-behaviour")]
500 pub use crate::unity_engine::behaviour::IBehaviourMethods;
501 #[cfg(feature = "unity_engine-component")]
502 pub use crate::unity_engine::component::IComponentMethods;
503 #[cfg(feature = "unity_engine-monobehaviour")]
504 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
505 #[cfg(feature = "unity_engine-object_2")]
506 pub use crate::unity_engine::object_2::IObject_2Methods;
507 pub use crate::{
508 app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1,
509 root::mappanelbase_1::IMapPanelBase_1,
510 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
511 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
512 };
513}