Skip to main content

engage/generated/unity_engine/ui/
dropdown.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-ui-dropdown-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            event_systems::uibehaviour::{IUIBehaviour, UIBehaviour},
14            events::{
15                unityevent_1::{IUnityEvent_1, UnityEvent_1},
16                unityeventbase::{IUnityEventBase, UnityEventBase},
17            },
18            monobehaviour::{IMonoBehaviour, MonoBehaviour},
19            object_2::{IObject_2, Object_2},
20            ui::selectable::{ISelectable, Selectable},
21        },
22    };
23
24    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/dropdown/Dropdown.md"))]
25    #[::unity::class(namespace = "UnityEngine.UI", name = "Dropdown")]
26    #[parent(crate::unity_engine::ui::selectable::Selectable)]
27    pub struct Dropdown {
28        #[offset(248)]
29        #[rename(name = "m_Template")]
30        pub m_template: crate::unity_engine::recttransform::RectTransform,
31        #[offset(256)]
32        #[rename(name = "m_CaptionText")]
33        pub m_caption_text: crate::unity_engine::ui::text::Text,
34        #[offset(264)]
35        #[rename(name = "m_CaptionImage")]
36        pub m_caption_image: crate::unity_engine::ui::image::Image,
37        #[offset(272)]
38        #[rename(name = "m_ItemText")]
39        pub m_item_text: crate::unity_engine::ui::text::Text,
40        #[offset(280)]
41        #[rename(name = "m_ItemImage")]
42        pub m_item_image: crate::unity_engine::ui::image::Image,
43        #[offset(288)]
44        #[rename(name = "m_Value")]
45        pub m_value: i32,
46        #[offset(296)]
47        #[rename(name = "m_Options")]
48        pub m_options: crate::unity_engine::ui::dropdown::Dropdown_OptionDataList,
49        #[offset(304)]
50        #[rename(name = "m_OnValueChanged")]
51        pub m_on_value_changed: crate::unity_engine::ui::dropdown::Dropdown_DropdownEvent,
52        #[offset(312)]
53        #[rename(name = "m_AlphaFadeSpeed")]
54        pub m_alpha_fade_speed: f32,
55        #[offset(320)]
56        #[rename(name = "m_Dropdown")]
57        pub m_dropdown: crate::unity_engine::gameobject::GameObject,
58        #[offset(328)]
59        #[rename(name = "m_Blocker")]
60        pub m_blocker: crate::unity_engine::gameobject::GameObject,
61        #[offset(336)]
62        #[rename(name = "m_Items")]
63        pub m_items: crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_DropdownItem>,
64        #[offset(344)]
65        #[rename(name = "m_AlphaTweenRunner")]
66        pub m_alpha_tween_runner:
67            crate::unity_engine::ui::coroutine_tween::tweenrunner_1::TweenRunner_1<crate::unity_engine::ui::coroutine_tween::floattween::FloatTween>,
68        #[offset(352)]
69        #[rename(name = "validTemplate")]
70        pub valid_template: bool,
71        #[static_field]
72        #[rename(name = "s_NoOptionData")]
73        pub s_no_option_data: crate::unity_engine::ui::dropdown::Dropdown_OptionData,
74    }
75
76    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/dropdown/Dropdown_DropdownItem.md"))]
77    #[::unity::class(namespace = "UnityEngine.UI", name = "Dropdown.DropdownItem")]
78    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
79    pub struct Dropdown_DropdownItem {
80        #[offset(24)]
81        #[rename(name = "m_Text")]
82        pub m_text: crate::unity_engine::ui::text::Text,
83        #[offset(32)]
84        #[rename(name = "m_Image")]
85        pub m_image: crate::unity_engine::ui::image::Image,
86        #[offset(40)]
87        #[rename(name = "m_RectTransform")]
88        pub m_rect_transform: crate::unity_engine::recttransform::RectTransform,
89        #[offset(48)]
90        #[rename(name = "m_Toggle")]
91        pub m_toggle: crate::unity_engine::ui::toggle::Toggle,
92    }
93
94    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/dropdown/Dropdown_DropdownEvent.md"))]
95    #[::unity::class(namespace = "UnityEngine.UI", name = "Dropdown.DropdownEvent")]
96    #[parent(crate::unity_engine::events::unityevent_1::UnityEvent_1<i32>)]
97    pub struct Dropdown_DropdownEvent {}
98
99    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/dropdown/Dropdown_OptionData.md"))]
100    #[::unity::class(namespace = "UnityEngine.UI", name = "Dropdown.OptionData")]
101    #[parent(crate::system::object::Object)]
102    pub struct Dropdown_OptionData {
103        #[offset(16)]
104        #[rename(name = "m_Text")]
105        pub m_text: ::unity::Il2CppString,
106        #[offset(24)]
107        #[rename(name = "m_Image")]
108        pub m_image: crate::unity_engine::sprite::Sprite,
109    }
110
111    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/dropdown/Dropdown_OptionDataList.md"))]
112    #[::unity::class(namespace = "UnityEngine.UI", name = "Dropdown.OptionDataList")]
113    #[parent(crate::system::object::Object)]
114    pub struct Dropdown_OptionDataList {
115        #[offset(16)]
116        #[rename(name = "m_Options")]
117        pub m_options: crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>,
118    }
119}
120
121#[cfg(feature = "unity_engine-ui-dropdown-types")]
122pub use __types::*;
123
124#[cfg(feature = "unity_engine-ui-dropdown")]
125impl Dropdown {
126    pub fn get_or_add_component<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
127        go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
128    ) -> M0 {
129        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
130            ::unity::lookup::method_info_on_class(<Dropdown as ::unity::ClassIdentity>::class(), "GetOrAddComponent", 1)
131        });
132        #[allow(clippy::type_complexity)]
133        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
134            ::std::sync::OnceLock::new();
135        let _ = true;
136        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
137            ::core::result::Result::Ok(mi) => *mi,
138            ::core::result::Result::Err(e) => {
139                panic!(
140                    "method lookup failed: {}
141::{}
142: {}
143",
144                    <Dropdown as ::unity::ClassIdentity>::NAME,
145                    "GetOrAddComponent",
146                    e
147                )
148            },
149        };
150        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
151        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
152        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
153            let mut __guard = __cache.lock().unwrap();
154            *__guard
155                .entry(__key)
156                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
157        };
158        unsafe {
159            let __f: extern "C" fn(crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> M0 =
160                ::core::mem::transmute(__inflated.method_ptr);
161            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
162            __f(::core::convert::Into::into(go), ::core::option::Option::Some(__mi_opaque))
163        }
164    }
165
166    #[doc = "`.cctor()` overload"]
167    pub fn cctor() -> () {
168        unsafe {
169            ::unity::il2cpp_call!((::unity::module_base()+0x3187900usize)as*mut u8,();
170            )
171        }
172    }
173}
174
175#[cfg(feature = "unity_engine-ui-dropdown")]
176pub trait IDropdownMethods: IDropdown {
177    #[doc = "`get_template()` overload"]
178    fn get_template(self) -> crate::unity_engine::recttransform::RectTransform {
179        unsafe {
180            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
181            ::unity::il2cpp_call!((::unity::module_base()+0x31848c0usize)as*mut u8,crate::unity_engine::recttransform::RectTransform;
182(Dropdown)__receiver)
183        }
184    }
185    #[doc = "`set_template(crate::unity_engine::recttransform::RectTransform)` overload"]
186    fn set_template(self, value: impl ::core::convert::Into<crate::unity_engine::recttransform::RectTransform>) -> () {
187        unsafe {
188            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
189            ::unity::il2cpp_call!((::unity::module_base()+0x3183d40usize)as*mut u8,();
190(Dropdown)__receiver,(crate::unity_engine::recttransform::RectTransform)::core::convert::Into::into(value))
191        }
192    }
193    #[doc = "`get_captionText()` overload"]
194    fn get_caption_text(self) -> crate::unity_engine::ui::text::Text {
195        unsafe {
196            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
197            ::unity::il2cpp_call!((::unity::module_base()+0x31848d0usize)as*mut u8,crate::unity_engine::ui::text::Text;
198(Dropdown)__receiver)
199        }
200    }
201    #[doc = "`set_captionText(crate::unity_engine::ui::text::Text)` overload"]
202    fn set_caption_text(self, value: impl ::core::convert::Into<crate::unity_engine::ui::text::Text>) -> () {
203        unsafe {
204            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
205            ::unity::il2cpp_call!((::unity::module_base()+0x3183d70usize)as*mut u8,();
206(Dropdown)__receiver,(crate::unity_engine::ui::text::Text)::core::convert::Into::into(value))
207        }
208    }
209    #[doc = "`get_captionImage()` overload"]
210    fn get_caption_image(self) -> crate::unity_engine::ui::image::Image {
211        unsafe {
212            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
213            ::unity::il2cpp_call!((::unity::module_base()+0x31848e0usize)as*mut u8,crate::unity_engine::ui::image::Image;
214(Dropdown)__receiver)
215        }
216    }
217    #[doc = "`set_captionImage(crate::unity_engine::ui::image::Image)` overload"]
218    fn set_caption_image(self, value: impl ::core::convert::Into<crate::unity_engine::ui::image::Image>) -> () {
219        unsafe {
220            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221            ::unity::il2cpp_call!((::unity::module_base()+0x31848f0usize)as*mut u8,();
222(Dropdown)__receiver,(crate::unity_engine::ui::image::Image)::core::convert::Into::into(value))
223        }
224    }
225    #[doc = "`get_itemText()` overload"]
226    fn get_item_text(self) -> crate::unity_engine::ui::text::Text {
227        unsafe {
228            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229            ::unity::il2cpp_call!((::unity::module_base()+0x3184920usize)as*mut u8,crate::unity_engine::ui::text::Text;
230(Dropdown)__receiver)
231        }
232    }
233    #[doc = "`set_itemText(crate::unity_engine::ui::text::Text)` overload"]
234    fn set_item_text(self, value: impl ::core::convert::Into<crate::unity_engine::ui::text::Text>) -> () {
235        unsafe {
236            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
237            ::unity::il2cpp_call!((::unity::module_base()+0x3183da0usize)as*mut u8,();
238(Dropdown)__receiver,(crate::unity_engine::ui::text::Text)::core::convert::Into::into(value))
239        }
240    }
241    #[doc = "`get_itemImage()` overload"]
242    fn get_item_image(self) -> crate::unity_engine::ui::image::Image {
243        unsafe {
244            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
245            ::unity::il2cpp_call!((::unity::module_base()+0x3184930usize)as*mut u8,crate::unity_engine::ui::image::Image;
246(Dropdown)__receiver)
247        }
248    }
249    #[doc = "`set_itemImage(crate::unity_engine::ui::image::Image)` overload"]
250    fn set_item_image(self, value: impl ::core::convert::Into<crate::unity_engine::ui::image::Image>) -> () {
251        unsafe {
252            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
253            ::unity::il2cpp_call!((::unity::module_base()+0x3184940usize)as*mut u8,();
254(Dropdown)__receiver,(crate::unity_engine::ui::image::Image)::core::convert::Into::into(value))
255        }
256    }
257    #[doc = "`get_options()` overload"]
258    fn get_options(self) -> crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData> {
259        unsafe {
260            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
261            ::unity::il2cpp_call!((::unity::module_base()+0x3183dd0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData> ;
262(Dropdown)__receiver)
263        }
264    }
265    #[doc = "`set_options(crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>)` overload"]
266    fn set_options(
267        self,
268        value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>>,
269    ) -> () {
270        unsafe {
271            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
272            ::unity::il2cpp_call!((::unity::module_base()+0x3184970usize)as*mut u8,();
273(Dropdown)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>)::core::convert::Into::into(value))
274        }
275    }
276    #[doc = "`get_onValueChanged()` overload"]
277    fn get_on_value_changed(self) -> crate::unity_engine::ui::dropdown::Dropdown_DropdownEvent {
278        unsafe {
279            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280            ::unity::il2cpp_call!((::unity::module_base()+0x31849a0usize)as*mut u8,crate::unity_engine::ui::dropdown::Dropdown_DropdownEvent;
281(Dropdown)__receiver)
282        }
283    }
284    #[doc = "`set_onValueChanged(crate::unity_engine::ui::dropdown::Dropdown_DropdownEvent)` overload"]
285    fn set_on_value_changed(self, value: impl ::core::convert::Into<crate::unity_engine::ui::dropdown::Dropdown_DropdownEvent>) -> () {
286        unsafe {
287            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288            ::unity::il2cpp_call!((::unity::module_base()+0x31849b0usize)as*mut u8,();
289(Dropdown)__receiver,(crate::unity_engine::ui::dropdown::Dropdown_DropdownEvent)::core::convert::Into::into(value))
290        }
291    }
292    #[doc = "`get_alphaFadeSpeed()` overload"]
293    fn get_alpha_fade_speed(self) -> f32 {
294        unsafe {
295            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296            ::unity::il2cpp_call!((::unity::module_base()+0x31849c0usize)as*mut u8,f32;
297(Dropdown)__receiver)
298        }
299    }
300    #[doc = "`set_alphaFadeSpeed(f32)` overload"]
301    fn set_alpha_fade_speed(self, value: impl ::core::convert::Into<f32>) -> () {
302        unsafe {
303            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304            ::unity::il2cpp_call!((::unity::module_base()+0x31849d0usize)as*mut u8,();
305(Dropdown)__receiver,(f32)::core::convert::Into::into(value))
306        }
307    }
308    #[doc = "`get_value()` overload"]
309    fn get_value(self) -> i32 {
310        unsafe {
311            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312            ::unity::il2cpp_call!((::unity::module_base()+0x31849e0usize)as*mut u8,i32;
313(Dropdown)__receiver)
314        }
315    }
316    #[doc = "`set_value(i32)` overload"]
317    fn set_value(self, value: impl ::core::convert::Into<i32>) -> () {
318        unsafe {
319            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320            ::unity::il2cpp_call!((::unity::module_base()+0x31849f0usize)as*mut u8,();
321(Dropdown)__receiver,(i32)::core::convert::Into::into(value))
322        }
323    }
324    #[doc = "`SetValueWithoutNotify(i32)` overload"]
325    fn set_value_without_notify(self, input: impl ::core::convert::Into<i32>) -> () {
326        unsafe {
327            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328            ::unity::il2cpp_call!((::unity::module_base()+0x3184b00usize)as*mut u8,();
329(Dropdown)__receiver,(i32)::core::convert::Into::into(input))
330        }
331    }
332    #[doc = "`Set(i32, bool)` overload"]
333    fn set(self, value: impl ::core::convert::Into<i32>, send_callback: impl ::core::convert::Into<bool>) -> () {
334        unsafe {
335            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
336            ::unity::il2cpp_call!((::unity::module_base()+0x3184a00usize)as*mut u8,();
337(Dropdown)__receiver,(i32)::core::convert::Into::into(value),(bool)::core::convert::Into::into(send_callback))
338        }
339    }
340    #[doc = "`.ctor()` overload"]
341    fn ctor(self) -> () {
342        unsafe {
343            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344            ::unity::il2cpp_call!((::unity::module_base()+0x3184b10usize)as*mut u8,();
345(Dropdown)__receiver)
346        }
347    }
348    #[doc = "`Awake()` overload"]
349    fn awake(self) -> () {
350        unsafe {
351            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
352            {
353                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
354                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
355                    panic!(
356                        "unity: virtual slot {}
357 out of range (vtable len {}
358) on the runtime class behind {}
359 (method `{}
360`)",
361                        4usize,
362                        __vt.len(),
363                        <Dropdown as ::unity::ClassIdentity>::NAME,
364                        "Awake",
365                    )
366                });
367                let __inner: extern "C" fn(Dropdown, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
368                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
369                __inner(__receiver, __mi)
370            }
371        }
372    }
373    #[doc = "`Start()` overload"]
374    fn start(self) -> () {
375        unsafe {
376            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
377            {
378                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
379                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
380                    panic!(
381                        "unity: virtual slot {}
382 out of range (vtable len {}
383) on the runtime class behind {}
384 (method `{}
385`)",
386                        6usize,
387                        __vt.len(),
388                        <Dropdown as ::unity::ClassIdentity>::NAME,
389                        "Start",
390                    )
391                });
392                let __inner: extern "C" fn(Dropdown, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
393                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
394                __inner(__receiver, __mi)
395            }
396        }
397    }
398    #[doc = "`OnDisable()` overload"]
399    fn on_disable(self) -> () {
400        unsafe {
401            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
402            {
403                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
404                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
405                    panic!(
406                        "unity: virtual slot {}
407 out of range (vtable len {}
408) on the runtime class behind {}
409 (method `{}
410`)",
411                        7usize,
412                        __vt.len(),
413                        <Dropdown as ::unity::ClassIdentity>::NAME,
414                        "OnDisable",
415                    )
416                });
417                let __inner: extern "C" fn(Dropdown, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
418                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
419                __inner(__receiver, __mi)
420            }
421        }
422    }
423    #[doc = "`RefreshShownValue()` overload"]
424    fn refresh_shown_value(self) -> () {
425        unsafe {
426            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
427            ::unity::il2cpp_call!((::unity::module_base()+0x3183de0usize)as*mut u8,();
428(Dropdown)__receiver)
429        }
430    }
431    #[doc = "`AddOptions(crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>)` overload"]
432    fn add_options(
433        self,
434        options: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>>,
435    ) -> () {
436        unsafe {
437            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438            ::unity::il2cpp_call!((::unity::module_base()+0x31850a0usize)as*mut u8,();
439(Dropdown)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>)::core::convert::Into::into(options))
440        }
441    }
442    #[doc = "`AddOptions(crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>)` overload"]
443    fn add_options_2(self, options: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>>) -> () {
444        unsafe {
445            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446            ::unity::il2cpp_call!((::unity::module_base()+0x3185110usize)as*mut u8,();
447(Dropdown)__receiver,(crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString>)::core::convert::Into::into(options))
448        }
449    }
450    #[doc = "`AddOptions(crate::system::collections::generic::list_1::List_1<crate::unity_engine::sprite::Sprite>)` overload"]
451    fn add_options_3(
452        self,
453        options: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::sprite::Sprite>>,
454    ) -> () {
455        unsafe {
456            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
457            ::unity::il2cpp_call!((::unity::module_base()+0x3185230usize)as*mut u8,();
458(Dropdown)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::sprite::Sprite>)::core::convert::Into::into(options))
459        }
460    }
461    #[doc = "`ClearOptions()` overload"]
462    fn clear_options(self) -> () {
463        unsafe {
464            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
465            ::unity::il2cpp_call!((::unity::module_base()+0x3185350usize)as*mut u8,();
466(Dropdown)__receiver)
467        }
468    }
469    #[doc = "`SetupTemplate()` overload"]
470    fn setup_template(self) -> () {
471        unsafe {
472            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
473            ::unity::il2cpp_call!((::unity::module_base()+0x31853c0usize)as*mut u8,();
474(Dropdown)__receiver)
475        }
476    }
477    #[doc = "`OnPointerClick(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
478    fn on_pointer_click(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
479        unsafe {
480            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
481            {
482                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
483                let __vi = *__vt.get(42usize).unwrap_or_else(|| {
484                    panic!(
485                        "unity: virtual slot {}
486 out of range (vtable len {}
487) on the runtime class behind {}
488 (method `{}
489`)",
490                        42usize,
491                        __vt.len(),
492                        <Dropdown as ::unity::ClassIdentity>::NAME,
493                        "OnPointerClick",
494                    )
495                });
496                let __inner: extern "C" fn(
497                    Dropdown,
498                    crate::unity_engine::event_systems::pointereventdata::PointerEventData,
499                    ::unity::OptionalMethod,
500                ) -> () = ::core::mem::transmute(__vi.method_ptr);
501                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
502                __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
503            }
504        }
505    }
506    #[doc = "`OnSubmit(crate::unity_engine::event_systems::baseeventdata::BaseEventData)` overload"]
507    fn on_submit(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::baseeventdata::BaseEventData>) -> () {
508        unsafe {
509            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
510            {
511                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
512                let __vi = *__vt.get(43usize).unwrap_or_else(|| {
513                    panic!(
514                        "unity: virtual slot {}
515 out of range (vtable len {}
516) on the runtime class behind {}
517 (method `{}
518`)",
519                        43usize,
520                        __vt.len(),
521                        <Dropdown as ::unity::ClassIdentity>::NAME,
522                        "OnSubmit",
523                    )
524                });
525                let __inner: extern "C" fn(
526                    Dropdown,
527                    crate::unity_engine::event_systems::baseeventdata::BaseEventData,
528                    ::unity::OptionalMethod,
529                ) -> () = ::core::mem::transmute(__vi.method_ptr);
530                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
531                __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
532            }
533        }
534    }
535    #[doc = "`OnCancel(crate::unity_engine::event_systems::baseeventdata::BaseEventData)` overload"]
536    fn on_cancel(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::baseeventdata::BaseEventData>) -> () {
537        unsafe {
538            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
539            {
540                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
541                let __vi = *__vt.get(44usize).unwrap_or_else(|| {
542                    panic!(
543                        "unity: virtual slot {}
544 out of range (vtable len {}
545) on the runtime class behind {}
546 (method `{}
547`)",
548                        44usize,
549                        __vt.len(),
550                        <Dropdown as ::unity::ClassIdentity>::NAME,
551                        "OnCancel",
552                    )
553                });
554                let __inner: extern "C" fn(
555                    Dropdown,
556                    crate::unity_engine::event_systems::baseeventdata::BaseEventData,
557                    ::unity::OptionalMethod,
558                ) -> () = ::core::mem::transmute(__vi.method_ptr);
559                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
560                __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
561            }
562        }
563    }
564    #[doc = "`Show()` overload"]
565    fn show(self) -> () {
566        unsafe {
567            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
568            ::unity::il2cpp_call!((::unity::module_base()+0x3185b00usize)as*mut u8,();
569(Dropdown)__receiver)
570        }
571    }
572    #[doc = "`CreateBlocker(crate::unity_engine::canvas::Canvas)` overload"]
573    fn create_blocker(
574        self,
575        root_canvas: impl ::core::convert::Into<crate::unity_engine::canvas::Canvas>,
576    ) -> crate::unity_engine::gameobject::GameObject {
577        unsafe {
578            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
579            {
580                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
581                let __vi = *__vt.get(45usize).unwrap_or_else(|| {
582                    panic!(
583                        "unity: virtual slot {}
584 out of range (vtable len {}
585) on the runtime class behind {}
586 (method `{}
587`)",
588                        45usize,
589                        __vt.len(),
590                        <Dropdown as ::unity::ClassIdentity>::NAME,
591                        "CreateBlocker",
592                    )
593                });
594                let __inner: extern "C" fn(
595                    Dropdown,
596                    crate::unity_engine::canvas::Canvas,
597                    ::unity::OptionalMethod,
598                ) -> crate::unity_engine::gameobject::GameObject = ::core::mem::transmute(__vi.method_ptr);
599                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
600                __inner(__receiver, ::core::convert::Into::into(root_canvas), __mi)
601            }
602        }
603    }
604    #[doc = "`DestroyBlocker(crate::unity_engine::gameobject::GameObject)` overload"]
605    fn destroy_blocker(self, blocker: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
606        unsafe {
607            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
608            {
609                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
610                let __vi = *__vt.get(46usize).unwrap_or_else(|| {
611                    panic!(
612                        "unity: virtual slot {}
613 out of range (vtable len {}
614) on the runtime class behind {}
615 (method `{}
616`)",
617                        46usize,
618                        __vt.len(),
619                        <Dropdown as ::unity::ClassIdentity>::NAME,
620                        "DestroyBlocker",
621                    )
622                });
623                let __inner: extern "C" fn(Dropdown, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> () =
624                    ::core::mem::transmute(__vi.method_ptr);
625                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
626                __inner(__receiver, ::core::convert::Into::into(blocker), __mi)
627            }
628        }
629    }
630    #[doc = "`CreateDropdownList(crate::unity_engine::gameobject::GameObject)` overload"]
631    fn create_dropdown_list(
632        self,
633        template: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
634    ) -> crate::unity_engine::gameobject::GameObject {
635        unsafe {
636            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
637            {
638                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
639                let __vi = *__vt.get(47usize).unwrap_or_else(|| {
640                    panic!(
641                        "unity: virtual slot {}
642 out of range (vtable len {}
643) on the runtime class behind {}
644 (method `{}
645`)",
646                        47usize,
647                        __vt.len(),
648                        <Dropdown as ::unity::ClassIdentity>::NAME,
649                        "CreateDropdownList",
650                    )
651                });
652                let __inner: extern "C" fn(
653                    Dropdown,
654                    crate::unity_engine::gameobject::GameObject,
655                    ::unity::OptionalMethod,
656                ) -> crate::unity_engine::gameobject::GameObject = ::core::mem::transmute(__vi.method_ptr);
657                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
658                __inner(__receiver, ::core::convert::Into::into(template), __mi)
659            }
660        }
661    }
662    #[doc = "`DestroyDropdownList(crate::unity_engine::gameobject::GameObject)` overload"]
663    fn destroy_dropdown_list(self, dropdown_list: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
664        unsafe {
665            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
666            {
667                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
668                let __vi = *__vt.get(48usize).unwrap_or_else(|| {
669                    panic!(
670                        "unity: virtual slot {}
671 out of range (vtable len {}
672) on the runtime class behind {}
673 (method `{}
674`)",
675                        48usize,
676                        __vt.len(),
677                        <Dropdown as ::unity::ClassIdentity>::NAME,
678                        "DestroyDropdownList",
679                    )
680                });
681                let __inner: extern "C" fn(Dropdown, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> () =
682                    ::core::mem::transmute(__vi.method_ptr);
683                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
684                __inner(__receiver, ::core::convert::Into::into(dropdown_list), __mi)
685            }
686        }
687    }
688    #[doc = "`CreateItem(crate::unity_engine::ui::dropdown::Dropdown_DropdownItem)` overload"]
689    fn create_item(
690        self,
691        item_template: impl ::core::convert::Into<crate::unity_engine::ui::dropdown::Dropdown_DropdownItem>,
692    ) -> crate::unity_engine::ui::dropdown::Dropdown_DropdownItem {
693        unsafe {
694            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
695            {
696                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
697                let __vi = *__vt.get(49usize).unwrap_or_else(|| {
698                    panic!(
699                        "unity: virtual slot {}
700 out of range (vtable len {}
701) on the runtime class behind {}
702 (method `{}
703`)",
704                        49usize,
705                        __vt.len(),
706                        <Dropdown as ::unity::ClassIdentity>::NAME,
707                        "CreateItem",
708                    )
709                });
710                let __inner: extern "C" fn(
711                    Dropdown,
712                    crate::unity_engine::ui::dropdown::Dropdown_DropdownItem,
713                    ::unity::OptionalMethod,
714                ) -> crate::unity_engine::ui::dropdown::Dropdown_DropdownItem = ::core::mem::transmute(__vi.method_ptr);
715                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
716                __inner(__receiver, ::core::convert::Into::into(item_template), __mi)
717            }
718        }
719    }
720    #[doc = "`DestroyItem(crate::unity_engine::ui::dropdown::Dropdown_DropdownItem)` overload"]
721    fn destroy_item(self, item: impl ::core::convert::Into<crate::unity_engine::ui::dropdown::Dropdown_DropdownItem>) -> () {
722        unsafe {
723            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
724            {
725                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
726                let __vi = *__vt.get(50usize).unwrap_or_else(|| {
727                    panic!(
728                        "unity: virtual slot {}
729 out of range (vtable len {}
730) on the runtime class behind {}
731 (method `{}
732`)",
733                        50usize,
734                        __vt.len(),
735                        <Dropdown as ::unity::ClassIdentity>::NAME,
736                        "DestroyItem",
737                    )
738                });
739                let __inner: extern "C" fn(Dropdown, crate::unity_engine::ui::dropdown::Dropdown_DropdownItem, ::unity::OptionalMethod) -> () =
740                    ::core::mem::transmute(__vi.method_ptr);
741                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
742                __inner(__receiver, ::core::convert::Into::into(item), __mi)
743            }
744        }
745    }
746    #[doc = "`AddItem(crate::unity_engine::ui::dropdown::Dropdown_OptionData, bool, crate::unity_engine::ui::dropdown::Dropdown_DropdownItem, crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_DropdownItem>)` overload"]
747    fn add_item(
748        self,
749        data: impl ::core::convert::Into<crate::unity_engine::ui::dropdown::Dropdown_OptionData>,
750        selected: impl ::core::convert::Into<bool>,
751        item_template: impl ::core::convert::Into<crate::unity_engine::ui::dropdown::Dropdown_DropdownItem>,
752        items: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_DropdownItem>>,
753    ) -> crate::unity_engine::ui::dropdown::Dropdown_DropdownItem {
754        unsafe {
755            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
756            ::unity::il2cpp_call!((::unity::module_base()+0x3186ac0usize)as*mut u8,crate::unity_engine::ui::dropdown::Dropdown_DropdownItem;
757(Dropdown)__receiver,(crate::unity_engine::ui::dropdown::Dropdown_OptionData)::core::convert::Into::into(data),(bool)::core::convert::Into::into(selected),(crate::unity_engine::ui::dropdown::Dropdown_DropdownItem)::core::convert::Into::into(item_template),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_DropdownItem>)::core::convert::Into::into(items))
758        }
759    }
760    #[doc = "`AlphaFadeList(f32, f32)` overload"]
761    fn alpha_fade_list(self, duration: impl ::core::convert::Into<f32>, alpha: impl ::core::convert::Into<f32>) -> () {
762        unsafe {
763            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
764            ::unity::il2cpp_call!((::unity::module_base()+0x3187550usize)as*mut u8,();
765(Dropdown)__receiver,(f32)::core::convert::Into::into(duration),(f32)::core::convert::Into::into(alpha))
766        }
767    }
768    #[doc = "`AlphaFadeList(f32, f32, f32)` overload"]
769    fn alpha_fade_list_2(
770        self,
771        duration: impl ::core::convert::Into<f32>,
772        start: impl ::core::convert::Into<f32>,
773        end: impl ::core::convert::Into<f32>,
774    ) -> () {
775        unsafe {
776            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
777            ::unity::il2cpp_call!((::unity::module_base()+0x3186d70usize)as*mut u8,();
778(Dropdown)__receiver,(f32)::core::convert::Into::into(duration),(f32)::core::convert::Into::into(start),(f32)::core::convert::Into::into(end))
779        }
780    }
781    #[doc = "`SetAlpha(f32)` overload"]
782    fn set_alpha(self, alpha: impl ::core::convert::Into<f32>) -> () {
783        unsafe {
784            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
785            ::unity::il2cpp_call!((::unity::module_base()+0x3187670usize)as*mut u8,();
786(Dropdown)__receiver,(f32)::core::convert::Into::into(alpha))
787        }
788    }
789    #[doc = "`Hide()` overload"]
790    fn hide(self) -> () {
791        unsafe {
792            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
793            ::unity::il2cpp_call!((::unity::module_base()+0x31868f0usize)as*mut u8,();
794(Dropdown)__receiver)
795        }
796    }
797    #[doc = "`DelayedDestroyDropdownList(f32)` overload"]
798    fn delayed_destroy_dropdown_list(self, delay: impl ::core::convert::Into<f32>) -> crate::system::collections::ienumerator::IEnumerator {
799        unsafe {
800            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
801            ::unity::il2cpp_call!((::unity::module_base()+0x3187740usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
802(Dropdown)__receiver,(f32)::core::convert::Into::into(delay))
803        }
804    }
805    #[doc = "`ImmediateDestroyDropdownList()` overload"]
806    fn immediate_destroy_dropdown_list(self) -> () {
807        unsafe {
808            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
809            ::unity::il2cpp_call!((::unity::module_base()+0x3184f00usize)as*mut u8,();
810(Dropdown)__receiver)
811        }
812    }
813    #[doc = "`OnSelectItem(crate::unity_engine::ui::toggle::Toggle)` overload"]
814    fn on_select_item(self, toggle: impl ::core::convert::Into<crate::unity_engine::ui::toggle::Toggle>) -> () {
815        unsafe {
816            let __receiver = <Dropdown as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
817            ::unity::il2cpp_call!((::unity::module_base()+0x31877d0usize)as*mut u8,();
818(Dropdown)__receiver,(crate::unity_engine::ui::toggle::Toggle)::core::convert::Into::into(toggle))
819        }
820    }
821}
822
823#[cfg(feature = "unity_engine-ui-dropdown")]
824impl<__T: IDropdown> IDropdownMethods for __T {}
825
826#[cfg(feature = "unity_engine-ui-dropdown")]
827impl Dropdown {
828    pub fn get_template_method_info() -> &'static ::unity::il2cpp::MethodInfo {
829        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
830    }
831
832    pub fn set_template_method_info() -> &'static ::unity::il2cpp::MethodInfo {
833        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
834    }
835
836    pub fn get_caption_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
837        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
838    }
839
840    pub fn set_caption_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
841        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
842    }
843
844    pub fn get_caption_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
845        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
846    }
847
848    pub fn set_caption_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
849        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
850    }
851
852    pub fn get_item_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
853        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
854    }
855
856    pub fn set_item_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
857        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
858    }
859
860    pub fn get_item_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
861        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
862    }
863
864    pub fn set_item_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
865        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
866    }
867
868    pub fn get_options_method_info() -> &'static ::unity::il2cpp::MethodInfo {
869        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
870    }
871
872    pub fn set_options_method_info() -> &'static ::unity::il2cpp::MethodInfo {
873        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
874    }
875
876    pub fn get_on_value_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
877        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
878    }
879
880    pub fn set_on_value_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
881        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
882    }
883
884    pub fn get_alpha_fade_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
885        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
886    }
887
888    pub fn set_alpha_fade_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
889        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
890    }
891
892    pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
893        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
894    }
895
896    pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
897        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
898    }
899
900    pub fn set_value_without_notify_method_info() -> &'static ::unity::il2cpp::MethodInfo {
901        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
902    }
903
904    pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
905        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
906    }
907
908    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
909        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
910    }
911
912    pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
913        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
914    }
915
916    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
917        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
918    }
919
920    pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
921        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
922    }
923
924    pub fn refresh_shown_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
925        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
926    }
927
928    pub fn add_options_method_info() -> &'static ::unity::il2cpp::MethodInfo {
929        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
930    }
931
932    pub fn add_options_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
933        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
934    }
935
936    pub fn add_options_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
937        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
938    }
939
940    pub fn clear_options_method_info() -> &'static ::unity::il2cpp::MethodInfo {
941        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
942    }
943
944    pub fn setup_template_method_info() -> &'static ::unity::il2cpp::MethodInfo {
945        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
946    }
947
948    pub fn on_pointer_click_method_info() -> &'static ::unity::il2cpp::MethodInfo {
949        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
950    }
951
952    pub fn on_submit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
953        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
954    }
955
956    pub fn on_cancel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
957        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
958    }
959
960    pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
961        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
962    }
963
964    pub fn create_blocker_method_info() -> &'static ::unity::il2cpp::MethodInfo {
965        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
966    }
967
968    pub fn destroy_blocker_method_info() -> &'static ::unity::il2cpp::MethodInfo {
969        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
970    }
971
972    pub fn create_dropdown_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
973        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
974    }
975
976    pub fn destroy_dropdown_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
977        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
978    }
979
980    pub fn create_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
981        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
982    }
983
984    pub fn destroy_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
985        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
986    }
987
988    pub fn add_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
989        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
990    }
991
992    pub fn alpha_fade_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
993        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
994    }
995
996    pub fn alpha_fade_list_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
997        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
998    }
999
1000    pub fn set_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1001        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1002    }
1003
1004    pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1005        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1006    }
1007
1008    pub fn delayed_destroy_dropdown_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1009        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1010    }
1011
1012    pub fn immediate_destroy_dropdown_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1013        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1014    }
1015
1016    pub fn on_select_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1017        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1018    }
1019
1020    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1021        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1022    }
1023}
1024
1025#[cfg(feature = "unity_engine-ui-dropdown")]
1026impl Dropdown {
1027    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `Awake`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1028    pub unsafe fn awake(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1029        let __mi = Self::awake_method_info();
1030        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1031        __inner(this.into(), ::core::option::Option::None)
1032    }
1033
1034    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `Start`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1035    pub unsafe fn start(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1036        let __mi = Self::start_method_info();
1037        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1038        __inner(this.into(), ::core::option::Option::None)
1039    }
1040
1041    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `OnDisable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1042    pub unsafe fn on_disable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1043        let __mi = Self::on_disable_method_info();
1044        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1045        __inner(this.into(), ::core::option::Option::None)
1046    }
1047
1048    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `OnPointerClick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1049    pub unsafe fn on_pointer_click(
1050        this: impl ::core::convert::Into<::unity::IlInstance>,
1051        event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1052    ) -> () {
1053        let __mi = Self::on_pointer_click_method_info();
1054        let __inner: extern "C" fn(
1055            ::unity::IlInstance,
1056            crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1057            ::unity::OptionalMethod,
1058        ) -> () = ::core::mem::transmute(__mi.method_ptr);
1059        __inner(this.into(), event_data, ::core::option::Option::None)
1060    }
1061
1062    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `OnSubmit`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1063    pub unsafe fn on_submit(
1064        this: impl ::core::convert::Into<::unity::IlInstance>,
1065        event_data: crate::unity_engine::event_systems::baseeventdata::BaseEventData,
1066    ) -> () {
1067        let __mi = Self::on_submit_method_info();
1068        let __inner: extern "C" fn(
1069            ::unity::IlInstance,
1070            crate::unity_engine::event_systems::baseeventdata::BaseEventData,
1071            ::unity::OptionalMethod,
1072        ) -> () = ::core::mem::transmute(__mi.method_ptr);
1073        __inner(this.into(), event_data, ::core::option::Option::None)
1074    }
1075
1076    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `OnCancel`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1077    pub unsafe fn on_cancel(
1078        this: impl ::core::convert::Into<::unity::IlInstance>,
1079        event_data: crate::unity_engine::event_systems::baseeventdata::BaseEventData,
1080    ) -> () {
1081        let __mi = Self::on_cancel_method_info();
1082        let __inner: extern "C" fn(
1083            ::unity::IlInstance,
1084            crate::unity_engine::event_systems::baseeventdata::BaseEventData,
1085            ::unity::OptionalMethod,
1086        ) -> () = ::core::mem::transmute(__mi.method_ptr);
1087        __inner(this.into(), event_data, ::core::option::Option::None)
1088    }
1089
1090    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `CreateBlocker`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1091    pub unsafe fn create_blocker(
1092        this: impl ::core::convert::Into<::unity::IlInstance>,
1093        root_canvas: crate::unity_engine::canvas::Canvas,
1094    ) -> crate::unity_engine::gameobject::GameObject {
1095        let __mi = Self::create_blocker_method_info();
1096        let __inner: extern "C" fn(
1097            ::unity::IlInstance,
1098            crate::unity_engine::canvas::Canvas,
1099            ::unity::OptionalMethod,
1100        ) -> crate::unity_engine::gameobject::GameObject = ::core::mem::transmute(__mi.method_ptr);
1101        __inner(this.into(), root_canvas, ::core::option::Option::None)
1102    }
1103
1104    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `DestroyBlocker`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1105    pub unsafe fn destroy_blocker(this: impl ::core::convert::Into<::unity::IlInstance>, blocker: crate::unity_engine::gameobject::GameObject) -> () {
1106        let __mi = Self::destroy_blocker_method_info();
1107        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> () =
1108            ::core::mem::transmute(__mi.method_ptr);
1109        __inner(this.into(), blocker, ::core::option::Option::None)
1110    }
1111
1112    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `CreateDropdownList`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1113    pub unsafe fn create_dropdown_list(
1114        this: impl ::core::convert::Into<::unity::IlInstance>,
1115        template: crate::unity_engine::gameobject::GameObject,
1116    ) -> crate::unity_engine::gameobject::GameObject {
1117        let __mi = Self::create_dropdown_list_method_info();
1118        let __inner: extern "C" fn(
1119            ::unity::IlInstance,
1120            crate::unity_engine::gameobject::GameObject,
1121            ::unity::OptionalMethod,
1122        ) -> crate::unity_engine::gameobject::GameObject = ::core::mem::transmute(__mi.method_ptr);
1123        __inner(this.into(), template, ::core::option::Option::None)
1124    }
1125
1126    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `DestroyDropdownList`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1127    pub unsafe fn destroy_dropdown_list(
1128        this: impl ::core::convert::Into<::unity::IlInstance>,
1129        dropdown_list: crate::unity_engine::gameobject::GameObject,
1130    ) -> () {
1131        let __mi = Self::destroy_dropdown_list_method_info();
1132        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> () =
1133            ::core::mem::transmute(__mi.method_ptr);
1134        __inner(this.into(), dropdown_list, ::core::option::Option::None)
1135    }
1136
1137    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `CreateItem`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1138    pub unsafe fn create_item(
1139        this: impl ::core::convert::Into<::unity::IlInstance>,
1140        item_template: crate::unity_engine::ui::dropdown::Dropdown_DropdownItem,
1141    ) -> crate::unity_engine::ui::dropdown::Dropdown_DropdownItem {
1142        let __mi = Self::create_item_method_info();
1143        let __inner: extern "C" fn(
1144            ::unity::IlInstance,
1145            crate::unity_engine::ui::dropdown::Dropdown_DropdownItem,
1146            ::unity::OptionalMethod,
1147        ) -> crate::unity_engine::ui::dropdown::Dropdown_DropdownItem = ::core::mem::transmute(__mi.method_ptr);
1148        __inner(this.into(), item_template, ::core::option::Option::None)
1149    }
1150
1151    #[doc = "Direct (non-virtual) call to `Dropdown`'s own `DestroyItem`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1152    pub unsafe fn destroy_item(
1153        this: impl ::core::convert::Into<::unity::IlInstance>,
1154        item: crate::unity_engine::ui::dropdown::Dropdown_DropdownItem,
1155    ) -> () {
1156        let __mi = Self::destroy_item_method_info();
1157        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::ui::dropdown::Dropdown_DropdownItem, ::unity::OptionalMethod) -> () =
1158            ::core::mem::transmute(__mi.method_ptr);
1159        __inner(this.into(), item, ::core::option::Option::None)
1160    }
1161}
1162
1163#[cfg(feature = "unity_engine-ui-dropdown")]
1164impl Dropdown {
1165    #[doc = "`.ctor()` — no args"]
1166    pub fn new() -> Self {
1167        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1168            panic!(
1169                "{}
1170::{}
1171 failed to instantiate",
1172                ::core::stringify!(Dropdown),
1173                ::core::stringify!(new),
1174            )
1175        });
1176        <Self as IDropdownMethods>::ctor(this);
1177        this
1178    }
1179}
1180
1181#[cfg(feature = "unity_engine-ui-dropdown")]
1182pub trait IDropdown_DropdownItemMethods: IDropdown_DropdownItem {
1183    #[doc = "`get_text()` overload"]
1184    fn get_text(self) -> crate::unity_engine::ui::text::Text {
1185        unsafe {
1186            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1187            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c190usize)as*mut u8,crate::unity_engine::ui::text::Text;
1188(Dropdown_DropdownItem)__receiver)
1189        }
1190    }
1191    #[doc = "`set_text(crate::unity_engine::ui::text::Text)` overload"]
1192    fn set_text(self, value: impl ::core::convert::Into<crate::unity_engine::ui::text::Text>) -> () {
1193        unsafe {
1194            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1195            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c1a0usize)as*mut u8,();
1196(Dropdown_DropdownItem)__receiver,(crate::unity_engine::ui::text::Text)::core::convert::Into::into(value))
1197        }
1198    }
1199    #[doc = "`get_image()` overload"]
1200    fn get_image(self) -> crate::unity_engine::ui::image::Image {
1201        unsafe {
1202            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1203            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c1b0usize)as*mut u8,crate::unity_engine::ui::image::Image;
1204(Dropdown_DropdownItem)__receiver)
1205        }
1206    }
1207    #[doc = "`set_image(crate::unity_engine::ui::image::Image)` overload"]
1208    fn set_image(self, value: impl ::core::convert::Into<crate::unity_engine::ui::image::Image>) -> () {
1209        unsafe {
1210            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1211            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c1c0usize)as*mut u8,();
1212(Dropdown_DropdownItem)__receiver,(crate::unity_engine::ui::image::Image)::core::convert::Into::into(value))
1213        }
1214    }
1215    #[doc = "`get_rectTransform()` overload"]
1216    fn get_rect_transform(self) -> crate::unity_engine::recttransform::RectTransform {
1217        unsafe {
1218            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1219            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c1d0usize)as*mut u8,crate::unity_engine::recttransform::RectTransform;
1220(Dropdown_DropdownItem)__receiver)
1221        }
1222    }
1223    #[doc = "`set_rectTransform(crate::unity_engine::recttransform::RectTransform)` overload"]
1224    fn set_rect_transform(self, value: impl ::core::convert::Into<crate::unity_engine::recttransform::RectTransform>) -> () {
1225        unsafe {
1226            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1227            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c1e0usize)as*mut u8,();
1228(Dropdown_DropdownItem)__receiver,(crate::unity_engine::recttransform::RectTransform)::core::convert::Into::into(value))
1229        }
1230    }
1231    #[doc = "`get_toggle()` overload"]
1232    fn get_toggle(self) -> crate::unity_engine::ui::toggle::Toggle {
1233        unsafe {
1234            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1235            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c1f0usize)as*mut u8,crate::unity_engine::ui::toggle::Toggle;
1236(Dropdown_DropdownItem)__receiver)
1237        }
1238    }
1239    #[doc = "`set_toggle(crate::unity_engine::ui::toggle::Toggle)` overload"]
1240    fn set_toggle(self, value: impl ::core::convert::Into<crate::unity_engine::ui::toggle::Toggle>) -> () {
1241        unsafe {
1242            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1243            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c200usize)as*mut u8,();
1244(Dropdown_DropdownItem)__receiver,(crate::unity_engine::ui::toggle::Toggle)::core::convert::Into::into(value))
1245        }
1246    }
1247    #[doc = "`OnPointerEnter(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
1248    fn on_pointer_enter(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
1249        unsafe {
1250            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1251            {
1252                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1253                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
1254                    panic!(
1255                        "unity: virtual slot {}
1256 out of range (vtable len {}
1257) on the runtime class behind {}
1258 (method `{}
1259`)",
1260                        6usize,
1261                        __vt.len(),
1262                        <Dropdown_DropdownItem as ::unity::ClassIdentity>::NAME,
1263                        "OnPointerEnter",
1264                    )
1265                });
1266                let __inner: extern "C" fn(
1267                    Dropdown_DropdownItem,
1268                    crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1269                    ::unity::OptionalMethod,
1270                ) -> () = ::core::mem::transmute(__vi.method_ptr);
1271                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1272                __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
1273            }
1274        }
1275    }
1276    #[doc = "`OnCancel(crate::unity_engine::event_systems::baseeventdata::BaseEventData)` overload"]
1277    fn on_cancel(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::baseeventdata::BaseEventData>) -> () {
1278        unsafe {
1279            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1280            {
1281                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1282                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
1283                    panic!(
1284                        "unity: virtual slot {}
1285 out of range (vtable len {}
1286) on the runtime class behind {}
1287 (method `{}
1288`)",
1289                        7usize,
1290                        __vt.len(),
1291                        <Dropdown_DropdownItem as ::unity::ClassIdentity>::NAME,
1292                        "OnCancel",
1293                    )
1294                });
1295                let __inner: extern "C" fn(
1296                    Dropdown_DropdownItem,
1297                    crate::unity_engine::event_systems::baseeventdata::BaseEventData,
1298                    ::unity::OptionalMethod,
1299                ) -> () = ::core::mem::transmute(__vi.method_ptr);
1300                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1301                __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
1302            }
1303        }
1304    }
1305    #[doc = "`.ctor()` overload"]
1306    fn ctor(self) -> () {
1307        unsafe {
1308            let __receiver = <Dropdown_DropdownItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1309            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c360usize)as*mut u8,();
1310(Dropdown_DropdownItem)__receiver)
1311        }
1312    }
1313}
1314
1315#[cfg(feature = "unity_engine-ui-dropdown")]
1316impl<__T: IDropdown_DropdownItem> IDropdown_DropdownItemMethods for __T {}
1317
1318#[cfg(feature = "unity_engine-ui-dropdown")]
1319impl Dropdown_DropdownItem {
1320    pub fn get_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1321        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1322    }
1323
1324    pub fn set_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1325        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1326    }
1327
1328    pub fn get_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1329        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1330    }
1331
1332    pub fn set_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1333        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1334    }
1335
1336    pub fn get_rect_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1337        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1338    }
1339
1340    pub fn set_rect_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1341        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1342    }
1343
1344    pub fn get_toggle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1345        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1346    }
1347
1348    pub fn set_toggle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1349        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1350    }
1351
1352    pub fn on_pointer_enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1353        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1354    }
1355
1356    pub fn on_cancel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1357        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1358    }
1359
1360    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1361        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1362    }
1363}
1364
1365#[cfg(feature = "unity_engine-ui-dropdown")]
1366impl Dropdown_DropdownItem {
1367    #[doc = "Direct (non-virtual) call to `Dropdown_DropdownItem`'s own `OnPointerEnter`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1368    pub unsafe fn on_pointer_enter(
1369        this: impl ::core::convert::Into<::unity::IlInstance>,
1370        event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1371    ) -> () {
1372        let __mi = Self::on_pointer_enter_method_info();
1373        let __inner: extern "C" fn(
1374            ::unity::IlInstance,
1375            crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1376            ::unity::OptionalMethod,
1377        ) -> () = ::core::mem::transmute(__mi.method_ptr);
1378        __inner(this.into(), event_data, ::core::option::Option::None)
1379    }
1380
1381    #[doc = "Direct (non-virtual) call to `Dropdown_DropdownItem`'s own `OnCancel`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1382    pub unsafe fn on_cancel(
1383        this: impl ::core::convert::Into<::unity::IlInstance>,
1384        event_data: crate::unity_engine::event_systems::baseeventdata::BaseEventData,
1385    ) -> () {
1386        let __mi = Self::on_cancel_method_info();
1387        let __inner: extern "C" fn(
1388            ::unity::IlInstance,
1389            crate::unity_engine::event_systems::baseeventdata::BaseEventData,
1390            ::unity::OptionalMethod,
1391        ) -> () = ::core::mem::transmute(__mi.method_ptr);
1392        __inner(this.into(), event_data, ::core::option::Option::None)
1393    }
1394}
1395
1396#[cfg(feature = "unity_engine-ui-dropdown")]
1397impl Dropdown_DropdownItem {
1398    #[doc = "`.ctor()` — no args"]
1399    pub fn new() -> Self {
1400        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1401            panic!(
1402                "{}
1403::{}
1404 failed to instantiate",
1405                ::core::stringify!(Dropdown_DropdownItem),
1406                ::core::stringify!(new),
1407            )
1408        });
1409        <Self as IDropdown_DropdownItemMethods>::ctor(this);
1410        this
1411    }
1412}
1413
1414#[cfg(feature = "unity_engine-ui-dropdown")]
1415pub trait IDropdown_DropdownEventMethods: IDropdown_DropdownEvent {
1416    #[doc = "`.ctor()` overload"]
1417    fn ctor(self) -> () {
1418        unsafe {
1419            let __receiver =
1420                <Dropdown_DropdownEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1421            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c130usize)as*mut u8,();
1422(Dropdown_DropdownEvent)__receiver)
1423        }
1424    }
1425}
1426
1427#[cfg(feature = "unity_engine-ui-dropdown")]
1428impl<__T: IDropdown_DropdownEvent> IDropdown_DropdownEventMethods for __T {}
1429
1430#[cfg(feature = "unity_engine-ui-dropdown")]
1431impl Dropdown_DropdownEvent {
1432    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1433        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1434    }
1435}
1436
1437#[cfg(feature = "unity_engine-ui-dropdown")]
1438impl Dropdown_DropdownEvent {
1439    #[doc = "`.ctor()` — no args"]
1440    pub fn new() -> Self {
1441        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1442            panic!(
1443                "{}
1444::{}
1445 failed to instantiate",
1446                ::core::stringify!(Dropdown_DropdownEvent),
1447                ::core::stringify!(new),
1448            )
1449        });
1450        <Self as IDropdown_DropdownEventMethods>::ctor(this);
1451        this
1452    }
1453}
1454
1455#[cfg(feature = "unity_engine-ui-dropdown")]
1456pub trait IDropdown_OptionDataMethods: IDropdown_OptionData {
1457    #[doc = "`get_text()` overload"]
1458    fn get_text(self) -> ::unity::Il2CppString {
1459        unsafe {
1460            let __receiver = <Dropdown_OptionData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1461            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c370usize)as*mut u8, ::unity::Il2CppString;
1462(Dropdown_OptionData)__receiver)
1463        }
1464    }
1465    #[doc = "`set_text(::unity::Il2CppString)` overload"]
1466    fn set_text(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1467        unsafe {
1468            let __receiver = <Dropdown_OptionData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1469            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c380usize)as*mut u8,();
1470(Dropdown_OptionData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
1471        }
1472    }
1473    #[doc = "`get_image()` overload"]
1474    fn get_image(self) -> crate::unity_engine::sprite::Sprite {
1475        unsafe {
1476            let __receiver = <Dropdown_OptionData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1477            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c390usize)as*mut u8,crate::unity_engine::sprite::Sprite;
1478(Dropdown_OptionData)__receiver)
1479        }
1480    }
1481    #[doc = "`set_image(crate::unity_engine::sprite::Sprite)` overload"]
1482    fn set_image(self, value: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>) -> () {
1483        unsafe {
1484            let __receiver = <Dropdown_OptionData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1485            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c3a0usize)as*mut u8,();
1486(Dropdown_OptionData)__receiver,(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(value))
1487        }
1488    }
1489    #[doc = "`.ctor()` overload"]
1490    fn ctor(self) -> () {
1491        unsafe {
1492            let __receiver = <Dropdown_OptionData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1493            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c3b0usize)as*mut u8,();
1494(Dropdown_OptionData)__receiver)
1495        }
1496    }
1497    #[doc = "`.ctor(::unity::Il2CppString)` overload"]
1498    fn ctor_2(self, text: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1499        unsafe {
1500            let __receiver = <Dropdown_OptionData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1501            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c3c0usize)as*mut u8,();
1502(Dropdown_OptionData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text))
1503        }
1504    }
1505    #[doc = "`.ctor(crate::unity_engine::sprite::Sprite)` overload"]
1506    fn ctor_3(self, image: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>) -> () {
1507        unsafe {
1508            let __receiver = <Dropdown_OptionData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1509            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c400usize)as*mut u8,();
1510(Dropdown_OptionData)__receiver,(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(image))
1511        }
1512    }
1513    #[doc = "`.ctor(::unity::Il2CppString, crate::unity_engine::sprite::Sprite)` overload"]
1514    fn ctor_4(
1515        self,
1516        text: impl ::core::convert::Into<::unity::Il2CppString>,
1517        image: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>,
1518    ) -> () {
1519        unsafe {
1520            let __receiver = <Dropdown_OptionData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1521            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c440usize)as*mut u8,();
1522(Dropdown_OptionData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text),(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(image))
1523        }
1524    }
1525}
1526
1527#[cfg(feature = "unity_engine-ui-dropdown")]
1528impl<__T: IDropdown_OptionData> IDropdown_OptionDataMethods for __T {}
1529
1530#[cfg(feature = "unity_engine-ui-dropdown")]
1531impl Dropdown_OptionData {
1532    pub fn get_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1533        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1534    }
1535
1536    pub fn set_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1537        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1538    }
1539
1540    pub fn get_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1541        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1542    }
1543
1544    pub fn set_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1545        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1546    }
1547
1548    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1549        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1550    }
1551
1552    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1553        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1554    }
1555
1556    pub fn ctor_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1557        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1558    }
1559
1560    pub fn ctor_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1561        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1562    }
1563}
1564
1565#[cfg(feature = "unity_engine-ui-dropdown")]
1566impl Dropdown_OptionData {
1567    #[doc = "`.ctor()` — no args"]
1568    pub fn new() -> Self {
1569        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1570            panic!(
1571                "{}
1572::{}
1573 failed to instantiate",
1574                ::core::stringify!(Dropdown_OptionData),
1575                ::core::stringify!(new),
1576            )
1577        });
1578        <Self as IDropdown_OptionDataMethods>::ctor(this);
1579        this
1580    }
1581
1582    #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
1583    pub fn new_2(text: ::unity::Il2CppString) -> Self {
1584        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1585            panic!(
1586                "{}
1587::{}
1588 failed to instantiate",
1589                ::core::stringify!(Dropdown_OptionData),
1590                ::core::stringify!(new_2),
1591            )
1592        });
1593        <Self as IDropdown_OptionDataMethods>::ctor_2(this, text);
1594        this
1595    }
1596
1597    #[doc = "`.ctor(crate::unity_engine::sprite::Sprite)` — overload selector"]
1598    pub fn new_3(image: crate::unity_engine::sprite::Sprite) -> Self {
1599        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1600            panic!(
1601                "{}
1602::{}
1603 failed to instantiate",
1604                ::core::stringify!(Dropdown_OptionData),
1605                ::core::stringify!(new_3),
1606            )
1607        });
1608        <Self as IDropdown_OptionDataMethods>::ctor_3(this, image);
1609        this
1610    }
1611
1612    #[doc = "`.ctor(::unity::Il2CppString, crate::unity_engine::sprite::Sprite)` — overload selector"]
1613    pub fn new_4(text: ::unity::Il2CppString, image: crate::unity_engine::sprite::Sprite) -> Self {
1614        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1615            panic!(
1616                "{}
1617::{}
1618 failed to instantiate",
1619                ::core::stringify!(Dropdown_OptionData),
1620                ::core::stringify!(new_4),
1621            )
1622        });
1623        <Self as IDropdown_OptionDataMethods>::ctor_4(this, text, image);
1624        this
1625    }
1626}
1627
1628#[cfg(feature = "unity_engine-ui-dropdown")]
1629pub trait IDropdown_OptionDataListMethods: IDropdown_OptionDataList {
1630    #[doc = "`get_options()` overload"]
1631    fn get_options(self) -> crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData> {
1632        unsafe {
1633            let __receiver =
1634                <Dropdown_OptionDataList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1635            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c490usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData> ;
1636(Dropdown_OptionDataList)__receiver)
1637        }
1638    }
1639    #[doc = "`set_options(crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>)` overload"]
1640    fn set_options(
1641        self,
1642        value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>>,
1643    ) -> () {
1644        unsafe {
1645            let __receiver =
1646                <Dropdown_OptionDataList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1647            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c4a0usize)as*mut u8,();
1648(Dropdown_OptionDataList)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::dropdown::Dropdown_OptionData>)::core::convert::Into::into(value))
1649        }
1650    }
1651    #[doc = "`.ctor()` overload"]
1652    fn ctor(self) -> () {
1653        unsafe {
1654            let __receiver =
1655                <Dropdown_OptionDataList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1656            ::unity::il2cpp_call!((::unity::module_base()+0x3c0c4b0usize)as*mut u8,();
1657(Dropdown_OptionDataList)__receiver)
1658        }
1659    }
1660}
1661
1662#[cfg(feature = "unity_engine-ui-dropdown")]
1663impl<__T: IDropdown_OptionDataList> IDropdown_OptionDataListMethods for __T {}
1664
1665#[cfg(feature = "unity_engine-ui-dropdown")]
1666impl Dropdown_OptionDataList {
1667    pub fn get_options_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1668        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1669    }
1670
1671    pub fn set_options_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1672        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1673    }
1674
1675    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1676        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1677    }
1678}
1679
1680#[cfg(feature = "unity_engine-ui-dropdown")]
1681impl Dropdown_OptionDataList {
1682    #[doc = "`.ctor()` — no args"]
1683    pub fn new() -> Self {
1684        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1685            panic!(
1686                "{}
1687::{}
1688 failed to instantiate",
1689                ::core::stringify!(Dropdown_OptionDataList),
1690                ::core::stringify!(new),
1691            )
1692        });
1693        <Self as IDropdown_OptionDataListMethods>::ctor(this);
1694        this
1695    }
1696}
1697
1698#[cfg(feature = "unity_engine-ui-dropdown")]
1699#[doc(hidden)]
1700pub mod prelude {
1701    pub use super::{
1702        Dropdown, Dropdown_DropdownEvent, Dropdown_DropdownItem, Dropdown_OptionData, Dropdown_OptionDataList, IDropdown, IDropdownMethods,
1703        IDropdown_DropdownEvent, IDropdown_DropdownEventMethods, IDropdown_DropdownItem, IDropdown_DropdownItemMethods, IDropdown_OptionData,
1704        IDropdown_OptionDataList, IDropdown_OptionDataListMethods, IDropdown_OptionDataMethods,
1705    };
1706    #[cfg(feature = "system-object")]
1707    pub use crate::system::object::IObjectMethods;
1708    #[cfg(feature = "unity_engine-behaviour")]
1709    pub use crate::unity_engine::behaviour::IBehaviourMethods;
1710    #[cfg(feature = "unity_engine-component")]
1711    pub use crate::unity_engine::component::IComponentMethods;
1712    #[cfg(feature = "unity_engine-event_systems-uibehaviour")]
1713    pub use crate::unity_engine::event_systems::uibehaviour::IUIBehaviourMethods;
1714    #[cfg(feature = "unity_engine-events-unityevent_1")]
1715    pub use crate::unity_engine::events::unityevent_1::IUnityEvent_1Methods;
1716    #[cfg(feature = "unity_engine-events-unityeventbase")]
1717    pub use crate::unity_engine::events::unityeventbase::IUnityEventBaseMethods;
1718    #[cfg(feature = "unity_engine-monobehaviour")]
1719    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
1720    #[cfg(feature = "unity_engine-object_2")]
1721    pub use crate::unity_engine::object_2::IObject_2Methods;
1722    #[cfg(feature = "unity_engine-ui-selectable")]
1723    pub use crate::unity_engine::ui::selectable::ISelectableMethods;
1724    pub use crate::{
1725        system::object::IObject,
1726        unity_engine::{
1727            behaviour::IBehaviour,
1728            component::IComponent,
1729            event_systems::uibehaviour::IUIBehaviour,
1730            events::{unityevent_1::IUnityEvent_1, unityeventbase::IUnityEventBase},
1731            monobehaviour::IMonoBehaviour,
1732            object_2::IObject_2,
1733            ui::selectable::ISelectable,
1734        },
1735    };
1736}