1#[cfg(feature = "app-mappanelactive-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 bitfield64::{BitField64, IBitField64},
11 bitfieldcommon::{BitFieldCommon, IBitFieldCommon},
12 bitfieldtemplate64_1::{BitFieldTemplate64_1, IBitFieldTemplate64_1},
13 singletonmonobehaviour_1::{ISingletonMonoBehaviour_1, SingletonMonoBehaviour_1},
14 },
15 root::mappanelbase_1::{IMapPanelBase_1, MapPanelBase_1},
16 system::{
17 delegate::{Delegate, IDelegate},
18 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
19 object::{IObject, Object},
20 r#enum::{Enum, IEnum},
21 valuetype::{IValueType, ValueType},
22 },
23 unity_engine::{
24 behaviour::{Behaviour, IBehaviour},
25 component::{Component, IComponent},
26 monobehaviour::{IMonoBehaviour, MonoBehaviour},
27 object_2::{IObject_2, Object_2},
28 },
29 };
30
31 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappanelactive/MapPanelActive_MeshIndex.md"))]
32 #[repr(C)]
33 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
34 pub struct MapPanelActive_MeshIndex {
35 pub value: i32,
36 }
37 impl ::unity::ClassIdentity for MapPanelActive_MeshIndex {
38 const NAME: &'static str = "MapPanelActive.MeshIndex";
39 const NAMESPACE: &'static str = "App";
40
41 fn class() -> ::unity::Class {
42 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
43 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
44 }
45 }
46 impl ::unity::IlType for MapPanelActive_MeshIndex {
47 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
48 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
49 }
50 }
51 impl MapPanelActive_MeshIndex {
52 pub fn r#move() -> Self {
53 Self { value: 0 }
54 }
55
56 pub fn attack() -> Self {
57 Self { value: 1 }
58 }
59
60 pub fn heal() -> Self {
61 Self { value: 2 }
62 }
63
64 pub fn support() -> Self {
65 Self { value: 3 }
66 }
67
68 pub fn interference() -> Self {
69 Self { value: 4 }
70 }
71
72 pub fn dance() -> Self {
73 Self { value: 5 }
74 }
75
76 pub fn action() -> Self {
77 Self { value: 6 }
78 }
79
80 pub fn range() -> Self {
81 Self { value: 7 }
82 }
83
84 pub fn overlap() -> Self {
85 Self { value: 8 }
86 }
87
88 pub fn num() -> Self {
89 Self { value: 9 }
90 }
91 }
92
93 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappanelactive/MapPanelActive.md"))]
94 #[::unity::class(namespace = "App", name = "MapPanelActive")]
95 #[parent(crate::root::mappanelbase_1::MapPanelBase_1<crate::app::mappanelactive::MapPanelActive>)]
96 pub struct MapPanelActive {
97 #[offset(64)]
98 #[rename(name = "m_ImageList")]
99 pub m_image_list: ::unity::Array<crate::system::collections::generic::list_1::List_1<crate::app::mappanelactive::MapPanelActive_MeshIndex>>,
100 #[offset(72)]
101 #[rename(name = "m_MoveImage")]
102 pub m_move_image: crate::unity_engine::material::Material,
103 #[offset(80)]
104 #[rename(name = "m_AttackImage")]
105 pub m_attack_image: crate::unity_engine::material::Material,
106 #[offset(88)]
107 #[rename(name = "m_HealImage")]
108 pub m_heal_image: crate::unity_engine::material::Material,
109 #[offset(96)]
110 #[rename(name = "m_SupportImage")]
111 pub m_support_image: crate::unity_engine::material::Material,
112 #[offset(104)]
113 #[rename(name = "m_InterferenceImage")]
114 pub m_interference_image: crate::unity_engine::material::Material,
115 #[offset(112)]
116 #[rename(name = "m_DanceImage")]
117 pub m_dance_image: crate::unity_engine::material::Material,
118 #[offset(120)]
119 #[rename(name = "m_ActionImage")]
120 pub m_action_image: crate::unity_engine::material::Material,
121 #[offset(128)]
122 #[rename(name = "m_RangeImage")]
123 pub m_range_image: crate::unity_engine::material::Material,
124 #[offset(136)]
125 #[rename(name = "m_OverlapImage")]
126 pub m_overlap_image: crate::unity_engine::material::Material,
127 #[offset(144)]
128 #[rename(name = "m_Mind")]
129 pub m_mind: crate::app::mapmind::MapMind_Type,
130 #[offset(148)]
131 #[rename(name = "m_Mode")]
132 pub m_mode: crate::app::mappaneldeploy::MapPanelDeploy_Mode,
133 #[offset(152)]
134 #[rename(name = "m_Flag")]
135 pub m_flag: crate::app::mappanelactive::MapPanelActive_FlagField,
136 #[offset(160)]
137 #[rename(name = "m_IsUpdate")]
138 pub m_is_update: bool,
139 #[offset(168)]
140 #[rename(name = "m_Alpha")]
141 pub m_alpha: crate::app::interpolatorfloat::InterpolatorFloat,
142 #[offset(176)]
143 #[rename(name = "m_MoveColor")]
144 pub m_move_color: crate::unity_engine::color::Color,
145 #[offset(192)]
146 #[rename(name = "m_AttackColor")]
147 pub m_attack_color: crate::unity_engine::color::Color,
148 #[offset(208)]
149 #[rename(name = "m_HealColor")]
150 pub m_heal_color: crate::unity_engine::color::Color,
151 #[offset(224)]
152 #[rename(name = "m_SupportColor")]
153 pub m_support_color: crate::unity_engine::color::Color,
154 #[offset(240)]
155 #[rename(name = "m_InterferenceColor")]
156 pub m_interference_color: crate::unity_engine::color::Color,
157 #[offset(256)]
158 #[rename(name = "m_DanceColor")]
159 pub m_dance_color: crate::unity_engine::color::Color,
160 #[offset(272)]
161 #[rename(name = "m_ActionColor")]
162 pub m_action_color: crate::unity_engine::color::Color,
163 #[offset(288)]
164 #[rename(name = "m_DragonVeinColor")]
165 pub m_dragon_vein_color: crate::unity_engine::color::Color,
166 #[offset(304)]
167 #[rename(name = "m_OverlapColor")]
168 pub m_overlap_color: crate::unity_engine::color::Color,
169 #[offset(320)]
170 #[rename(name = "m_AttackRangeColor")]
171 pub m_attack_range_color: crate::unity_engine::color::Color,
172 #[offset(336)]
173 #[rename(name = "m_HealRangeColor")]
174 pub m_heal_range_color: crate::unity_engine::color::Color,
175 #[offset(352)]
176 #[rename(name = "m_SupportRangeColor")]
177 pub m_support_range_color: crate::unity_engine::color::Color,
178 #[offset(368)]
179 #[rename(name = "m_InterferenceRangeColor")]
180 pub m_interference_range_color: crate::unity_engine::color::Color,
181 #[offset(384)]
182 #[rename(name = "m_WarpRangeColor")]
183 pub m_warp_range_color: crate::unity_engine::color::Color,
184 #[offset(400)]
185 #[rename(name = "m_DanceRangeColor")]
186 pub m_dance_range_color: crate::unity_engine::color::Color,
187 #[offset(416)]
188 #[rename(name = "m_ActionRangeColor")]
189 pub m_action_range_color: crate::unity_engine::color::Color,
190 #[offset(432)]
191 #[rename(name = "m_RangeColor")]
192 pub m_range_color: crate::unity_engine::color::Color,
193 #[offset(448)]
194 #[rename(name = "m_DisplayColor")]
195 pub m_display_color: crate::unity_engine::color::Color,
196 #[offset(464)]
197 #[rename(name = "m_TempImage")]
198 pub m_temp_image: crate::app::mapimagecorebit::MapImageCoreBit,
199 #[offset(472)]
200 #[rename(name = "m_MovingAlpha")]
201 pub m_moving_alpha: crate::app::gamecurve::GameCurve,
202 #[offset(480)]
203 #[rename(name = "m_StoppedAlpha")]
204 pub m_stopped_alpha: crate::app::gamecurve::GameCurve,
205 #[offset(488)]
206 #[rename(name = "m_Time")]
207 pub m_time: f32,
208 #[offset(496)]
209 #[rename(name = "m_Unit")]
210 pub m_unit: crate::app::unit::Unit,
211 #[static_field]
212 #[rename(name = "AROUND")]
213 pub around: ::unity::Array<crate::unity_engine::vector2int::Vector2Int>,
214 #[static_field]
215 #[rename(name = "ROTATION")]
216 pub rotation: ::unity::Array<i32>,
217 #[static_field]
218 #[rename(name = "FLAG")]
219 pub flag_field: ::unity::Array<crate::unity_engine::vector2int::Vector2Int>,
220 }
221
222 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappanelactive/MapPanelActive_TargetFunc.md"))]
223 #[::unity::class(namespace = "App", name = "MapPanelActive.TargetFunc")]
224 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
225 pub struct MapPanelActive_TargetFunc {}
226
227 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappanelactive/MapPanelActive_FlagField.md"))]
228 #[::unity::class(namespace = "App", name = "MapPanelActive.FlagField")]
229 #[parent(crate::app::bitfieldtemplate64_1::BitFieldTemplate64_1<crate::app::mapdeploytemplate_1::MapDeployTemplate_1_Flag<crate::app::mapdeploy::MapDeploy> >)]
230 pub struct MapPanelActive_FlagField {}
231}
232
233#[cfg(feature = "app-mappanelactive-types")]
234pub use __types::*;
235
236#[cfg(feature = "app-mappanelactive")]
237impl MapPanelActive {
238 #[doc = "`.cctor()` overload"]
239 pub fn cctor() -> () {
240 unsafe {
241 ::unity::il2cpp_call!((::unity::module_base()+0x1e02600usize)as*mut u8,();
242 )
243 }
244 }
245}
246
247#[cfg(feature = "app-mappanelactive")]
248pub trait IMapPanelActiveMethods: IMapPanelActive {
249 #[doc = "`get_SubMeshCount()` overload"]
250 fn get_sub_mesh_count(self) -> i32 {
251 unsafe {
252 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
253 {
254 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
255 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
256 panic!(
257 "unity: virtual slot {}
258 out of range (vtable len {}
259) on the runtime class behind {}
260 (method `{}
261`)",
262 6usize,
263 __vt.len(),
264 <MapPanelActive as ::unity::ClassIdentity>::NAME,
265 "get_SubMeshCount",
266 )
267 });
268 let __inner: extern "C" fn(MapPanelActive, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
269 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
270 __inner(__receiver, __mi)
271 }
272 }
273 }
274 #[doc = "`Awake()` overload"]
275 fn awake(self) -> () {
276 unsafe {
277 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278 {
279 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
280 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
281 panic!(
282 "unity: virtual slot {}
283 out of range (vtable len {}
284) on the runtime class behind {}
285 (method `{}
286`)",
287 4usize,
288 __vt.len(),
289 <MapPanelActive as ::unity::ClassIdentity>::NAME,
290 "Awake",
291 )
292 });
293 let __inner: extern "C" fn(MapPanelActive, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
294 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
295 __inner(__receiver, __mi)
296 }
297 }
298 }
299 #[doc = "`Start()` overload"]
300 fn start(self) -> () {
301 unsafe {
302 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
303 ::unity::il2cpp_call!((::unity::module_base()+0x1dff350usize)as*mut u8,();
304(MapPanelActive)__receiver)
305 }
306 }
307 #[doc = "`Update()` overload"]
308 fn update(self) -> () {
309 unsafe {
310 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311 ::unity::il2cpp_call!((::unity::module_base()+0x1dff480usize)as*mut u8,();
312(MapPanelActive)__receiver)
313 }
314 }
315 #[doc = "`GetSourceMaterials()` overload"]
316 fn get_source_materials(self) -> ::unity::Array<crate::unity_engine::material::Material> {
317 unsafe {
318 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
319 {
320 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
321 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
322 panic!(
323 "unity: virtual slot {}
324 out of range (vtable len {}
325) on the runtime class behind {}
326 (method `{}
327`)",
328 5usize,
329 __vt.len(),
330 <MapPanelActive as ::unity::ClassIdentity>::NAME,
331 "GetSourceMaterials",
332 )
333 });
334 let __inner: extern "C" fn(MapPanelActive, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
335 ::core::mem::transmute(__vi.method_ptr);
336 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
337 __inner(__receiver, __mi)
338 }
339 }
340 }
341 #[doc = "`UpdatePanelAlpha()` overload"]
342 fn update_panel_alpha(self) -> () {
343 unsafe {
344 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
345 ::unity::il2cpp_call!((::unity::module_base()+0x1dff7e0usize)as*mut u8,();
346(MapPanelActive)__receiver)
347 }
348 }
349 #[doc = "`UpdateAlwaysPanelAlpha()` overload"]
350 fn update_always_panel_alpha(self) -> () {
351 unsafe {
352 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
353 ::unity::il2cpp_call!((::unity::module_base()+0x1dffa80usize)as*mut u8,();
354(MapPanelActive)__receiver)
355 }
356 }
357 #[doc = "`UpdateOrderPanelAlpha()` overload"]
358 fn update_order_panel_alpha(self) -> () {
359 unsafe {
360 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
361 ::unity::il2cpp_call!((::unity::module_base()+0x1dffcc0usize)as*mut u8,();
362(MapPanelActive)__receiver)
363 }
364 }
365 #[doc = "`GetMode()` overload"]
366 fn get_mode(self) -> crate::app::mappaneldeploy::MapPanelDeploy_Mode {
367 unsafe {
368 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
369 ::unity::il2cpp_call!((::unity::module_base()+0x1dfff80usize)as*mut u8,crate::app::mappaneldeploy::MapPanelDeploy_Mode;
370(MapPanelActive)__receiver)
371 }
372 }
373 #[doc = "`SetMode(crate::app::mappaneldeploy::MapPanelDeploy_Mode, bool, crate::app::skilldata::SkillData)` overload"]
374 fn set_mode(
375 self,
376 mode: impl ::core::convert::Into<crate::app::mappaneldeploy::MapPanelDeploy_Mode>,
377 is_force_update: impl ::core::convert::Into<bool>,
378 command_skill: impl ::core::convert::Into<crate::app::skilldata::SkillData>,
379 ) -> () {
380 unsafe {
381 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
382 ::unity::il2cpp_call!((::unity::module_base()+0x1dfff90usize)as*mut u8,();
383(MapPanelActive)__receiver,(crate::app::mappaneldeploy::MapPanelDeploy_Mode)::core::convert::Into::into(mode),(bool)::core::convert::Into::into(is_force_update),(crate::app::skilldata::SkillData)::core::convert::Into::into(command_skill))
384 }
385 }
386 #[doc = "`UpdateMode()` overload"]
387 fn update_mode(self) -> () {
388 unsafe {
389 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
390 ::unity::il2cpp_call!((::unity::module_base()+0x1dff660usize)as*mut u8,();
391(MapPanelActive)__receiver)
392 }
393 }
394 #[doc = "`UpdateVertex()` overload"]
395 fn update_vertex(self) -> () {
396 unsafe {
397 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
398 ::unity::il2cpp_call!((::unity::module_base()+0x1dff7b0usize)as*mut u8,();
399(MapPanelActive)__receiver)
400 }
401 }
402 #[doc = "`SetUnit(crate::app::unit::Unit)` overload"]
403 fn set_unit(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
404 unsafe {
405 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406 ::unity::il2cpp_call!((::unity::module_base()+0x1e00c10usize)as*mut u8,();
407(MapPanelActive)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
408 }
409 }
410 #[doc = "`set_IsUpdate(bool)` overload"]
411 fn set_is_update(self, value: impl ::core::convert::Into<bool>) -> () {
412 unsafe {
413 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414 ::unity::il2cpp_call!((::unity::module_base()+0x1e00c20usize)as*mut u8,();
415(MapPanelActive)__receiver,(bool)::core::convert::Into::into(value))
416 }
417 }
418 #[doc = "`CanTarget(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
419 fn can_target(
420 self,
421 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
422 target: impl ::core::convert::Into<crate::app::unit::Unit>,
423 ) -> bool {
424 unsafe {
425 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
426 ::unity::il2cpp_call!((::unity::module_base()+0x1e00c30usize)as*mut u8,bool;
427(MapPanelActive)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::unit::Unit)::core::convert::Into::into(target))
428 }
429 }
430 #[doc = "`CanAttack(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
431 fn can_attack(
432 self,
433 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
434 target: impl ::core::convert::Into<crate::app::unit::Unit>,
435 ) -> bool {
436 unsafe {
437 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438 ::unity::il2cpp_call!((::unity::module_base()+0x1e00eb0usize)as*mut u8,bool;
439(MapPanelActive)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::unit::Unit)::core::convert::Into::into(target))
440 }
441 }
442 #[doc = "`CanUseRod(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
443 fn can_use_rod(
444 self,
445 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
446 target: impl ::core::convert::Into<crate::app::unit::Unit>,
447 ) -> bool {
448 unsafe {
449 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
450 ::unity::il2cpp_call!((::unity::module_base()+0x1e00fb0usize)as*mut u8,bool;
451(MapPanelActive)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::unit::Unit)::core::convert::Into::into(target))
452 }
453 }
454 #[doc = "`EachTargetCell(i32, i32, i32, i32, crate::app::mappanelactive::MapPanelActive_TargetFunc)` overload"]
455 fn each_target_cell(
456 self,
457 x: impl ::core::convert::Into<i32>,
458 z: impl ::core::convert::Into<i32>,
459 min_range: impl ::core::convert::Into<i32>,
460 max_range: impl ::core::convert::Into<i32>,
461 func: impl ::core::convert::Into<crate::app::mappanelactive::MapPanelActive_TargetFunc>,
462 ) -> () {
463 unsafe {
464 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
465 ::unity::il2cpp_call!((::unity::module_base()+0x1e010a0usize)as*mut u8,();
466(MapPanelActive)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(min_range),(i32)::core::convert::Into::into(max_range),(crate::app::mappanelactive::MapPanelActive_TargetFunc)::core::convert::Into::into(func))
467 }
468 }
469 #[doc = "`AddCell(crate::system::collections::generic::list_1::List_1<crate::app::rangedata::RangeData_Offset>, i32, i32, crate::unity_engine::color::Color, crate::root::mappanelbase_1::MapPanelBase_1_PanelType<crate::app::mappanelactive::MapPanelActive>)` overload"]
470 fn add_cell(
471 self,
472 ranges: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::rangedata::RangeData_Offset>>,
473 x: impl ::core::convert::Into<i32>,
474 z: impl ::core::convert::Into<i32>,
475 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
476 r#type: impl ::core::convert::Into<crate::root::mappanelbase_1::MapPanelBase_1_PanelType<crate::app::mappanelactive::MapPanelActive>>,
477 ) -> () {
478 unsafe {
479 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
480 ::unity::il2cpp_call!((::unity::module_base()+0x1e011e0usize)as*mut u8,();
481(MapPanelActive)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::rangedata::RangeData_Offset>)::core::convert::Into::into(ranges),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(crate::root::mappanelbase_1::MapPanelBase_1_PanelType<crate::app::mappanelactive::MapPanelActive>)::core::convert::Into::into(r#type))
482 }
483 }
484 #[doc = "`SetVertex()` overload"]
485 fn set_vertex(self) -> () {
486 unsafe {
487 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
488 ::unity::il2cpp_call!((::unity::module_base()+0x1e006a0usize)as*mut u8,();
489(MapPanelActive)__receiver)
490 }
491 }
492 #[doc = "`SetMesh(crate::app::mapdeploymoveimage::MapDeployMoveImage, crate::app::mappanelactive::MapPanelActive_MeshIndex)` overload"]
493 fn set_mesh(
494 self,
495 image: impl ::core::convert::Into<crate::app::mapdeploymoveimage::MapDeployMoveImage>,
496 index: impl ::core::convert::Into<crate::app::mappanelactive::MapPanelActive_MeshIndex>,
497 ) -> () {
498 unsafe {
499 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
500 ::unity::il2cpp_call!((::unity::module_base()+0x1e013b0usize)as*mut u8,();
501(MapPanelActive)__receiver,(crate::app::mapdeploymoveimage::MapDeployMoveImage)::core::convert::Into::into(image),(crate::app::mappanelactive::MapPanelActive_MeshIndex)::core::convert::Into::into(index))
502 }
503 }
504 #[doc = "`SetMesh(crate::app::mapimagecorebit::MapImageCoreBit, crate::app::mappanelactive::MapPanelActive_MeshIndex, crate::unity_engine::color::Color, crate::app::mapdeploytemplate_1::MapDeployTemplate_1_DisplayType<crate::app::mapdeploy::MapDeploy>, bool)` overload"]
505 fn set_mesh_2(
506 self,
507 image: impl ::core::convert::Into<crate::app::mapimagecorebit::MapImageCoreBit>,
508 index: impl ::core::convert::Into<crate::app::mappanelactive::MapPanelActive_MeshIndex>,
509 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
510 display: impl ::core::convert::Into<crate::app::mapdeploytemplate_1::MapDeployTemplate_1_DisplayType<crate::app::mapdeploy::MapDeploy>>,
511 is_ignore_move_image: impl ::core::convert::Into<bool>,
512 ) -> () {
513 unsafe {
514 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
515 ::unity::il2cpp_call!((::unity::module_base()+0x1e01800usize)as*mut u8,();
516(MapPanelActive)__receiver,(crate::app::mapimagecorebit::MapImageCoreBit)::core::convert::Into::into(image),(crate::app::mappanelactive::MapPanelActive_MeshIndex)::core::convert::Into::into(index),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(crate::app::mapdeploytemplate_1::MapDeployTemplate_1_DisplayType<crate::app::mapdeploy::MapDeploy>)::core::convert::Into::into(display),(bool)::core::convert::Into::into(is_ignore_move_image))
517 }
518 }
519 #[doc = "`CanSetMesh(i32, i32)` overload"]
520 fn can_set_mesh(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
521 unsafe {
522 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
523 ::unity::il2cpp_call!((::unity::module_base()+0x1e01fb0usize)as*mut u8,bool;
524(MapPanelActive)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
525 }
526 }
527 #[doc = "`CanDrawMoveImage(i32, i32)` overload"]
528 fn can_draw_move_image(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
529 unsafe {
530 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
531 ::unity::il2cpp_call!((::unity::module_base()+0x1e01d60usize)as*mut u8,bool;
532(MapPanelActive)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
533 }
534 }
535 #[doc = "`get_Mind()` overload"]
536 fn get_mind(self) -> crate::app::mapmind::MapMind_Type {
537 unsafe {
538 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
539 ::unity::il2cpp_call!((::unity::module_base()+0x1e02300usize)as*mut u8,crate::app::mapmind::MapMind_Type;
540(MapPanelActive)__receiver)
541 }
542 }
543 #[doc = "`set_Mind(crate::app::mapmind::MapMind_Type)` overload"]
544 fn set_mind(self, value: impl ::core::convert::Into<crate::app::mapmind::MapMind_Type>) -> () {
545 unsafe {
546 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
547 ::unity::il2cpp_call!((::unity::module_base()+0x1e02310usize)as*mut u8,();
548(MapPanelActive)__receiver,(crate::app::mapmind::MapMind_Type)::core::convert::Into::into(value))
549 }
550 }
551 #[doc = "`set_Flag(crate::app::mappanelactive::MapPanelActive_FlagField)` overload"]
552 fn set_flag(self, value: impl ::core::convert::Into<crate::app::mappanelactive::MapPanelActive_FlagField>) -> () {
553 unsafe {
554 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
555 ::unity::il2cpp_call!((::unity::module_base()+0x1e02320usize)as*mut u8,();
556(MapPanelActive)__receiver,(crate::app::mappanelactive::MapPanelActive_FlagField)::core::convert::Into::into(value))
557 }
558 }
559 #[doc = "`get_HealColor()` overload"]
560 fn get_heal_color(self) -> crate::unity_engine::color::Color {
561 unsafe {
562 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
563 ::unity::il2cpp_call!((::unity::module_base()+0x1e02330usize)as*mut u8,crate::unity_engine::color::Color;
564(MapPanelActive)__receiver)
565 }
566 }
567 #[doc = "`get_ActionColor()` overload"]
568 fn get_action_color(self) -> crate::unity_engine::color::Color {
569 unsafe {
570 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
571 ::unity::il2cpp_call!((::unity::module_base()+0x1e02340usize)as*mut u8,crate::unity_engine::color::Color;
572(MapPanelActive)__receiver)
573 }
574 }
575 #[doc = "`get_DragonVeinColor()` overload"]
576 fn get_dragon_vein_color(self) -> crate::unity_engine::color::Color {
577 unsafe {
578 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
579 ::unity::il2cpp_call!((::unity::module_base()+0x1e02360usize)as*mut u8,crate::unity_engine::color::Color;
580(MapPanelActive)__receiver)
581 }
582 }
583 #[doc = "`get_AttackRangeColor()` overload"]
584 fn get_attack_range_color(self) -> crate::unity_engine::color::Color {
585 unsafe {
586 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
587 ::unity::il2cpp_call!((::unity::module_base()+0x1e02380usize)as*mut u8,crate::unity_engine::color::Color;
588(MapPanelActive)__receiver)
589 }
590 }
591 #[doc = "`get_HealRangeColor()` overload"]
592 fn get_heal_range_color(self) -> crate::unity_engine::color::Color {
593 unsafe {
594 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
595 ::unity::il2cpp_call!((::unity::module_base()+0x1e023a0usize)as*mut u8,crate::unity_engine::color::Color;
596(MapPanelActive)__receiver)
597 }
598 }
599 #[doc = "`get_SupportRangeColor()` overload"]
600 fn get_support_range_color(self) -> crate::unity_engine::color::Color {
601 unsafe {
602 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
603 ::unity::il2cpp_call!((::unity::module_base()+0x1e023c0usize)as*mut u8,crate::unity_engine::color::Color;
604(MapPanelActive)__receiver)
605 }
606 }
607 #[doc = "`get_InterferenceRangeColor()` overload"]
608 fn get_interference_range_color(self) -> crate::unity_engine::color::Color {
609 unsafe {
610 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
611 ::unity::il2cpp_call!((::unity::module_base()+0x1e023e0usize)as*mut u8,crate::unity_engine::color::Color;
612(MapPanelActive)__receiver)
613 }
614 }
615 #[doc = "`get_WarpRangeColor()` overload"]
616 fn get_warp_range_color(self) -> crate::unity_engine::color::Color {
617 unsafe {
618 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
619 ::unity::il2cpp_call!((::unity::module_base()+0x1e02400usize)as*mut u8,crate::unity_engine::color::Color;
620(MapPanelActive)__receiver)
621 }
622 }
623 #[doc = "`get_DanceRangeColor()` overload"]
624 fn get_dance_range_color(self) -> crate::unity_engine::color::Color {
625 unsafe {
626 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
627 ::unity::il2cpp_call!((::unity::module_base()+0x1e02420usize)as*mut u8,crate::unity_engine::color::Color;
628(MapPanelActive)__receiver)
629 }
630 }
631 #[doc = "`get_ActionRangeColor()` overload"]
632 fn get_action_range_color(self) -> crate::unity_engine::color::Color {
633 unsafe {
634 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
635 ::unity::il2cpp_call!((::unity::module_base()+0x1e02440usize)as*mut u8,crate::unity_engine::color::Color;
636(MapPanelActive)__receiver)
637 }
638 }
639 #[doc = "`set_DisplayColor(crate::unity_engine::color::Color)` overload"]
640 fn set_display_color(self, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
641 unsafe {
642 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
643 ::unity::il2cpp_call!((::unity::module_base()+0x1e02460usize)as*mut u8,();
644(MapPanelActive)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(value))
645 }
646 }
647 #[doc = "`get_RangeColor()` overload"]
648 fn get_range_color(self) -> crate::unity_engine::color::Color {
649 unsafe {
650 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
651 ::unity::il2cpp_call!((::unity::module_base()+0x1e02480usize)as*mut u8,crate::unity_engine::color::Color;
652(MapPanelActive)__receiver)
653 }
654 }
655 #[doc = "`set_RangeColor(crate::unity_engine::color::Color)` overload"]
656 fn set_range_color(self, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
657 unsafe {
658 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
659 ::unity::il2cpp_call!((::unity::module_base()+0x1e024a0usize)as*mut u8,();
660(MapPanelActive)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(value))
661 }
662 }
663 #[doc = "`.ctor()` overload"]
664 fn ctor(self) -> () {
665 unsafe {
666 let __receiver = <MapPanelActive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
667 ::unity::il2cpp_call!((::unity::module_base()+0x1e024c0usize)as*mut u8,();
668(MapPanelActive)__receiver)
669 }
670 }
671}
672
673#[cfg(feature = "app-mappanelactive")]
674impl<__T: IMapPanelActive> IMapPanelActiveMethods for __T {}
675
676#[cfg(feature = "app-mappanelactive")]
677impl MapPanelActive {
678 pub fn get_sub_mesh_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
679 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
680 }
681
682 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
683 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
684 }
685
686 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
687 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
688 }
689
690 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
691 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
692 }
693
694 pub fn get_source_materials_method_info() -> &'static ::unity::il2cpp::MethodInfo {
695 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
696 }
697
698 pub fn update_panel_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
699 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
700 }
701
702 pub fn update_always_panel_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
703 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
704 }
705
706 pub fn update_order_panel_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
707 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
708 }
709
710 pub fn get_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
711 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
712 }
713
714 pub fn set_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
715 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
716 }
717
718 pub fn update_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
719 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
720 }
721
722 pub fn update_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
723 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
724 }
725
726 pub fn set_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
727 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
728 }
729
730 pub fn set_is_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
731 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
732 }
733
734 pub fn can_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
735 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
736 }
737
738 pub fn can_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
739 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
740 }
741
742 pub fn can_use_rod_method_info() -> &'static ::unity::il2cpp::MethodInfo {
743 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
744 }
745
746 pub fn each_target_cell_method_info() -> &'static ::unity::il2cpp::MethodInfo {
747 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
748 }
749
750 pub fn add_cell_method_info() -> &'static ::unity::il2cpp::MethodInfo {
751 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
752 }
753
754 pub fn set_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
755 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
756 }
757
758 pub fn set_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
759 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
760 }
761
762 pub fn set_mesh_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
763 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
764 }
765
766 pub fn can_set_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
767 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
768 }
769
770 pub fn can_draw_move_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
771 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
772 }
773
774 pub fn get_mind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
775 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
776 }
777
778 pub fn set_mind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
779 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
780 }
781
782 pub fn set_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
783 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
784 }
785
786 pub fn get_heal_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
787 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
788 }
789
790 pub fn get_action_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
791 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
792 }
793
794 pub fn get_dragon_vein_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
795 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
796 }
797
798 pub fn get_attack_range_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
799 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
800 }
801
802 pub fn get_heal_range_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
803 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
804 }
805
806 pub fn get_support_range_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
807 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
808 }
809
810 pub fn get_interference_range_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
811 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
812 }
813
814 pub fn get_warp_range_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
815 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
816 }
817
818 pub fn get_dance_range_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
819 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
820 }
821
822 pub fn get_action_range_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
823 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
824 }
825
826 pub fn set_display_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
827 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
828 }
829
830 pub fn get_range_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
831 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
832 }
833
834 pub fn set_range_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
835 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
836 }
837
838 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
839 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
840 }
841
842 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
843 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
844 }
845}
846
847#[cfg(feature = "app-mappanelactive")]
848impl MapPanelActive {
849 #[doc = "Direct (non-virtual) call to `MapPanelActive`'s own `get_SubMeshCount`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
850 pub unsafe fn get_sub_mesh_count(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
851 let __mi = Self::get_sub_mesh_count_method_info();
852 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
853 __inner(this.into(), ::core::option::Option::None)
854 }
855
856 #[doc = "Direct (non-virtual) call to `MapPanelActive`'s own `Awake`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
857 pub unsafe fn awake(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
858 let __mi = Self::awake_method_info();
859 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
860 __inner(this.into(), ::core::option::Option::None)
861 }
862
863 #[doc = "Direct (non-virtual) call to `MapPanelActive`'s own `GetSourceMaterials`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
864 pub unsafe fn get_source_materials(
865 this: impl ::core::convert::Into<::unity::IlInstance>,
866 ) -> ::unity::Array<crate::unity_engine::material::Material> {
867 let __mi = Self::get_source_materials_method_info();
868 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
869 ::core::mem::transmute(__mi.method_ptr);
870 __inner(this.into(), ::core::option::Option::None)
871 }
872}
873
874#[cfg(feature = "app-mappanelactive")]
875impl MapPanelActive {
876 #[doc = "`.ctor()` — no args"]
877 pub fn new() -> Self {
878 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
879 panic!(
880 "{}
881::{}
882 failed to instantiate",
883 ::core::stringify!(MapPanelActive),
884 ::core::stringify!(new),
885 )
886 });
887 <Self as IMapPanelActiveMethods>::ctor(this);
888 this
889 }
890}
891
892#[cfg(feature = "app-mappanelactive")]
893pub trait IMapPanelActive_TargetFuncMethods: IMapPanelActive_TargetFunc {
894 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
895 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
896 unsafe {
897 let __receiver =
898 <MapPanelActive_TargetFunc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
899 ::unity::il2cpp_call!((::unity::module_base()+0x218d3a0usize)as*mut u8,();
900(MapPanelActive_TargetFunc)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
901 }
902 }
903 #[doc = "`Invoke(i32, i32)` overload"]
904 fn invoke(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
905 unsafe {
906 let __receiver =
907 <MapPanelActive_TargetFunc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
908 {
909 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
910 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
911 panic!(
912 "unity: virtual slot {}
913 out of range (vtable len {}
914) on the runtime class behind {}
915 (method `{}
916`)",
917 13usize,
918 __vt.len(),
919 <MapPanelActive_TargetFunc as ::unity::ClassIdentity>::NAME,
920 "Invoke",
921 )
922 });
923 let __inner: extern "C" fn(MapPanelActive_TargetFunc, i32, i32, ::unity::OptionalMethod) -> bool =
924 ::core::mem::transmute(__vi.method_ptr);
925 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
926 __inner(__receiver, ::core::convert::Into::into(x), ::core::convert::Into::into(z), __mi)
927 }
928 }
929 }
930}
931
932#[cfg(feature = "app-mappanelactive")]
933impl<__T: IMapPanelActive_TargetFunc> IMapPanelActive_TargetFuncMethods for __T {}
934
935#[cfg(feature = "app-mappanelactive")]
936impl MapPanelActive_TargetFunc {
937 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
938 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
939 }
940
941 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
942 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
943 }
944}
945
946#[cfg(feature = "app-mappanelactive")]
947impl MapPanelActive_TargetFunc {
948 #[doc = "Direct (non-virtual) call to `MapPanelActive_TargetFunc`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
949 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, x: i32, z: i32) -> bool {
950 let __mi = Self::invoke_method_info();
951 let __inner: extern "C" fn(::unity::IlInstance, i32, i32, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
952 __inner(this.into(), x, z, ::core::option::Option::None)
953 }
954}
955
956#[cfg(feature = "app-mappanelactive")]
957impl MapPanelActive_TargetFunc {
958 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
959 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
960 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
961 panic!(
962 "{}
963::{}
964 failed to instantiate",
965 ::core::stringify!(MapPanelActive_TargetFunc),
966 ::core::stringify!(new),
967 )
968 });
969 <Self as IMapPanelActive_TargetFuncMethods>::ctor(this, object, method);
970 this
971 }
972}
973
974#[cfg(feature = "app-mappanelactive")]
975pub trait IMapPanelActive_FlagFieldMethods: IMapPanelActive_FlagField {
976 #[doc = "`ToLong(crate::app::mapdeploytemplate_1::MapDeployTemplate_1_Flag<crate::app::mapdeploy::MapDeploy>)` overload"]
977 fn to_long(
978 self,
979 value: impl ::core::convert::Into<crate::app::mapdeploytemplate_1::MapDeployTemplate_1_Flag<crate::app::mapdeploy::MapDeploy>>,
980 ) -> i64 {
981 unsafe {
982 let __receiver =
983 <MapPanelActive_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
984 {
985 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
986 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
987 panic!(
988 "unity: virtual slot {}
989 out of range (vtable len {}
990) on the runtime class behind {}
991 (method `{}
992`)",
993 5usize,
994 __vt.len(),
995 <MapPanelActive_FlagField as ::unity::ClassIdentity>::NAME,
996 "ToLong",
997 )
998 });
999 let __inner: extern "C" fn(
1000 MapPanelActive_FlagField,
1001 crate::app::mapdeploytemplate_1::MapDeployTemplate_1_Flag<crate::app::mapdeploy::MapDeploy>,
1002 ::unity::OptionalMethod,
1003 ) -> i64 = ::core::mem::transmute(__vi.method_ptr);
1004 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1005 __inner(__receiver, ::core::convert::Into::into(value), __mi)
1006 }
1007 }
1008 }
1009 #[doc = "`.ctor()` overload"]
1010 fn ctor(self) -> () {
1011 unsafe {
1012 let __receiver =
1013 <MapPanelActive_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1014 ::unity::il2cpp_call!((::unity::module_base()+0x218d340usize)as*mut u8,();
1015(MapPanelActive_FlagField)__receiver)
1016 }
1017 }
1018}
1019
1020#[cfg(feature = "app-mappanelactive")]
1021impl<__T: IMapPanelActive_FlagField> IMapPanelActive_FlagFieldMethods for __T {}
1022
1023#[cfg(feature = "app-mappanelactive")]
1024impl MapPanelActive_FlagField {
1025 pub fn to_long_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1026 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1027 }
1028
1029 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1030 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1031 }
1032}
1033
1034#[cfg(feature = "app-mappanelactive")]
1035impl MapPanelActive_FlagField {
1036 #[doc = "Direct (non-virtual) call to `MapPanelActive_FlagField`'s own `ToLong`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1037 pub unsafe fn to_long(
1038 this: impl ::core::convert::Into<::unity::IlInstance>,
1039 value: crate::app::mapdeploytemplate_1::MapDeployTemplate_1_Flag<crate::app::mapdeploy::MapDeploy>,
1040 ) -> i64 {
1041 let __mi = Self::to_long_method_info();
1042 let __inner: extern "C" fn(
1043 ::unity::IlInstance,
1044 crate::app::mapdeploytemplate_1::MapDeployTemplate_1_Flag<crate::app::mapdeploy::MapDeploy>,
1045 ::unity::OptionalMethod,
1046 ) -> i64 = ::core::mem::transmute(__mi.method_ptr);
1047 __inner(this.into(), value, ::core::option::Option::None)
1048 }
1049}
1050
1051#[cfg(feature = "app-mappanelactive")]
1052impl MapPanelActive_FlagField {
1053 #[doc = "`.ctor()` — no args"]
1054 pub fn new() -> Self {
1055 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1056 panic!(
1057 "{}
1058::{}
1059 failed to instantiate",
1060 ::core::stringify!(MapPanelActive_FlagField),
1061 ::core::stringify!(new),
1062 )
1063 });
1064 <Self as IMapPanelActive_FlagFieldMethods>::ctor(this);
1065 this
1066 }
1067}
1068
1069#[cfg(feature = "app-mappanelactive")]
1070#[doc(hidden)]
1071pub mod prelude {
1072 pub use super::{
1073 IMapPanelActive, IMapPanelActiveMethods, IMapPanelActive_FlagField, IMapPanelActive_FlagFieldMethods, IMapPanelActive_TargetFunc,
1074 IMapPanelActive_TargetFuncMethods, MapPanelActive, MapPanelActive_FlagField, MapPanelActive_MeshIndex, MapPanelActive_TargetFunc,
1075 };
1076 #[cfg(feature = "app-bitfield64")]
1077 pub use crate::app::bitfield64::IBitField64Methods;
1078 #[cfg(feature = "app-bitfieldcommon")]
1079 pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
1080 #[cfg(feature = "app-bitfieldtemplate64_1")]
1081 pub use crate::app::bitfieldtemplate64_1::IBitFieldTemplate64_1Methods;
1082 #[cfg(feature = "app-singletonmonobehaviour_1")]
1083 pub use crate::app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1Methods;
1084 #[cfg(feature = "root-mappanelbase_1")]
1085 pub use crate::root::mappanelbase_1::IMapPanelBase_1Methods;
1086 #[cfg(feature = "system-delegate")]
1087 pub use crate::system::delegate::IDelegateMethods;
1088 #[cfg(feature = "system-multicastdelegate")]
1089 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
1090 #[cfg(feature = "system-object")]
1091 pub use crate::system::object::IObjectMethods;
1092 #[cfg(feature = "system-enum")]
1093 pub use crate::system::r#enum::IEnumMethods;
1094 #[cfg(feature = "system-valuetype")]
1095 pub use crate::system::valuetype::IValueTypeMethods;
1096 #[cfg(feature = "unity_engine-behaviour")]
1097 pub use crate::unity_engine::behaviour::IBehaviourMethods;
1098 #[cfg(feature = "unity_engine-component")]
1099 pub use crate::unity_engine::component::IComponentMethods;
1100 #[cfg(feature = "unity_engine-monobehaviour")]
1101 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
1102 #[cfg(feature = "unity_engine-object_2")]
1103 pub use crate::unity_engine::object_2::IObject_2Methods;
1104 pub use crate::{
1105 app::{
1106 bitfield64::IBitField64, bitfieldcommon::IBitFieldCommon, bitfieldtemplate64_1::IBitFieldTemplate64_1,
1107 singletonmonobehaviour_1::ISingletonMonoBehaviour_1,
1108 },
1109 root::mappanelbase_1::IMapPanelBase_1,
1110 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
1111 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
1112 };
1113}