1#[cfg(feature = "app-mapdebugdisposmenu-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::menuitem::{IMenuItem, MenuItem},
10 system::object::{IObject, Object},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapdebugdisposmenu/MapDebugDisposMenu.md"))]
14 #[::unity::class(namespace = "App", name = "MapDebugDisposMenu")]
15 #[parent(crate::system::object::Object)]
16 pub struct MapDebugDisposMenu {}
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapdebugdisposmenu/MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup.md"))]
19 #[::unity::class(namespace = "App", name = "MapDebugDisposMenu.DisposMenuItem.SharedPositionGroup")]
20 #[parent(crate::system::object::Object)]
21 pub struct MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup {
22 #[offset(16)]
23 #[rename(name = "m_PositionGroup")]
24 pub m_position_group: ::unity::Il2CppString,
25 }
26
27 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapdebugdisposmenu/MapDebugDisposMenu_DisposMenuItem.md"))]
28 #[::unity::class(namespace = "App", name = "MapDebugDisposMenu.DisposMenuItem")]
29 #[parent(crate::app::menuitem::MenuItem)]
30 pub struct MapDebugDisposMenu_DisposMenuItem {
31 #[offset(32)]
32 #[rename(name = "m_Group")]
33 pub m_group: ::unity::Il2CppString,
34 #[offset(40)]
35 #[rename(name = "m_PositionGroup")]
36 pub m_position_group: crate::app::mapdebugdisposmenu::MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup,
37 }
38
39 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapdebugdisposmenu/MapDebugDisposMenu_DeleteForceMenuItem.md"))]
40 #[::unity::class(namespace = "App", name = "MapDebugDisposMenu.DeleteForceMenuItem")]
41 #[parent(crate::app::menuitem::MenuItem)]
42 pub struct MapDebugDisposMenu_DeleteForceMenuItem {
43 #[offset(32)]
44 #[rename(name = "m_ForceType")]
45 pub m_force_type: crate::app::force::Force_Type,
46 #[offset(40)]
47 #[rename(name = "m_ForceName")]
48 pub m_force_name: ::unity::Il2CppString,
49 #[offset(48)]
50 #[rename(name = "m_ForceUnitCount")]
51 pub m_force_unit_count: ::unity::Il2CppString,
52 }
53}
54
55#[cfg(feature = "app-mapdebugdisposmenu-types")]
56pub use __types::*;
57
58#[cfg(feature = "app-mapdebugdisposmenu")]
59impl MapDebugDisposMenu {
60 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
61 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
62 unsafe {
63 ::unity::il2cpp_call!((::unity::module_base()+0x29c3360usize)as*mut u8,();
64(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
65 }
66 }
67}
68
69#[cfg(feature = "app-mapdebugdisposmenu")]
70pub trait IMapDebugDisposMenuMethods: IMapDebugDisposMenu {
71 #[doc = "`.ctor()` overload"]
72 fn ctor(self) -> () {
73 unsafe {
74 let __receiver = <MapDebugDisposMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x29c35b0usize)as*mut u8,();
76(MapDebugDisposMenu)__receiver)
77 }
78 }
79}
80
81#[cfg(feature = "app-mapdebugdisposmenu")]
82impl<__T: IMapDebugDisposMenu> IMapDebugDisposMenuMethods for __T {}
83
84#[cfg(feature = "app-mapdebugdisposmenu")]
85impl MapDebugDisposMenu {
86 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
87 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
88 }
89
90 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
91 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
92 }
93}
94
95#[cfg(feature = "app-mapdebugdisposmenu")]
96impl MapDebugDisposMenu {
97 #[doc = "`.ctor()` — no args"]
98 pub fn new() -> Self {
99 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
100 panic!(
101 "{}
102::{}
103 failed to instantiate",
104 ::core::stringify!(MapDebugDisposMenu),
105 ::core::stringify!(new),
106 )
107 });
108 <Self as IMapDebugDisposMenuMethods>::ctor(this);
109 this
110 }
111}
112
113#[cfg(feature = "app-mapdebugdisposmenu")]
114pub trait IMapDebugDisposMenu_DisposMenuItem_SharedPositionGroupMethods: IMapDebugDisposMenu_DisposMenuItem_SharedPositionGroup {
115 #[doc = "`Set(::unity::Il2CppString)` overload"]
116 fn set(self, position_group: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
117 unsafe {
118 let __receiver = <MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup as ::unity::FromIlInstance>::from_il_instance(
119 <Self as ::unity::SystemObject>::as_instance(self),
120 );
121 ::unity::il2cpp_call!((::unity::module_base()+0x1b69b10usize)as*mut u8,();
122(MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup)__receiver,(::unity::Il2CppString)::core::convert::Into::into(position_group))
123 }
124 }
125 #[doc = "`Get()` overload"]
126 fn get(self) -> ::unity::Il2CppString {
127 unsafe {
128 let __receiver = <MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup as ::unity::FromIlInstance>::from_il_instance(
129 <Self as ::unity::SystemObject>::as_instance(self),
130 );
131 ::unity::il2cpp_call!((::unity::module_base()+0x1b69b20usize)as*mut u8, ::unity::Il2CppString;
132(MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup)__receiver)
133 }
134 }
135 #[doc = "`Clear()` overload"]
136 fn clear(self) -> () {
137 unsafe {
138 let __receiver = <MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup as ::unity::FromIlInstance>::from_il_instance(
139 <Self as ::unity::SystemObject>::as_instance(self),
140 );
141 ::unity::il2cpp_call!((::unity::module_base()+0x1b69b30usize)as*mut u8,();
142(MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup)__receiver)
143 }
144 }
145 #[doc = "`.ctor()` overload"]
146 fn ctor(self) -> () {
147 unsafe {
148 let __receiver = <MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup as ::unity::FromIlInstance>::from_il_instance(
149 <Self as ::unity::SystemObject>::as_instance(self),
150 );
151 ::unity::il2cpp_call!((::unity::module_base()+0x1b69b40usize)as*mut u8,();
152(MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup)__receiver)
153 }
154 }
155}
156
157#[cfg(feature = "app-mapdebugdisposmenu")]
158impl<__T: IMapDebugDisposMenu_DisposMenuItem_SharedPositionGroup> IMapDebugDisposMenu_DisposMenuItem_SharedPositionGroupMethods for __T {}
159
160#[cfg(feature = "app-mapdebugdisposmenu")]
161impl MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup {
162 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
164 }
165
166 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
168 }
169
170 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
172 }
173
174 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
176 }
177}
178
179#[cfg(feature = "app-mapdebugdisposmenu")]
180impl MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup {
181 #[doc = "`.ctor()` — no args"]
182 pub fn new() -> Self {
183 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
184 panic!(
185 "{}
186::{}
187 failed to instantiate",
188 ::core::stringify!(MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup),
189 ::core::stringify!(new),
190 )
191 });
192 <Self as IMapDebugDisposMenu_DisposMenuItem_SharedPositionGroupMethods>::ctor(this);
193 this
194 }
195}
196
197#[cfg(feature = "app-mapdebugdisposmenu")]
198impl MapDebugDisposMenu_DisposMenuItem {
199 #[doc = "`DrawCell(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
200 pub fn draw_cell(group: impl ::core::convert::Into<::unity::Il2CppString>, position: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
201 unsafe {
202 ::unity::il2cpp_call!((::unity::module_base()+0x24bdec0usize)as*mut u8,();
203(::unity::Il2CppString)::core::convert::Into::into(group),(::unity::Il2CppString)::core::convert::Into::into(position))
204 }
205 }
206}
207
208#[cfg(feature = "app-mapdebugdisposmenu")]
209pub trait IMapDebugDisposMenu_DisposMenuItemMethods: IMapDebugDisposMenu_DisposMenuItem {
210 #[doc = "`.ctor(::unity::Il2CppString, crate::app::mapdebugdisposmenu::MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup)` overload"]
211 fn ctor(
212 self,
213 group: impl ::core::convert::Into<::unity::Il2CppString>,
214 position_group: impl ::core::convert::Into<crate::app::mapdebugdisposmenu::MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup>,
215 ) -> () {
216 unsafe {
217 let __receiver =
218 <MapDebugDisposMenu_DisposMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219 ::unity::il2cpp_call!((::unity::module_base()+0x24bde60usize)as*mut u8,();
220(MapDebugDisposMenu_DisposMenuItem)__receiver,(::unity::Il2CppString)::core::convert::Into::into(group),(crate::app::mapdebugdisposmenu::MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup)::core::convert::Into::into(position_group))
221 }
222 }
223 #[doc = "`GetName()` overload"]
224 fn get_name(self) -> ::unity::Il2CppString {
225 unsafe {
226 let __receiver =
227 <MapDebugDisposMenu_DisposMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
228 {
229 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
230 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
231 panic!(
232 "unity: virtual slot {}
233 out of range (vtable len {}
234) on the runtime class behind {}
235 (method `{}
236`)",
237 5usize,
238 __vt.len(),
239 <MapDebugDisposMenu_DisposMenuItem as ::unity::ClassIdentity>::NAME,
240 "GetName",
241 )
242 });
243 let __inner: extern "C" fn(MapDebugDisposMenu_DisposMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
244 ::core::mem::transmute(__vi.method_ptr);
245 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
246 __inner(__receiver, __mi)
247 }
248 }
249 }
250 #[doc = "`OnTick()` overload"]
251 fn on_tick(self) -> () {
252 unsafe {
253 let __receiver =
254 <MapDebugDisposMenu_DisposMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255 {
256 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
257 let __vi = *__vt.get(68usize).unwrap_or_else(|| {
258 panic!(
259 "unity: virtual slot {}
260 out of range (vtable len {}
261) on the runtime class behind {}
262 (method `{}
263`)",
264 68usize,
265 __vt.len(),
266 <MapDebugDisposMenu_DisposMenuItem as ::unity::ClassIdentity>::NAME,
267 "OnTick",
268 )
269 });
270 let __inner: extern "C" fn(MapDebugDisposMenu_DisposMenuItem, ::unity::OptionalMethod) -> () =
271 ::core::mem::transmute(__vi.method_ptr);
272 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
273 __inner(__receiver, __mi)
274 }
275 }
276 }
277 #[doc = "`ACall()` overload"]
278 fn a_call(self) -> crate::app::menuitem::MenuItem_Result {
279 unsafe {
280 let __receiver =
281 <MapDebugDisposMenu_DisposMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
282 {
283 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
284 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
285 panic!(
286 "unity: virtual slot {}
287 out of range (vtable len {}
288) on the runtime class behind {}
289 (method `{}
290`)",
291 12usize,
292 __vt.len(),
293 <MapDebugDisposMenu_DisposMenuItem as ::unity::ClassIdentity>::NAME,
294 "ACall",
295 )
296 });
297 let __inner: extern "C" fn(MapDebugDisposMenu_DisposMenuItem, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
298 ::core::mem::transmute(__vi.method_ptr);
299 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
300 __inner(__receiver, __mi)
301 }
302 }
303 }
304 #[doc = "`XCall()` overload"]
305 fn x_call(self) -> crate::app::menuitem::MenuItem_Result {
306 unsafe {
307 let __receiver =
308 <MapDebugDisposMenu_DisposMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
309 {
310 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
311 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
312 panic!(
313 "unity: virtual slot {}
314 out of range (vtable len {}
315) on the runtime class behind {}
316 (method `{}
317`)",
318 14usize,
319 __vt.len(),
320 <MapDebugDisposMenu_DisposMenuItem as ::unity::ClassIdentity>::NAME,
321 "XCall",
322 )
323 });
324 let __inner: extern "C" fn(MapDebugDisposMenu_DisposMenuItem, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
325 ::core::mem::transmute(__vi.method_ptr);
326 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
327 __inner(__receiver, __mi)
328 }
329 }
330 }
331}
332
333#[cfg(feature = "app-mapdebugdisposmenu")]
334impl<__T: IMapDebugDisposMenu_DisposMenuItem> IMapDebugDisposMenu_DisposMenuItemMethods for __T {}
335
336#[cfg(feature = "app-mapdebugdisposmenu")]
337impl MapDebugDisposMenu_DisposMenuItem {
338 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
339 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
340 }
341
342 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
343 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
344 }
345
346 pub fn draw_cell_method_info() -> &'static ::unity::il2cpp::MethodInfo {
347 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
348 }
349
350 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
351 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
352 }
353
354 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
355 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
356 }
357
358 pub fn x_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
359 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
360 }
361}
362
363#[cfg(feature = "app-mapdebugdisposmenu")]
364impl MapDebugDisposMenu_DisposMenuItem {
365 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DisposMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
366 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
367 let __mi = Self::get_name_method_info();
368 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
369 __inner(this.into(), ::core::option::Option::None)
370 }
371
372 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DisposMenuItem`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
373 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
374 let __mi = Self::on_tick_method_info();
375 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
376 __inner(this.into(), ::core::option::Option::None)
377 }
378
379 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DisposMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
380 pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
381 let __mi = Self::a_call_method_info();
382 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
383 ::core::mem::transmute(__mi.method_ptr);
384 __inner(this.into(), ::core::option::Option::None)
385 }
386
387 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DisposMenuItem`'s own `XCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
388 pub unsafe fn x_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
389 let __mi = Self::x_call_method_info();
390 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
391 ::core::mem::transmute(__mi.method_ptr);
392 __inner(this.into(), ::core::option::Option::None)
393 }
394}
395
396#[cfg(feature = "app-mapdebugdisposmenu")]
397impl MapDebugDisposMenu_DisposMenuItem {
398 #[doc = "`.ctor(::unity::Il2CppString, crate::app::mapdebugdisposmenu::MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup)` — overload selector"]
399 pub fn new(
400 group: ::unity::Il2CppString,
401 position_group: crate::app::mapdebugdisposmenu::MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup,
402 ) -> Self {
403 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
404 panic!(
405 "{}
406::{}
407 failed to instantiate",
408 ::core::stringify!(MapDebugDisposMenu_DisposMenuItem),
409 ::core::stringify!(new),
410 )
411 });
412 <Self as IMapDebugDisposMenu_DisposMenuItemMethods>::ctor(this, group, position_group);
413 this
414 }
415}
416
417#[cfg(feature = "app-mapdebugdisposmenu")]
418pub trait IMapDebugDisposMenu_DeleteForceMenuItemMethods: IMapDebugDisposMenu_DeleteForceMenuItem {
419 #[doc = "`.ctor(crate::app::force::Force_Type)` overload"]
420 fn ctor(self, force_type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> () {
421 unsafe {
422 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
423 <Self as ::unity::SystemObject>::as_instance(self),
424 );
425 ::unity::il2cpp_call!((::unity::module_base()+0x24bdb70usize)as*mut u8,();
426(MapDebugDisposMenu_DeleteForceMenuItem)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
427 }
428 }
429 #[doc = "`GetColumnCount()` overload"]
430 fn get_column_count(self) -> i32 {
431 unsafe {
432 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
433 <Self as ::unity::SystemObject>::as_instance(self),
434 );
435 {
436 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
437 let __vi = *__vt.get(29usize).unwrap_or_else(|| {
438 panic!(
439 "unity: virtual slot {}
440 out of range (vtable len {}
441) on the runtime class behind {}
442 (method `{}
443`)",
444 29usize,
445 __vt.len(),
446 <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::ClassIdentity>::NAME,
447 "GetColumnCount",
448 )
449 });
450 let __inner: extern "C" fn(MapDebugDisposMenu_DeleteForceMenuItem, ::unity::OptionalMethod) -> i32 =
451 ::core::mem::transmute(__vi.method_ptr);
452 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
453 __inner(__receiver, __mi)
454 }
455 }
456 }
457 #[doc = "`GetColumnWidth0()` overload"]
458 fn get_column_width0(self) -> f32 {
459 unsafe {
460 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
461 <Self as ::unity::SystemObject>::as_instance(self),
462 );
463 {
464 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
465 let __vi = *__vt.get(31usize).unwrap_or_else(|| {
466 panic!(
467 "unity: virtual slot {}
468 out of range (vtable len {}
469) on the runtime class behind {}
470 (method `{}
471`)",
472 31usize,
473 __vt.len(),
474 <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::ClassIdentity>::NAME,
475 "GetColumnWidth0",
476 )
477 });
478 let __inner: extern "C" fn(MapDebugDisposMenu_DeleteForceMenuItem, ::unity::OptionalMethod) -> f32 =
479 ::core::mem::transmute(__vi.method_ptr);
480 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
481 __inner(__receiver, __mi)
482 }
483 }
484 }
485 #[doc = "`GetColumnWidth1()` overload"]
486 fn get_column_width1(self) -> f32 {
487 unsafe {
488 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
489 <Self as ::unity::SystemObject>::as_instance(self),
490 );
491 {
492 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
493 let __vi = *__vt.get(32usize).unwrap_or_else(|| {
494 panic!(
495 "unity: virtual slot {}
496 out of range (vtable len {}
497) on the runtime class behind {}
498 (method `{}
499`)",
500 32usize,
501 __vt.len(),
502 <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::ClassIdentity>::NAME,
503 "GetColumnWidth1",
504 )
505 });
506 let __inner: extern "C" fn(MapDebugDisposMenu_DeleteForceMenuItem, ::unity::OptionalMethod) -> f32 =
507 ::core::mem::transmute(__vi.method_ptr);
508 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
509 __inner(__receiver, __mi)
510 }
511 }
512 }
513 #[doc = "`GetColumnWidth2()` overload"]
514 fn get_column_width2(self) -> f32 {
515 unsafe {
516 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
517 <Self as ::unity::SystemObject>::as_instance(self),
518 );
519 {
520 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
521 let __vi = *__vt.get(33usize).unwrap_or_else(|| {
522 panic!(
523 "unity: virtual slot {}
524 out of range (vtable len {}
525) on the runtime class behind {}
526 (method `{}
527`)",
528 33usize,
529 __vt.len(),
530 <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::ClassIdentity>::NAME,
531 "GetColumnWidth2",
532 )
533 });
534 let __inner: extern "C" fn(MapDebugDisposMenu_DeleteForceMenuItem, ::unity::OptionalMethod) -> f32 =
535 ::core::mem::transmute(__vi.method_ptr);
536 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
537 __inner(__receiver, __mi)
538 }
539 }
540 }
541 #[doc = "`GetColumnName0()` overload"]
542 fn get_column_name0(self) -> ::unity::Il2CppString {
543 unsafe {
544 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
545 <Self as ::unity::SystemObject>::as_instance(self),
546 );
547 {
548 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
549 let __vi = *__vt.get(42usize).unwrap_or_else(|| {
550 panic!(
551 "unity: virtual slot {}
552 out of range (vtable len {}
553) on the runtime class behind {}
554 (method `{}
555`)",
556 42usize,
557 __vt.len(),
558 <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::ClassIdentity>::NAME,
559 "GetColumnName0",
560 )
561 });
562 let __inner: extern "C" fn(MapDebugDisposMenu_DeleteForceMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
563 ::core::mem::transmute(__vi.method_ptr);
564 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
565 __inner(__receiver, __mi)
566 }
567 }
568 }
569 #[doc = "`GetColumnName1()` overload"]
570 fn get_column_name1(self) -> ::unity::Il2CppString {
571 unsafe {
572 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
573 <Self as ::unity::SystemObject>::as_instance(self),
574 );
575 {
576 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
577 let __vi = *__vt.get(43usize).unwrap_or_else(|| {
578 panic!(
579 "unity: virtual slot {}
580 out of range (vtable len {}
581) on the runtime class behind {}
582 (method `{}
583`)",
584 43usize,
585 __vt.len(),
586 <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::ClassIdentity>::NAME,
587 "GetColumnName1",
588 )
589 });
590 let __inner: extern "C" fn(MapDebugDisposMenu_DeleteForceMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
591 ::core::mem::transmute(__vi.method_ptr);
592 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
593 __inner(__receiver, __mi)
594 }
595 }
596 }
597 #[doc = "`GetColumnName2()` overload"]
598 fn get_column_name2(self) -> ::unity::Il2CppString {
599 unsafe {
600 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
601 <Self as ::unity::SystemObject>::as_instance(self),
602 );
603 {
604 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
605 let __vi = *__vt.get(44usize).unwrap_or_else(|| {
606 panic!(
607 "unity: virtual slot {}
608 out of range (vtable len {}
609) on the runtime class behind {}
610 (method `{}
611`)",
612 44usize,
613 __vt.len(),
614 <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::ClassIdentity>::NAME,
615 "GetColumnName2",
616 )
617 });
618 let __inner: extern "C" fn(MapDebugDisposMenu_DeleteForceMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
619 ::core::mem::transmute(__vi.method_ptr);
620 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
621 __inner(__receiver, __mi)
622 }
623 }
624 }
625 #[doc = "`OnTick()` overload"]
626 fn on_tick(self) -> () {
627 unsafe {
628 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
629 <Self as ::unity::SystemObject>::as_instance(self),
630 );
631 {
632 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
633 let __vi = *__vt.get(68usize).unwrap_or_else(|| {
634 panic!(
635 "unity: virtual slot {}
636 out of range (vtable len {}
637) on the runtime class behind {}
638 (method `{}
639`)",
640 68usize,
641 __vt.len(),
642 <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::ClassIdentity>::NAME,
643 "OnTick",
644 )
645 });
646 let __inner: extern "C" fn(MapDebugDisposMenu_DeleteForceMenuItem, ::unity::OptionalMethod) -> () =
647 ::core::mem::transmute(__vi.method_ptr);
648 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
649 __inner(__receiver, __mi)
650 }
651 }
652 }
653 #[doc = "`ACall()` overload"]
654 fn a_call(self) -> crate::app::menuitem::MenuItem_Result {
655 unsafe {
656 let __receiver = <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::FromIlInstance>::from_il_instance(
657 <Self as ::unity::SystemObject>::as_instance(self),
658 );
659 {
660 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
661 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
662 panic!(
663 "unity: virtual slot {}
664 out of range (vtable len {}
665) on the runtime class behind {}
666 (method `{}
667`)",
668 12usize,
669 __vt.len(),
670 <MapDebugDisposMenu_DeleteForceMenuItem as ::unity::ClassIdentity>::NAME,
671 "ACall",
672 )
673 });
674 let __inner: extern "C" fn(MapDebugDisposMenu_DeleteForceMenuItem, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
675 ::core::mem::transmute(__vi.method_ptr);
676 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
677 __inner(__receiver, __mi)
678 }
679 }
680 }
681}
682
683#[cfg(feature = "app-mapdebugdisposmenu")]
684impl<__T: IMapDebugDisposMenu_DeleteForceMenuItem> IMapDebugDisposMenu_DeleteForceMenuItemMethods for __T {}
685
686#[cfg(feature = "app-mapdebugdisposmenu")]
687impl MapDebugDisposMenu_DeleteForceMenuItem {
688 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
690 }
691
692 pub fn get_column_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
694 }
695
696 pub fn get_column_width0_method_info() -> &'static ::unity::il2cpp::MethodInfo {
697 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
698 }
699
700 pub fn get_column_width1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
701 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
702 }
703
704 pub fn get_column_width2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
705 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
706 }
707
708 pub fn get_column_name0_method_info() -> &'static ::unity::il2cpp::MethodInfo {
709 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
710 }
711
712 pub fn get_column_name1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
713 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
714 }
715
716 pub fn get_column_name2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
717 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
718 }
719
720 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
721 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
722 }
723
724 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
725 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
726 }
727}
728
729#[cfg(feature = "app-mapdebugdisposmenu")]
730impl MapDebugDisposMenu_DeleteForceMenuItem {
731 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DeleteForceMenuItem`'s own `GetColumnCount`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
732 pub unsafe fn get_column_count(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
733 let __mi = Self::get_column_count_method_info();
734 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
735 __inner(this.into(), ::core::option::Option::None)
736 }
737
738 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DeleteForceMenuItem`'s own `GetColumnWidth0`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
739 pub unsafe fn get_column_width0(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
740 let __mi = Self::get_column_width0_method_info();
741 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
742 __inner(this.into(), ::core::option::Option::None)
743 }
744
745 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DeleteForceMenuItem`'s own `GetColumnWidth1`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
746 pub unsafe fn get_column_width1(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
747 let __mi = Self::get_column_width1_method_info();
748 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
749 __inner(this.into(), ::core::option::Option::None)
750 }
751
752 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DeleteForceMenuItem`'s own `GetColumnWidth2`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
753 pub unsafe fn get_column_width2(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
754 let __mi = Self::get_column_width2_method_info();
755 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
756 __inner(this.into(), ::core::option::Option::None)
757 }
758
759 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DeleteForceMenuItem`'s own `GetColumnName0`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
760 pub unsafe fn get_column_name0(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
761 let __mi = Self::get_column_name0_method_info();
762 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
763 __inner(this.into(), ::core::option::Option::None)
764 }
765
766 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DeleteForceMenuItem`'s own `GetColumnName1`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
767 pub unsafe fn get_column_name1(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
768 let __mi = Self::get_column_name1_method_info();
769 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
770 __inner(this.into(), ::core::option::Option::None)
771 }
772
773 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DeleteForceMenuItem`'s own `GetColumnName2`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
774 pub unsafe fn get_column_name2(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
775 let __mi = Self::get_column_name2_method_info();
776 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
777 __inner(this.into(), ::core::option::Option::None)
778 }
779
780 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DeleteForceMenuItem`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
781 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
782 let __mi = Self::on_tick_method_info();
783 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
784 __inner(this.into(), ::core::option::Option::None)
785 }
786
787 #[doc = "Direct (non-virtual) call to `MapDebugDisposMenu_DeleteForceMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
788 pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
789 let __mi = Self::a_call_method_info();
790 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
791 ::core::mem::transmute(__mi.method_ptr);
792 __inner(this.into(), ::core::option::Option::None)
793 }
794}
795
796#[cfg(feature = "app-mapdebugdisposmenu")]
797impl MapDebugDisposMenu_DeleteForceMenuItem {
798 #[doc = "`.ctor(crate::app::force::Force_Type)` — overload selector"]
799 pub fn new(force_type: crate::app::force::Force_Type) -> Self {
800 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
801 panic!(
802 "{}
803::{}
804 failed to instantiate",
805 ::core::stringify!(MapDebugDisposMenu_DeleteForceMenuItem),
806 ::core::stringify!(new),
807 )
808 });
809 <Self as IMapDebugDisposMenu_DeleteForceMenuItemMethods>::ctor(this, force_type);
810 this
811 }
812}
813
814#[cfg(feature = "app-mapdebugdisposmenu")]
815#[doc(hidden)]
816pub mod prelude {
817 pub use super::{
818 IMapDebugDisposMenu, IMapDebugDisposMenuMethods, IMapDebugDisposMenu_DeleteForceMenuItem, IMapDebugDisposMenu_DeleteForceMenuItemMethods,
819 IMapDebugDisposMenu_DisposMenuItem, IMapDebugDisposMenu_DisposMenuItemMethods, IMapDebugDisposMenu_DisposMenuItem_SharedPositionGroup,
820 IMapDebugDisposMenu_DisposMenuItem_SharedPositionGroupMethods, MapDebugDisposMenu, MapDebugDisposMenu_DeleteForceMenuItem,
821 MapDebugDisposMenu_DisposMenuItem, MapDebugDisposMenu_DisposMenuItem_SharedPositionGroup,
822 };
823 #[cfg(feature = "app-menuitem")]
824 pub use crate::app::menuitem::IMenuItemMethods;
825 #[cfg(feature = "system-object")]
826 pub use crate::system::object::IObjectMethods;
827 pub use crate::{app::menuitem::IMenuItem, system::object::IObject};
828}