1#[cfg(feature = "app-myroomwakeupselectmenuitem-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 basicmenuitem::{BasicMenuItem, IBasicMenuItem},
11 procinst::{IProcInst, ProcInst},
12 },
13 system::object::{IObject, Object},
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/myroomwakeupselectmenuitem/MyRoomWakeupSelectMenuItem.md"))]
17 #[::unity::class(namespace = "App", name = "MyRoomWakeupSelectMenuItem")]
18 #[parent(crate::app::basicmenuitem::BasicMenuItem)]
19 pub struct MyRoomWakeupSelectMenuItem {
20 #[offset(104)]
21 #[rename(name = "m_UnitL")]
22 pub m_unit_l: crate::app::unit::Unit,
23 #[offset(112)]
24 #[rename(name = "m_UnitR")]
25 pub m_unit_r: crate::app::unit::Unit,
26 }
27
28 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/myroomwakeupselectmenuitem/MyRoomWakeupSelectMenuItem_SimpleFade.md"))]
29 #[::unity::class(namespace = "App", name = "MyRoomWakeupSelectMenuItem.SimpleFade")]
30 #[parent(crate::app::procinst::ProcInst)]
31 pub struct MyRoomWakeupSelectMenuItem_SimpleFade {}
32}
33
34#[cfg(feature = "app-myroomwakeupselectmenuitem-types")]
35pub use __types::*;
36
37#[cfg(feature = "app-myroomwakeupselectmenuitem")]
38pub trait IMyRoomWakeupSelectMenuItemMethods: IMyRoomWakeupSelectMenuItem {
39 #[doc = "`get_IsSelected()` overload"]
40 fn get_is_selected(self) -> bool {
41 unsafe {
42 let __receiver =
43 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
44 ::unity::il2cpp_call!((::unity::module_base()+0x23a5680usize)as*mut u8,bool;
45(MyRoomWakeupSelectMenuItem)__receiver)
46 }
47 }
48 #[doc = "`set_IsSelected(bool)` overload"]
49 fn set_is_selected(self, value: impl ::core::convert::Into<bool>) -> () {
50 unsafe {
51 let __receiver =
52 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
53 ::unity::il2cpp_call!((::unity::module_base()+0x23a5690usize)as*mut u8,();
54(MyRoomWakeupSelectMenuItem)__receiver,(bool)::core::convert::Into::into(value))
55 }
56 }
57 #[doc = "`get_IsTalk()` overload"]
58 fn get_is_talk(self) -> bool {
59 unsafe {
60 let __receiver =
61 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62 ::unity::il2cpp_call!((::unity::module_base()+0x23a56a0usize)as*mut u8,bool;
63(MyRoomWakeupSelectMenuItem)__receiver)
64 }
65 }
66 #[doc = "`set_IsTalk(bool)` overload"]
67 fn set_is_talk(self, value: impl ::core::convert::Into<bool>) -> () {
68 unsafe {
69 let __receiver =
70 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
71 ::unity::il2cpp_call!((::unity::module_base()+0x23a56b0usize)as*mut u8,();
72(MyRoomWakeupSelectMenuItem)__receiver,(bool)::core::convert::Into::into(value))
73 }
74 }
75 #[doc = "`get_Cursor()` overload"]
76 fn get_cursor(self) -> crate::app::myroomwakeupselectroot::MyRoomWakeupSelectRoot_CursorTop {
77 unsafe {
78 let __receiver =
79 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80 ::unity::il2cpp_call!((::unity::module_base()+0x23a56c0usize)as*mut u8,crate::app::myroomwakeupselectroot::MyRoomWakeupSelectRoot_CursorTop;
81(MyRoomWakeupSelectMenuItem)__receiver)
82 }
83 }
84 #[doc = "`get_IsBlank()` overload"]
85 fn get_is_blank(self) -> bool {
86 unsafe {
87 let __receiver =
88 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89 ::unity::il2cpp_call!((::unity::module_base()+0x23a5770usize)as*mut u8,bool;
90(MyRoomWakeupSelectMenuItem)__receiver)
91 }
92 }
93 #[doc = "`get_IsAPlus()` overload"]
94 fn get_is_a_plus(self) -> bool {
95 unsafe {
96 let __receiver =
97 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98 ::unity::il2cpp_call!((::unity::module_base()+0x23a5790usize)as*mut u8,bool;
99(MyRoomWakeupSelectMenuItem)__receiver)
100 }
101 }
102 #[doc = "`GetCommandColor()` overload"]
103 fn get_command_color(self) -> crate::unity_engine::color::Color {
104 unsafe {
105 let __receiver =
106 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x23a57d0usize)as*mut u8,crate::unity_engine::color::Color;
108(MyRoomWakeupSelectMenuItem)__receiver)
109 }
110 }
111 #[doc = "`CanStart(crate::app::reliancedata::RelianceData_Level, crate::app::gamesound::GameSound_WakeupVoicePattern)` overload"]
112 fn can_start(
113 self,
114 level: impl ::core::convert::Into<crate::app::reliancedata::RelianceData_Level>,
115 pattern: impl ::core::convert::Into<crate::app::gamesound::GameSound_WakeupVoicePattern>,
116 ) -> bool {
117 unsafe {
118 let __receiver =
119 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
120 ::unity::il2cpp_call!((::unity::module_base()+0x23a5850usize)as*mut u8,bool;
121(MyRoomWakeupSelectMenuItem)__receiver,(crate::app::reliancedata::RelianceData_Level)::core::convert::Into::into(level),(crate::app::gamesound::GameSound_WakeupVoicePattern)::core::convert::Into::into(pattern))
122 }
123 }
124 #[doc = "`GetSortOrder()` overload"]
125 fn get_sort_order(self) -> i32 {
126 unsafe {
127 let __receiver =
128 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129 ::unity::il2cpp_call!((::unity::module_base()+0x23a58a0usize)as*mut u8,i32;
130(MyRoomWakeupSelectMenuItem)__receiver)
131 }
132 }
133 #[doc = "`GetOpenCount()` overload"]
134 fn get_open_count(self) -> i32 {
135 unsafe {
136 let __receiver =
137 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138 ::unity::il2cpp_call!((::unity::module_base()+0x23a58e0usize)as*mut u8,i32;
139(MyRoomWakeupSelectMenuItem)__receiver)
140 }
141 }
142 #[doc = "`.ctor(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
143 fn ctor(self, unit_l: impl ::core::convert::Into<crate::app::unit::Unit>, unit_r: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
144 unsafe {
145 let __receiver =
146 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147 ::unity::il2cpp_call!((::unity::module_base()+0x23a43a0usize)as*mut u8,();
148(MyRoomWakeupSelectMenuItem)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit_l),(crate::app::unit::Unit)::core::convert::Into::into(unit_r))
149 }
150 }
151 #[doc = "`UpdateTalk()` overload"]
152 fn update_talk(self) -> () {
153 unsafe {
154 let __receiver =
155 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
156 ::unity::il2cpp_call!((::unity::module_base()+0x23a5990usize)as*mut u8,();
157(MyRoomWakeupSelectMenuItem)__receiver)
158 }
159 }
160 #[doc = "`BuildAttribute()` overload"]
161 fn build_attribute(self) -> crate::app::basicmenuitem::BasicMenuItem_Attribute {
162 unsafe {
163 let __receiver =
164 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
165 {
166 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
167 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
168 panic!(
169 "unity: virtual slot {}
170 out of range (vtable len {}
171) on the runtime class behind {}
172 (method `{}
173`)",
174 8usize,
175 __vt.len(),
176 <MyRoomWakeupSelectMenuItem as ::unity::ClassIdentity>::NAME,
177 "BuildAttribute",
178 )
179 });
180 let __inner: extern "C" fn(
181 MyRoomWakeupSelectMenuItem,
182 ::unity::OptionalMethod,
183 ) -> crate::app::basicmenuitem::BasicMenuItem_Attribute = ::core::mem::transmute(__vi.method_ptr);
184 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
185 __inner(__receiver, __mi)
186 }
187 }
188 }
189 #[doc = "`OnSelect()` overload"]
190 fn on_select(self) -> () {
191 unsafe {
192 let __receiver =
193 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194 {
195 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
196 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
197 panic!(
198 "unity: virtual slot {}
199 out of range (vtable len {}
200) on the runtime class behind {}
201 (method `{}
202`)",
203 12usize,
204 __vt.len(),
205 <MyRoomWakeupSelectMenuItem as ::unity::ClassIdentity>::NAME,
206 "OnSelect",
207 )
208 });
209 let __inner: extern "C" fn(MyRoomWakeupSelectMenuItem, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
210 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
211 __inner(__receiver, __mi)
212 }
213 }
214 }
215 #[doc = "`ACall()` overload"]
216 fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
217 unsafe {
218 let __receiver =
219 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
220 {
221 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
222 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
223 panic!(
224 "unity: virtual slot {}
225 out of range (vtable len {}
226) on the runtime class behind {}
227 (method `{}
228`)",
229 18usize,
230 __vt.len(),
231 <MyRoomWakeupSelectMenuItem as ::unity::ClassIdentity>::NAME,
232 "ACall",
233 )
234 });
235 let __inner: extern "C" fn(MyRoomWakeupSelectMenuItem, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
236 ::core::mem::transmute(__vi.method_ptr);
237 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
238 __inner(__receiver, __mi)
239 }
240 }
241 }
242 #[doc = "`StartRankSelect(crate::app::reliancedata::RelianceData_Level, crate::app::gamesound::GameSound_WakeupVoicePattern)` overload"]
243 fn start_rank_select(
244 self,
245 level: impl ::core::convert::Into<crate::app::reliancedata::RelianceData_Level>,
246 pattern: impl ::core::convert::Into<crate::app::gamesound::GameSound_WakeupVoicePattern>,
247 ) -> () {
248 unsafe {
249 let __receiver =
250 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251 ::unity::il2cpp_call!((::unity::module_base()+0x23a4580usize)as*mut u8,();
252(MyRoomWakeupSelectMenuItem)__receiver,(crate::app::reliancedata::RelianceData_Level)::core::convert::Into::into(level),(crate::app::gamesound::GameSound_WakeupVoicePattern)::core::convert::Into::into(pattern))
253 }
254 }
255 #[doc = "`BCall()` overload"]
256 fn b_call(self) -> crate::app::basicmenu::BasicMenu_Result {
257 unsafe {
258 let __receiver =
259 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
260 {
261 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
262 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
263 panic!(
264 "unity: virtual slot {}
265 out of range (vtable len {}
266) on the runtime class behind {}
267 (method `{}
268`)",
269 19usize,
270 __vt.len(),
271 <MyRoomWakeupSelectMenuItem as ::unity::ClassIdentity>::NAME,
272 "BCall",
273 )
274 });
275 let __inner: extern "C" fn(MyRoomWakeupSelectMenuItem, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
276 ::core::mem::transmute(__vi.method_ptr);
277 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
278 __inner(__receiver, __mi)
279 }
280 }
281 }
282 #[doc = "`GetUnitL()` overload"]
283 fn get_unit_l(self) -> crate::app::unit::Unit {
284 unsafe {
285 let __receiver =
286 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287 ::unity::il2cpp_call!((::unity::module_base()+0x23a6390usize)as*mut u8,crate::app::unit::Unit;
288(MyRoomWakeupSelectMenuItem)__receiver)
289 }
290 }
291 #[doc = "`GetUnitR()` overload"]
292 fn get_unit_r(self) -> crate::app::unit::Unit {
293 unsafe {
294 let __receiver =
295 <MyRoomWakeupSelectMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296 ::unity::il2cpp_call!((::unity::module_base()+0x23a63a0usize)as*mut u8,crate::app::unit::Unit;
297(MyRoomWakeupSelectMenuItem)__receiver)
298 }
299 }
300}
301
302#[cfg(feature = "app-myroomwakeupselectmenuitem")]
303impl<__T: IMyRoomWakeupSelectMenuItem> IMyRoomWakeupSelectMenuItemMethods for __T {}
304
305#[cfg(feature = "app-myroomwakeupselectmenuitem")]
306impl MyRoomWakeupSelectMenuItem {
307 pub fn get_is_selected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
309 }
310
311 pub fn set_is_selected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
313 }
314
315 pub fn get_is_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
316 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
317 }
318
319 pub fn set_is_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
320 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
321 }
322
323 pub fn get_cursor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
324 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
325 }
326
327 pub fn get_is_blank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
328 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
329 }
330
331 pub fn get_is_a_plus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
332 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
333 }
334
335 pub fn get_command_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
336 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
337 }
338
339 pub fn can_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
340 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
341 }
342
343 pub fn get_sort_order_method_info() -> &'static ::unity::il2cpp::MethodInfo {
344 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
345 }
346
347 pub fn get_open_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
348 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
349 }
350
351 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
352 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
353 }
354
355 pub fn update_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
356 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
357 }
358
359 pub fn build_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
360 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
361 }
362
363 pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
364 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
365 }
366
367 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
368 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
369 }
370
371 pub fn start_rank_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
372 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
373 }
374
375 pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
376 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
377 }
378
379 pub fn get_unit_l_method_info() -> &'static ::unity::il2cpp::MethodInfo {
380 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
381 }
382
383 pub fn get_unit_r_method_info() -> &'static ::unity::il2cpp::MethodInfo {
384 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
385 }
386}
387
388#[cfg(feature = "app-myroomwakeupselectmenuitem")]
389impl MyRoomWakeupSelectMenuItem {
390 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenuItem`'s own `BuildAttribute`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
391 pub unsafe fn build_attribute(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenuitem::BasicMenuItem_Attribute {
392 let __mi = Self::build_attribute_method_info();
393 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenuitem::BasicMenuItem_Attribute =
394 ::core::mem::transmute(__mi.method_ptr);
395 __inner(this.into(), ::core::option::Option::None)
396 }
397
398 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenuItem`'s own `OnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
399 pub unsafe fn on_select(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
400 let __mi = Self::on_select_method_info();
401 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
402 __inner(this.into(), ::core::option::Option::None)
403 }
404
405 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
406 pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
407 let __mi = Self::a_call_method_info();
408 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
409 ::core::mem::transmute(__mi.method_ptr);
410 __inner(this.into(), ::core::option::Option::None)
411 }
412
413 #[doc = "Direct (non-virtual) call to `MyRoomWakeupSelectMenuItem`'s own `BCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
414 pub unsafe fn b_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
415 let __mi = Self::b_call_method_info();
416 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
417 ::core::mem::transmute(__mi.method_ptr);
418 __inner(this.into(), ::core::option::Option::None)
419 }
420}
421
422#[cfg(feature = "app-myroomwakeupselectmenuitem")]
423impl MyRoomWakeupSelectMenuItem {
424 #[doc = "`.ctor(crate::app::unit::Unit, crate::app::unit::Unit)` — overload selector"]
425 pub fn new(unit_l: crate::app::unit::Unit, unit_r: crate::app::unit::Unit) -> Self {
426 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
427 panic!(
428 "{}
429::{}
430 failed to instantiate",
431 ::core::stringify!(MyRoomWakeupSelectMenuItem),
432 ::core::stringify!(new),
433 )
434 });
435 <Self as IMyRoomWakeupSelectMenuItemMethods>::ctor(this, unit_l, unit_r);
436 this
437 }
438}
439
440#[cfg(feature = "app-myroomwakeupselectmenuitem")]
441impl MyRoomWakeupSelectMenuItem_SimpleFade {
442 #[doc = "`CrateBlackOutBind(crate::app::procinst::ProcInst)` overload"]
443 pub fn crate_black_out_bind(parent: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
444 unsafe {
445 ::unity::il2cpp_call!((::unity::module_base()+0x209adc0usize)as*mut u8,();
446(crate::app::procinst::ProcInst)::core::convert::Into::into(parent))
447 }
448 }
449}
450
451#[cfg(feature = "app-myroomwakeupselectmenuitem")]
452pub trait IMyRoomWakeupSelectMenuItem_SimpleFadeMethods: IMyRoomWakeupSelectMenuItem_SimpleFade {
453 #[doc = "`CreateDesc()` overload"]
454 fn create_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
455 unsafe {
456 let __receiver = <MyRoomWakeupSelectMenuItem_SimpleFade as ::unity::FromIlInstance>::from_il_instance(
457 <Self as ::unity::SystemObject>::as_instance(self),
458 );
459 ::unity::il2cpp_call!((::unity::module_base()+0x209ae50usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
460(MyRoomWakeupSelectMenuItem_SimpleFade)__receiver)
461 }
462 }
463 #[doc = "`DeleteParent()` overload"]
464 fn delete_parent(self) -> () {
465 unsafe {
466 let __receiver = <MyRoomWakeupSelectMenuItem_SimpleFade as ::unity::FromIlInstance>::from_il_instance(
467 <Self as ::unity::SystemObject>::as_instance(self),
468 );
469 ::unity::il2cpp_call!((::unity::module_base()+0x209b080usize)as*mut u8,();
470(MyRoomWakeupSelectMenuItem_SimpleFade)__receiver)
471 }
472 }
473 #[doc = "`.ctor()` overload"]
474 fn ctor(self) -> () {
475 unsafe {
476 let __receiver = <MyRoomWakeupSelectMenuItem_SimpleFade as ::unity::FromIlInstance>::from_il_instance(
477 <Self as ::unity::SystemObject>::as_instance(self),
478 );
479 ::unity::il2cpp_call!((::unity::module_base()+0x209ae40usize)as*mut u8,();
480(MyRoomWakeupSelectMenuItem_SimpleFade)__receiver)
481 }
482 }
483}
484
485#[cfg(feature = "app-myroomwakeupselectmenuitem")]
486impl<__T: IMyRoomWakeupSelectMenuItem_SimpleFade> IMyRoomWakeupSelectMenuItem_SimpleFadeMethods for __T {}
487
488#[cfg(feature = "app-myroomwakeupselectmenuitem")]
489impl MyRoomWakeupSelectMenuItem_SimpleFade {
490 pub fn crate_black_out_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
492 }
493
494 pub fn create_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
496 }
497
498 pub fn delete_parent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
499 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
500 }
501
502 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
503 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
504 }
505}
506
507#[cfg(feature = "app-myroomwakeupselectmenuitem")]
508impl MyRoomWakeupSelectMenuItem_SimpleFade {
509 #[doc = "`.ctor()` — no args"]
510 pub fn new() -> Self {
511 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
512 panic!(
513 "{}
514::{}
515 failed to instantiate",
516 ::core::stringify!(MyRoomWakeupSelectMenuItem_SimpleFade),
517 ::core::stringify!(new),
518 )
519 });
520 <Self as IMyRoomWakeupSelectMenuItem_SimpleFadeMethods>::ctor(this);
521 this
522 }
523}
524
525#[cfg(feature = "app-myroomwakeupselectmenuitem")]
526#[doc(hidden)]
527pub mod prelude {
528 pub use super::{
529 IMyRoomWakeupSelectMenuItem, IMyRoomWakeupSelectMenuItemMethods, IMyRoomWakeupSelectMenuItem_SimpleFade,
530 IMyRoomWakeupSelectMenuItem_SimpleFadeMethods, MyRoomWakeupSelectMenuItem, MyRoomWakeupSelectMenuItem_SimpleFade,
531 };
532 #[cfg(feature = "app-basicmenuitem")]
533 pub use crate::app::basicmenuitem::IBasicMenuItemMethods;
534 #[cfg(feature = "app-procinst")]
535 pub use crate::app::procinst::IProcInstMethods;
536 #[cfg(feature = "system-object")]
537 pub use crate::system::object::IObjectMethods;
538 pub use crate::{
539 app::{basicmenuitem::IBasicMenuItem, procinst::IProcInst},
540 system::object::IObject,
541 };
542}