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