Skip to main content

engage/generated/app/
wellitemselectmenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-wellitemselectmenu-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            basicitemmenuitem::{BasicItemMenuItem, IBasicItemMenuItem},
11            basicmenu::{BasicMenu, IBasicMenu},
12            basicmenuitem::{BasicMenuItem, IBasicMenuItem},
13            procinst::{IProcInst, ProcInst},
14            wellitemselectmenuitem::{IWellItemSelectMenuItem, WellItemSelectMenuItem},
15        },
16        system::{
17            object::{IObject, Object},
18            r#enum::{Enum, IEnum},
19            valuetype::{IValueType, ValueType},
20        },
21    };
22
23    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/wellitemselectmenu/WellItemSelectMenu.md"))]
24    #[::unity::class(namespace = "App", name = "WellItemSelectMenu")]
25    #[parent(crate::app::basicmenu::BasicMenu)]
26    pub struct WellItemSelectMenu {
27        #[offset(200)]
28        #[rename(name = "ItemKindList")]
29        pub item_kind_list: ::unity::Array<crate::app::itemdata::ItemData_Kinds>,
30        #[static_field]
31        #[rename(name = "SELECT_ITEM_MAX")]
32        pub select_item_max: i32,
33        #[offset(208)]
34        #[rename(name = "m_SelectedKindIndex")]
35        pub m_selected_kind_index: i32,
36        #[static_field]
37        #[rename(name = "ShowRowNum")]
38        pub show_row_num: i32,
39        #[offset(216)]
40        #[rename(name = "m_SavedFullMenuItemList")]
41        pub m_saved_full_menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
42        #[offset(224)]
43        #[rename(name = "m_SortMenuItemList")]
44        pub m_sort_menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
45        #[offset(232)]
46        #[rename(name = "m_ItemKind")]
47        pub m_item_kind: crate::app::itemdata::ItemData_Kinds,
48        #[offset(240)]
49        #[rename(name = "m_Selects")]
50        pub m_selects: ::unity::Array<crate::app::basicmenuselect::BasicMenuSelect>,
51        #[offset(248)]
52        #[rename(name = "m_SelectedItemList")]
53        pub m_selected_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicitemmenuitem::BasicItemMenuItem>,
54    }
55
56    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/wellitemselectmenu/WellItemSelectMenu_Kinds.md"))]
57    #[repr(C)]
58    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
59    pub struct WellItemSelectMenu_Kinds {
60        pub value: i32,
61    }
62    impl ::unity::ClassIdentity for WellItemSelectMenu_Kinds {
63        const NAME: &'static str = "WellItemSelectMenu.Kinds";
64        const NAMESPACE: &'static str = "App";
65
66        fn class() -> ::unity::Class {
67            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
68            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
69        }
70    }
71    impl ::unity::IlType for WellItemSelectMenu_Kinds {
72        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
73            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
74        }
75    }
76    impl WellItemSelectMenu_Kinds {
77        pub fn none() -> Self {
78            Self { value: 0 }
79        }
80
81        pub fn first() -> Self {
82            Self { value: 1 }
83        }
84
85        pub fn last() -> Self {
86            Self { value: 2 }
87        }
88    }
89
90    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/wellitemselectmenu/WellItemSelectMenu_SelectedItem.md"))]
91    #[::unity::class(namespace = "App", name = "WellItemSelectMenu.SelectedItem")]
92    #[parent(crate::app::wellitemselectmenuitem::WellItemSelectMenuItem)]
93    pub struct WellItemSelectMenu_SelectedItem {
94        #[offset(128)]
95        #[rename(name = "m_MenuItem")]
96        pub m_menu_item: crate::app::wellitemselectmenuitem::WellItemSelectMenuItem,
97    }
98}
99
100#[cfg(feature = "app-wellitemselectmenu-types")]
101pub use __types::*;
102
103#[cfg(feature = "app-wellitemselectmenu")]
104impl WellItemSelectMenu {
105    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
106    pub fn create_bind(parent: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::wellitemselectmenu::WellItemSelectMenu {
107        unsafe {
108            ::unity::il2cpp_call!((::unity::module_base()+0x21d4830usize)as*mut u8,crate::app::wellitemselectmenu::WellItemSelectMenu;
109(crate::app::procinst::ProcInst)::core::convert::Into::into(parent))
110        }
111    }
112
113    #[doc = "`ComparePoolMenuItem(crate::app::basicmenuitem::BasicMenuItem, crate::app::basicmenuitem::BasicMenuItem)` overload"]
114    pub fn compare_pool_menu_item(
115        x: impl ::core::convert::Into<crate::app::basicmenuitem::BasicMenuItem>,
116        y: impl ::core::convert::Into<crate::app::basicmenuitem::BasicMenuItem>,
117    ) -> i32 {
118        unsafe {
119            ::unity::il2cpp_call!((::unity::module_base()+0x21d7650usize)as*mut u8,i32;
120(crate::app::basicmenuitem::BasicMenuItem)::core::convert::Into::into(x),(crate::app::basicmenuitem::BasicMenuItem)::core::convert::Into::into(y))
121        }
122    }
123
124    #[doc = "`.cctor()` overload"]
125    pub fn cctor() -> () {
126        unsafe {
127            ::unity::il2cpp_call!((::unity::module_base()+0x21d7ae0usize)as*mut u8,();
128            )
129        }
130    }
131}
132
133#[cfg(feature = "app-wellitemselectmenu")]
134pub trait IWellItemSelectMenuMethods: IWellItemSelectMenu {
135    #[doc = "`get_SelectedKind()` overload"]
136    fn get_selected_kind(self) -> crate::app::itemdata::ItemData_Kinds {
137        unsafe {
138            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139            ::unity::il2cpp_call!((::unity::module_base()+0x21d47d0usize)as*mut u8,crate::app::itemdata::ItemData_Kinds;
140(WellItemSelectMenu)__receiver)
141        }
142    }
143    #[doc = "`get_m_CommonDisplayIndex()` overload"]
144    fn get_m_common_display_index(self) -> i32 {
145        unsafe {
146            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147            ::unity::il2cpp_call!((::unity::module_base()+0x21d4810usize)as*mut u8,i32;
148(WellItemSelectMenu)__receiver)
149        }
150    }
151    #[doc = "`set_m_CommonDisplayIndex(i32)` overload"]
152    fn set_m_common_display_index(self, value: impl ::core::convert::Into<i32>) -> () {
153        unsafe {
154            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            ::unity::il2cpp_call!((::unity::module_base()+0x21d4820usize)as*mut u8,();
156(WellItemSelectMenu)__receiver,(i32)::core::convert::Into::into(value))
157        }
158    }
159    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::wellitemselectmenucontent::WellItemSelectMenuContent)` overload"]
160    fn ctor(
161        self,
162        menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
163        menu_content: impl ::core::convert::Into<crate::app::wellitemselectmenucontent::WellItemSelectMenuContent>,
164    ) -> () {
165        unsafe {
166            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
167            ::unity::il2cpp_call!((::unity::module_base()+0x21d4e70usize)as*mut u8,();
168(WellItemSelectMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>)::core::convert::Into::into(menu_item_list),(crate::app::wellitemselectmenucontent::WellItemSelectMenuContent)::core::convert::Into::into(menu_content))
169        }
170    }
171    #[doc = "`GetSelectItem()` overload"]
172    fn get_select_item(self) -> crate::app::unititem::UnitItem {
173        unsafe {
174            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175            ::unity::il2cpp_call!((::unity::module_base()+0x21d5800usize)as*mut u8,crate::app::unititem::UnitItem;
176(WellItemSelectMenu)__receiver)
177        }
178    }
179    #[doc = "`SaveSelectItem()` overload"]
180    fn save_select_item(self) -> () {
181        unsafe {
182            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
183            ::unity::il2cpp_call!((::unity::module_base()+0x21d58a0usize)as*mut u8,();
184(WellItemSelectMenu)__receiver)
185        }
186    }
187    #[doc = "`GetSelectUnit()` overload"]
188    fn get_select_unit(self) -> crate::app::unit::Unit {
189        unsafe {
190            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
191            ::unity::il2cpp_call!((::unity::module_base()+0x21d5900usize)as*mut u8,crate::app::unit::Unit;
192(WellItemSelectMenu)__receiver)
193        }
194    }
195    #[doc = "`UpdateUnit(crate::app::unit::Unit)` overload"]
196    fn update_unit(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
197        unsafe {
198            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
199            ::unity::il2cpp_call!((::unity::module_base()+0x21d59a0usize)as*mut u8,();
200(WellItemSelectMenu)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
201        }
202    }
203    #[doc = "`UpdateUnit(crate::app::unit::Unit, bool)` overload"]
204    fn update_unit_2(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>, is_chara_only_on: impl ::core::convert::Into<bool>) -> () {
205        unsafe {
206            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
207            ::unity::il2cpp_call!((::unity::module_base()+0x21d5a20usize)as*mut u8,();
208(WellItemSelectMenu)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(bool)::core::convert::Into::into(is_chara_only_on))
209        }
210    }
211    #[doc = "`UpdateItemHelp(crate::app::unit::Unit, crate::app::unititem::UnitItem)` overload"]
212    fn update_item_help(
213        self,
214        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
215        item: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
216    ) -> () {
217        unsafe {
218            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219            ::unity::il2cpp_call!((::unity::module_base()+0x21d5ab0usize)as*mut u8,();
220(WellItemSelectMenu)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::unititem::UnitItem)::core::convert::Into::into(item))
221        }
222    }
223    #[doc = "`IsMarkingItemFull()` overload"]
224    fn is_marking_item_full(self) -> bool {
225        unsafe {
226            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227            ::unity::il2cpp_call!((::unity::module_base()+0x21d5c90usize)as*mut u8,bool;
228(WellItemSelectMenu)__receiver)
229        }
230    }
231    #[doc = "`IsMarkingItemEmpty()` overload"]
232    fn is_marking_item_empty(self) -> bool {
233        unsafe {
234            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
235            ::unity::il2cpp_call!((::unity::module_base()+0x21d5ce0usize)as*mut u8,bool;
236(WellItemSelectMenu)__receiver)
237        }
238    }
239    #[doc = "`AddSelectedItem(crate::app::unit::Unit, i32, crate::app::wellitemselectmenuitem::WellItemSelectMenuItem)` overload"]
240    fn add_selected_item(
241        self,
242        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
243        owner_item_index: impl ::core::convert::Into<i32>,
244        menu_item: impl ::core::convert::Into<crate::app::wellitemselectmenuitem::WellItemSelectMenuItem>,
245    ) -> () {
246        unsafe {
247            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
248            ::unity::il2cpp_call!((::unity::module_base()+0x21d5d30usize)as*mut u8,();
249(WellItemSelectMenu)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(owner_item_index),(crate::app::wellitemselectmenuitem::WellItemSelectMenuItem)::core::convert::Into::into(menu_item))
250        }
251    }
252    #[doc = "`RemoveSelectedItem(crate::app::unit::Unit, i32)` overload"]
253    fn remove_selected_item(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>, owner_item_index: impl ::core::convert::Into<i32>) -> () {
254        unsafe {
255            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
256            ::unity::il2cpp_call!((::unity::module_base()+0x21d5e50usize)as*mut u8,();
257(WellItemSelectMenu)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(owner_item_index))
258        }
259    }
260    #[doc = "`RemoveSelectedLastItem()` overload"]
261    fn remove_selected_last_item(self) -> bool {
262        unsafe {
263            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
264            ::unity::il2cpp_call!((::unity::module_base()+0x21d5ff0usize)as*mut u8,bool;
265(WellItemSelectMenu)__receiver)
266        }
267    }
268    #[doc = "`GetLastSelectedItem()` overload"]
269    fn get_last_selected_item(self) -> crate::app::wellitemselectmenuitem::WellItemSelectMenuItem {
270        unsafe {
271            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
272            ::unity::il2cpp_call!((::unity::module_base()+0x21d60a0usize)as*mut u8,crate::app::wellitemselectmenuitem::WellItemSelectMenuItem;
273(WellItemSelectMenu)__receiver)
274        }
275    }
276    #[doc = "`SetItemKindIndex(i32, bool)` overload"]
277    fn set_item_kind_index(self, kind_index: impl ::core::convert::Into<i32>, is_auto_select: impl ::core::convert::Into<bool>) -> () {
278        unsafe {
279            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280            ::unity::il2cpp_call!((::unity::module_base()+0x21d6160usize)as*mut u8,();
281(WellItemSelectMenu)__receiver,(i32)::core::convert::Into::into(kind_index),(bool)::core::convert::Into::into(is_auto_select))
282        }
283    }
284    #[doc = "`SetFirstKind(bool)` overload"]
285    fn set_first_kind(self, is_auto_select: impl ::core::convert::Into<bool>) -> () {
286        unsafe {
287            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288            ::unity::il2cpp_call!((::unity::module_base()+0x21d6480usize)as*mut u8,();
289(WellItemSelectMenu)__receiver,(bool)::core::convert::Into::into(is_auto_select))
290        }
291    }
292    #[doc = "`SetLastKind(bool)` overload"]
293    fn set_last_kind(self, is_auto_select: impl ::core::convert::Into<bool>) -> () {
294        unsafe {
295            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296            ::unity::il2cpp_call!((::unity::module_base()+0x21d6490usize)as*mut u8,();
297(WellItemSelectMenu)__receiver,(bool)::core::convert::Into::into(is_auto_select))
298        }
299    }
300    #[doc = "`SetFirstSelection()` overload"]
301    fn set_first_selection(self) -> () {
302        unsafe {
303            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304            ::unity::il2cpp_call!((::unity::module_base()+0x21d64b0usize)as*mut u8,();
305(WellItemSelectMenu)__receiver)
306        }
307    }
308    #[doc = "`ResetFirstSelection()` overload"]
309    fn reset_first_selection(self) -> () {
310        unsafe {
311            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312            ::unity::il2cpp_call!((::unity::module_base()+0x21d6900usize)as*mut u8,();
313(WellItemSelectMenu)__receiver)
314        }
315    }
316    #[doc = "`SetSelectIndexOnChangeMenu(i32, crate::app::wellitemselectmenu::WellItemSelectMenu_Kinds)` overload"]
317    fn set_select_index_on_change_menu(
318        self,
319        common_display_index: impl ::core::convert::Into<i32>,
320        kind: impl ::core::convert::Into<crate::app::wellitemselectmenu::WellItemSelectMenu_Kinds>,
321    ) -> () {
322        unsafe {
323            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
324            ::unity::il2cpp_call!((::unity::module_base()+0x21d6bf0usize)as*mut u8,();
325(WellItemSelectMenu)__receiver,(i32)::core::convert::Into::into(common_display_index),(crate::app::wellitemselectmenu::WellItemSelectMenu_Kinds)::core::convert::Into::into(kind))
326        }
327    }
328    #[doc = "`HoldSelection()` overload"]
329    fn hold_selection(self) -> () {
330        unsafe {
331            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332            ::unity::il2cpp_call!((::unity::module_base()+0x21d6f10usize)as*mut u8,();
333(WellItemSelectMenu)__receiver)
334        }
335    }
336    #[doc = "`UpdateMenu(bool)` overload"]
337    fn update_menu(self, is_auto_select: impl ::core::convert::Into<bool>) -> () {
338        unsafe {
339            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340            ::unity::il2cpp_call!((::unity::module_base()+0x21d61f0usize)as*mut u8,();
341(WellItemSelectMenu)__receiver,(bool)::core::convert::Into::into(is_auto_select))
342        }
343    }
344    #[doc = "`GetSelectableItemCount()` overload"]
345    fn get_selectable_item_count(self) -> i32 {
346        unsafe {
347            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
348            ::unity::il2cpp_call!((::unity::module_base()+0x21d6870usize)as*mut u8,i32;
349(WellItemSelectMenu)__receiver)
350        }
351    }
352    #[doc = "`GetName()` overload"]
353    fn get_name(self) -> ::unity::Il2CppString {
354        unsafe {
355            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356            {
357                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
358                let __vi = *__vt.get(30usize).unwrap_or_else(|| {
359                    panic!(
360                        "unity: virtual slot {}
361 out of range (vtable len {}
362) on the runtime class behind {}
363 (method `{}
364`)",
365                        30usize,
366                        __vt.len(),
367                        <WellItemSelectMenu as ::unity::ClassIdentity>::NAME,
368                        "GetName",
369                    )
370                });
371                let __inner: extern "C" fn(WellItemSelectMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString =
372                    ::core::mem::transmute(__vi.method_ptr);
373                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
374                __inner(__receiver, __mi)
375            }
376        }
377    }
378    #[doc = "`AfterBuild()` overload"]
379    fn after_build(self) -> () {
380        unsafe {
381            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
382            {
383                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
384                let __vi = *__vt.get(25usize).unwrap_or_else(|| {
385                    panic!(
386                        "unity: virtual slot {}
387 out of range (vtable len {}
388) on the runtime class behind {}
389 (method `{}
390`)",
391                        25usize,
392                        __vt.len(),
393                        <WellItemSelectMenu as ::unity::ClassIdentity>::NAME,
394                        "AfterBuild",
395                    )
396                });
397                let __inner: extern "C" fn(WellItemSelectMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
398                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
399                __inner(__receiver, __mi)
400            }
401        }
402    }
403    #[doc = "`ClampMenuItemIndex(i32)` overload"]
404    fn clamp_menu_item_index(self, item_index: impl ::core::convert::Into<i32>) -> i32 {
405        unsafe {
406            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
407            {
408                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
409                let __vi = *__vt.get(31usize).unwrap_or_else(|| {
410                    panic!(
411                        "unity: virtual slot {}
412 out of range (vtable len {}
413) on the runtime class behind {}
414 (method `{}
415`)",
416                        31usize,
417                        __vt.len(),
418                        <WellItemSelectMenu as ::unity::ClassIdentity>::NAME,
419                        "ClampMenuItemIndex",
420                    )
421                });
422                let __inner: extern "C" fn(WellItemSelectMenu, i32, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
423                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
424                __inner(__receiver, ::core::convert::Into::into(item_index), __mi)
425            }
426        }
427    }
428    #[doc = "`KeyUp(bool)` overload"]
429    fn key_up(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
430        unsafe {
431            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
432            {
433                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
434                let __vi = *__vt.get(40usize).unwrap_or_else(|| {
435                    panic!(
436                        "unity: virtual slot {}
437 out of range (vtable len {}
438) on the runtime class behind {}
439 (method `{}
440`)",
441                        40usize,
442                        __vt.len(),
443                        <WellItemSelectMenu as ::unity::ClassIdentity>::NAME,
444                        "KeyUp",
445                    )
446                });
447                let __inner: extern "C" fn(WellItemSelectMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
448                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
449                __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
450            }
451        }
452    }
453    #[doc = "`KeyDown(bool)` overload"]
454    fn key_down(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
455        unsafe {
456            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
457            {
458                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
459                let __vi = *__vt.get(41usize).unwrap_or_else(|| {
460                    panic!(
461                        "unity: virtual slot {}
462 out of range (vtable len {}
463) on the runtime class behind {}
464 (method `{}
465`)",
466                        41usize,
467                        __vt.len(),
468                        <WellItemSelectMenu as ::unity::ClassIdentity>::NAME,
469                        "KeyDown",
470                    )
471                });
472                let __inner: extern "C" fn(WellItemSelectMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
473                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
474                __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
475            }
476        }
477    }
478    #[doc = "`KeyLeft(bool)` overload"]
479    fn key_left(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
480        unsafe {
481            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
482            {
483                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
484                let __vi = *__vt.get(42usize).unwrap_or_else(|| {
485                    panic!(
486                        "unity: virtual slot {}
487 out of range (vtable len {}
488) on the runtime class behind {}
489 (method `{}
490`)",
491                        42usize,
492                        __vt.len(),
493                        <WellItemSelectMenu as ::unity::ClassIdentity>::NAME,
494                        "KeyLeft",
495                    )
496                });
497                let __inner: extern "C" fn(WellItemSelectMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
498                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
499                __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
500            }
501        }
502    }
503    #[doc = "`KeyRight(bool)` overload"]
504    fn key_right(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
505        unsafe {
506            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
507            {
508                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
509                let __vi = *__vt.get(43usize).unwrap_or_else(|| {
510                    panic!(
511                        "unity: virtual slot {}
512 out of range (vtable len {}
513) on the runtime class behind {}
514 (method `{}
515`)",
516                        43usize,
517                        __vt.len(),
518                        <WellItemSelectMenu as ::unity::ClassIdentity>::NAME,
519                        "KeyRight",
520                    )
521                });
522                let __inner: extern "C" fn(WellItemSelectMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
523                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
524                __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
525            }
526        }
527    }
528    #[doc = "`Sort()` overload"]
529    fn sort(self) -> () {
530        unsafe {
531            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
532            ::unity::il2cpp_call!((::unity::module_base()+0x21d5080usize)as*mut u8,();
533(WellItemSelectMenu)__receiver)
534        }
535    }
536    #[doc = "`GetMarkingItemList()` overload"]
537    fn get_marking_item_list(self) -> crate::system::collections::generic::list_1::List_1<crate::app::unititem::UnitItem> {
538        unsafe {
539            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
540            ::unity::il2cpp_call!((::unity::module_base()+0x21d7790usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::unititem::UnitItem> ;
541(WellItemSelectMenu)__receiver)
542        }
543    }
544    #[doc = "`PutOffMarkingItems()` overload"]
545    fn put_off_marking_items(self) -> () {
546        unsafe {
547            let __receiver = <WellItemSelectMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
548            ::unity::il2cpp_call!((::unity::module_base()+0x21d7960usize)as*mut u8,();
549(WellItemSelectMenu)__receiver)
550        }
551    }
552}
553
554#[cfg(feature = "app-wellitemselectmenu")]
555impl<__T: IWellItemSelectMenu> IWellItemSelectMenuMethods for __T {}
556
557#[cfg(feature = "app-wellitemselectmenu")]
558impl WellItemSelectMenu {
559    pub fn get_selected_kind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
560        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
561    }
562
563    pub fn get_m_common_display_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
564        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
565    }
566
567    pub fn set_m_common_display_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
568        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
569    }
570
571    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
572        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
573    }
574
575    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
576        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
577    }
578
579    pub fn get_select_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
580        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
581    }
582
583    pub fn save_select_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
584        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
585    }
586
587    pub fn get_select_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
588        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
589    }
590
591    pub fn update_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
592        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
593    }
594
595    pub fn update_unit_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
596        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
597    }
598
599    pub fn update_item_help_method_info() -> &'static ::unity::il2cpp::MethodInfo {
600        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
601    }
602
603    pub fn is_marking_item_full_method_info() -> &'static ::unity::il2cpp::MethodInfo {
604        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
605    }
606
607    pub fn is_marking_item_empty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
608        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
609    }
610
611    pub fn add_selected_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
612        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
613    }
614
615    pub fn remove_selected_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
616        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
617    }
618
619    pub fn remove_selected_last_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
620        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
621    }
622
623    pub fn get_last_selected_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
624        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
625    }
626
627    pub fn set_item_kind_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
628        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
629    }
630
631    pub fn set_first_kind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
632        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
633    }
634
635    pub fn set_last_kind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
636        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
637    }
638
639    pub fn set_first_selection_method_info() -> &'static ::unity::il2cpp::MethodInfo {
640        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
641    }
642
643    pub fn reset_first_selection_method_info() -> &'static ::unity::il2cpp::MethodInfo {
644        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
645    }
646
647    pub fn set_select_index_on_change_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
648        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
649    }
650
651    pub fn hold_selection_method_info() -> &'static ::unity::il2cpp::MethodInfo {
652        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
653    }
654
655    pub fn update_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
656        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
657    }
658
659    pub fn get_selectable_item_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
660        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
661    }
662
663    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
664        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
665    }
666
667    pub fn after_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
668        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
669    }
670
671    pub fn clamp_menu_item_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
672        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
673    }
674
675    pub fn key_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
676        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
677    }
678
679    pub fn key_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
680        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
681    }
682
683    pub fn key_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
684        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
685    }
686
687    pub fn key_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
688        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
689    }
690
691    pub fn sort_method_info() -> &'static ::unity::il2cpp::MethodInfo {
692        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
693    }
694
695    pub fn compare_pool_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
696        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
697    }
698
699    pub fn get_marking_item_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
700        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
701    }
702
703    pub fn put_off_marking_items_method_info() -> &'static ::unity::il2cpp::MethodInfo {
704        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
705    }
706
707    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
708        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
709    }
710}
711
712#[cfg(feature = "app-wellitemselectmenu")]
713impl WellItemSelectMenu {
714    #[doc = "Direct (non-virtual) call to `WellItemSelectMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
715    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
716        let __mi = Self::get_name_method_info();
717        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
718        __inner(this.into(), ::core::option::Option::None)
719    }
720
721    #[doc = "Direct (non-virtual) call to `WellItemSelectMenu`'s own `AfterBuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
722    pub unsafe fn after_build(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
723        let __mi = Self::after_build_method_info();
724        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
725        __inner(this.into(), ::core::option::Option::None)
726    }
727
728    #[doc = "Direct (non-virtual) call to `WellItemSelectMenu`'s own `ClampMenuItemIndex`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
729    pub unsafe fn clamp_menu_item_index(this: impl ::core::convert::Into<::unity::IlInstance>, item_index: i32) -> i32 {
730        let __mi = Self::clamp_menu_item_index_method_info();
731        let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
732        __inner(this.into(), item_index, ::core::option::Option::None)
733    }
734
735    #[doc = "Direct (non-virtual) call to `WellItemSelectMenu`'s own `KeyUp`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
736    pub unsafe fn key_up(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
737        let __mi = Self::key_up_method_info();
738        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
739        __inner(this.into(), is_trigger, ::core::option::Option::None)
740    }
741
742    #[doc = "Direct (non-virtual) call to `WellItemSelectMenu`'s own `KeyDown`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
743    pub unsafe fn key_down(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
744        let __mi = Self::key_down_method_info();
745        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
746        __inner(this.into(), is_trigger, ::core::option::Option::None)
747    }
748
749    #[doc = "Direct (non-virtual) call to `WellItemSelectMenu`'s own `KeyLeft`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
750    pub unsafe fn key_left(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
751        let __mi = Self::key_left_method_info();
752        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
753        __inner(this.into(), is_trigger, ::core::option::Option::None)
754    }
755
756    #[doc = "Direct (non-virtual) call to `WellItemSelectMenu`'s own `KeyRight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
757    pub unsafe fn key_right(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
758        let __mi = Self::key_right_method_info();
759        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
760        __inner(this.into(), is_trigger, ::core::option::Option::None)
761    }
762}
763
764#[cfg(feature = "app-wellitemselectmenu")]
765impl WellItemSelectMenu {
766    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::wellitemselectmenucontent::WellItemSelectMenuContent)` — overload selector"]
767    pub fn new(
768        menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
769        menu_content: crate::app::wellitemselectmenucontent::WellItemSelectMenuContent,
770    ) -> Self {
771        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
772            panic!(
773                "{}
774::{}
775 failed to instantiate",
776                ::core::stringify!(WellItemSelectMenu),
777                ::core::stringify!(new),
778            )
779        });
780        <Self as IWellItemSelectMenuMethods>::ctor(this, menu_item_list, menu_content);
781        this
782    }
783}
784
785#[cfg(feature = "app-wellitemselectmenu")]
786pub trait IWellItemSelectMenu_SelectedItemMethods: IWellItemSelectMenu_SelectedItem {
787    #[doc = "`.ctor(crate::app::unit::Unit, i32, crate::app::wellitemselectmenuitem::WellItemSelectMenuItem)` overload"]
788    fn ctor(
789        self,
790        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
791        owner_item_index: impl ::core::convert::Into<i32>,
792        menu_item: impl ::core::convert::Into<crate::app::wellitemselectmenuitem::WellItemSelectMenuItem>,
793    ) -> () {
794        unsafe {
795            let __receiver =
796                <WellItemSelectMenu_SelectedItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
797            ::unity::il2cpp_call!((::unity::module_base()+0x1b2c870usize)as*mut u8,();
798(WellItemSelectMenu_SelectedItem)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(owner_item_index),(crate::app::wellitemselectmenuitem::WellItemSelectMenuItem)::core::convert::Into::into(menu_item))
799        }
800    }
801    #[doc = "`IsSame(crate::app::unit::Unit, i32)` overload"]
802    fn is_same(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>, owner_item_index: impl ::core::convert::Into<i32>) -> bool {
803        unsafe {
804            let __receiver =
805                <WellItemSelectMenu_SelectedItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
806            ::unity::il2cpp_call!((::unity::module_base()+0x1b2c8b0usize)as*mut u8,bool;
807(WellItemSelectMenu_SelectedItem)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(owner_item_index))
808        }
809    }
810    #[doc = "`get_OriginalMenuItem()` overload"]
811    fn get_original_menu_item(self) -> crate::app::wellitemselectmenuitem::WellItemSelectMenuItem {
812        unsafe {
813            let __receiver =
814                <WellItemSelectMenu_SelectedItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
815            ::unity::il2cpp_call!((::unity::module_base()+0x1b2c8e0usize)as*mut u8,crate::app::wellitemselectmenuitem::WellItemSelectMenuItem;
816(WellItemSelectMenu_SelectedItem)__receiver)
817        }
818    }
819}
820
821#[cfg(feature = "app-wellitemselectmenu")]
822impl<__T: IWellItemSelectMenu_SelectedItem> IWellItemSelectMenu_SelectedItemMethods for __T {}
823
824#[cfg(feature = "app-wellitemselectmenu")]
825impl WellItemSelectMenu_SelectedItem {
826    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
827        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
828    }
829
830    pub fn is_same_method_info() -> &'static ::unity::il2cpp::MethodInfo {
831        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
832    }
833
834    pub fn get_original_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
835        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
836    }
837}
838
839#[cfg(feature = "app-wellitemselectmenu")]
840impl WellItemSelectMenu_SelectedItem {
841    #[doc = "`.ctor(crate::app::unit::Unit, i32, crate::app::wellitemselectmenuitem::WellItemSelectMenuItem)` — overload selector"]
842    pub fn new(unit: crate::app::unit::Unit, owner_item_index: i32, menu_item: crate::app::wellitemselectmenuitem::WellItemSelectMenuItem) -> Self {
843        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
844            panic!(
845                "{}
846::{}
847 failed to instantiate",
848                ::core::stringify!(WellItemSelectMenu_SelectedItem),
849                ::core::stringify!(new),
850            )
851        });
852        <Self as IWellItemSelectMenu_SelectedItemMethods>::ctor(this, unit, owner_item_index, menu_item);
853        this
854    }
855}
856
857#[cfg(feature = "app-wellitemselectmenu")]
858#[doc(hidden)]
859pub mod prelude {
860    pub use super::{
861        IWellItemSelectMenu, IWellItemSelectMenuMethods, IWellItemSelectMenu_SelectedItem, IWellItemSelectMenu_SelectedItemMethods,
862        WellItemSelectMenu, WellItemSelectMenu_Kinds, WellItemSelectMenu_SelectedItem,
863    };
864    #[cfg(feature = "app-basicitemmenuitem")]
865    pub use crate::app::basicitemmenuitem::IBasicItemMenuItemMethods;
866    #[cfg(feature = "app-basicmenu")]
867    pub use crate::app::basicmenu::IBasicMenuMethods;
868    #[cfg(feature = "app-basicmenuitem")]
869    pub use crate::app::basicmenuitem::IBasicMenuItemMethods;
870    #[cfg(feature = "app-procinst")]
871    pub use crate::app::procinst::IProcInstMethods;
872    #[cfg(feature = "app-wellitemselectmenuitem")]
873    pub use crate::app::wellitemselectmenuitem::IWellItemSelectMenuItemMethods;
874    #[cfg(feature = "system-object")]
875    pub use crate::system::object::IObjectMethods;
876    #[cfg(feature = "system-enum")]
877    pub use crate::system::r#enum::IEnumMethods;
878    #[cfg(feature = "system-valuetype")]
879    pub use crate::system::valuetype::IValueTypeMethods;
880    pub use crate::{
881        app::{
882            basicitemmenuitem::IBasicItemMenuItem, basicmenu::IBasicMenu, basicmenuitem::IBasicMenuItem, procinst::IProcInst,
883            wellitemselectmenuitem::IWellItemSelectMenuItem,
884        },
885        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
886    };
887}