1#[cfg(feature = "app-mascotcolorchangemenu-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/mascotcolorchangemenu/MascotColorChangeMenu_Label.md"))]
18 #[repr(C)]
19 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
20 pub struct MascotColorChangeMenu_Label {
21 pub value: i32,
22 }
23 impl ::unity::ClassIdentity for MascotColorChangeMenu_Label {
24 const NAME: &'static str = "MascotColorChangeMenu.Label";
25 const NAMESPACE: &'static str = "App";
26
27 fn class() -> ::unity::Class {
28 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
29 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
30 }
31 }
32 impl ::unity::IlType for MascotColorChangeMenu_Label {
33 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
34 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
35 }
36 }
37 impl MascotColorChangeMenu_Label {
38 pub fn init() -> Self {
39 Self { value: 0 }
40 }
41
42 pub fn main() -> Self {
43 Self { value: 1 }
44 }
45
46 pub fn exit() -> Self {
47 Self { value: 2 }
48 }
49 }
50
51 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mascotcolorchangemenu/MascotColorChangeMenu_CursorTop.md"))]
52 #[::unity::class(namespace = "App", name = "MascotColorChangeMenu.CursorTop")]
53 #[parent(crate::system::object::Object)]
54 pub struct MascotColorChangeMenu_CursorTop {
55 #[offset(16)]
56 #[rename(name = "XCount")]
57 pub x_count: i32,
58 #[offset(20)]
59 #[rename(name = "YCount")]
60 pub y_count: i32,
61 #[offset(24)]
62 #[rename(name = "MoveFrame")]
63 pub move_frame: f32,
64 #[offset(32)]
65 #[rename(name = "m_cursorTop")]
66 pub m_cursor_top: crate::unity_engine::recttransform::RectTransform,
67 #[offset(56)]
68 #[rename(name = "m_moveTick")]
69 pub m_move_tick: f32,
70 }
71
72 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mascotcolorchangemenu/MascotColorChangeMenu.md"))]
73 #[::unity::class(namespace = "App", name = "MascotColorChangeMenu")]
74 #[parent(crate::app::procinst::ProcInst)]
75 pub struct MascotColorChangeMenu {
76 #[offset(128)]
77 #[rename(name = "m_result")]
78 pub m_result: crate::app::basicmenu::BasicMenu_Result,
79 #[offset(136)]
80 #[rename(name = "m_RootAnim")]
81 pub m_root_anim: crate::unity_engine::animator::Animator,
82 #[offset(144)]
83 #[rename(name = "m_cursor")]
84 pub m_cursor: crate::app::mascotcolorchangemenu::MascotColorChangeMenu_CursorTop,
85 }
86}
87
88#[cfg(feature = "app-mascotcolorchangemenu-types")]
89pub use __types::*;
90
91#[cfg(feature = "app-mascotcolorchangemenu")]
92pub trait IMascotColorChangeMenu_CursorTopMethods: IMascotColorChangeMenu_CursorTop {
93 #[doc = "`get_SelectIndexX()` overload"]
94 fn get_select_index_x(self) -> i32 {
95 unsafe {
96 let __receiver =
97 <MascotColorChangeMenu_CursorTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98 ::unity::il2cpp_call!((::unity::module_base()+0x1e53350usize)as*mut u8,i32;
99(MascotColorChangeMenu_CursorTop)__receiver)
100 }
101 }
102 #[doc = "`get_SelectIndexY()` overload"]
103 fn get_select_index_y(self) -> i32 {
104 unsafe {
105 let __receiver =
106 <MascotColorChangeMenu_CursorTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x1e53360usize)as*mut u8,i32;
108(MascotColorChangeMenu_CursorTop)__receiver)
109 }
110 }
111 #[doc = "`.ctor(crate::unity_engine::recttransform::RectTransform)` overload"]
112 fn ctor(self, transform: impl ::core::convert::Into<crate::unity_engine::recttransform::RectTransform>) -> () {
113 unsafe {
114 let __receiver =
115 <MascotColorChangeMenu_CursorTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116 ::unity::il2cpp_call!((::unity::module_base()+0x1e53370usize)as*mut u8,();
117(MascotColorChangeMenu_CursorTop)__receiver,(crate::unity_engine::recttransform::RectTransform)::core::convert::Into::into(transform))
118 }
119 }
120 #[doc = "`SetIndexInstant(i32)` overload"]
121 fn set_index_instant(self, index: impl ::core::convert::Into<i32>) -> () {
122 unsafe {
123 let __receiver =
124 <MascotColorChangeMenu_CursorTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
125 ::unity::il2cpp_call!((::unity::module_base()+0x1e53440usize)as*mut u8,();
126(MascotColorChangeMenu_CursorTop)__receiver,(i32)::core::convert::Into::into(index))
127 }
128 }
129 #[doc = "`MoveCursor(i32, i32, bool)` overload"]
130 fn move_cursor(
131 self,
132 move_x: impl ::core::convert::Into<i32>,
133 move_y: impl ::core::convert::Into<i32>,
134 is_trigger: impl ::core::convert::Into<bool>,
135 ) -> bool {
136 unsafe {
137 let __receiver =
138 <MascotColorChangeMenu_CursorTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x1e535a0usize)as*mut u8,bool;
140(MascotColorChangeMenu_CursorTop)__receiver,(i32)::core::convert::Into::into(move_x),(i32)::core::convert::Into::into(move_y),(bool)::core::convert::Into::into(is_trigger))
141 }
142 }
143 #[doc = "`Update()` overload"]
144 fn update(self) -> () {
145 unsafe {
146 let __receiver =
147 <MascotColorChangeMenu_CursorTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
148 ::unity::il2cpp_call!((::unity::module_base()+0x1e53640usize)as*mut u8,();
149(MascotColorChangeMenu_CursorTop)__receiver)
150 }
151 }
152 #[doc = "`SetPosition(f32, f32)` overload"]
153 fn set_position(self, x: impl ::core::convert::Into<f32>, y: impl ::core::convert::Into<f32>) -> () {
154 unsafe {
155 let __receiver =
156 <MascotColorChangeMenu_CursorTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
157 ::unity::il2cpp_call!((::unity::module_base()+0x1e53550usize)as*mut u8,();
158(MascotColorChangeMenu_CursorTop)__receiver,(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(y))
159 }
160 }
161 #[doc = "`GetPositionX(i32)` overload"]
162 fn get_position_x(self, select_index: impl ::core::convert::Into<i32>) -> f32 {
163 unsafe {
164 let __receiver =
165 <MascotColorChangeMenu_CursorTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166 ::unity::il2cpp_call!((::unity::module_base()+0x1e534f0usize)as*mut u8,f32;
167(MascotColorChangeMenu_CursorTop)__receiver,(i32)::core::convert::Into::into(select_index))
168 }
169 }
170 #[doc = "`GetPositionY(i32)` overload"]
171 fn get_position_y(self, select_index: impl ::core::convert::Into<i32>) -> f32 {
172 unsafe {
173 let __receiver =
174 <MascotColorChangeMenu_CursorTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175 ::unity::il2cpp_call!((::unity::module_base()+0x1e53520usize)as*mut u8,f32;
176(MascotColorChangeMenu_CursorTop)__receiver,(i32)::core::convert::Into::into(select_index))
177 }
178 }
179}
180
181#[cfg(feature = "app-mascotcolorchangemenu")]
182impl<__T: IMascotColorChangeMenu_CursorTop> IMascotColorChangeMenu_CursorTopMethods for __T {}
183
184#[cfg(feature = "app-mascotcolorchangemenu")]
185impl MascotColorChangeMenu_CursorTop {
186 pub fn get_select_index_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
188 }
189
190 pub fn get_select_index_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
192 }
193
194 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
196 }
197
198 pub fn set_index_instant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
200 }
201
202 pub fn move_cursor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
204 }
205
206 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
208 }
209
210 pub fn set_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
211 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
212 }
213
214 pub fn get_position_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
215 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
216 }
217
218 pub fn get_position_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
219 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
220 }
221}
222
223#[cfg(feature = "app-mascotcolorchangemenu")]
224impl MascotColorChangeMenu_CursorTop {
225 #[doc = "`.ctor(crate::unity_engine::recttransform::RectTransform)` — overload selector"]
226 pub fn new(transform: crate::unity_engine::recttransform::RectTransform) -> Self {
227 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
228 panic!(
229 "{}
230::{}
231 failed to instantiate",
232 ::core::stringify!(MascotColorChangeMenu_CursorTop),
233 ::core::stringify!(new),
234 )
235 });
236 <Self as IMascotColorChangeMenu_CursorTopMethods>::ctor(this, transform);
237 this
238 }
239}
240
241#[cfg(feature = "app-mascotcolorchangemenu")]
242impl MascotColorChangeMenu {
243 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
244 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
245 unsafe {
246 ::unity::il2cpp_call!((::unity::module_base()+0x2034a00usize)as*mut u8,();
247(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
248 }
249 }
250}
251
252#[cfg(feature = "app-mascotcolorchangemenu")]
253pub trait IMascotColorChangeMenuMethods: IMascotColorChangeMenu {
254 #[doc = "`get_Content()` overload"]
255 fn get_content(self) -> crate::app::mascotcolorchangecontent::MascotColorChangeContent {
256 unsafe {
257 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
258 ::unity::il2cpp_call!((::unity::module_base()+0x2032030usize)as*mut u8,crate::app::mascotcolorchangecontent::MascotColorChangeContent;
259(MascotColorChangeMenu)__receiver)
260 }
261 }
262 #[doc = "`set_Content(crate::app::mascotcolorchangecontent::MascotColorChangeContent)` overload"]
263 fn set_content(self, value: impl ::core::convert::Into<crate::app::mascotcolorchangecontent::MascotColorChangeContent>) -> () {
264 unsafe {
265 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
266 ::unity::il2cpp_call!((::unity::module_base()+0x2032040usize)as*mut u8,();
267(MascotColorChangeMenu)__receiver,(crate::app::mascotcolorchangecontent::MascotColorChangeContent)::core::convert::Into::into(value))
268 }
269 }
270 #[doc = "`get_ColorPalette()` overload"]
271 fn get_color_palette(
272 self,
273 ) -> crate::system::collections::generic::list_1::List_1<crate::app::mascotcolorchangeitemcontent::MascotColorChangeItemContent> {
274 unsafe {
275 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
276 ::unity::il2cpp_call!((::unity::module_base()+0x2032050usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::mascotcolorchangeitemcontent::MascotColorChangeItemContent> ;
277(MascotColorChangeMenu)__receiver)
278 }
279 }
280 #[doc = "`set_ColorPalette(crate::system::collections::generic::list_1::List_1<crate::app::mascotcolorchangeitemcontent::MascotColorChangeItemContent>)` overload"]
281 fn set_color_palette(
282 self,
283 value: impl ::core::convert::Into<
284 crate::system::collections::generic::list_1::List_1<crate::app::mascotcolorchangeitemcontent::MascotColorChangeItemContent>,
285 >,
286 ) -> () {
287 unsafe {
288 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
289 ::unity::il2cpp_call!((::unity::module_base()+0x2032060usize)as*mut u8,();
290(MascotColorChangeMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::mascotcolorchangeitemcontent::MascotColorChangeItemContent>)::core::convert::Into::into(value))
291 }
292 }
293 #[doc = "`SetSelectColor()` overload"]
294 fn set_select_color(self) -> () {
295 unsafe {
296 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297 ::unity::il2cpp_call!((::unity::module_base()+0x2032070usize)as*mut u8,();
298(MascotColorChangeMenu)__receiver)
299 }
300 }
301 #[doc = "`SetRadioCheckColorPalette()` overload"]
302 fn set_radio_check_color_palette(self) -> () {
303 unsafe {
304 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
305 ::unity::il2cpp_call!((::unity::module_base()+0x20321e0usize)as*mut u8,();
306(MascotColorChangeMenu)__receiver)
307 }
308 }
309 #[doc = "`Init()` overload"]
310 fn init(self) -> () {
311 unsafe {
312 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
313 ::unity::il2cpp_call!((::unity::module_base()+0x2032400usize)as*mut u8,();
314(MascotColorChangeMenu)__receiver)
315 }
316 }
317 #[doc = "`Main()` overload"]
318 fn main(self) -> () {
319 unsafe {
320 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
321 ::unity::il2cpp_call!((::unity::module_base()+0x2032a80usize)as*mut u8,();
322(MascotColorChangeMenu)__receiver)
323 }
324 }
325 #[doc = "`Close()` overload"]
326 fn close(self) -> () {
327 unsafe {
328 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
329 ::unity::il2cpp_call!((::unity::module_base()+0x2034200usize)as*mut u8,();
330(MascotColorChangeMenu)__receiver)
331 }
332 }
333 #[doc = "`IsClosed()` overload"]
334 fn is_closed(self) -> bool {
335 unsafe {
336 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
337 ::unity::il2cpp_call!((::unity::module_base()+0x20342b0usize)as*mut u8,bool;
338(MascotColorChangeMenu)__receiver)
339 }
340 }
341 #[doc = "`Exit()` overload"]
342 fn exit(self) -> () {
343 unsafe {
344 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
345 ::unity::il2cpp_call!((::unity::module_base()+0x2034360usize)as*mut u8,();
346(MascotColorChangeMenu)__receiver)
347 }
348 }
349 #[doc = "`KeyUp(bool)` overload"]
350 fn key_up(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
351 unsafe {
352 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
353 ::unity::il2cpp_call!((::unity::module_base()+0x2033dc0usize)as*mut u8,();
354(MascotColorChangeMenu)__receiver,(bool)::core::convert::Into::into(is_trigger))
355 }
356 }
357 #[doc = "`KeyDown(bool)` overload"]
358 fn key_down(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
359 unsafe {
360 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
361 ::unity::il2cpp_call!((::unity::module_base()+0x2033e10usize)as*mut u8,();
362(MascotColorChangeMenu)__receiver,(bool)::core::convert::Into::into(is_trigger))
363 }
364 }
365 #[doc = "`KeyLeft(bool)` overload"]
366 fn key_left(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
367 unsafe {
368 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
369 ::unity::il2cpp_call!((::unity::module_base()+0x2033e60usize)as*mut u8,();
370(MascotColorChangeMenu)__receiver,(bool)::core::convert::Into::into(is_trigger))
371 }
372 }
373 #[doc = "`KeyRight(bool)` overload"]
374 fn key_right(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
375 unsafe {
376 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
377 ::unity::il2cpp_call!((::unity::module_base()+0x2033eb0usize)as*mut u8,();
378(MascotColorChangeMenu)__receiver,(bool)::core::convert::Into::into(is_trigger))
379 }
380 }
381 #[doc = "`ACall()` overload"]
382 fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
383 unsafe {
384 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
385 ::unity::il2cpp_call!((::unity::module_base()+0x2033f00usize)as*mut u8,crate::app::basicmenu::BasicMenu_Result;
386(MascotColorChangeMenu)__receiver)
387 }
388 }
389 #[doc = "`BCall()` overload"]
390 fn b_call(self) -> crate::app::basicmenu::BasicMenu_Result {
391 unsafe {
392 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
393 ::unity::il2cpp_call!((::unity::module_base()+0x2033f80usize)as*mut u8,crate::app::basicmenu::BasicMenu_Result;
394(MascotColorChangeMenu)__receiver)
395 }
396 }
397 #[doc = "`PlayCursorSE()` overload"]
398 fn play_cursor_se(self) -> () {
399 unsafe {
400 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
401 ::unity::il2cpp_call!((::unity::module_base()+0x2034180usize)as*mut u8,();
402(MascotColorChangeMenu)__receiver)
403 }
404 }
405 #[doc = "`PlayDecideSE()` overload"]
406 fn play_decide_se(self) -> () {
407 unsafe {
408 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
409 ::unity::il2cpp_call!((::unity::module_base()+0x2034000usize)as*mut u8,();
410(MascotColorChangeMenu)__receiver)
411 }
412 }
413 #[doc = "`PlayDecideBigSE()` overload"]
414 fn play_decide_big_se(self) -> () {
415 unsafe {
416 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
417 ::unity::il2cpp_call!((::unity::module_base()+0x2034080usize)as*mut u8,();
418(MascotColorChangeMenu)__receiver)
419 }
420 }
421 #[doc = "`PlayCancelSE()` overload"]
422 fn play_cancel_se(self) -> () {
423 unsafe {
424 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
425 ::unity::il2cpp_call!((::unity::module_base()+0x2034100usize)as*mut u8,();
426(MascotColorChangeMenu)__receiver)
427 }
428 }
429 #[doc = "`CreateDesc()` overload"]
430 fn create_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
431 unsafe {
432 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
433 ::unity::il2cpp_call!((::unity::module_base()+0x2034530usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
434(MascotColorChangeMenu)__receiver)
435 }
436 }
437 #[doc = "`.ctor()` overload"]
438 fn ctor(self) -> () {
439 unsafe {
440 let __receiver = <MascotColorChangeMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
441 ::unity::il2cpp_call!((::unity::module_base()+0x2034af0usize)as*mut u8,();
442(MascotColorChangeMenu)__receiver)
443 }
444 }
445}
446
447#[cfg(feature = "app-mascotcolorchangemenu")]
448impl<__T: IMascotColorChangeMenu> IMascotColorChangeMenuMethods for __T {}
449
450#[cfg(feature = "app-mascotcolorchangemenu")]
451impl MascotColorChangeMenu {
452 pub fn get_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
453 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
454 }
455
456 pub fn set_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
457 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
458 }
459
460 pub fn get_color_palette_method_info() -> &'static ::unity::il2cpp::MethodInfo {
461 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
462 }
463
464 pub fn set_color_palette_method_info() -> &'static ::unity::il2cpp::MethodInfo {
465 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
466 }
467
468 pub fn set_select_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
469 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
470 }
471
472 pub fn set_radio_check_color_palette_method_info() -> &'static ::unity::il2cpp::MethodInfo {
473 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
474 }
475
476 pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
478 }
479
480 pub fn main_method_info() -> &'static ::unity::il2cpp::MethodInfo {
481 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
482 }
483
484 pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
485 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
486 }
487
488 pub fn is_closed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
489 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
490 }
491
492 pub fn exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
493 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
494 }
495
496 pub fn key_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
497 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
498 }
499
500 pub fn key_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
501 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
502 }
503
504 pub fn key_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
505 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
506 }
507
508 pub fn key_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
509 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
510 }
511
512 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
513 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
514 }
515
516 pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
517 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
518 }
519
520 pub fn play_cursor_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
521 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
522 }
523
524 pub fn play_decide_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
525 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
526 }
527
528 pub fn play_decide_big_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
529 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
530 }
531
532 pub fn play_cancel_se_method_info() -> &'static ::unity::il2cpp::MethodInfo {
533 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
534 }
535
536 pub fn create_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
537 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
538 }
539
540 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
541 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
542 }
543
544 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
545 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
546 }
547}
548
549#[cfg(feature = "app-mascotcolorchangemenu")]
550impl MascotColorChangeMenu {
551 #[doc = "`.ctor()` — no args"]
552 pub fn new() -> Self {
553 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
554 panic!(
555 "{}
556::{}
557 failed to instantiate",
558 ::core::stringify!(MascotColorChangeMenu),
559 ::core::stringify!(new),
560 )
561 });
562 <Self as IMascotColorChangeMenuMethods>::ctor(this);
563 this
564 }
565}
566
567#[cfg(feature = "app-mascotcolorchangemenu")]
568#[doc(hidden)]
569pub mod prelude {
570 pub use super::{
571 IMascotColorChangeMenu, IMascotColorChangeMenuMethods, IMascotColorChangeMenu_CursorTop, IMascotColorChangeMenu_CursorTopMethods,
572 MascotColorChangeMenu, MascotColorChangeMenu_CursorTop, MascotColorChangeMenu_Label,
573 };
574 #[cfg(feature = "app-procinst")]
575 pub use crate::app::procinst::IProcInstMethods;
576 #[cfg(feature = "system-object")]
577 pub use crate::system::object::IObjectMethods;
578 #[cfg(feature = "system-enum")]
579 pub use crate::system::r#enum::IEnumMethods;
580 #[cfg(feature = "system-valuetype")]
581 pub use crate::system::valuetype::IValueTypeMethods;
582 pub use crate::{
583 app::procinst::IProcInst,
584 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
585 };
586}