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