1#[cfg(feature = "app-mappaneldeploy-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/mappaneldeploy/MapPanelDeploy_MeshIndex.md"))]
25 #[repr(C)]
26 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
27 pub struct MapPanelDeploy_MeshIndex {
28 pub value: i32,
29 }
30 impl ::unity::ClassIdentity for MapPanelDeploy_MeshIndex {
31 const NAME: &'static str = "MapPanelDeploy.MeshIndex";
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 MapPanelDeploy_MeshIndex {
40 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
41 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
42 }
43 }
44 impl MapPanelDeploy_MeshIndex {
45 pub fn r#move() -> Self {
46 Self { value: 0 }
47 }
48
49 pub fn attack() -> Self {
50 Self { value: 1 }
51 }
52
53 pub fn heal() -> Self {
54 Self { value: 2 }
55 }
56
57 pub fn support() -> Self {
58 Self { value: 3 }
59 }
60
61 pub fn interference() -> Self {
62 Self { value: 4 }
63 }
64
65 pub fn num() -> Self {
66 Self { value: 5 }
67 }
68 }
69
70 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappaneldeploy/MapPanelDeploy_Mode.md"))]
71 #[repr(C)]
72 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
73 pub struct MapPanelDeploy_Mode {
74 pub value: i32,
75 }
76 impl ::unity::ClassIdentity for MapPanelDeploy_Mode {
77 const NAME: &'static str = "MapPanelDeploy.Mode";
78 const NAMESPACE: &'static str = "App";
79
80 fn class() -> ::unity::Class {
81 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
82 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
83 }
84 }
85 impl ::unity::IlType for MapPanelDeploy_Mode {
86 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
87 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
88 }
89 }
90 impl MapPanelDeploy_Mode {
91 pub fn hide() -> Self {
92 Self { value: 0 }
93 }
94
95 pub fn move_thinly() -> Self {
96 Self { value: 1 }
97 }
98
99 pub fn r#move() -> Self {
100 Self { value: 2 }
101 }
102
103 pub fn move_free() -> Self {
104 Self { value: 3 }
105 }
106
107 pub fn attack() -> Self {
108 Self { value: 4 }
109 }
110
111 pub fn destroy() -> Self {
112 Self { value: 5 }
113 }
114
115 pub fn rod() -> Self {
116 Self { value: 6 }
117 }
118
119 pub fn dance() -> Self {
120 Self { value: 7 }
121 }
122
123 pub fn engage() -> Self {
124 Self { value: 8 }
125 }
126
127 pub fn direct() -> Self {
128 Self { value: 9 }
129 }
130
131 pub fn unit_command() -> Self {
132 Self { value: 10 }
133 }
134
135 pub fn unit_menu() -> Self {
136 Self { value: 11 }
137 }
138
139 pub fn target() -> Self {
140 Self { value: 12 }
141 }
142
143 pub fn talk() -> Self {
144 Self { value: 13 }
145 }
146
147 pub fn trick_thinly() -> Self {
148 Self { value: 14 }
149 }
150
151 pub fn trick() -> Self {
152 Self { value: 15 }
153 }
154
155 pub fn warp() -> Self {
156 Self { value: 16 }
157 }
158
159 pub fn rewarp() -> Self {
160 Self { value: 17 }
161 }
162
163 pub fn interference() -> Self {
164 Self { value: 18 }
165 }
166
167 pub fn torch() -> Self {
168 Self { value: 19 }
169 }
170
171 pub fn creation() -> Self {
172 Self { value: 20 }
173 }
174
175 pub fn cannon() -> Self {
176 Self { value: 21 }
177 }
178
179 pub fn fire_cannon() -> Self {
180 Self { value: 22 }
181 }
182
183 pub fn full_bullet_charge() -> Self {
184 Self { value: 23 }
185 }
186 }
187
188 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappaneldeploy/MapPanelDeploy.md"))]
189 #[::unity::class(namespace = "App", name = "MapPanelDeploy")]
190 #[parent(crate::root::mappanelbase_1::MapPanelBase_1<crate::app::mappaneldeploy::MapPanelDeploy>)]
191 pub struct MapPanelDeploy {
192 #[offset(64)]
193 #[rename(name = "m_MeshList")]
194 pub m_mesh_list: crate::system::collections::generic::list_1::List_1<crate::app::mappaneldeploy::MapPanelDeploy_MeshIndex>,
195 #[offset(72)]
196 #[rename(name = "m_MoveImage")]
197 pub m_move_image: crate::unity_engine::material::Material,
198 #[offset(80)]
199 #[rename(name = "m_AttackImage")]
200 pub m_attack_image: crate::unity_engine::material::Material,
201 #[offset(88)]
202 #[rename(name = "m_HealImage")]
203 pub m_heal_image: crate::unity_engine::material::Material,
204 #[offset(96)]
205 #[rename(name = "m_SupportImage")]
206 pub m_support_image: crate::unity_engine::material::Material,
207 #[offset(104)]
208 #[rename(name = "m_InterferenceImage")]
209 pub m_interference_image: crate::unity_engine::material::Material,
210 #[offset(112)]
211 #[rename(name = "m_Mode")]
212 pub m_mode: crate::app::mappaneldeploy::MapPanelDeploy_Mode,
213 #[offset(116)]
214 #[rename(name = "m_IsUpdate")]
215 pub m_is_update: bool,
216 #[offset(120)]
217 #[rename(name = "m_TempImage")]
218 pub m_temp_image: crate::app::mapimagecorebit::MapImageCoreBit,
219 #[offset(128)]
220 #[rename(name = "m_Scale")]
221 pub m_scale: crate::app::interpolatorfloat::InterpolatorFloat,
222 #[offset(136)]
223 #[rename(name = "m_Alpha")]
224 pub m_alpha: crate::app::interpolatorfloat::InterpolatorFloat,
225 #[offset(144)]
226 #[rename(name = "m_Range")]
227 pub m_range: crate::app::interpolatorfloat::InterpolatorFloat,
228 #[offset(152)]
229 #[rename(name = "m_MoveColor")]
230 pub m_move_color: crate::unity_engine::color::Color,
231 #[offset(168)]
232 #[rename(name = "m_AttackColor")]
233 pub m_attack_color: crate::unity_engine::color::Color,
234 #[offset(184)]
235 #[rename(name = "m_HealColor")]
236 pub m_heal_color: crate::unity_engine::color::Color,
237 #[offset(200)]
238 #[rename(name = "m_SupportColor")]
239 pub m_support_color: crate::unity_engine::color::Color,
240 #[offset(216)]
241 #[rename(name = "m_InterferenceColor")]
242 pub m_interference_color: crate::unity_engine::color::Color,
243 #[offset(232)]
244 #[rename(name = "m_AlphaCurve")]
245 pub m_alpha_curve: crate::unity_engine::animationcurve::AnimationCurve,
246 #[offset(240)]
247 #[rename(name = "m_IsIntegration")]
248 pub m_is_integration: bool,
249 #[offset(248)]
250 #[rename(name = "m_IntegrationImage")]
251 pub m_integration_image: crate::app::mapimagecorebit::MapImageCoreBit,
252 #[offset(256)]
253 #[rename(name = "m_Time")]
254 pub m_time: f32,
255 }
256}
257
258#[cfg(feature = "app-mappaneldeploy-types")]
259pub use __types::*;
260
261#[cfg(feature = "app-mappaneldeploy")]
262pub trait IMapPanelDeployMethods: IMapPanelDeploy {
263 #[doc = "`get_SubMeshCount()` overload"]
264 fn get_sub_mesh_count(self) -> i32 {
265 unsafe {
266 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
267 {
268 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
269 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
270 panic!(
271 "unity: virtual slot {}
272 out of range (vtable len {}
273) on the runtime class behind {}
274 (method `{}
275`)",
276 6usize,
277 __vt.len(),
278 <MapPanelDeploy as ::unity::ClassIdentity>::NAME,
279 "get_SubMeshCount",
280 )
281 });
282 let __inner: extern "C" fn(MapPanelDeploy, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
283 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
284 __inner(__receiver, __mi)
285 }
286 }
287 }
288 #[doc = "`Awake()` overload"]
289 fn awake(self) -> () {
290 unsafe {
291 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
292 {
293 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
294 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
295 panic!(
296 "unity: virtual slot {}
297 out of range (vtable len {}
298) on the runtime class behind {}
299 (method `{}
300`)",
301 4usize,
302 __vt.len(),
303 <MapPanelDeploy as ::unity::ClassIdentity>::NAME,
304 "Awake",
305 )
306 });
307 let __inner: extern "C" fn(MapPanelDeploy, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
308 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
309 __inner(__receiver, __mi)
310 }
311 }
312 }
313 #[doc = "`Update()` overload"]
314 fn update(self) -> () {
315 unsafe {
316 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
317 ::unity::il2cpp_call!((::unity::module_base()+0x234e6e0usize)as*mut u8,();
318(MapPanelDeploy)__receiver)
319 }
320 }
321 #[doc = "`SetMode(crate::app::mappaneldeploy::MapPanelDeploy_Mode, bool)` overload"]
322 fn set_mode(
323 self,
324 mode: impl ::core::convert::Into<crate::app::mappaneldeploy::MapPanelDeploy_Mode>,
325 is_force_update: impl ::core::convert::Into<bool>,
326 ) -> () {
327 unsafe {
328 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
329 ::unity::il2cpp_call!((::unity::module_base()+0x234f2d0usize)as*mut u8,();
330(MapPanelDeploy)__receiver,(crate::app::mappaneldeploy::MapPanelDeploy_Mode)::core::convert::Into::into(mode),(bool)::core::convert::Into::into(is_force_update))
331 }
332 }
333 #[doc = "`UpdateMode(crate::app::mappaneldeploy::MapPanelDeploy_Mode)` overload"]
334 fn update_mode(self, mode: impl ::core::convert::Into<crate::app::mappaneldeploy::MapPanelDeploy_Mode>) -> () {
335 unsafe {
336 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
337 ::unity::il2cpp_call!((::unity::module_base()+0x234ebd0usize)as*mut u8,();
338(MapPanelDeploy)__receiver,(crate::app::mappaneldeploy::MapPanelDeploy_Mode)::core::convert::Into::into(mode))
339 }
340 }
341 #[doc = "`UpdateVertex(crate::app::mappaneldeploy::MapPanelDeploy_Mode)` overload"]
342 fn update_vertex(self, mode: impl ::core::convert::Into<crate::app::mappaneldeploy::MapPanelDeploy_Mode>) -> () {
343 unsafe {
344 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
345 ::unity::il2cpp_call!((::unity::module_base()+0x234eee0usize)as*mut u8,();
346(MapPanelDeploy)__receiver,(crate::app::mappaneldeploy::MapPanelDeploy_Mode)::core::convert::Into::into(mode))
347 }
348 }
349 #[doc = "`GetSourceMaterials()` overload"]
350 fn get_source_materials(self) -> ::unity::Array<crate::unity_engine::material::Material> {
351 unsafe {
352 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
353 {
354 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
355 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
356 panic!(
357 "unity: virtual slot {}
358 out of range (vtable len {}
359) on the runtime class behind {}
360 (method `{}
361`)",
362 5usize,
363 __vt.len(),
364 <MapPanelDeploy as ::unity::ClassIdentity>::NAME,
365 "GetSourceMaterials",
366 )
367 });
368 let __inner: extern "C" fn(MapPanelDeploy, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
369 ::core::mem::transmute(__vi.method_ptr);
370 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
371 __inner(__receiver, __mi)
372 }
373 }
374 }
375 #[doc = "`UpdatePanelAlpha()` overload"]
376 fn update_panel_alpha(self) -> () {
377 unsafe {
378 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
379 ::unity::il2cpp_call!((::unity::module_base()+0x234f020usize)as*mut u8,();
380(MapPanelDeploy)__receiver)
381 }
382 }
383 #[doc = "`UpdateScale(f32)` overload"]
384 fn update_scale(self, scale: impl ::core::convert::Into<f32>) -> () {
385 unsafe {
386 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
387 ::unity::il2cpp_call!((::unity::module_base()+0x234ef20usize)as*mut u8,();
388(MapPanelDeploy)__receiver,(f32)::core::convert::Into::into(scale))
389 }
390 }
391 #[doc = "`UpdateRange(f32)` overload"]
392 fn update_range(self, range: impl ::core::convert::Into<f32>) -> () {
393 unsafe {
394 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
395 ::unity::il2cpp_call!((::unity::module_base()+0x234efa0usize)as*mut u8,();
396(MapPanelDeploy)__receiver,(f32)::core::convert::Into::into(range))
397 }
398 }
399 #[doc = "`GetMode()` overload"]
400 fn get_mode(self) -> crate::app::mappaneldeploy::MapPanelDeploy_Mode {
401 unsafe {
402 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403 ::unity::il2cpp_call!((::unity::module_base()+0x23509d0usize)as*mut u8,crate::app::mappaneldeploy::MapPanelDeploy_Mode;
404(MapPanelDeploy)__receiver)
405 }
406 }
407 #[doc = "`Reset()` overload"]
408 fn reset(self) -> () {
409 unsafe {
410 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
411 ::unity::il2cpp_call!((::unity::module_base()+0x23509e0usize)as*mut u8,();
412(MapPanelDeploy)__receiver)
413 }
414 }
415 #[doc = "`Instant()` overload"]
416 fn instant(self) -> () {
417 unsafe {
418 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
419 ::unity::il2cpp_call!((::unity::module_base()+0x2350a50usize)as*mut u8,();
420(MapPanelDeploy)__receiver)
421 }
422 }
423 #[doc = "`SetVertexMoveAndAttack()` overload"]
424 fn set_vertex_move_and_attack(self) -> () {
425 unsafe {
426 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
427 ::unity::il2cpp_call!((::unity::module_base()+0x234f300usize)as*mut u8,();
428(MapPanelDeploy)__receiver)
429 }
430 }
431 #[doc = "`SetMesh(crate::app::mapimagecorebit::MapImageCoreBit, crate::app::mappaneldeploy::MapPanelDeploy_MeshIndex, crate::unity_engine::color::Color)` overload"]
432 fn set_mesh(
433 self,
434 image: impl ::core::convert::Into<crate::app::mapimagecorebit::MapImageCoreBit>,
435 index: impl ::core::convert::Into<crate::app::mappaneldeploy::MapPanelDeploy_MeshIndex>,
436 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
437 ) -> () {
438 unsafe {
439 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
440 ::unity::il2cpp_call!((::unity::module_base()+0x2350a90usize)as*mut u8,();
441(MapPanelDeploy)__receiver,(crate::app::mapimagecorebit::MapImageCoreBit)::core::convert::Into::into(image),(crate::app::mappaneldeploy::MapPanelDeploy_MeshIndex)::core::convert::Into::into(index),(crate::unity_engine::color::Color)::core::convert::Into::into(color))
442 }
443 }
444 #[doc = "`SetVertexAttack()` overload"]
445 fn set_vertex_attack(self) -> () {
446 unsafe {
447 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
448 ::unity::il2cpp_call!((::unity::module_base()+0x23500a0usize)as*mut u8,();
449(MapPanelDeploy)__receiver)
450 }
451 }
452 #[doc = "`SetVertexWarp()` overload"]
453 fn set_vertex_warp(self) -> () {
454 unsafe {
455 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
456 ::unity::il2cpp_call!((::unity::module_base()+0x234f910usize)as*mut u8,();
457(MapPanelDeploy)__receiver)
458 }
459 }
460 #[doc = "`SetVertexCreation()` overload"]
461 fn set_vertex_creation(self) -> () {
462 unsafe {
463 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
464 ::unity::il2cpp_call!((::unity::module_base()+0x234fd40usize)as*mut u8,();
465(MapPanelDeploy)__receiver)
466 }
467 }
468 #[doc = "`get_IsIntegration()` overload"]
469 fn get_is_integration(self) -> bool {
470 unsafe {
471 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
472 ::unity::il2cpp_call!((::unity::module_base()+0x2351090usize)as*mut u8,bool;
473(MapPanelDeploy)__receiver)
474 }
475 }
476 #[doc = "`.ctor()` overload"]
477 fn ctor(self) -> () {
478 unsafe {
479 let __receiver = <MapPanelDeploy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
480 ::unity::il2cpp_call!((::unity::module_base()+0x23510a0usize)as*mut u8,();
481(MapPanelDeploy)__receiver)
482 }
483 }
484}
485
486#[cfg(feature = "app-mappaneldeploy")]
487impl<__T: IMapPanelDeploy> IMapPanelDeployMethods for __T {}
488
489#[cfg(feature = "app-mappaneldeploy")]
490impl MapPanelDeploy {
491 pub fn get_sub_mesh_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
493 }
494
495 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
497 }
498
499 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
501 }
502
503 pub fn set_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
505 }
506
507 pub fn update_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
509 }
510
511 pub fn update_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
513 }
514
515 pub fn get_source_materials_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
517 }
518
519 pub fn update_panel_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
521 }
522
523 pub fn update_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
524 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
525 }
526
527 pub fn update_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
528 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
529 }
530
531 pub fn get_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
532 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
533 }
534
535 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
536 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
537 }
538
539 pub fn instant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
540 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
541 }
542
543 pub fn set_vertex_move_and_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
544 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
545 }
546
547 pub fn set_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
548 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
549 }
550
551 pub fn set_vertex_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
552 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
553 }
554
555 pub fn set_vertex_warp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
556 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
557 }
558
559 pub fn set_vertex_creation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
560 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
561 }
562
563 pub fn get_is_integration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
564 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
565 }
566
567 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
568 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
569 }
570}
571
572#[cfg(feature = "app-mappaneldeploy")]
573impl MapPanelDeploy {
574 #[doc = "Direct (non-virtual) call to `MapPanelDeploy`'s own `get_SubMeshCount`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
575 pub unsafe fn get_sub_mesh_count(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
576 let __mi = Self::get_sub_mesh_count_method_info();
577 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
578 __inner(this.into(), ::core::option::Option::None)
579 }
580
581 #[doc = "Direct (non-virtual) call to `MapPanelDeploy`'s own `Awake`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
582 pub unsafe fn awake(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
583 let __mi = Self::awake_method_info();
584 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
585 __inner(this.into(), ::core::option::Option::None)
586 }
587
588 #[doc = "Direct (non-virtual) call to `MapPanelDeploy`'s own `GetSourceMaterials`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
589 pub unsafe fn get_source_materials(
590 this: impl ::core::convert::Into<::unity::IlInstance>,
591 ) -> ::unity::Array<crate::unity_engine::material::Material> {
592 let __mi = Self::get_source_materials_method_info();
593 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
594 ::core::mem::transmute(__mi.method_ptr);
595 __inner(this.into(), ::core::option::Option::None)
596 }
597}
598
599#[cfg(feature = "app-mappaneldeploy")]
600impl MapPanelDeploy {
601 #[doc = "`.ctor()` — no args"]
602 pub fn new() -> Self {
603 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
604 panic!(
605 "{}
606::{}
607 failed to instantiate",
608 ::core::stringify!(MapPanelDeploy),
609 ::core::stringify!(new),
610 )
611 });
612 <Self as IMapPanelDeployMethods>::ctor(this);
613 this
614 }
615}
616
617#[cfg(feature = "app-mappaneldeploy")]
618#[doc(hidden)]
619pub mod prelude {
620 pub use super::{IMapPanelDeploy, IMapPanelDeployMethods, MapPanelDeploy, MapPanelDeploy_MeshIndex, MapPanelDeploy_Mode};
621 #[cfg(feature = "app-singletonmonobehaviour_1")]
622 pub use crate::app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1Methods;
623 #[cfg(feature = "root-mappanelbase_1")]
624 pub use crate::root::mappanelbase_1::IMapPanelBase_1Methods;
625 #[cfg(feature = "system-object")]
626 pub use crate::system::object::IObjectMethods;
627 #[cfg(feature = "system-enum")]
628 pub use crate::system::r#enum::IEnumMethods;
629 #[cfg(feature = "system-valuetype")]
630 pub use crate::system::valuetype::IValueTypeMethods;
631 #[cfg(feature = "unity_engine-behaviour")]
632 pub use crate::unity_engine::behaviour::IBehaviourMethods;
633 #[cfg(feature = "unity_engine-component")]
634 pub use crate::unity_engine::component::IComponentMethods;
635 #[cfg(feature = "unity_engine-monobehaviour")]
636 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
637 #[cfg(feature = "unity_engine-object_2")]
638 pub use crate::unity_engine::object_2::IObject_2Methods;
639 pub use crate::{
640 app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1,
641 root::mappanelbase_1::IMapPanelBase_1,
642 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
643 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
644 };
645}