1#[cfg(feature = "app-debugmenu-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::procinst::{IProcInst, ProcInst},
10 system::{
11 object::{IObject, Object},
12 r#enum::{Enum, IEnum},
13 valuetype::{IValueType, ValueType},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugmenu/DebugMenu_AnchorLocation.md"))]
18 #[::unity::class(namespace = "App", name = "DebugMenu.AnchorLocation")]
19 #[parent(crate::system::object::Object)]
20 pub struct DebugMenu_AnchorLocation {}
21
22 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugmenu/DebugMenu.md"))]
23 #[::unity::class(namespace = "App", name = "DebugMenu")]
24 #[parent(crate::app::procinst::ProcInst)]
25 pub struct DebugMenu {
26 #[static_field]
27 #[rename(name = "COLOR_WINDOW")]
28 pub color_window: crate::unity_engine::color::Color,
29 #[static_field]
30 #[rename(name = "COLOR_ZERO")]
31 pub color_zero: crate::unity_engine::color::Color,
32 #[offset(112)]
33 #[rename(name = "m_Rect")]
34 pub m_rect: crate::unity_engine::rect::Rect,
35 #[offset(128)]
36 #[rename(name = "m_Select")]
37 pub m_select: i32,
38 #[offset(132)]
39 #[rename(name = "m_Orient")]
40 pub m_orient: f32,
41 #[offset(136)]
42 #[rename(name = "m_Color")]
43 pub m_color: crate::unity_engine::color::Color,
44 #[offset(152)]
45 #[rename(name = "m_Depth")]
46 pub m_depth: i32,
47 #[offset(156)]
48 #[rename(name = "m_Anchor")]
49 pub m_anchor: crate::app::gx::GX_Anchor,
50 #[offset(160)]
51 #[rename(name = "m_Prefab")]
52 pub m_prefab: crate::unity_engine::gameobject::GameObject,
53 #[offset(168)]
54 #[rename(name = "m_Window")]
55 pub m_window: crate::app::debugwindow::DebugWindow,
56 #[offset(176)]
57 #[rename(name = "m_BindMode")]
58 pub m_bind_mode: crate::app::debugmenu::DebugMenu_BindMode,
59 #[offset(184)]
60 #[rename(name = "m_Items")]
61 pub m_items: crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem>,
62 #[offset(192)]
63 #[rename(name = "m_IsFirst")]
64 pub m_is_first: bool,
65 #[offset(193)]
66 #[rename(name = "m_IsRelay")]
67 pub m_is_relay: bool,
68 #[offset(194)]
69 #[rename(name = "m_IsCalcW")]
70 pub m_is_calc_w: bool,
71 #[offset(195)]
72 #[rename(name = "m_IsCalcH")]
73 pub m_is_calc_h: bool,
74 #[offset(196)]
75 #[rename(name = "m_IsMovePage")]
76 pub m_is_move_page: bool,
77 #[offset(197)]
78 #[rename(name = "m_IsMapCursor")]
79 pub m_is_map_cursor: bool,
80 #[offset(200)]
81 #[rename(name = "m_RecordKey")]
82 pub m_record_key: ::unity::Il2CppString,
83 #[offset(208)]
84 #[rename(name = "m_SelectTick")]
85 pub m_select_tick: i32,
86 #[offset(212)]
87 #[rename(name = "m_SelectTime")]
88 pub m_select_time: f32,
89 #[offset(216)]
90 #[rename(name = "m_TimeScale")]
91 pub m_time_scale: f32,
92 }
93
94 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugmenu/DebugMenu_BindMode.md"))]
95 #[repr(C)]
96 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
97 pub struct DebugMenu_BindMode {
98 pub value: i32,
99 }
100 impl ::unity::ClassIdentity for DebugMenu_BindMode {
101 const NAME: &'static str = "DebugMenu.BindMode";
102 const NAMESPACE: &'static str = "App";
103
104 fn class() -> ::unity::Class {
105 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
106 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
107 }
108 }
109 impl ::unity::IlType for DebugMenu_BindMode {
110 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
111 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
112 }
113 }
114 impl DebugMenu_BindMode {
115 pub fn none() -> Self {
116 Self { value: 0 }
117 }
118
119 pub fn hide() -> Self {
120 Self { value: 1 }
121 }
122
123 pub fn alpha() -> Self {
124 Self { value: 2 }
125 }
126 }
127}
128
129#[cfg(feature = "app-debugmenu-types")]
130pub use __types::*;
131
132#[cfg(feature = "app-debugmenu")]
133impl DebugMenu_AnchorLocation {
134 #[doc = "`.cctor()` overload"]
135 pub fn cctor() -> () {
136 unsafe {
137 ::unity::il2cpp_call!((::unity::module_base()+0x19d4b80usize)as*mut u8,();
138 )
139 }
140 }
141
142 #[doc = "`GetX(crate::app::gx::GX_Anchor)` overload"]
143 pub fn get_x(anchor: impl ::core::convert::Into<crate::app::gx::GX_Anchor>) -> i32 {
144 unsafe {
145 ::unity::il2cpp_call!((::unity::module_base()+0x19d4de0usize)as*mut u8,i32;
146(crate::app::gx::GX_Anchor)::core::convert::Into::into(anchor))
147 }
148 }
149
150 #[doc = "`GetY(crate::app::gx::GX_Anchor)` overload"]
151 pub fn get_y(anchor: impl ::core::convert::Into<crate::app::gx::GX_Anchor>) -> i32 {
152 unsafe {
153 ::unity::il2cpp_call!((::unity::module_base()+0x19d5110usize)as*mut u8,i32;
154(crate::app::gx::GX_Anchor)::core::convert::Into::into(anchor))
155 }
156 }
157
158 #[doc = "`GetNext(crate::app::gx::GX_Anchor, i32, i32)` overload"]
159 pub fn get_next(
160 anchor: impl ::core::convert::Into<crate::app::gx::GX_Anchor>,
161 dx: impl ::core::convert::Into<i32>,
162 dy: impl ::core::convert::Into<i32>,
163 ) -> crate::app::gx::GX_Anchor {
164 unsafe {
165 ::unity::il2cpp_call!((::unity::module_base()+0x19d5440usize)as*mut u8,crate::app::gx::GX_Anchor;
166(crate::app::gx::GX_Anchor)::core::convert::Into::into(anchor),(i32)::core::convert::Into::into(dx),(i32)::core::convert::Into::into(dy))
167 }
168 }
169}
170
171#[cfg(feature = "app-debugmenu")]
172pub trait IDebugMenu_AnchorLocationMethods: IDebugMenu_AnchorLocation {
173 #[doc = "`.ctor()` overload"]
174 fn ctor(self) -> () {
175 unsafe {
176 let __receiver =
177 <DebugMenu_AnchorLocation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178 ::unity::il2cpp_call!((::unity::module_base()+0x19d5540usize)as*mut u8,();
179(DebugMenu_AnchorLocation)__receiver)
180 }
181 }
182}
183
184#[cfg(feature = "app-debugmenu")]
185impl<__T: IDebugMenu_AnchorLocation> IDebugMenu_AnchorLocationMethods for __T {}
186
187#[cfg(feature = "app-debugmenu")]
188impl DebugMenu_AnchorLocation {
189 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
190 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
191 }
192
193 pub fn get_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
195 }
196
197 pub fn get_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
199 }
200
201 pub fn get_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
202 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
203 }
204
205 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
207 }
208}
209
210#[cfg(feature = "app-debugmenu")]
211impl DebugMenu_AnchorLocation {
212 #[doc = "`.ctor()` — no args"]
213 pub fn new() -> Self {
214 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
215 panic!(
216 "{}
217::{}
218 failed to instantiate",
219 ::core::stringify!(DebugMenu_AnchorLocation),
220 ::core::stringify!(new),
221 )
222 });
223 <Self as IDebugMenu_AnchorLocationMethods>::ctor(this);
224 this
225 }
226}
227
228#[cfg(feature = "app-debugmenu")]
229impl DebugMenu {
230 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
231 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::debugmenu::DebugMenu {
232 unsafe {
233 ::unity::il2cpp_call!((::unity::module_base()+0x2a02670usize)as*mut u8,crate::app::debugmenu::DebugMenu;
234(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
235 }
236 }
237
238 #[doc = "`GetTopMenu(crate::app::debugmenu::DebugMenu, bool)` overload"]
239 pub fn get_top_menu(
240 menu: impl ::core::convert::Into<crate::app::debugmenu::DebugMenu>,
241 is_relay: impl ::core::convert::Into<bool>,
242 ) -> crate::app::debugmenu::DebugMenu {
243 unsafe {
244 ::unity::il2cpp_call!((::unity::module_base()+0x2a09ec0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
245(crate::app::debugmenu::DebugMenu)::core::convert::Into::into(menu),(bool)::core::convert::Into::into(is_relay))
246 }
247 }
248
249 #[doc = "`GetParentMenu(crate::app::procinst::ProcInst)` overload"]
250 pub fn get_parent_menu(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::debugmenu::DebugMenu {
251 unsafe {
252 ::unity::il2cpp_call!((::unity::module_base()+0x2a09fc0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
253(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
254 }
255 }
256
257 #[doc = "`.cctor()` overload"]
258 pub fn cctor() -> () {
259 unsafe {
260 ::unity::il2cpp_call!((::unity::module_base()+0x2a0c0a0usize)as*mut u8,();
261 )
262 }
263 }
264}
265
266#[cfg(feature = "app-debugmenu")]
267pub trait IDebugMenuMethods: IDebugMenu {
268 #[doc = "`OnCreate()` overload"]
269 fn on_create(self) -> () {
270 unsafe {
271 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
272 {
273 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
274 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
275 panic!(
276 "unity: virtual slot {}
277 out of range (vtable len {}
278) on the runtime class behind {}
279 (method `{}
280`)",
281 9usize,
282 __vt.len(),
283 <DebugMenu as ::unity::ClassIdentity>::NAME,
284 "OnCreate",
285 )
286 });
287 let __inner: extern "C" fn(DebugMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
288 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
289 __inner(__receiver, __mi)
290 }
291 }
292 }
293 #[doc = "`OnDispose()` overload"]
294 fn on_dispose(self) -> () {
295 unsafe {
296 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297 {
298 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
299 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
300 panic!(
301 "unity: virtual slot {}
302 out of range (vtable len {}
303) on the runtime class behind {}
304 (method `{}
305`)",
306 10usize,
307 __vt.len(),
308 <DebugMenu as ::unity::ClassIdentity>::NAME,
309 "OnDispose",
310 )
311 });
312 let __inner: extern "C" fn(DebugMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
313 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
314 __inner(__receiver, __mi)
315 }
316 }
317 }
318 #[doc = "`OnOpen()` overload"]
319 fn on_open(self) -> () {
320 unsafe {
321 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
322 {
323 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
324 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
325 panic!(
326 "unity: virtual slot {}
327 out of range (vtable len {}
328) on the runtime class behind {}
329 (method `{}
330`)",
331 18usize,
332 __vt.len(),
333 <DebugMenu as ::unity::ClassIdentity>::NAME,
334 "OnOpen",
335 )
336 });
337 let __inner: extern "C" fn(DebugMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
338 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
339 __inner(__receiver, __mi)
340 }
341 }
342 }
343 #[doc = "`OnClose()` overload"]
344 fn on_close(self) -> () {
345 unsafe {
346 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
347 {
348 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
349 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
350 panic!(
351 "unity: virtual slot {}
352 out of range (vtable len {}
353) on the runtime class behind {}
354 (method `{}
355`)",
356 19usize,
357 __vt.len(),
358 <DebugMenu as ::unity::ClassIdentity>::NAME,
359 "OnClose",
360 )
361 });
362 let __inner: extern "C" fn(DebugMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
363 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
364 __inner(__receiver, __mi)
365 }
366 }
367 }
368 #[doc = "`OnRebuild()` overload"]
369 fn on_rebuild(self) -> () {
370 unsafe {
371 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372 {
373 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
374 let __vi = *__vt.get(20usize).unwrap_or_else(|| {
375 panic!(
376 "unity: virtual slot {}
377 out of range (vtable len {}
378) on the runtime class behind {}
379 (method `{}
380`)",
381 20usize,
382 __vt.len(),
383 <DebugMenu as ::unity::ClassIdentity>::NAME,
384 "OnRebuild",
385 )
386 });
387 let __inner: extern "C" fn(DebugMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
388 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
389 __inner(__receiver, __mi)
390 }
391 }
392 }
393 #[doc = "`OnSelect()` overload"]
394 fn on_select(self) -> () {
395 unsafe {
396 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
397 {
398 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
399 let __vi = *__vt.get(21usize).unwrap_or_else(|| {
400 panic!(
401 "unity: virtual slot {}
402 out of range (vtable len {}
403) on the runtime class behind {}
404 (method `{}
405`)",
406 21usize,
407 __vt.len(),
408 <DebugMenu as ::unity::ClassIdentity>::NAME,
409 "OnSelect",
410 )
411 });
412 let __inner: extern "C" fn(DebugMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
413 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
414 __inner(__receiver, __mi)
415 }
416 }
417 }
418 #[doc = "`TickItem(crate::app::menuitem::MenuItem)` overload"]
419 fn tick_item(self, item: impl ::core::convert::Into<crate::app::menuitem::MenuItem>) -> crate::app::menuitem::MenuItem_Result {
420 unsafe {
421 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422 ::unity::il2cpp_call!((::unity::module_base()+0x2a06260usize)as*mut u8,crate::app::menuitem::MenuItem_Result;
423(DebugMenu)__receiver,(crate::app::menuitem::MenuItem)::core::convert::Into::into(item))
424 }
425 }
426 #[doc = "`IsSelectable(i32)` overload"]
427 fn is_selectable(self, index: impl ::core::convert::Into<i32>) -> bool {
428 unsafe {
429 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430 ::unity::il2cpp_call!((::unity::module_base()+0x2a07c10usize)as*mut u8,bool;
431(DebugMenu)__receiver,(i32)::core::convert::Into::into(index))
432 }
433 }
434 #[doc = "`IsSelectable(crate::app::menuitem::MenuItem)` overload"]
435 fn is_selectable_2(self, item: impl ::core::convert::Into<crate::app::menuitem::MenuItem>) -> bool {
436 unsafe {
437 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438 ::unity::il2cpp_call!((::unity::module_base()+0x2a07cd0usize)as*mut u8,bool;
439(DebugMenu)__receiver,(crate::app::menuitem::MenuItem)::core::convert::Into::into(item))
440 }
441 }
442 #[doc = "`IsVisible(crate::app::menuitem::MenuItem)` overload"]
443 fn is_visible(self, item: impl ::core::convert::Into<crate::app::menuitem::MenuItem>) -> bool {
444 unsafe {
445 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446 ::unity::il2cpp_call!((::unity::module_base()+0x2a07d40usize)as*mut u8,bool;
447(DebugMenu)__receiver,(crate::app::menuitem::MenuItem)::core::convert::Into::into(item))
448 }
449 }
450 #[doc = "`IsRelay()` overload"]
451 fn is_relay(self) -> bool {
452 unsafe {
453 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454 ::unity::il2cpp_call!((::unity::module_base()+0x2a07d90usize)as*mut u8,bool;
455(DebugMenu)__receiver)
456 }
457 }
458 #[doc = "`MoveToPrev(i32, bool)` overload"]
459 fn move_to_prev(self, step: impl ::core::convert::Into<i32>, is_trigger: impl ::core::convert::Into<bool>) -> () {
460 unsafe {
461 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
462 ::unity::il2cpp_call!((::unity::module_base()+0x2a07da0usize)as*mut u8,();
463(DebugMenu)__receiver,(i32)::core::convert::Into::into(step),(bool)::core::convert::Into::into(is_trigger))
464 }
465 }
466 #[doc = "`MoveToNext(i32, bool)` overload"]
467 fn move_to_next(self, step: impl ::core::convert::Into<i32>, is_trigger: impl ::core::convert::Into<bool>) -> () {
468 unsafe {
469 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470 ::unity::il2cpp_call!((::unity::module_base()+0x2a07ec0usize)as*mut u8,();
471(DebugMenu)__receiver,(i32)::core::convert::Into::into(step),(bool)::core::convert::Into::into(is_trigger))
472 }
473 }
474 #[doc = "`GetWidth()` overload"]
475 fn get_width(self) -> f32 {
476 unsafe {
477 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478 ::unity::il2cpp_call!((::unity::module_base()+0x2a08000usize)as*mut u8,f32;
479(DebugMenu)__receiver)
480 }
481 }
482 #[doc = "`GetHeight()` overload"]
483 fn get_height(self) -> f32 {
484 unsafe {
485 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
486 ::unity::il2cpp_call!((::unity::module_base()+0x2a080a0usize)as*mut u8,f32;
487(DebugMenu)__receiver)
488 }
489 }
490 #[doc = "`GetPage()` overload"]
491 fn get_page(self) -> i32 {
492 unsafe {
493 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
494 ::unity::il2cpp_call!((::unity::module_base()+0x2a080d0usize)as*mut u8,i32;
495(DebugMenu)__receiver)
496 }
497 }
498 #[doc = "`MoveTick()` overload"]
499 fn move_tick(self) -> () {
500 unsafe {
501 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
502 ::unity::il2cpp_call!((::unity::module_base()+0x2a081f0usize)as*mut u8,();
503(DebugMenu)__receiver)
504 }
505 }
506 #[doc = "`Init()` overload"]
507 fn init(self) -> () {
508 unsafe {
509 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
510 ::unity::il2cpp_call!((::unity::module_base()+0x2a093e0usize)as*mut u8,();
511(DebugMenu)__receiver)
512 }
513 }
514 #[doc = "`BCall()` overload"]
515 fn b_call(self) -> crate::app::menuitem::MenuItem_Result {
516 unsafe {
517 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
518 {
519 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
520 let __vi = *__vt.get(22usize).unwrap_or_else(|| {
521 panic!(
522 "unity: virtual slot {}
523 out of range (vtable len {}
524) on the runtime class behind {}
525 (method `{}
526`)",
527 22usize,
528 __vt.len(),
529 <DebugMenu as ::unity::ClassIdentity>::NAME,
530 "BCall",
531 )
532 });
533 let __inner: extern "C" fn(DebugMenu, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
534 ::core::mem::transmute(__vi.method_ptr);
535 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
536 __inner(__receiver, __mi)
537 }
538 }
539 }
540 #[doc = "`XCall()` overload"]
541 fn x_call(self) -> crate::app::menuitem::MenuItem_Result {
542 unsafe {
543 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
544 {
545 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
546 let __vi = *__vt.get(23usize).unwrap_or_else(|| {
547 panic!(
548 "unity: virtual slot {}
549 out of range (vtable len {}
550) on the runtime class behind {}
551 (method `{}
552`)",
553 23usize,
554 __vt.len(),
555 <DebugMenu as ::unity::ClassIdentity>::NAME,
556 "XCall",
557 )
558 });
559 let __inner: extern "C" fn(DebugMenu, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
560 ::core::mem::transmute(__vi.method_ptr);
561 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
562 __inner(__receiver, __mi)
563 }
564 }
565 }
566 #[doc = "`OnTick()` overload"]
567 fn on_tick(self) -> () {
568 unsafe {
569 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
570 {
571 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
572 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
573 panic!(
574 "unity: virtual slot {}
575 out of range (vtable len {}
576) on the runtime class behind {}
577 (method `{}
578`)",
579 6usize,
580 __vt.len(),
581 <DebugMenu as ::unity::ClassIdentity>::NAME,
582 "OnTick",
583 )
584 });
585 let __inner: extern "C" fn(DebugMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
586 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
587 __inner(__receiver, __mi)
588 }
589 }
590 }
591 #[doc = "`GetItemBlank(i32, i32)` overload"]
592 fn get_item_blank(self, index: impl ::core::convert::Into<i32>, dir: impl ::core::convert::Into<i32>) -> f32 {
593 unsafe {
594 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
595 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a1c0usize)as*mut u8,f32;
596(DebugMenu)__receiver,(i32)::core::convert::Into::into(index),(i32)::core::convert::Into::into(dir))
597 }
598 }
599 #[doc = "`GetOrientTarget()` overload"]
600 fn get_orient_target(self) -> f32 {
601 unsafe {
602 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
603 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a050usize)as*mut u8,f32;
604(DebugMenu)__receiver)
605 }
606 }
607 #[doc = "`UpdateSelect()` overload"]
608 fn update_select(self) -> () {
609 unsafe {
610 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
611 ::unity::il2cpp_call!((::unity::module_base()+0x2a09880usize)as*mut u8,();
612(DebugMenu)__receiver)
613 }
614 }
615 #[doc = "`AddItem(crate::app::menuitem::MenuItem)` overload"]
616 fn add_item(self, item: impl ::core::convert::Into<crate::app::menuitem::MenuItem>) -> crate::app::debugmenu::DebugMenu {
617 unsafe {
618 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
619 ::unity::il2cpp_call!((::unity::module_base()+0x2a027b0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
620(DebugMenu)__receiver,(crate::app::menuitem::MenuItem)::core::convert::Into::into(item))
621 }
622 }
623 #[doc = "`AddItem(crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem>)` overload"]
624 fn add_item_2(
625 self,
626 items: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem>>,
627 ) -> crate::app::debugmenu::DebugMenu {
628 unsafe {
629 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
630 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a310usize)as*mut u8,crate::app::debugmenu::DebugMenu;
631(DebugMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem>)::core::convert::Into::into(items))
632 }
633 }
634 #[doc = "`AddString(::unity::Il2CppString)` overload"]
635 fn add_string(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::debugmenu::DebugMenu {
636 unsafe {
637 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
638 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a470usize)as*mut u8,crate::app::debugmenu::DebugMenu;
639(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
640 }
641 }
642 #[doc = "`AddString(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
643 fn add_string_2(
644 self,
645 name: impl ::core::convert::Into<::unity::Il2CppString>,
646 english: impl ::core::convert::Into<::unity::Il2CppString>,
647 ) -> crate::app::debugmenu::DebugMenu {
648 unsafe {
649 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
650 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a530usize)as*mut u8,crate::app::debugmenu::DebugMenu;
651(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(::unity::Il2CppString)::core::convert::Into::into(english))
652 }
653 }
654 #[doc = "`AddStringFormat(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>)` overload"]
655 fn add_string_format(
656 self,
657 format: impl ::core::convert::Into<::unity::Il2CppString>,
658 args: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
659 ) -> crate::app::debugmenu::DebugMenu {
660 unsafe {
661 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
662 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a600usize)as*mut u8,crate::app::debugmenu::DebugMenu;
663(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(args))
664 }
665 }
666 #[doc = "`AddDisable(::unity::Il2CppString)` overload"]
667 fn add_disable(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::debugmenu::DebugMenu {
668 unsafe {
669 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
670 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a6e0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
671(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
672 }
673 }
674 #[doc = "`AddFunc(::unity::Il2CppString, crate::app::funcitem::FuncItem_Func)` overload"]
675 fn add_func(
676 self,
677 name: impl ::core::convert::Into<::unity::Il2CppString>,
678 func: impl ::core::convert::Into<crate::app::funcitem::FuncItem_Func>,
679 ) -> crate::app::debugmenu::DebugMenu {
680 unsafe {
681 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
682 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a7a0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
683(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::app::funcitem::FuncItem_Func)::core::convert::Into::into(func))
684 }
685 }
686 #[doc = "`AddProperty(crate::system::object::Object, crate::system::reflection::fieldinfo::FieldInfo)` overload"]
687 fn add_property(
688 self,
689 obj: impl ::core::convert::Into<crate::system::object::Object>,
690 info: impl ::core::convert::Into<crate::system::reflection::fieldinfo::FieldInfo>,
691 ) -> crate::app::debugmenu::DebugMenu {
692 unsafe {
693 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
694 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a870usize)as*mut u8,crate::app::debugmenu::DebugMenu;
695(DebugMenu)__receiver,(crate::system::object::Object)::core::convert::Into::into(obj),(crate::system::reflection::fieldinfo::FieldInfo)::core::convert::Into::into(info))
696 }
697 }
698 #[doc = "`AddProperty(crate::system::object::Object, crate::system::reflection::propertyinfo::PropertyInfo)` overload"]
699 fn add_property_2(
700 self,
701 obj: impl ::core::convert::Into<crate::system::object::Object>,
702 info: impl ::core::convert::Into<crate::system::reflection::propertyinfo::PropertyInfo>,
703 ) -> crate::app::debugmenu::DebugMenu {
704 unsafe {
705 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
706 ::unity::il2cpp_call!((::unity::module_base()+0x2a0a940usize)as*mut u8,crate::app::debugmenu::DebugMenu;
707(DebugMenu)__receiver,(crate::system::object::Object)::core::convert::Into::into(obj),(crate::system::reflection::propertyinfo::PropertyInfo)::core::convert::Into::into(info))
708 }
709 }
710 #[doc = "`AddProperty(crate::system::object::Object, ::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags)` overload"]
711 fn add_property_3(
712 self,
713 obj: impl ::core::convert::Into<crate::system::object::Object>,
714 name: impl ::core::convert::Into<::unity::Il2CppString>,
715 flags: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
716 ) -> crate::app::debugmenu::DebugMenu {
717 unsafe {
718 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
719 ::unity::il2cpp_call!((::unity::module_base()+0x2a0aa10usize)as*mut u8,crate::app::debugmenu::DebugMenu;
720(DebugMenu)__receiver,(crate::system::object::Object)::core::convert::Into::into(obj),(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::reflection::bindingflags::BindingFlags)::core::convert::Into::into(flags))
721 }
722 }
723 #[doc = "`AddProperty(crate::system::object::Object, crate::system::reflection::bindingflags::BindingFlags)` overload"]
724 fn add_property_4(
725 self,
726 obj: impl ::core::convert::Into<crate::system::object::Object>,
727 flags: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
728 ) -> crate::app::debugmenu::DebugMenu {
729 unsafe {
730 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
731 ::unity::il2cpp_call!((::unity::module_base()+0x2a0aae0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
732(DebugMenu)__receiver,(crate::system::object::Object)::core::convert::Into::into(obj),(crate::system::reflection::bindingflags::BindingFlags)::core::convert::Into::into(flags))
733 }
734 }
735 #[doc = "`AddLabel(::unity::Il2CppString)` overload"]
736 fn add_label(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::debugmenu::DebugMenu {
737 unsafe {
738 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
739 ::unity::il2cpp_call!((::unity::module_base()+0x2a026f0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
740(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
741 }
742 }
743 #[doc = "`AddLabel(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
744 fn add_label_2(
745 self,
746 name: impl ::core::convert::Into<::unity::Il2CppString>,
747 english: impl ::core::convert::Into<::unity::Il2CppString>,
748 ) -> crate::app::debugmenu::DebugMenu {
749 unsafe {
750 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
751 ::unity::il2cpp_call!((::unity::module_base()+0x2a0abf0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
752(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(::unity::Il2CppString)::core::convert::Into::into(english))
753 }
754 }
755 #[doc = "`AddLabelFormat(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>)` overload"]
756 fn add_label_format(
757 self,
758 format: impl ::core::convert::Into<::unity::Il2CppString>,
759 args: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
760 ) -> crate::app::debugmenu::DebugMenu {
761 unsafe {
762 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
763 ::unity::il2cpp_call!((::unity::module_base()+0x2a0acc0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
764(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(args))
765 }
766 }
767 #[doc = "`AddSeparator()` overload"]
768 fn add_separator(self) -> crate::app::debugmenu::DebugMenu {
769 unsafe {
770 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
771 ::unity::il2cpp_call!((::unity::module_base()+0x2a02830usize)as*mut u8,crate::app::debugmenu::DebugMenu;
772(DebugMenu)__receiver)
773 }
774 }
775 #[doc = "`AddGroupBegin(::unity::Il2CppString, crate::app::menuitem::MenuItem_State)` overload"]
776 fn add_group_begin(
777 self,
778 name: impl ::core::convert::Into<::unity::Il2CppString>,
779 state: impl ::core::convert::Into<crate::app::menuitem::MenuItem_State>,
780 ) -> crate::app::debugmenu::DebugMenu {
781 unsafe {
782 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
783 ::unity::il2cpp_call!((::unity::module_base()+0x2a0ada0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
784(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::app::menuitem::MenuItem_State)::core::convert::Into::into(state))
785 }
786 }
787 #[doc = "`AddGroupEnd()` overload"]
788 fn add_group_end(self) -> crate::app::debugmenu::DebugMenu {
789 unsafe {
790 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
791 ::unity::il2cpp_call!((::unity::module_base()+0x2a0ae70usize)as*mut u8,crate::app::debugmenu::DebugMenu;
792(DebugMenu)__receiver)
793 }
794 }
795 #[doc = "`ClearItem()` overload"]
796 fn clear_item(self) -> crate::app::debugmenu::DebugMenu {
797 unsafe {
798 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
799 ::unity::il2cpp_call!((::unity::module_base()+0x2a0af20usize)as*mut u8,crate::app::debugmenu::DebugMenu;
800(DebugMenu)__receiver)
801 }
802 }
803 #[doc = "`SetPos(f32, f32)` overload"]
804 fn set_pos(self, x: impl ::core::convert::Into<f32>, y: impl ::core::convert::Into<f32>) -> crate::app::debugmenu::DebugMenu {
805 unsafe {
806 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
807 ::unity::il2cpp_call!((::unity::module_base()+0x2a0af80usize)as*mut u8,crate::app::debugmenu::DebugMenu;
808(DebugMenu)__receiver,(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(y))
809 }
810 }
811 #[doc = "`SetPos(crate::unity_engine::vector2::Vector2)` overload"]
812 fn set_pos_2(self, pos: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> crate::app::debugmenu::DebugMenu {
813 unsafe {
814 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
815 ::unity::il2cpp_call!((::unity::module_base()+0x2a0afd0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
816(DebugMenu)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(pos))
817 }
818 }
819 #[doc = "`SetSize(f32, f32)` overload"]
820 fn set_size(self, w: impl ::core::convert::Into<f32>, h: impl ::core::convert::Into<f32>) -> crate::app::debugmenu::DebugMenu {
821 unsafe {
822 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
823 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b020usize)as*mut u8,crate::app::debugmenu::DebugMenu;
824(DebugMenu)__receiver,(f32)::core::convert::Into::into(w),(f32)::core::convert::Into::into(h))
825 }
826 }
827 #[doc = "`SetSize(crate::unity_engine::vector2::Vector2)` overload"]
828 fn set_size_2(self, size: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> crate::app::debugmenu::DebugMenu {
829 unsafe {
830 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
831 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b100usize)as*mut u8,crate::app::debugmenu::DebugMenu;
832(DebugMenu)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(size))
833 }
834 }
835 #[doc = "`SetWidth(f32)` overload"]
836 fn set_width(self, w: impl ::core::convert::Into<f32>) -> crate::app::debugmenu::DebugMenu {
837 unsafe {
838 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
839 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b080usize)as*mut u8,crate::app::debugmenu::DebugMenu;
840(DebugMenu)__receiver,(f32)::core::convert::Into::into(w))
841 }
842 }
843 #[doc = "`SetHeight(f32)` overload"]
844 fn set_height(self, h: impl ::core::convert::Into<f32>) -> crate::app::debugmenu::DebugMenu {
845 unsafe {
846 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
847 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b0c0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
848(DebugMenu)__receiver,(f32)::core::convert::Into::into(h))
849 }
850 }
851 #[doc = "`SetRect(f32, f32, f32, f32)` overload"]
852 fn set_rect(
853 self,
854 x: impl ::core::convert::Into<f32>,
855 y: impl ::core::convert::Into<f32>,
856 w: impl ::core::convert::Into<f32>,
857 h: impl ::core::convert::Into<f32>,
858 ) -> crate::app::debugmenu::DebugMenu {
859 unsafe {
860 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
861 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b160usize)as*mut u8,crate::app::debugmenu::DebugMenu;
862(DebugMenu)__receiver,(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(y),(f32)::core::convert::Into::into(w),(f32)::core::convert::Into::into(h))
863 }
864 }
865 #[doc = "`SetColot(crate::unity_engine::color::Color)` overload"]
866 fn set_colot(self, color: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> crate::app::debugmenu::DebugMenu {
867 unsafe {
868 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
869 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b1f0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
870(DebugMenu)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(color))
871 }
872 }
873 #[doc = "`Move(f32, f32)` overload"]
874 fn r#move(self, x: impl ::core::convert::Into<f32>, y: impl ::core::convert::Into<f32>) -> crate::app::debugmenu::DebugMenu {
875 unsafe {
876 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
877 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b210usize)as*mut u8,crate::app::debugmenu::DebugMenu;
878(DebugMenu)__receiver,(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(y))
879 }
880 }
881 #[doc = "`SetMovePage(bool)` overload"]
882 fn set_move_page(self, enable: impl ::core::convert::Into<bool>) -> crate::app::debugmenu::DebugMenu {
883 unsafe {
884 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
885 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b280usize)as*mut u8,crate::app::debugmenu::DebugMenu;
886(DebugMenu)__receiver,(bool)::core::convert::Into::into(enable))
887 }
888 }
889 #[doc = "`SetMapCursor(bool)` overload"]
890 fn set_map_cursor(self, enable: impl ::core::convert::Into<bool>) -> crate::app::debugmenu::DebugMenu {
891 unsafe {
892 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
893 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b290usize)as*mut u8,crate::app::debugmenu::DebugMenu;
894(DebugMenu)__receiver,(bool)::core::convert::Into::into(enable))
895 }
896 }
897 #[doc = "`ResetSize()` overload"]
898 fn reset_size(self) -> () {
899 unsafe {
900 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
901 ::unity::il2cpp_call!((::unity::module_base()+0x2a09fb0usize)as*mut u8,();
902(DebugMenu)__receiver)
903 }
904 }
905 #[doc = "`CalcWidth()` overload"]
906 fn calc_width(self) -> crate::app::debugmenu::DebugMenu {
907 unsafe {
908 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
909 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b2a0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
910(DebugMenu)__receiver)
911 }
912 }
913 #[doc = "`CalcHeight()` overload"]
914 fn calc_height(self) -> crate::app::debugmenu::DebugMenu {
915 unsafe {
916 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
917 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b470usize)as*mut u8,crate::app::debugmenu::DebugMenu;
918(DebugMenu)__receiver)
919 }
920 }
921 #[doc = "`CalcRow(i32)` overload"]
922 fn calc_row(self, row: impl ::core::convert::Into<i32>) -> crate::app::debugmenu::DebugMenu {
923 unsafe {
924 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
925 ::unity::il2cpp_call!((::unity::module_base()+0x2a095f0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
926(DebugMenu)__receiver,(i32)::core::convert::Into::into(row))
927 }
928 }
929 #[doc = "`SetSelect(i32)` overload"]
930 fn set_select(self, index: impl ::core::convert::Into<i32>) -> crate::app::debugmenu::DebugMenu {
931 unsafe {
932 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
933 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b5d0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
934(DebugMenu)__receiver,(i32)::core::convert::Into::into(index))
935 }
936 }
937 #[doc = "`SetDepth(i32)` overload"]
938 fn set_depth(self, depth: impl ::core::convert::Into<i32>) -> crate::app::debugmenu::DebugMenu {
939 unsafe {
940 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
941 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b5e0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
942(DebugMenu)__receiver,(i32)::core::convert::Into::into(depth))
943 }
944 }
945 #[doc = "`SetAncher(crate::app::gx::GX_Anchor)` overload"]
946 fn set_ancher(self, anchor: impl ::core::convert::Into<crate::app::gx::GX_Anchor>) -> crate::app::debugmenu::DebugMenu {
947 unsafe {
948 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
949 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b5f0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
950(DebugMenu)__receiver,(crate::app::gx::GX_Anchor)::core::convert::Into::into(anchor))
951 }
952 }
953 #[doc = "`SetAncherPos(crate::app::gx::GX_Anchor, f32)` overload"]
954 fn set_ancher_pos(
955 self,
956 anchor: impl ::core::convert::Into<crate::app::gx::GX_Anchor>,
957 offset: impl ::core::convert::Into<f32>,
958 ) -> crate::app::debugmenu::DebugMenu {
959 unsafe {
960 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
961 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b600usize)as*mut u8,crate::app::debugmenu::DebugMenu;
962(DebugMenu)__receiver,(crate::app::gx::GX_Anchor)::core::convert::Into::into(anchor),(f32)::core::convert::Into::into(offset))
963 }
964 }
965 #[doc = "`SetRelay(bool)` overload"]
966 fn set_relay(self, enable: impl ::core::convert::Into<bool>) -> crate::app::debugmenu::DebugMenu {
967 unsafe {
968 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
969 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b6b0usize)as*mut u8,crate::app::debugmenu::DebugMenu;
970(DebugMenu)__receiver,(bool)::core::convert::Into::into(enable))
971 }
972 }
973 #[doc = "`SetDebugTime(f32)` overload"]
974 fn set_debug_time(self, time_scale: impl ::core::convert::Into<f32>) -> () {
975 unsafe {
976 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
977 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b6c0usize)as*mut u8,();
978(DebugMenu)__receiver,(f32)::core::convert::Into::into(time_scale))
979 }
980 }
981 #[doc = "`GetRect()` overload"]
982 fn get_rect(self) -> crate::unity_engine::rect::Rect {
983 unsafe {
984 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
985 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b770usize)as*mut u8,crate::unity_engine::rect::Rect;
986(DebugMenu)__receiver)
987 }
988 }
989 #[doc = "`GetOrient()` overload"]
990 fn get_orient(self) -> f32 {
991 unsafe {
992 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
993 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b780usize)as*mut u8,f32;
994(DebugMenu)__receiver)
995 }
996 }
997 #[doc = "`GetColor()` overload"]
998 fn get_color(self) -> crate::unity_engine::color::Color {
999 unsafe {
1000 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1001 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b790usize)as*mut u8,crate::unity_engine::color::Color;
1002(DebugMenu)__receiver)
1003 }
1004 }
1005 #[doc = "`GetDepth()` overload"]
1006 fn get_depth(self) -> i32 {
1007 unsafe {
1008 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1009 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b7a0usize)as*mut u8,i32;
1010(DebugMenu)__receiver)
1011 }
1012 }
1013 #[doc = "`GetSelect()` overload"]
1014 fn get_select(self) -> i32 {
1015 unsafe {
1016 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1017 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b7b0usize)as*mut u8,i32;
1018(DebugMenu)__receiver)
1019 }
1020 }
1021 #[doc = "`GetPos()` overload"]
1022 fn get_pos(self) -> crate::unity_engine::vector2::Vector2 {
1023 unsafe {
1024 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1025 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b7c0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1026(DebugMenu)__receiver)
1027 }
1028 }
1029 #[doc = "`GetSize()` overload"]
1030 fn get_size(self) -> crate::unity_engine::vector2::Vector2 {
1031 unsafe {
1032 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1033 ::unity::il2cpp_call!((::unity::module_base()+0x2a08050usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1034(DebugMenu)__receiver)
1035 }
1036 }
1037 #[doc = "`GetAnchor()` overload"]
1038 fn get_anchor(self) -> crate::app::gx::GX_Anchor {
1039 unsafe {
1040 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1041 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b810usize)as*mut u8,crate::app::gx::GX_Anchor;
1042(DebugMenu)__receiver)
1043 }
1044 }
1045 #[doc = "`GetIndentOffset(i32)` overload"]
1046 fn get_indent_offset(self, indent: impl ::core::convert::Into<i32>) -> f32 {
1047 unsafe {
1048 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1049 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b410usize)as*mut u8,f32;
1050(DebugMenu)__receiver,(i32)::core::convert::Into::into(indent))
1051 }
1052 }
1053 #[doc = "`CalcIndent(i32, crate::app::menuitem::MenuItem)` overload"]
1054 fn calc_indent(self, indent: impl ::core::convert::Into<i32>, item: impl ::core::convert::Into<crate::app::menuitem::MenuItem>) -> i32 {
1055 unsafe {
1056 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1057 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b420usize)as*mut u8,i32;
1058(DebugMenu)__receiver,(i32)::core::convert::Into::into(indent),(crate::app::menuitem::MenuItem)::core::convert::Into::into(item))
1059 }
1060 }
1061 #[doc = "`ReadRecord()` overload"]
1062 fn read_record(self) -> () {
1063 unsafe {
1064 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1065 ::unity::il2cpp_call!((::unity::module_base()+0x2a09770usize)as*mut u8,();
1066(DebugMenu)__receiver)
1067 }
1068 }
1069 #[doc = "`WriteRecord()` overload"]
1070 fn write_record(self) -> () {
1071 unsafe {
1072 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1073 ::unity::il2cpp_call!((::unity::module_base()+0x2a06030usize)as*mut u8,();
1074(DebugMenu)__receiver)
1075 }
1076 }
1077 #[doc = "`SetRecord(::unity::Il2CppString)` overload"]
1078 fn set_record(self, key: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::debugmenu::DebugMenu {
1079 unsafe {
1080 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1081 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b820usize)as*mut u8,crate::app::debugmenu::DebugMenu;
1082(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(key))
1083 }
1084 }
1085 #[doc = "`BuildHierarchy()` overload"]
1086 fn build_hierarchy(self) -> crate::app::debugmenu::DebugMenu {
1087 unsafe {
1088 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1089 ::unity::il2cpp_call!((::unity::module_base()+0x2a09460usize)as*mut u8,crate::app::debugmenu::DebugMenu;
1090(DebugMenu)__receiver)
1091 }
1092 }
1093 #[doc = "`GetTextWidth(::unity::Il2CppString)` overload"]
1094 fn get_text_width(self, text: impl ::core::convert::Into<::unity::Il2CppString>) -> f32 {
1095 unsafe {
1096 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1097 ::unity::il2cpp_call!((::unity::module_base()+0x2a0b970usize)as*mut u8,f32;
1098(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text))
1099 }
1100 }
1101 #[doc = "`GetTextHeight(::unity::Il2CppString)` overload"]
1102 fn get_text_height(self, text: impl ::core::convert::Into<::unity::Il2CppString>) -> f32 {
1103 unsafe {
1104 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1105 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bb70usize)as*mut u8,f32;
1106(DebugMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text))
1107 }
1108 }
1109 #[doc = "`SetBindMode(crate::app::debugmenu::DebugMenu_BindMode)` overload"]
1110 fn set_bind_mode(self, mode: impl ::core::convert::Into<crate::app::debugmenu::DebugMenu_BindMode>) -> crate::app::debugmenu::DebugMenu {
1111 unsafe {
1112 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1113 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bd80usize)as*mut u8,crate::app::debugmenu::DebugMenu;
1114(DebugMenu)__receiver,(crate::app::debugmenu::DebugMenu_BindMode)::core::convert::Into::into(mode))
1115 }
1116 }
1117 #[doc = "`GetBindMode()` overload"]
1118 fn get_bind_mode(self) -> crate::app::debugmenu::DebugMenu_BindMode {
1119 unsafe {
1120 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1121 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bd90usize)as*mut u8,crate::app::debugmenu::DebugMenu_BindMode;
1122(DebugMenu)__receiver)
1123 }
1124 }
1125 #[doc = "`GetCurrentBindMode()` overload"]
1126 fn get_current_bind_mode(self) -> crate::app::debugmenu::DebugMenu_BindMode {
1127 unsafe {
1128 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1129 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bda0usize)as*mut u8,crate::app::debugmenu::DebugMenu_BindMode;
1130(DebugMenu)__receiver)
1131 }
1132 }
1133 #[doc = "`GetBaseColor()` overload"]
1134 fn get_base_color(self) -> crate::unity_engine::color::Color {
1135 unsafe {
1136 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1137 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bde0usize)as*mut u8,crate::unity_engine::color::Color;
1138(DebugMenu)__receiver)
1139 }
1140 }
1141 #[doc = "`GetItem(i32)` overload"]
1142 fn get_item(self, i: impl ::core::convert::Into<i32>) -> crate::app::menuitem::MenuItem {
1143 unsafe {
1144 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1145 ::unity::il2cpp_call!((::unity::module_base()+0x2a0be70usize)as*mut u8,crate::app::menuitem::MenuItem;
1146(DebugMenu)__receiver,(i32)::core::convert::Into::into(i))
1147 }
1148 }
1149 #[doc = "`GetItems()` overload"]
1150 fn get_items(self) -> crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem> {
1151 unsafe {
1152 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1153 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bee0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem> ;
1154(DebugMenu)__receiver)
1155 }
1156 }
1157 #[doc = "`GetItemCount()` overload"]
1158 fn get_item_count(self) -> i32 {
1159 unsafe {
1160 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1161 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bef0usize)as*mut u8,i32;
1162(DebugMenu)__receiver)
1163 }
1164 }
1165 #[doc = "`GetSelectTick()` overload"]
1166 fn get_select_tick(self) -> i32 {
1167 unsafe {
1168 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1169 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bf40usize)as*mut u8,i32;
1170(DebugMenu)__receiver)
1171 }
1172 }
1173 #[doc = "`GetSelectTime()` overload"]
1174 fn get_select_time(self) -> f32 {
1175 unsafe {
1176 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1177 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bf50usize)as*mut u8,f32;
1178(DebugMenu)__receiver)
1179 }
1180 }
1181 #[doc = "`.ctor()` overload"]
1182 fn ctor(self) -> () {
1183 unsafe {
1184 let __receiver = <DebugMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1185 ::unity::il2cpp_call!((::unity::module_base()+0x2a0bf60usize)as*mut u8,();
1186(DebugMenu)__receiver)
1187 }
1188 }
1189}
1190
1191#[cfg(feature = "app-debugmenu")]
1192impl<__T: IDebugMenu> IDebugMenuMethods for __T {}
1193
1194#[cfg(feature = "app-debugmenu")]
1195impl DebugMenu {
1196 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1197 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1198 }
1199
1200 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1201 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1202 }
1203
1204 pub fn on_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1205 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1206 }
1207
1208 pub fn on_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1209 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1210 }
1211
1212 pub fn on_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1213 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1214 }
1215
1216 pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1217 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1218 }
1219
1220 pub fn tick_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1221 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1222 }
1223
1224 pub fn is_selectable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1225 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1226 }
1227
1228 pub fn is_selectable_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1229 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1230 }
1231
1232 pub fn is_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1233 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1234 }
1235
1236 pub fn is_relay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1237 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1238 }
1239
1240 pub fn move_to_prev_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1241 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1242 }
1243
1244 pub fn move_to_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1245 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1246 }
1247
1248 pub fn get_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1249 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1250 }
1251
1252 pub fn get_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1253 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1254 }
1255
1256 pub fn get_page_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1257 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1258 }
1259
1260 pub fn move_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1261 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1262 }
1263
1264 pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1265 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1266 }
1267
1268 pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1269 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1270 }
1271
1272 pub fn x_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1273 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1274 }
1275
1276 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1277 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1278 }
1279
1280 pub fn get_item_blank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1281 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1282 }
1283
1284 pub fn get_orient_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1285 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1286 }
1287
1288 pub fn update_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1289 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1290 }
1291
1292 pub fn add_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1293 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1294 }
1295
1296 pub fn add_item_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1297 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1298 }
1299
1300 pub fn add_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1301 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1302 }
1303
1304 pub fn add_string_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1305 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1306 }
1307
1308 pub fn add_string_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1309 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1310 }
1311
1312 pub fn add_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1313 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1314 }
1315
1316 pub fn add_func_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1317 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1318 }
1319
1320 pub fn add_property_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1321 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1322 }
1323
1324 pub fn add_property_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1325 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1326 }
1327
1328 pub fn add_property_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1329 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1330 }
1331
1332 pub fn add_property_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1333 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1334 }
1335
1336 pub fn add_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1337 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1338 }
1339
1340 pub fn add_label_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1341 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1342 }
1343
1344 pub fn add_label_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1345 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1346 }
1347
1348 pub fn add_separator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1349 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1350 }
1351
1352 pub fn add_group_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1353 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1354 }
1355
1356 pub fn add_group_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1357 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1358 }
1359
1360 pub fn clear_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1361 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1362 }
1363
1364 pub fn set_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1365 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1366 }
1367
1368 pub fn set_pos_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1369 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1370 }
1371
1372 pub fn set_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1373 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1374 }
1375
1376 pub fn set_size_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1377 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1378 }
1379
1380 pub fn set_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1381 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1382 }
1383
1384 pub fn set_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1385 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1386 }
1387
1388 pub fn set_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1389 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1390 }
1391
1392 pub fn set_colot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1393 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1394 }
1395
1396 pub fn move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1397 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1398 }
1399
1400 pub fn set_move_page_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1401 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1402 }
1403
1404 pub fn set_map_cursor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1405 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1406 }
1407
1408 pub fn reset_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1409 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1410 }
1411
1412 pub fn calc_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1413 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1414 }
1415
1416 pub fn calc_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1417 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1418 }
1419
1420 pub fn calc_row_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1421 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1422 }
1423
1424 pub fn set_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1425 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1426 }
1427
1428 pub fn set_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1429 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1430 }
1431
1432 pub fn set_ancher_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1433 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1434 }
1435
1436 pub fn set_ancher_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1437 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1438 }
1439
1440 pub fn set_relay_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1441 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1442 }
1443
1444 pub fn set_debug_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1445 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1446 }
1447
1448 pub fn get_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1449 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1450 }
1451
1452 pub fn get_orient_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1453 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1454 }
1455
1456 pub fn get_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1457 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1458 }
1459
1460 pub fn get_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1461 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1462 }
1463
1464 pub fn get_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1465 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1466 }
1467
1468 pub fn get_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1469 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1470 }
1471
1472 pub fn get_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1473 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1474 }
1475
1476 pub fn get_anchor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1477 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1478 }
1479
1480 pub fn get_indent_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1481 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1482 }
1483
1484 pub fn calc_indent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1485 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1486 }
1487
1488 pub fn read_record_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1489 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1490 }
1491
1492 pub fn write_record_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1493 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1494 }
1495
1496 pub fn set_record_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1497 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1498 }
1499
1500 pub fn build_hierarchy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1501 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1502 }
1503
1504 pub fn get_text_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1505 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1506 }
1507
1508 pub fn get_text_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1509 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1510 }
1511
1512 pub fn set_bind_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1513 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1514 }
1515
1516 pub fn get_bind_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1517 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1518 }
1519
1520 pub fn get_current_bind_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1521 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1522 }
1523
1524 pub fn get_base_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1525 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1526 }
1527
1528 pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1529 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1530 }
1531
1532 pub fn get_items_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1533 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1534 }
1535
1536 pub fn get_item_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1537 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
1538 }
1539
1540 pub fn get_select_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1541 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1542 }
1543
1544 pub fn get_select_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1545 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1546 }
1547
1548 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1549 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1550 }
1551
1552 pub fn get_top_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1553 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1554 }
1555
1556 pub fn get_parent_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1557 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1558 }
1559
1560 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1561 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
1562 }
1563
1564 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1565 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
1566 }
1567}
1568
1569#[cfg(feature = "app-debugmenu")]
1570impl DebugMenu {
1571 #[doc = "Direct (non-virtual) call to `DebugMenu`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1572 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1573 let __mi = Self::on_create_method_info();
1574 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1575 __inner(this.into(), ::core::option::Option::None)
1576 }
1577
1578 #[doc = "Direct (non-virtual) call to `DebugMenu`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1579 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1580 let __mi = Self::on_dispose_method_info();
1581 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1582 __inner(this.into(), ::core::option::Option::None)
1583 }
1584
1585 #[doc = "Direct (non-virtual) call to `DebugMenu`'s own `OnOpen`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1586 pub unsafe fn on_open(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1587 let __mi = Self::on_open_method_info();
1588 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1589 __inner(this.into(), ::core::option::Option::None)
1590 }
1591
1592 #[doc = "Direct (non-virtual) call to `DebugMenu`'s own `OnClose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1593 pub unsafe fn on_close(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1594 let __mi = Self::on_close_method_info();
1595 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1596 __inner(this.into(), ::core::option::Option::None)
1597 }
1598
1599 #[doc = "Direct (non-virtual) call to `DebugMenu`'s own `OnRebuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1600 pub unsafe fn on_rebuild(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1601 let __mi = Self::on_rebuild_method_info();
1602 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1603 __inner(this.into(), ::core::option::Option::None)
1604 }
1605
1606 #[doc = "Direct (non-virtual) call to `DebugMenu`'s own `OnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1607 pub unsafe fn on_select(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1608 let __mi = Self::on_select_method_info();
1609 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1610 __inner(this.into(), ::core::option::Option::None)
1611 }
1612
1613 #[doc = "Direct (non-virtual) call to `DebugMenu`'s own `BCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1614 pub unsafe fn b_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
1615 let __mi = Self::b_call_method_info();
1616 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
1617 ::core::mem::transmute(__mi.method_ptr);
1618 __inner(this.into(), ::core::option::Option::None)
1619 }
1620
1621 #[doc = "Direct (non-virtual) call to `DebugMenu`'s own `XCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1622 pub unsafe fn x_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::menuitem::MenuItem_Result {
1623 let __mi = Self::x_call_method_info();
1624 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::menuitem::MenuItem_Result =
1625 ::core::mem::transmute(__mi.method_ptr);
1626 __inner(this.into(), ::core::option::Option::None)
1627 }
1628
1629 #[doc = "Direct (non-virtual) call to `DebugMenu`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1630 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1631 let __mi = Self::on_tick_method_info();
1632 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1633 __inner(this.into(), ::core::option::Option::None)
1634 }
1635}
1636
1637#[cfg(feature = "app-debugmenu")]
1638impl DebugMenu {
1639 #[doc = "`.ctor()` — no args"]
1640 pub fn new() -> Self {
1641 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1642 panic!(
1643 "{}
1644::{}
1645 failed to instantiate",
1646 ::core::stringify!(DebugMenu),
1647 ::core::stringify!(new),
1648 )
1649 });
1650 <Self as IDebugMenuMethods>::ctor(this);
1651 this
1652 }
1653}
1654
1655#[cfg(feature = "app-debugmenu")]
1656#[doc(hidden)]
1657pub mod prelude {
1658 pub use super::{
1659 DebugMenu, DebugMenu_AnchorLocation, DebugMenu_BindMode, IDebugMenu, IDebugMenuMethods, IDebugMenu_AnchorLocation,
1660 IDebugMenu_AnchorLocationMethods,
1661 };
1662 #[cfg(feature = "app-procinst")]
1663 pub use crate::app::procinst::IProcInstMethods;
1664 #[cfg(feature = "system-object")]
1665 pub use crate::system::object::IObjectMethods;
1666 #[cfg(feature = "system-enum")]
1667 pub use crate::system::r#enum::IEnumMethods;
1668 #[cfg(feature = "system-valuetype")]
1669 pub use crate::system::valuetype::IValueTypeMethods;
1670 pub use crate::{
1671 app::procinst::IProcInst,
1672 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
1673 };
1674}