1#[cfg(feature = "app-myroomwakeupselectmenu-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 basicmenu::{BasicMenu, IBasicMenu},
11 procinst::{IProcInst, ProcInst},
12 },
13 system::object::{IObject, Object},
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/myroomwakeupselectmenu/MyRoomWakeupSelectMenu.md"))]
17 #[::unity::class(namespace = "App", name = "MyRoomWakeupSelectMenu")]
18 #[parent(crate::app::basicmenu::BasicMenu)]
19 pub struct MyRoomWakeupSelectMenu {
20 #[offset(196)]
21 #[rename(name = "IsRankPhase")]
22 pub is_rank_phase: bool,
23 #[offset(200)]
24 #[rename(name = "m_MenuSelectList")]
25 pub m_menu_select_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuselect::BasicMenuSelect>,
26 #[offset(208)]
27 #[rename(name = "m_OldLevel")]
28 pub m_old_level: crate::app::reliancedata::RelianceData_Level,
29 #[offset(212)]
30 #[rename(name = "m_OldPattern")]
31 pub m_old_pattern: crate::app::gamesound::GameSound_WakeupVoicePattern,
32 }
33}
34
35#[cfg(feature = "app-myroomwakeupselectmenu-types")]
36pub use __types::*;
37
38#[cfg(feature = "app-myroomwakeupselectmenu")]
39impl MyRoomWakeupSelectMenu {
40 #[doc = "`CreateBind(crate::app::procinst::ProcInst, i32, i32)` overload"]
41 pub fn create_bind(
42 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
43 select: impl ::core::convert::Into<i32>,
44 scroll: impl ::core::convert::Into<i32>,
45 ) -> crate::app::myroomwakeupselectmenu::MyRoomWakeupSelectMenu {
46 unsafe {
47 ::unity::il2cpp_call!((::unity::module_base()+0x23a35a0usize)as*mut u8,crate::app::myroomwakeupselectmenu::MyRoomWakeupSelectMenu;
48(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(i32)::core::convert::Into::into(select),(i32)::core::convert::Into::into(scroll))
49 }
50 }
51
52 #[doc = "`CreateMenuList()` overload"]
53 pub fn create_menu_list() -> crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> {
54 unsafe {
55 ::unity::il2cpp_call!((::unity::module_base()+0x23a36e0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> ;
56 )
57 }
58 }
59}
60
61#[cfg(feature = "app-myroomwakeupselectmenu")]
62pub trait IMyRoomWakeupSelectMenuMethods: IMyRoomWakeupSelectMenu {
63 #[doc = "`CreateDefaultDesc()` overload"]
64 fn create_default_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
65 unsafe {
66 let __receiver =
67 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68 {
69 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
70 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
71 panic!(
72 "unity: virtual slot {}
73 out of range (vtable len {}
74) on the runtime class behind {}
75 (method `{}
76`)",
77 18usize,
78 __vt.len(),
79 <MyRoomWakeupSelectMenu as ::unity::ClassIdentity>::NAME,
80 "CreateDefaultDesc",
81 )
82 });
83 let __inner: extern "C" fn(MyRoomWakeupSelectMenu, ::unity::OptionalMethod) -> ::unity::Array<crate::app::procdesc::ProcDesc> =
84 ::core::mem::transmute(__vi.method_ptr);
85 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
86 __inner(__receiver, __mi)
87 }
88 }
89 }
90 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::myroomwakeupselectmenucontent::MyRoomWakeupSelectMenuContent)` overload"]
91 fn ctor(
92 self,
93 menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
94 menu_content: impl ::core::convert::Into<crate::app::myroomwakeupselectmenucontent::MyRoomWakeupSelectMenuContent>,
95 ) -> () {
96 unsafe {
97 let __receiver =
98 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x23a3a80usize)as*mut u8,();
100(MyRoomWakeupSelectMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>)::core::convert::Into::into(menu_item_list),(crate::app::myroomwakeupselectmenucontent::MyRoomWakeupSelectMenuContent)::core::convert::Into::into(menu_content))
101 }
102 }
103 #[doc = "`GetName()` overload"]
104 fn get_name(self) -> ::unity::Il2CppString {
105 unsafe {
106 let __receiver =
107 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108 {
109 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
110 let __vi = *__vt.get(30usize).unwrap_or_else(|| {
111 panic!(
112 "unity: virtual slot {}
113 out of range (vtable len {}
114) on the runtime class behind {}
115 (method `{}
116`)",
117 30usize,
118 __vt.len(),
119 <MyRoomWakeupSelectMenu as ::unity::ClassIdentity>::NAME,
120 "GetName",
121 )
122 });
123 let __inner: extern "C" fn(MyRoomWakeupSelectMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString =
124 ::core::mem::transmute(__vi.method_ptr);
125 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
126 __inner(__receiver, __mi)
127 }
128 }
129 }
130 #[doc = "`SetOldLevelAndPattern(crate::app::reliancedata::RelianceData_Level, crate::app::gamesound::GameSound_WakeupVoicePattern)` overload"]
131 fn set_old_level_and_pattern(
132 self,
133 level: impl ::core::convert::Into<crate::app::reliancedata::RelianceData_Level>,
134 pattern: impl ::core::convert::Into<crate::app::gamesound::GameSound_WakeupVoicePattern>,
135 ) -> () {
136 unsafe {
137 let __receiver =
138 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x23a44c0usize)as*mut u8,();
140(MyRoomWakeupSelectMenu)__receiver,(crate::app::reliancedata::RelianceData_Level)::core::convert::Into::into(level),(crate::app::gamesound::GameSound_WakeupVoicePattern)::core::convert::Into::into(pattern))
141 }
142 }
143 #[doc = "`AfterBuild()` overload"]
144 fn after_build(self) -> () {
145 unsafe {
146 let __receiver =
147 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
148 {
149 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
150 let __vi = *__vt.get(25usize).unwrap_or_else(|| {
151 panic!(
152 "unity: virtual slot {}
153 out of range (vtable len {}
154) on the runtime class behind {}
155 (method `{}
156`)",
157 25usize,
158 __vt.len(),
159 <MyRoomWakeupSelectMenu as ::unity::ClassIdentity>::NAME,
160 "AfterBuild",
161 )
162 });
163 let __inner: extern "C" fn(MyRoomWakeupSelectMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
164 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
165 __inner(__receiver, __mi)
166 }
167 }
168 }
169 #[doc = "`KeyUp(bool)` overload"]
170 fn key_up(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
171 unsafe {
172 let __receiver =
173 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174 {
175 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
176 let __vi = *__vt.get(40usize).unwrap_or_else(|| {
177 panic!(
178 "unity: virtual slot {}
179 out of range (vtable len {}
180) on the runtime class behind {}
181 (method `{}
182`)",
183 40usize,
184 __vt.len(),
185 <MyRoomWakeupSelectMenu as ::unity::ClassIdentity>::NAME,
186 "KeyUp",
187 )
188 });
189 let __inner: extern "C" fn(MyRoomWakeupSelectMenu, bool, ::unity::OptionalMethod) -> () = ::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, ::core::convert::Into::into(is_trigger), __mi)
192 }
193 }
194 }
195 #[doc = "`KeyDown(bool)` overload"]
196 fn key_down(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
197 unsafe {
198 let __receiver =
199 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200 {
201 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
202 let __vi = *__vt.get(41usize).unwrap_or_else(|| {
203 panic!(
204 "unity: virtual slot {}
205 out of range (vtable len {}
206) on the runtime class behind {}
207 (method `{}
208`)",
209 41usize,
210 __vt.len(),
211 <MyRoomWakeupSelectMenu as ::unity::ClassIdentity>::NAME,
212 "KeyDown",
213 )
214 });
215 let __inner: extern "C" fn(MyRoomWakeupSelectMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
216 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
217 __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
218 }
219 }
220 }
221 #[doc = "`KeyLeft(bool)` overload"]
222 fn key_left(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
223 unsafe {
224 let __receiver =
225 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
226 {
227 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
228 let __vi = *__vt.get(42usize).unwrap_or_else(|| {
229 panic!(
230 "unity: virtual slot {}
231 out of range (vtable len {}
232) on the runtime class behind {}
233 (method `{}
234`)",
235 42usize,
236 __vt.len(),
237 <MyRoomWakeupSelectMenu as ::unity::ClassIdentity>::NAME,
238 "KeyLeft",
239 )
240 });
241 let __inner: extern "C" fn(MyRoomWakeupSelectMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
242 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
243 __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
244 }
245 }
246 }
247 #[doc = "`KeyRight(bool)` overload"]
248 fn key_right(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
249 unsafe {
250 let __receiver =
251 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
252 {
253 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
254 let __vi = *__vt.get(43usize).unwrap_or_else(|| {
255 panic!(
256 "unity: virtual slot {}
257 out of range (vtable len {}
258) on the runtime class behind {}
259 (method `{}
260`)",
261 43usize,
262 __vt.len(),
263 <MyRoomWakeupSelectMenu as ::unity::ClassIdentity>::NAME,
264 "KeyRight",
265 )
266 });
267 let __inner: extern "C" fn(MyRoomWakeupSelectMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
268 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
269 __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
270 }
271 }
272 }
273 #[doc = "`CustomCall()` overload"]
274 fn custom_call(self) -> crate::app::basicmenu::BasicMenu_Result {
275 unsafe {
276 let __receiver =
277 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278 {
279 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
280 let __vi = *__vt.get(58usize).unwrap_or_else(|| {
281 panic!(
282 "unity: virtual slot {}
283 out of range (vtable len {}
284) on the runtime class behind {}
285 (method `{}
286`)",
287 58usize,
288 __vt.len(),
289 <MyRoomWakeupSelectMenu as ::unity::ClassIdentity>::NAME,
290 "CustomCall",
291 )
292 });
293 let __inner: extern "C" fn(MyRoomWakeupSelectMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
294 ::core::mem::transmute(__vi.method_ptr);
295 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
296 __inner(__receiver, __mi)
297 }
298 }
299 }
300 #[doc = "`OnDispose()` overload"]
301 fn on_dispose(self) -> () {
302 unsafe {
303 let __receiver =
304 <MyRoomWakeupSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
305 {
306 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
307 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
308 panic!(
309 "unity: virtual slot {}
310 out of range (vtable len {}
311) on the runtime class behind {}
312 (method `{}
313`)",
314 10usize,
315 __vt.len(),
316 <MyRoomWakeupSelectMenu as ::unity::ClassIdentity>::NAME,
317 "OnDispose",
318 )
319 });
320 let __inner: extern "C" fn(MyRoomWakeupSelectMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
321 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
322 __inner(__receiver, __mi)
323 }
324 }
325 }
326}
327
328#[cfg(feature = "app-myroomwakeupselectmenu")]
329impl<__T: IMyRoomWakeupSelectMenu> IMyRoomWakeupSelectMenuMethods for __T {}
330
331#[cfg(feature = "app-myroomwakeupselectmenu")]
332impl MyRoomWakeupSelectMenu {
333 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
334 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
335 }
336
337 pub fn create_default_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
338 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
339 }
340
341 pub fn create_menu_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
342 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
343 }
344
345 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
346 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
347 }
348
349 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
350 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
351 }
352
353 pub fn set_old_level_and_pattern_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
355 }
356
357 pub fn after_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
358 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
359 }
360
361 pub fn key_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
363 }
364
365 pub fn key_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
367 }
368
369 pub fn key_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
371 }
372
373 pub fn key_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
375 }
376
377 pub fn custom_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
379 }
380
381 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
383 }
384}
385
386#[cfg(feature = "app-myroomwakeupselectmenu")]
387impl MyRoomWakeupSelectMenu {
388 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenu`'s own `CreateDefaultDesc`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
389 pub unsafe fn create_default_desc(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
390 let __mi = Self::create_default_desc_method_info();
391 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<crate::app::procdesc::ProcDesc> =
392 ::core::mem::transmute(__mi.method_ptr);
393 __inner(this.into(), ::core::option::Option::None)
394 }
395
396 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
397 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
398 let __mi = Self::get_name_method_info();
399 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
400 __inner(this.into(), ::core::option::Option::None)
401 }
402
403 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenu`'s own `AfterBuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
404 pub unsafe fn after_build(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
405 let __mi = Self::after_build_method_info();
406 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
407 __inner(this.into(), ::core::option::Option::None)
408 }
409
410 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenu`'s own `KeyUp`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
411 pub unsafe fn key_up(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
412 let __mi = Self::key_up_method_info();
413 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
414 __inner(this.into(), is_trigger, ::core::option::Option::None)
415 }
416
417 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenu`'s own `KeyDown`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
418 pub unsafe fn key_down(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
419 let __mi = Self::key_down_method_info();
420 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
421 __inner(this.into(), is_trigger, ::core::option::Option::None)
422 }
423
424 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenu`'s own `KeyLeft`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
425 pub unsafe fn key_left(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
426 let __mi = Self::key_left_method_info();
427 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
428 __inner(this.into(), is_trigger, ::core::option::Option::None)
429 }
430
431 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenu`'s own `KeyRight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
432 pub unsafe fn key_right(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
433 let __mi = Self::key_right_method_info();
434 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
435 __inner(this.into(), is_trigger, ::core::option::Option::None)
436 }
437
438 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenu`'s own `CustomCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
439 pub unsafe fn custom_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
440 let __mi = Self::custom_call_method_info();
441 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
442 ::core::mem::transmute(__mi.method_ptr);
443 __inner(this.into(), ::core::option::Option::None)
444 }
445
446 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenu`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
447 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
448 let __mi = Self::on_dispose_method_info();
449 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
450 __inner(this.into(), ::core::option::Option::None)
451 }
452}
453
454#[cfg(feature = "app-myroomwakeupselectmenu")]
455impl MyRoomWakeupSelectMenu {
456 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::myroomwakeupselectmenucontent::MyRoomWakeupSelectMenuContent)` — overload selector"]
457 pub fn new(
458 menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
459 menu_content: crate::app::myroomwakeupselectmenucontent::MyRoomWakeupSelectMenuContent,
460 ) -> Self {
461 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
462 panic!(
463 "{}
464::{}
465 failed to instantiate",
466 ::core::stringify!(MyRoomWakeupSelectMenu),
467 ::core::stringify!(new),
468 )
469 });
470 <Self as IMyRoomWakeupSelectMenuMethods>::ctor(this, menu_item_list, menu_content);
471 this
472 }
473}
474
475#[cfg(feature = "app-myroomwakeupselectmenu")]
476#[doc(hidden)]
477pub mod prelude {
478 pub use super::{IMyRoomWakeupSelectMenu, IMyRoomWakeupSelectMenuMethods, MyRoomWakeupSelectMenu};
479 #[cfg(feature = "app-basicmenu")]
480 pub use crate::app::basicmenu::IBasicMenuMethods;
481 #[cfg(feature = "app-procinst")]
482 pub use crate::app::procinst::IProcInstMethods;
483 #[cfg(feature = "system-object")]
484 pub use crate::system::object::IObjectMethods;
485 pub use crate::{
486 app::{basicmenu::IBasicMenu, procinst::IProcInst},
487 system::object::IObject,
488 };
489}