1#[cfg(feature = "app-wellitemselectmenucontent-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::basicmenucontent::{BasicMenuContent, IBasicMenuContent},
10 system::object::{IObject, Object},
11 unity_engine::{
12 behaviour::{Behaviour, IBehaviour},
13 component::{Component, IComponent},
14 monobehaviour::{IMonoBehaviour, MonoBehaviour},
15 object_2::{IObject_2, Object_2},
16 },
17 };
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/wellitemselectmenucontent/WellItemSelectMenuContent.md"))]
20 #[::unity::class(namespace = "App", name = "WellItemSelectMenuContent")]
21 #[parent(crate::app::basicmenucontent::BasicMenuContent)]
22 pub struct WellItemSelectMenuContent {
23 #[static_field]
24 #[rename(name = "PrefabPath")]
25 pub prefab_path: ::unity::Il2CppString,
26 #[offset(232)]
27 #[rename(name = "m_RootObject")]
28 pub m_root_object: crate::unity_engine::gameobject::GameObject,
29 #[offset(240)]
30 #[rename(name = "m_ItemListContent")]
31 pub m_item_list_content: crate::app::menuaccessorycontent::MenuAccessoryContent,
32 #[offset(248)]
33 #[rename(name = "m_ItemHelpContent")]
34 pub m_item_help_content: crate::app::menuaccessorycontent::MenuAccessoryContent,
35 #[offset(256)]
36 #[rename(name = "m_ExpectedContent")]
37 pub m_expected_content: crate::app::menuaccessorycontent::MenuAccessoryContent,
38 #[offset(264)]
39 #[rename(name = "m_SelectedItemContentList")]
40 pub m_selected_item_content_list: ::unity::Array<crate::app::basicitemmenuitemcontent::BasicItemMenuItemContent>,
41 #[offset(272)]
42 #[rename(name = "m_StarList")]
43 pub m_star_list: ::unity::Array<crate::unity_engine::gameobject::GameObject>,
44 #[offset(280)]
45 #[rename(name = "m_StockValueText")]
46 pub m_stock_value_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
47 #[offset(288)]
48 #[rename(name = "m_StockValueMaxText")]
49 pub m_stock_value_max_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
50 #[offset(296)]
51 #[rename(name = "m_KindIconBgImageList")]
52 pub m_kind_icon_bg_image_list: ::unity::Array<crate::unity_engine::ui::image::Image>,
53 #[offset(304)]
54 #[rename(name = "m_SelectedKindIndex")]
55 pub m_selected_kind_index: i32,
56 }
57}
58
59#[cfg(feature = "app-wellitemselectmenucontent-types")]
60pub use __types::*;
61
62#[cfg(feature = "app-wellitemselectmenucontent")]
63impl WellItemSelectMenuContent {
64 #[doc = "`LoadPrefabAsync()` overload"]
65 pub fn load_prefab_async() -> () {
66 unsafe {
67 ::unity::il2cpp_call!((::unity::module_base()+0x21d7b20usize)as*mut u8,();
68 )
69 }
70 }
71
72 #[doc = "`IsLoadingPrefab()` overload"]
73 pub fn is_loading_prefab() -> bool {
74 unsafe {
75 ::unity::il2cpp_call!((::unity::module_base()+0x21d7bc0usize)as*mut u8,bool;
76 )
77 }
78 }
79
80 #[doc = "`UnloadPrefab()` overload"]
81 pub fn unload_prefab() -> () {
82 unsafe {
83 ::unity::il2cpp_call!((::unity::module_base()+0x21d7c40usize)as*mut u8,();
84 )
85 }
86 }
87
88 #[doc = "`Create()` overload"]
89 pub fn create() -> crate::app::wellitemselectmenucontent::WellItemSelectMenuContent {
90 unsafe {
91 ::unity::il2cpp_call!((::unity::module_base()+0x21d4d70usize)as*mut u8,crate::app::wellitemselectmenucontent::WellItemSelectMenuContent;
92 )
93 }
94 }
95
96 #[doc = "`Destroy(crate::app::wellitemselectmenucontent::WellItemSelectMenuContent)` overload"]
97 pub fn destroy(content: impl ::core::convert::Into<crate::app::wellitemselectmenucontent::WellItemSelectMenuContent>) -> () {
98 unsafe {
99 ::unity::il2cpp_call!((::unity::module_base()+0x21d7cc0usize)as*mut u8,();
100(crate::app::wellitemselectmenucontent::WellItemSelectMenuContent)::core::convert::Into::into(content))
101 }
102 }
103}
104
105#[cfg(feature = "app-wellitemselectmenucontent")]
106pub trait IWellItemSelectMenuContentMethods: IWellItemSelectMenuContent {
107 #[doc = "`Awake()` overload"]
108 fn awake(self) -> () {
109 unsafe {
110 let __receiver =
111 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
112 {
113 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
114 let __vi = *__vt.get(30usize).unwrap_or_else(|| {
115 panic!(
116 "unity: virtual slot {}
117 out of range (vtable len {}
118) on the runtime class behind {}
119 (method `{}
120`)",
121 30usize,
122 __vt.len(),
123 <WellItemSelectMenuContent as ::unity::ClassIdentity>::NAME,
124 "Awake",
125 )
126 });
127 let __inner: extern "C" fn(WellItemSelectMenuContent, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
128 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
129 __inner(__receiver, __mi)
130 }
131 }
132 }
133 #[doc = "`OnDestroy()` overload"]
134 fn on_destroy(self) -> () {
135 unsafe {
136 let __receiver =
137 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138 {
139 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
140 let __vi = *__vt.get(33usize).unwrap_or_else(|| {
141 panic!(
142 "unity: virtual slot {}
143 out of range (vtable len {}
144) on the runtime class behind {}
145 (method `{}
146`)",
147 33usize,
148 __vt.len(),
149 <WellItemSelectMenuContent as ::unity::ClassIdentity>::NAME,
150 "OnDestroy",
151 )
152 });
153 let __inner: extern "C" fn(WellItemSelectMenuContent, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
154 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
155 __inner(__receiver, __mi)
156 }
157 }
158 }
159 #[doc = "`InitMenuAccessoryContent(crate::app::basicmenu::BasicMenu)` overload"]
160 fn init_menu_accessory_content(self, menu: impl ::core::convert::Into<crate::app::basicmenu::BasicMenu>) -> () {
161 unsafe {
162 let __receiver =
163 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
164 ::unity::il2cpp_call!((::unity::module_base()+0x21d5500usize)as*mut u8,();
165(WellItemSelectMenuContent)__receiver,(crate::app::basicmenu::BasicMenu)::core::convert::Into::into(menu))
166 }
167 }
168 #[doc = "`OpenAnime()` overload"]
169 fn open_anime(self) -> () {
170 unsafe {
171 let __receiver =
172 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173 {
174 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
175 let __vi = *__vt.get(25usize).unwrap_or_else(|| {
176 panic!(
177 "unity: virtual slot {}
178 out of range (vtable len {}
179) on the runtime class behind {}
180 (method `{}
181`)",
182 25usize,
183 __vt.len(),
184 <WellItemSelectMenuContent as ::unity::ClassIdentity>::NAME,
185 "OpenAnime",
186 )
187 });
188 let __inner: extern "C" fn(WellItemSelectMenuContent, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
189 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
190 __inner(__receiver, __mi)
191 }
192 }
193 }
194 #[doc = "`CloseAnime()` overload"]
195 fn close_anime(self) -> () {
196 unsafe {
197 let __receiver =
198 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
199 {
200 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
201 let __vi = *__vt.get(26usize).unwrap_or_else(|| {
202 panic!(
203 "unity: virtual slot {}
204 out of range (vtable len {}
205) on the runtime class behind {}
206 (method `{}
207`)",
208 26usize,
209 __vt.len(),
210 <WellItemSelectMenuContent as ::unity::ClassIdentity>::NAME,
211 "CloseAnime",
212 )
213 });
214 let __inner: extern "C" fn(WellItemSelectMenuContent, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
215 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
216 __inner(__receiver, __mi)
217 }
218 }
219 }
220 #[doc = "`GetMenuItemContentMax()` overload"]
221 fn get_menu_item_content_max(self) -> i32 {
222 unsafe {
223 let __receiver =
224 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225 {
226 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
227 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
228 panic!(
229 "unity: virtual slot {}
230 out of range (vtable len {}
231) on the runtime class behind {}
232 (method `{}
233`)",
234 4usize,
235 __vt.len(),
236 <WellItemSelectMenuContent as ::unity::ClassIdentity>::NAME,
237 "GetMenuItemContentMax",
238 )
239 });
240 let __inner: extern "C" fn(WellItemSelectMenuContent, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
241 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
242 __inner(__receiver, __mi)
243 }
244 }
245 }
246 #[doc = "`CalcCursorMovedPosY(i32)` overload"]
247 fn calc_cursor_moved_pos_y(self, menu_item_index: impl ::core::convert::Into<i32>) -> f32 {
248 unsafe {
249 let __receiver =
250 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251 {
252 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
253 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
254 panic!(
255 "unity: virtual slot {}
256 out of range (vtable len {}
257) on the runtime class behind {}
258 (method `{}
259`)",
260 10usize,
261 __vt.len(),
262 <WellItemSelectMenuContent as ::unity::ClassIdentity>::NAME,
263 "CalcCursorMovedPosY",
264 )
265 });
266 let __inner: extern "C" fn(WellItemSelectMenuContent, i32, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
267 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
268 __inner(__receiver, ::core::convert::Into::into(menu_item_index), __mi)
269 }
270 }
271 }
272 #[doc = "`UpdateSelectedItemList(crate::system::collections::generic::list_1::List_1<crate::app::basicitemmenuitem::BasicItemMenuItem>)` overload"]
273 fn update_selected_item_list(
274 self,
275 list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicitemmenuitem::BasicItemMenuItem>>,
276 ) -> () {
277 unsafe {
278 let __receiver =
279 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280 ::unity::il2cpp_call!((::unity::module_base()+0x21d5550usize)as*mut u8,();
281(WellItemSelectMenuContent)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicitemmenuitem::BasicItemMenuItem>)::core::convert::Into::into(list))
282 }
283 }
284 #[doc = "`UpdateExpectedStar(i32)` overload"]
285 fn update_expected_star(self, expected: impl ::core::convert::Into<i32>) -> () {
286 unsafe {
287 let __receiver =
288 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
289 ::unity::il2cpp_call!((::unity::module_base()+0x21d80a0usize)as*mut u8,();
290(WellItemSelectMenuContent)__receiver,(i32)::core::convert::Into::into(expected))
291 }
292 }
293 #[doc = "`UpdateItemHelp(crate::app::unit::Unit, crate::app::unititem::UnitItem)` overload"]
294 fn update_item_help(
295 self,
296 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
297 item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
298 ) -> () {
299 unsafe {
300 let __receiver =
301 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302 ::unity::il2cpp_call!((::unity::module_base()+0x21d5bd0usize)as*mut u8,();
303(WellItemSelectMenuContent)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::unititem::UnitItem)::core::convert::Into::into(item))
304 }
305 }
306 #[doc = "`SetSelectedItemKindIndex(i32)` overload"]
307 fn set_selected_item_kind_index(self, index: impl ::core::convert::Into<i32>) -> () {
308 unsafe {
309 let __receiver =
310 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311 ::unity::il2cpp_call!((::unity::module_base()+0x21d6fb0usize)as*mut u8,();
312(WellItemSelectMenuContent)__receiver,(i32)::core::convert::Into::into(index))
313 }
314 }
315 #[doc = "`SetStockValue(i32)` overload"]
316 fn set_stock_value(self, value: impl ::core::convert::Into<i32>) -> () {
317 unsafe {
318 let __receiver =
319 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320 ::unity::il2cpp_call!((::unity::module_base()+0x21d7110usize)as*mut u8,();
321(WellItemSelectMenuContent)__receiver,(i32)::core::convert::Into::into(value))
322 }
323 }
324 #[doc = "`SetStockValueMax(i32)` overload"]
325 fn set_stock_value_max(self, value: impl ::core::convert::Into<i32>) -> () {
326 unsafe {
327 let __receiver =
328 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
329 ::unity::il2cpp_call!((::unity::module_base()+0x21d7190usize)as*mut u8,();
330(WellItemSelectMenuContent)__receiver,(i32)::core::convert::Into::into(value))
331 }
332 }
333 #[doc = "`.ctor()` overload"]
334 fn ctor(self) -> () {
335 unsafe {
336 let __receiver =
337 <WellItemSelectMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
338 ::unity::il2cpp_call!((::unity::module_base()+0x21d8290usize)as*mut u8,();
339(WellItemSelectMenuContent)__receiver)
340 }
341 }
342}
343
344#[cfg(feature = "app-wellitemselectmenucontent")]
345impl<__T: IWellItemSelectMenuContent> IWellItemSelectMenuContentMethods for __T {}
346
347#[cfg(feature = "app-wellitemselectmenucontent")]
348impl WellItemSelectMenuContent {
349 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
350 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
351 }
352
353 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
355 }
356
357 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
358 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
359 }
360
361 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
363 }
364
365 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
367 }
368
369 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
371 }
372
373 pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
375 }
376
377 pub fn init_menu_accessory_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
379 }
380
381 pub fn open_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
383 }
384
385 pub fn close_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
387 }
388
389 pub fn get_menu_item_content_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
391 }
392
393 pub fn calc_cursor_moved_pos_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
395 }
396
397 pub fn update_selected_item_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
399 }
400
401 pub fn update_expected_star_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
403 }
404
405 pub fn update_item_help_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
407 }
408
409 pub fn set_selected_item_kind_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
411 }
412
413 pub fn set_stock_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
415 }
416
417 pub fn set_stock_value_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
419 }
420
421 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
423 }
424}
425
426#[cfg(feature = "app-wellitemselectmenucontent")]
427impl WellItemSelectMenuContent {
428 #[doc = "Direct (non-virtual) call to `WellItemSelectMenuContent`'s own `Awake`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
429 pub unsafe fn awake(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
430 let __mi = Self::awake_method_info();
431 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
432 __inner(this.into(), ::core::option::Option::None)
433 }
434
435 #[doc = "Direct (non-virtual) call to `WellItemSelectMenuContent`'s own `OnDestroy`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
436 pub unsafe fn on_destroy(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
437 let __mi = Self::on_destroy_method_info();
438 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
439 __inner(this.into(), ::core::option::Option::None)
440 }
441
442 #[doc = "Direct (non-virtual) call to `WellItemSelectMenuContent`'s own `OpenAnime`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
443 pub unsafe fn open_anime(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
444 let __mi = Self::open_anime_method_info();
445 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
446 __inner(this.into(), ::core::option::Option::None)
447 }
448
449 #[doc = "Direct (non-virtual) call to `WellItemSelectMenuContent`'s own `CloseAnime`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
450 pub unsafe fn close_anime(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
451 let __mi = Self::close_anime_method_info();
452 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
453 __inner(this.into(), ::core::option::Option::None)
454 }
455
456 #[doc = "Direct (non-virtual) call to `WellItemSelectMenuContent`'s own `GetMenuItemContentMax`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
457 pub unsafe fn get_menu_item_content_max(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
458 let __mi = Self::get_menu_item_content_max_method_info();
459 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
460 __inner(this.into(), ::core::option::Option::None)
461 }
462
463 #[doc = "Direct (non-virtual) call to `WellItemSelectMenuContent`'s own `CalcCursorMovedPosY`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
464 pub unsafe fn calc_cursor_moved_pos_y(this: impl ::core::convert::Into<::unity::IlInstance>, menu_item_index: i32) -> f32 {
465 let __mi = Self::calc_cursor_moved_pos_y_method_info();
466 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
467 __inner(this.into(), menu_item_index, ::core::option::Option::None)
468 }
469}
470
471#[cfg(feature = "app-wellitemselectmenucontent")]
472impl WellItemSelectMenuContent {
473 #[doc = "`.ctor()` — no args"]
474 pub fn new() -> Self {
475 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
476 panic!(
477 "{}
478::{}
479 failed to instantiate",
480 ::core::stringify!(WellItemSelectMenuContent),
481 ::core::stringify!(new),
482 )
483 });
484 <Self as IWellItemSelectMenuContentMethods>::ctor(this);
485 this
486 }
487}
488
489#[cfg(feature = "app-wellitemselectmenucontent")]
490#[doc(hidden)]
491pub mod prelude {
492 pub use super::{IWellItemSelectMenuContent, IWellItemSelectMenuContentMethods, WellItemSelectMenuContent};
493 #[cfg(feature = "app-basicmenucontent")]
494 pub use crate::app::basicmenucontent::IBasicMenuContentMethods;
495 #[cfg(feature = "system-object")]
496 pub use crate::system::object::IObjectMethods;
497 #[cfg(feature = "unity_engine-behaviour")]
498 pub use crate::unity_engine::behaviour::IBehaviourMethods;
499 #[cfg(feature = "unity_engine-component")]
500 pub use crate::unity_engine::component::IComponentMethods;
501 #[cfg(feature = "unity_engine-monobehaviour")]
502 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
503 #[cfg(feature = "unity_engine-object_2")]
504 pub use crate::unity_engine::object_2::IObject_2Methods;
505 pub use crate::{
506 app::basicmenucontent::IBasicMenuContent,
507 system::object::IObject,
508 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
509 };
510}