1#[cfg(feature = "unity_engine-ui-inputfield-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::{
10 delegate::{Delegate, IDelegate},
11 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
12 object::{IObject, Object},
13 r#enum::{Enum, IEnum},
14 valuetype::{IValueType, ValueType},
15 },
16 unity_engine::{
17 behaviour::{Behaviour, IBehaviour},
18 component::{Component, IComponent},
19 event_systems::uibehaviour::{IUIBehaviour, UIBehaviour},
20 events::{
21 unityevent_1::{IUnityEvent_1, UnityEvent_1},
22 unityeventbase::{IUnityEventBase, UnityEventBase},
23 },
24 monobehaviour::{IMonoBehaviour, MonoBehaviour},
25 object_2::{IObject_2, Object_2},
26 ui::selectable::{ISelectable, Selectable},
27 },
28 };
29
30 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/inputfield/InputField_OnChangeEvent.md"))]
31 #[::unity::class(namespace = "UnityEngine.UI", name = "InputField.OnChangeEvent")]
32 #[parent(crate::unity_engine::events::unityevent_1::UnityEvent_1< ::unity::Il2CppString>)]
33 pub struct InputField_OnChangeEvent {}
34
35 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/inputfield/InputField_OnValidateInput.md"))]
36 #[::unity::class(namespace = "UnityEngine.UI", name = "InputField.OnValidateInput")]
37 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
38 pub struct InputField_OnValidateInput {}
39
40 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/inputfield/InputField_CharacterValidation.md"))]
41 #[repr(C)]
42 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
43 pub struct InputField_CharacterValidation {
44 pub value: i32,
45 }
46 impl ::unity::ClassIdentity for InputField_CharacterValidation {
47 const NAME: &'static str = "InputField.CharacterValidation";
48 const NAMESPACE: &'static str = "UnityEngine.UI";
49
50 fn class() -> ::unity::Class {
51 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
52 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
53 }
54 }
55 impl ::unity::IlType for InputField_CharacterValidation {
56 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
57 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
58 }
59 }
60 impl InputField_CharacterValidation {
61 pub fn none() -> Self {
62 Self { value: 0 }
63 }
64
65 pub fn integer() -> Self {
66 Self { value: 1 }
67 }
68
69 pub fn decimal() -> Self {
70 Self { value: 2 }
71 }
72
73 pub fn alphanumeric() -> Self {
74 Self { value: 3 }
75 }
76
77 pub fn name() -> Self {
78 Self { value: 4 }
79 }
80
81 pub fn email_address() -> Self {
82 Self { value: 5 }
83 }
84 }
85
86 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/inputfield/InputField.md"))]
87 #[::unity::class(namespace = "UnityEngine.UI", name = "InputField")]
88 #[parent(crate::unity_engine::ui::selectable::Selectable)]
89 pub struct InputField {
90 #[offset(248)]
91 #[rename(name = "m_Keyboard")]
92 pub m_keyboard: crate::unity_engine::touchscreenkeyboard::TouchScreenKeyboard,
93 #[static_field]
94 #[rename(name = "kSeparators")]
95 pub k_separators: ::unity::Array<u16>,
96 #[offset(256)]
97 #[rename(name = "m_TextComponent")]
98 pub m_text_component: crate::unity_engine::ui::text::Text,
99 #[offset(264)]
100 #[rename(name = "m_Placeholder")]
101 pub m_placeholder: crate::unity_engine::ui::graphic::Graphic,
102 #[offset(272)]
103 #[rename(name = "m_ContentType")]
104 pub m_content_type: crate::unity_engine::ui::inputfield::InputField_ContentType,
105 #[offset(276)]
106 #[rename(name = "m_InputType")]
107 pub m_input_type: crate::unity_engine::ui::inputfield::InputField_InputType,
108 #[offset(280)]
109 #[rename(name = "m_AsteriskChar")]
110 pub m_asterisk_char: u16,
111 #[offset(284)]
112 #[rename(name = "m_KeyboardType")]
113 pub m_keyboard_type: crate::unity_engine::touchscreenkeyboardtype::TouchScreenKeyboardType,
114 #[offset(288)]
115 #[rename(name = "m_LineType")]
116 pub m_line_type: crate::unity_engine::ui::inputfield::InputField_LineType,
117 #[offset(292)]
118 #[rename(name = "m_HideMobileInput")]
119 pub m_hide_mobile_input: bool,
120 #[offset(296)]
121 #[rename(name = "m_CharacterValidation")]
122 pub m_character_validation: crate::unity_engine::ui::inputfield::InputField_CharacterValidation,
123 #[offset(300)]
124 #[rename(name = "m_CharacterLimit")]
125 pub m_character_limit: i32,
126 #[offset(304)]
127 #[rename(name = "m_OnEndEdit")]
128 pub m_on_end_edit: crate::unity_engine::ui::inputfield::InputField_SubmitEvent,
129 #[offset(312)]
130 #[rename(name = "m_OnValueChanged")]
131 pub m_on_value_changed: crate::unity_engine::ui::inputfield::InputField_OnChangeEvent,
132 #[offset(320)]
133 #[rename(name = "m_OnValidateInput")]
134 pub m_on_validate_input: crate::unity_engine::ui::inputfield::InputField_OnValidateInput,
135 #[offset(328)]
136 #[rename(name = "m_CaretColor")]
137 pub m_caret_color: crate::unity_engine::color::Color,
138 #[offset(344)]
139 #[rename(name = "m_CustomCaretColor")]
140 pub m_custom_caret_color: bool,
141 #[offset(348)]
142 #[rename(name = "m_SelectionColor")]
143 pub m_selection_color: crate::unity_engine::color::Color,
144 #[offset(368)]
145 #[rename(name = "m_Text")]
146 pub m_text: ::unity::Il2CppString,
147 #[offset(376)]
148 #[rename(name = "m_CaretBlinkRate")]
149 pub m_caret_blink_rate: f32,
150 #[offset(380)]
151 #[rename(name = "m_CaretWidth")]
152 pub m_caret_width: i32,
153 #[offset(384)]
154 #[rename(name = "m_ReadOnly")]
155 pub m_read_only: bool,
156 #[offset(385)]
157 #[rename(name = "m_ShouldActivateOnSelect")]
158 pub m_should_activate_on_select: bool,
159 #[offset(388)]
160 #[rename(name = "m_CaretPosition")]
161 pub m_caret_position: i32,
162 #[offset(392)]
163 #[rename(name = "m_CaretSelectPosition")]
164 pub m_caret_select_position: i32,
165 #[offset(400)]
166 #[rename(name = "caretRectTrans")]
167 pub caret_rect_trans: crate::unity_engine::recttransform::RectTransform,
168 #[offset(408)]
169 #[rename(name = "m_CursorVerts")]
170 pub m_cursor_verts: ::unity::Array<crate::unity_engine::uivertex::UIVertex>,
171 #[offset(416)]
172 #[rename(name = "m_InputTextCache")]
173 pub m_input_text_cache: crate::unity_engine::textgenerator::TextGenerator,
174 #[offset(424)]
175 #[rename(name = "m_CachedInputRenderer")]
176 pub m_cached_input_renderer: crate::unity_engine::canvasrenderer::CanvasRenderer,
177 #[offset(432)]
178 #[rename(name = "m_PreventFontCallback")]
179 pub m_prevent_font_callback: bool,
180 #[offset(440)]
181 #[rename(name = "m_Mesh")]
182 pub m_mesh: crate::unity_engine::mesh::Mesh,
183 #[offset(448)]
184 #[rename(name = "m_AllowInput")]
185 pub m_allow_input: bool,
186 #[offset(449)]
187 #[rename(name = "m_ShouldActivateNextUpdate")]
188 pub m_should_activate_next_update: bool,
189 #[offset(450)]
190 #[rename(name = "m_UpdateDrag")]
191 pub m_update_drag: bool,
192 #[offset(451)]
193 #[rename(name = "m_DragPositionOutOfBounds")]
194 pub m_drag_position_out_of_bounds: bool,
195 #[static_field]
196 #[rename(name = "kHScrollSpeed")]
197 pub k_h_scroll_speed: f32,
198 #[static_field]
199 #[rename(name = "kVScrollSpeed")]
200 pub k_v_scroll_speed: f32,
201 #[offset(452)]
202 #[rename(name = "m_CaretVisible")]
203 pub m_caret_visible: bool,
204 #[offset(456)]
205 #[rename(name = "m_BlinkCoroutine")]
206 pub m_blink_coroutine: crate::unity_engine::coroutine::Coroutine,
207 #[offset(464)]
208 #[rename(name = "m_BlinkStartTime")]
209 pub m_blink_start_time: f32,
210 #[offset(468)]
211 #[rename(name = "m_DrawStart")]
212 pub m_draw_start: i32,
213 #[offset(472)]
214 #[rename(name = "m_DrawEnd")]
215 pub m_draw_end: i32,
216 #[offset(480)]
217 #[rename(name = "m_DragCoroutine")]
218 pub m_drag_coroutine: crate::unity_engine::coroutine::Coroutine,
219 #[offset(488)]
220 #[rename(name = "m_OriginalText")]
221 pub m_original_text: ::unity::Il2CppString,
222 #[offset(496)]
223 #[rename(name = "m_WasCanceled")]
224 pub m_was_canceled: bool,
225 #[offset(497)]
226 #[rename(name = "m_HasDoneFocusTransition")]
227 pub m_has_done_focus_transition: bool,
228 #[offset(504)]
229 #[rename(name = "m_WaitForSecondsRealtime")]
230 pub m_wait_for_seconds_realtime: crate::unity_engine::waitforsecondsrealtime::WaitForSecondsRealtime,
231 #[offset(512)]
232 #[rename(name = "m_TouchKeyboardAllowsInPlaceEditing")]
233 pub m_touch_keyboard_allows_in_place_editing: bool,
234 #[static_field]
235 #[rename(name = "kEmailSpecialCharacters")]
236 pub k_email_special_characters: ::unity::Il2CppString,
237 #[offset(520)]
238 #[rename(name = "m_ProcessingEvent")]
239 pub m_processing_event: crate::unity_engine::event::Event,
240 #[static_field]
241 #[rename(name = "k_MaxTextLength")]
242 pub k_max_text_length: i32,
243 }
244
245 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/inputfield/InputField_InputType.md"))]
246 #[repr(C)]
247 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
248 pub struct InputField_InputType {
249 pub value: i32,
250 }
251 impl ::unity::ClassIdentity for InputField_InputType {
252 const NAME: &'static str = "InputField.InputType";
253 const NAMESPACE: &'static str = "UnityEngine.UI";
254
255 fn class() -> ::unity::Class {
256 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
257 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
258 }
259 }
260 impl ::unity::IlType for InputField_InputType {
261 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
262 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
263 }
264 }
265 impl InputField_InputType {
266 pub fn standard() -> Self {
267 Self { value: 0 }
268 }
269
270 pub fn auto_correct() -> Self {
271 Self { value: 1 }
272 }
273
274 pub fn password() -> Self {
275 Self { value: 2 }
276 }
277 }
278
279 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/inputfield/InputField_ContentType.md"))]
280 #[repr(C)]
281 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
282 pub struct InputField_ContentType {
283 pub value: i32,
284 }
285 impl ::unity::ClassIdentity for InputField_ContentType {
286 const NAME: &'static str = "InputField.ContentType";
287 const NAMESPACE: &'static str = "UnityEngine.UI";
288
289 fn class() -> ::unity::Class {
290 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
291 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
292 }
293 }
294 impl ::unity::IlType for InputField_ContentType {
295 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
296 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
297 }
298 }
299 impl InputField_ContentType {
300 pub fn standard() -> Self {
301 Self { value: 0 }
302 }
303
304 pub fn autocorrected() -> Self {
305 Self { value: 1 }
306 }
307
308 pub fn integer_number() -> Self {
309 Self { value: 2 }
310 }
311
312 pub fn decimal_number() -> Self {
313 Self { value: 3 }
314 }
315
316 pub fn alphanumeric() -> Self {
317 Self { value: 4 }
318 }
319
320 pub fn name() -> Self {
321 Self { value: 5 }
322 }
323
324 pub fn email_address() -> Self {
325 Self { value: 6 }
326 }
327
328 pub fn password() -> Self {
329 Self { value: 7 }
330 }
331
332 pub fn pin() -> Self {
333 Self { value: 8 }
334 }
335
336 pub fn custom() -> Self {
337 Self { value: 9 }
338 }
339 }
340
341 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/inputfield/InputField_SubmitEvent.md"))]
342 #[::unity::class(namespace = "UnityEngine.UI", name = "InputField.SubmitEvent")]
343 #[parent(crate::unity_engine::events::unityevent_1::UnityEvent_1< ::unity::Il2CppString>)]
344 pub struct InputField_SubmitEvent {}
345
346 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/inputfield/InputField_EditState.md"))]
347 #[repr(C)]
348 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
349 pub struct InputField_EditState {
350 pub value: i32,
351 }
352 impl ::unity::ClassIdentity for InputField_EditState {
353 const NAME: &'static str = "InputField.EditState";
354 const NAMESPACE: &'static str = "UnityEngine.UI";
355
356 fn class() -> ::unity::Class {
357 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
358 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
359 }
360 }
361 impl ::unity::IlType for InputField_EditState {
362 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
363 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
364 }
365 }
366 impl InputField_EditState {
367 pub fn r#continue() -> Self {
368 Self { value: 0 }
369 }
370
371 pub fn finish() -> Self {
372 Self { value: 1 }
373 }
374 }
375
376 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/inputfield/InputField_LineType.md"))]
377 #[repr(C)]
378 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
379 pub struct InputField_LineType {
380 pub value: i32,
381 }
382 impl ::unity::ClassIdentity for InputField_LineType {
383 const NAME: &'static str = "InputField.LineType";
384 const NAMESPACE: &'static str = "UnityEngine.UI";
385
386 fn class() -> ::unity::Class {
387 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
388 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
389 }
390 }
391 impl ::unity::IlType for InputField_LineType {
392 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
393 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
394 }
395 }
396 impl InputField_LineType {
397 pub fn single_line() -> Self {
398 Self { value: 0 }
399 }
400
401 pub fn multi_line_submit() -> Self {
402 Self { value: 1 }
403 }
404
405 pub fn multi_line_newline() -> Self {
406 Self { value: 2 }
407 }
408 }
409}
410
411#[cfg(feature = "unity_engine-ui-inputfield-types")]
412pub use __types::*;
413
414#[cfg(feature = "unity_engine-ui-inputfield")]
415pub trait IInputField_OnChangeEventMethods: IInputField_OnChangeEvent {
416 #[doc = "`.ctor()` overload"]
417 fn ctor(self) -> () {
418 unsafe {
419 let __receiver =
420 <InputField_OnChangeEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
421 ::unity::il2cpp_call!((::unity::module_base()+0x3c0cd80usize)as*mut u8,();
422(InputField_OnChangeEvent)__receiver)
423 }
424 }
425}
426
427#[cfg(feature = "unity_engine-ui-inputfield")]
428impl<__T: IInputField_OnChangeEvent> IInputField_OnChangeEventMethods for __T {}
429
430#[cfg(feature = "unity_engine-ui-inputfield")]
431impl InputField_OnChangeEvent {
432 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
433 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
434 }
435}
436
437#[cfg(feature = "unity_engine-ui-inputfield")]
438impl InputField_OnChangeEvent {
439 #[doc = "`.ctor()` — no args"]
440 pub fn new() -> Self {
441 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
442 panic!(
443 "{}
444::{}
445 failed to instantiate",
446 ::core::stringify!(InputField_OnChangeEvent),
447 ::core::stringify!(new),
448 )
449 });
450 <Self as IInputField_OnChangeEventMethods>::ctor(this);
451 this
452 }
453}
454
455#[cfg(feature = "unity_engine-ui-inputfield")]
456pub trait IInputField_OnValidateInputMethods: IInputField_OnValidateInput {
457 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
458 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
459 unsafe {
460 let __receiver =
461 <InputField_OnValidateInput as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
462 ::unity::il2cpp_call!((::unity::module_base()+0x3c0cde0usize)as*mut u8,();
463(InputField_OnValidateInput)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
464 }
465 }
466 #[doc = "`Invoke(::unity::Il2CppString, i32, u16)` overload"]
467 fn invoke(
468 self,
469 text: impl ::core::convert::Into<::unity::Il2CppString>,
470 char_index: impl ::core::convert::Into<i32>,
471 added_char: impl ::core::convert::Into<u16>,
472 ) -> u16 {
473 unsafe {
474 let __receiver =
475 <InputField_OnValidateInput as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
476 {
477 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
478 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
479 panic!(
480 "unity: virtual slot {}
481 out of range (vtable len {}
482) on the runtime class behind {}
483 (method `{}
484`)",
485 13usize,
486 __vt.len(),
487 <InputField_OnValidateInput as ::unity::ClassIdentity>::NAME,
488 "Invoke",
489 )
490 });
491 let __inner: extern "C" fn(InputField_OnValidateInput, ::unity::Il2CppString, i32, u16, ::unity::OptionalMethod) -> u16 =
492 ::core::mem::transmute(__vi.method_ptr);
493 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
494 __inner(
495 __receiver,
496 ::core::convert::Into::into(text),
497 ::core::convert::Into::into(char_index),
498 ::core::convert::Into::into(added_char),
499 __mi,
500 )
501 }
502 }
503 }
504}
505
506#[cfg(feature = "unity_engine-ui-inputfield")]
507impl<__T: IInputField_OnValidateInput> IInputField_OnValidateInputMethods for __T {}
508
509#[cfg(feature = "unity_engine-ui-inputfield")]
510impl InputField_OnValidateInput {
511 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
513 }
514
515 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
517 }
518}
519
520#[cfg(feature = "unity_engine-ui-inputfield")]
521impl InputField_OnValidateInput {
522 #[doc = "Direct (non-virtual) call to `InputField_OnValidateInput`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
523 pub unsafe fn invoke(
524 this: impl ::core::convert::Into<::unity::IlInstance>,
525 text: ::unity::Il2CppString,
526 char_index: i32,
527 added_char: u16,
528 ) -> u16 {
529 let __mi = Self::invoke_method_info();
530 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, i32, u16, ::unity::OptionalMethod) -> u16 =
531 ::core::mem::transmute(__mi.method_ptr);
532 __inner(this.into(), text, char_index, added_char, ::core::option::Option::None)
533 }
534}
535
536#[cfg(feature = "unity_engine-ui-inputfield")]
537impl InputField_OnValidateInput {
538 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
539 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
540 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
541 panic!(
542 "{}
543::{}
544 failed to instantiate",
545 ::core::stringify!(InputField_OnValidateInput),
546 ::core::stringify!(new),
547 )
548 });
549 <Self as IInputField_OnValidateInputMethods>::ctor(this, object, method);
550 this
551 }
552}
553
554#[cfg(feature = "unity_engine-ui-inputfield")]
555impl InputField {
556 #[doc = "`get_clipboard()` overload"]
557 pub fn get_clipboard() -> ::unity::Il2CppString {
558 unsafe {
559 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7970usize)as*mut u8, ::unity::Il2CppString;
560 )
561 }
562 }
563
564 #[doc = "`set_clipboard(::unity::Il2CppString)` overload"]
565 pub fn set_clipboard(value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
566 unsafe {
567 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7980usize)as*mut u8,();
568(::unity::Il2CppString)::core::convert::Into::into(value))
569 }
570 }
571
572 #[doc = "`GetLineStartPosition(crate::unity_engine::textgenerator::TextGenerator, i32)` overload"]
573 pub fn get_line_start_position(
574 gen: impl ::core::convert::Into<crate::unity_engine::textgenerator::TextGenerator>,
575 line: impl ::core::convert::Into<i32>,
576 ) -> i32 {
577 unsafe {
578 ::unity::il2cpp_call!((::unity::module_base()+0x3bfd640usize)as*mut u8,i32;
579(crate::unity_engine::textgenerator::TextGenerator)::core::convert::Into::into(gen),(i32)::core::convert::Into::into(line))
580 }
581 }
582
583 #[doc = "`GetLineEndPosition(crate::unity_engine::textgenerator::TextGenerator, i32)` overload"]
584 pub fn get_line_end_position(
585 gen: impl ::core::convert::Into<crate::unity_engine::textgenerator::TextGenerator>,
586 line: impl ::core::convert::Into<i32>,
587 ) -> i32 {
588 unsafe {
589 ::unity::il2cpp_call!((::unity::module_base()+0x3bf97c0usize)as*mut u8,i32;
590(crate::unity_engine::textgenerator::TextGenerator)::core::convert::Into::into(gen),(i32)::core::convert::Into::into(line))
591 }
592 }
593
594 #[doc = "`.cctor()` overload"]
595 pub fn cctor() -> () {
596 unsafe {
597 ::unity::il2cpp_call!((::unity::module_base()+0x3bff480usize)as*mut u8,();
598 )
599 }
600 }
601}
602
603#[cfg(feature = "unity_engine-ui-inputfield")]
604pub trait IInputFieldMethods: IInputField {
605 #[doc = "`get_input()` overload"]
606 fn get_input(self) -> crate::unity_engine::event_systems::baseinput::BaseInput {
607 unsafe {
608 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
609 ::unity::il2cpp_call!((::unity::module_base()+0x3bf4940usize)as*mut u8,crate::unity_engine::event_systems::baseinput::BaseInput;
610(InputField)__receiver)
611 }
612 }
613 #[doc = "`get_compositionString()` overload"]
614 fn get_composition_string(self) -> ::unity::Il2CppString {
615 unsafe {
616 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
617 ::unity::il2cpp_call!((::unity::module_base()+0x3bf4aa0usize)as*mut u8, ::unity::Il2CppString;
618(InputField)__receiver)
619 }
620 }
621 #[doc = "`.ctor()` overload"]
622 fn ctor(self) -> () {
623 unsafe {
624 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
625 ::unity::il2cpp_call!((::unity::module_base()+0x3bf4b40usize)as*mut u8,();
626(InputField)__receiver)
627 }
628 }
629 #[doc = "`get_mesh()` overload"]
630 fn get_mesh(self) -> crate::unity_engine::mesh::Mesh {
631 unsafe {
632 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
633 ::unity::il2cpp_call!((::unity::module_base()+0x3bf4e40usize)as*mut u8,crate::unity_engine::mesh::Mesh;
634(InputField)__receiver)
635 }
636 }
637 #[doc = "`get_cachedInputTextGenerator()` overload"]
638 fn get_cached_input_text_generator(self) -> crate::unity_engine::textgenerator::TextGenerator {
639 unsafe {
640 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
641 ::unity::il2cpp_call!((::unity::module_base()+0x3bf4f00usize)as*mut u8,crate::unity_engine::textgenerator::TextGenerator;
642(InputField)__receiver)
643 }
644 }
645 #[doc = "`set_shouldHideMobileInput(bool)` overload"]
646 fn set_should_hide_mobile_input(self, value: impl ::core::convert::Into<bool>) -> () {
647 unsafe {
648 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
649 ::unity::il2cpp_call!((::unity::module_base()+0x3bf4f90usize)as*mut u8,();
650(InputField)__receiver,(bool)::core::convert::Into::into(value))
651 }
652 }
653 #[doc = "`get_shouldHideMobileInput()` overload"]
654 fn get_should_hide_mobile_input(self) -> bool {
655 unsafe {
656 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
657 ::unity::il2cpp_call!((::unity::module_base()+0x3bf4ff0usize)as*mut u8,bool;
658(InputField)__receiver)
659 }
660 }
661 #[doc = "`set_shouldActivateOnSelect(bool)` overload"]
662 fn set_should_activate_on_select(self, value: impl ::core::convert::Into<bool>) -> () {
663 unsafe {
664 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
665 {
666 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
667 let __vi = *__vt.get(59usize).unwrap_or_else(|| {
668 panic!(
669 "unity: virtual slot {}
670 out of range (vtable len {}
671) on the runtime class behind {}
672 (method `{}
673`)",
674 59usize,
675 __vt.len(),
676 <InputField as ::unity::ClassIdentity>::NAME,
677 "set_shouldActivateOnSelect",
678 )
679 });
680 let __inner: extern "C" fn(InputField, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
681 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
682 __inner(__receiver, ::core::convert::Into::into(value), __mi)
683 }
684 }
685 }
686 #[doc = "`get_shouldActivateOnSelect()` overload"]
687 fn get_should_activate_on_select(self) -> bool {
688 unsafe {
689 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
690 {
691 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
692 let __vi = *__vt.get(60usize).unwrap_or_else(|| {
693 panic!(
694 "unity: virtual slot {}
695 out of range (vtable len {}
696) on the runtime class behind {}
697 (method `{}
698`)",
699 60usize,
700 __vt.len(),
701 <InputField as ::unity::ClassIdentity>::NAME,
702 "get_shouldActivateOnSelect",
703 )
704 });
705 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
706 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
707 __inner(__receiver, __mi)
708 }
709 }
710 }
711 #[doc = "`get_text()` overload"]
712 fn get_text(self) -> ::unity::Il2CppString {
713 unsafe {
714 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
715 ::unity::il2cpp_call!((::unity::module_base()+0x3bf50a0usize)as*mut u8, ::unity::Il2CppString;
716(InputField)__receiver)
717 }
718 }
719 #[doc = "`set_text(::unity::Il2CppString)` overload"]
720 fn set_text(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
721 unsafe {
722 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
723 ::unity::il2cpp_call!((::unity::module_base()+0x3bf50b0usize)as*mut u8,();
724(InputField)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
725 }
726 }
727 #[doc = "`SetTextWithoutNotify(::unity::Il2CppString)` overload"]
728 fn set_text_without_notify(self, input: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
729 unsafe {
730 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
731 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5440usize)as*mut u8,();
732(InputField)__receiver,(::unity::Il2CppString)::core::convert::Into::into(input))
733 }
734 }
735 #[doc = "`SetText(::unity::Il2CppString, bool)` overload"]
736 fn set_text_2(self, value: impl ::core::convert::Into<::unity::Il2CppString>, send_callback: impl ::core::convert::Into<bool>) -> () {
737 unsafe {
738 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
739 ::unity::il2cpp_call!((::unity::module_base()+0x3bf50c0usize)as*mut u8,();
740(InputField)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value),(bool)::core::convert::Into::into(send_callback))
741 }
742 }
743 #[doc = "`get_isFocused()` overload"]
744 fn get_is_focused(self) -> bool {
745 unsafe {
746 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
747 ::unity::il2cpp_call!((::unity::module_base()+0x3bf59c0usize)as*mut u8,bool;
748(InputField)__receiver)
749 }
750 }
751 #[doc = "`get_caretBlinkRate()` overload"]
752 fn get_caret_blink_rate(self) -> f32 {
753 unsafe {
754 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
755 ::unity::il2cpp_call!((::unity::module_base()+0x3bf59d0usize)as*mut u8,f32;
756(InputField)__receiver)
757 }
758 }
759 #[doc = "`set_caretBlinkRate(f32)` overload"]
760 fn set_caret_blink_rate(self, value: impl ::core::convert::Into<f32>) -> () {
761 unsafe {
762 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
763 ::unity::il2cpp_call!((::unity::module_base()+0x3bf59e0usize)as*mut u8,();
764(InputField)__receiver,(f32)::core::convert::Into::into(value))
765 }
766 }
767 #[doc = "`get_caretWidth()` overload"]
768 fn get_caret_width(self) -> i32 {
769 unsafe {
770 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
771 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5b50usize)as*mut u8,i32;
772(InputField)__receiver)
773 }
774 }
775 #[doc = "`set_caretWidth(i32)` overload"]
776 fn set_caret_width(self, value: impl ::core::convert::Into<i32>) -> () {
777 unsafe {
778 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
779 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5b60usize)as*mut u8,();
780(InputField)__receiver,(i32)::core::convert::Into::into(value))
781 }
782 }
783 #[doc = "`get_textComponent()` overload"]
784 fn get_text_component(self) -> crate::unity_engine::ui::text::Text {
785 unsafe {
786 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
787 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5c90usize)as*mut u8,crate::unity_engine::ui::text::Text;
788(InputField)__receiver)
789 }
790 }
791 #[doc = "`set_textComponent(crate::unity_engine::ui::text::Text)` overload"]
792 fn set_text_component(self, value: impl ::core::convert::Into<crate::unity_engine::ui::text::Text>) -> () {
793 unsafe {
794 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
795 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5ca0usize)as*mut u8,();
796(InputField)__receiver,(crate::unity_engine::ui::text::Text)::core::convert::Into::into(value))
797 }
798 }
799 #[doc = "`get_placeholder()` overload"]
800 fn get_placeholder(self) -> crate::unity_engine::ui::graphic::Graphic {
801 unsafe {
802 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
803 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5f40usize)as*mut u8,crate::unity_engine::ui::graphic::Graphic;
804(InputField)__receiver)
805 }
806 }
807 #[doc = "`set_placeholder(crate::unity_engine::ui::graphic::Graphic)` overload"]
808 fn set_placeholder(self, value: impl ::core::convert::Into<crate::unity_engine::ui::graphic::Graphic>) -> () {
809 unsafe {
810 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
811 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5f50usize)as*mut u8,();
812(InputField)__receiver,(crate::unity_engine::ui::graphic::Graphic)::core::convert::Into::into(value))
813 }
814 }
815 #[doc = "`get_caretColor()` overload"]
816 fn get_caret_color(self) -> crate::unity_engine::color::Color {
817 unsafe {
818 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
819 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5fb0usize)as*mut u8,crate::unity_engine::color::Color;
820(InputField)__receiver)
821 }
822 }
823 #[doc = "`set_caretColor(crate::unity_engine::color::Color)` overload"]
824 fn set_caret_color(self, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
825 unsafe {
826 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
827 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6000usize)as*mut u8,();
828(InputField)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(value))
829 }
830 }
831 #[doc = "`get_customCaretColor()` overload"]
832 fn get_custom_caret_color(self) -> bool {
833 unsafe {
834 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
835 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6090usize)as*mut u8,bool;
836(InputField)__receiver)
837 }
838 }
839 #[doc = "`set_customCaretColor(bool)` overload"]
840 fn set_custom_caret_color(self, value: impl ::core::convert::Into<bool>) -> () {
841 unsafe {
842 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
843 ::unity::il2cpp_call!((::unity::module_base()+0x3bf60a0usize)as*mut u8,();
844(InputField)__receiver,(bool)::core::convert::Into::into(value))
845 }
846 }
847 #[doc = "`get_selectionColor()` overload"]
848 fn get_selection_color(self) -> crate::unity_engine::color::Color {
849 unsafe {
850 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
851 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6140usize)as*mut u8,crate::unity_engine::color::Color;
852(InputField)__receiver)
853 }
854 }
855 #[doc = "`set_selectionColor(crate::unity_engine::color::Color)` overload"]
856 fn set_selection_color(self, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
857 unsafe {
858 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
859 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6160usize)as*mut u8,();
860(InputField)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(value))
861 }
862 }
863 #[doc = "`get_onEndEdit()` overload"]
864 fn get_on_end_edit(self) -> crate::unity_engine::ui::inputfield::InputField_SubmitEvent {
865 unsafe {
866 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
867 ::unity::il2cpp_call!((::unity::module_base()+0x3bf61f0usize)as*mut u8,crate::unity_engine::ui::inputfield::InputField_SubmitEvent;
868(InputField)__receiver)
869 }
870 }
871 #[doc = "`set_onEndEdit(crate::unity_engine::ui::inputfield::InputField_SubmitEvent)` overload"]
872 fn set_on_end_edit(self, value: impl ::core::convert::Into<crate::unity_engine::ui::inputfield::InputField_SubmitEvent>) -> () {
873 unsafe {
874 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
875 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6200usize)as*mut u8,();
876(InputField)__receiver,(crate::unity_engine::ui::inputfield::InputField_SubmitEvent)::core::convert::Into::into(value))
877 }
878 }
879 #[doc = "`get_onValueChange()` overload"]
880 fn get_on_value_change(self) -> crate::unity_engine::ui::inputfield::InputField_OnChangeEvent {
881 unsafe {
882 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
883 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6260usize)as*mut u8,crate::unity_engine::ui::inputfield::InputField_OnChangeEvent;
884(InputField)__receiver)
885 }
886 }
887 #[doc = "`set_onValueChange(crate::unity_engine::ui::inputfield::InputField_OnChangeEvent)` overload"]
888 fn set_on_value_change(self, value: impl ::core::convert::Into<crate::unity_engine::ui::inputfield::InputField_OnChangeEvent>) -> () {
889 unsafe {
890 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
891 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6270usize)as*mut u8,();
892(InputField)__receiver,(crate::unity_engine::ui::inputfield::InputField_OnChangeEvent)::core::convert::Into::into(value))
893 }
894 }
895 #[doc = "`get_onValueChanged()` overload"]
896 fn get_on_value_changed(self) -> crate::unity_engine::ui::inputfield::InputField_OnChangeEvent {
897 unsafe {
898 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
899 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6330usize)as*mut u8,crate::unity_engine::ui::inputfield::InputField_OnChangeEvent;
900(InputField)__receiver)
901 }
902 }
903 #[doc = "`set_onValueChanged(crate::unity_engine::ui::inputfield::InputField_OnChangeEvent)` overload"]
904 fn set_on_value_changed(self, value: impl ::core::convert::Into<crate::unity_engine::ui::inputfield::InputField_OnChangeEvent>) -> () {
905 unsafe {
906 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
907 ::unity::il2cpp_call!((::unity::module_base()+0x3bf62d0usize)as*mut u8,();
908(InputField)__receiver,(crate::unity_engine::ui::inputfield::InputField_OnChangeEvent)::core::convert::Into::into(value))
909 }
910 }
911 #[doc = "`get_onValidateInput()` overload"]
912 fn get_on_validate_input(self) -> crate::unity_engine::ui::inputfield::InputField_OnValidateInput {
913 unsafe {
914 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
915 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6340usize)as*mut u8,crate::unity_engine::ui::inputfield::InputField_OnValidateInput;
916(InputField)__receiver)
917 }
918 }
919 #[doc = "`set_onValidateInput(crate::unity_engine::ui::inputfield::InputField_OnValidateInput)` overload"]
920 fn set_on_validate_input(self, value: impl ::core::convert::Into<crate::unity_engine::ui::inputfield::InputField_OnValidateInput>) -> () {
921 unsafe {
922 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
923 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6350usize)as*mut u8,();
924(InputField)__receiver,(crate::unity_engine::ui::inputfield::InputField_OnValidateInput)::core::convert::Into::into(value))
925 }
926 }
927 #[doc = "`get_characterLimit()` overload"]
928 fn get_character_limit(self) -> i32 {
929 unsafe {
930 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
931 ::unity::il2cpp_call!((::unity::module_base()+0x3bf63b0usize)as*mut u8,i32;
932(InputField)__receiver)
933 }
934 }
935 #[doc = "`set_characterLimit(i32)` overload"]
936 fn set_character_limit(self, value: impl ::core::convert::Into<i32>) -> () {
937 unsafe {
938 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
939 ::unity::il2cpp_call!((::unity::module_base()+0x3bf63c0usize)as*mut u8,();
940(InputField)__receiver,(i32)::core::convert::Into::into(value))
941 }
942 }
943 #[doc = "`get_contentType()` overload"]
944 fn get_content_type(self) -> crate::unity_engine::ui::inputfield::InputField_ContentType {
945 unsafe {
946 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
947 ::unity::il2cpp_call!((::unity::module_base()+0x3bf64a0usize)as*mut u8,crate::unity_engine::ui::inputfield::InputField_ContentType;
948(InputField)__receiver)
949 }
950 }
951 #[doc = "`set_contentType(crate::unity_engine::ui::inputfield::InputField_ContentType)` overload"]
952 fn set_content_type(self, value: impl ::core::convert::Into<crate::unity_engine::ui::inputfield::InputField_ContentType>) -> () {
953 unsafe {
954 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
955 ::unity::il2cpp_call!((::unity::module_base()+0x3bf64b0usize)as*mut u8,();
956(InputField)__receiver,(crate::unity_engine::ui::inputfield::InputField_ContentType)::core::convert::Into::into(value))
957 }
958 }
959 #[doc = "`get_lineType()` overload"]
960 fn get_line_type(self) -> crate::unity_engine::ui::inputfield::InputField_LineType {
961 unsafe {
962 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
963 ::unity::il2cpp_call!((::unity::module_base()+0x3bf66b0usize)as*mut u8,crate::unity_engine::ui::inputfield::InputField_LineType;
964(InputField)__receiver)
965 }
966 }
967 #[doc = "`set_lineType(crate::unity_engine::ui::inputfield::InputField_LineType)` overload"]
968 fn set_line_type(self, value: impl ::core::convert::Into<crate::unity_engine::ui::inputfield::InputField_LineType>) -> () {
969 unsafe {
970 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
971 ::unity::il2cpp_call!((::unity::module_base()+0x3bf66c0usize)as*mut u8,();
972(InputField)__receiver,(crate::unity_engine::ui::inputfield::InputField_LineType)::core::convert::Into::into(value))
973 }
974 }
975 #[doc = "`get_inputType()` overload"]
976 fn get_input_type(self) -> crate::unity_engine::ui::inputfield::InputField_InputType {
977 unsafe {
978 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
979 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6830usize)as*mut u8,crate::unity_engine::ui::inputfield::InputField_InputType;
980(InputField)__receiver)
981 }
982 }
983 #[doc = "`set_inputType(crate::unity_engine::ui::inputfield::InputField_InputType)` overload"]
984 fn set_input_type(self, value: impl ::core::convert::Into<crate::unity_engine::ui::inputfield::InputField_InputType>) -> () {
985 unsafe {
986 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
987 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6840usize)as*mut u8,();
988(InputField)__receiver,(crate::unity_engine::ui::inputfield::InputField_InputType)::core::convert::Into::into(value))
989 }
990 }
991 #[doc = "`get_touchScreenKeyboard()` overload"]
992 fn get_touch_screen_keyboard(self) -> crate::unity_engine::touchscreenkeyboard::TouchScreenKeyboard {
993 unsafe {
994 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
995 ::unity::il2cpp_call!((::unity::module_base()+0x3bf68f0usize)as*mut u8,crate::unity_engine::touchscreenkeyboard::TouchScreenKeyboard;
996(InputField)__receiver)
997 }
998 }
999 #[doc = "`get_keyboardType()` overload"]
1000 fn get_keyboard_type(self) -> crate::unity_engine::touchscreenkeyboardtype::TouchScreenKeyboardType {
1001 unsafe {
1002 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1003 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6900usize)as*mut u8,crate::unity_engine::touchscreenkeyboardtype::TouchScreenKeyboardType;
1004(InputField)__receiver)
1005 }
1006 }
1007 #[doc = "`set_keyboardType(crate::unity_engine::touchscreenkeyboardtype::TouchScreenKeyboardType)` overload"]
1008 fn set_keyboard_type(self, value: impl ::core::convert::Into<crate::unity_engine::touchscreenkeyboardtype::TouchScreenKeyboardType>) -> () {
1009 unsafe {
1010 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1011 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6910usize)as*mut u8,();
1012(InputField)__receiver,(crate::unity_engine::touchscreenkeyboardtype::TouchScreenKeyboardType)::core::convert::Into::into(value))
1013 }
1014 }
1015 #[doc = "`get_characterValidation()` overload"]
1016 fn get_character_validation(self) -> crate::unity_engine::ui::inputfield::InputField_CharacterValidation {
1017 unsafe {
1018 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1019 ::unity::il2cpp_call!((::unity::module_base()+0x3bf69a0usize)as*mut u8,crate::unity_engine::ui::inputfield::InputField_CharacterValidation;
1020(InputField)__receiver)
1021 }
1022 }
1023 #[doc = "`set_characterValidation(crate::unity_engine::ui::inputfield::InputField_CharacterValidation)` overload"]
1024 fn set_character_validation(self, value: impl ::core::convert::Into<crate::unity_engine::ui::inputfield::InputField_CharacterValidation>) -> () {
1025 unsafe {
1026 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1027 ::unity::il2cpp_call!((::unity::module_base()+0x3bf69b0usize)as*mut u8,();
1028(InputField)__receiver,(crate::unity_engine::ui::inputfield::InputField_CharacterValidation)::core::convert::Into::into(value))
1029 }
1030 }
1031 #[doc = "`get_readOnly()` overload"]
1032 fn get_read_only(self) -> bool {
1033 unsafe {
1034 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1035 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6a40usize)as*mut u8,bool;
1036(InputField)__receiver)
1037 }
1038 }
1039 #[doc = "`set_readOnly(bool)` overload"]
1040 fn set_read_only(self, value: impl ::core::convert::Into<bool>) -> () {
1041 unsafe {
1042 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1043 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6a50usize)as*mut u8,();
1044(InputField)__receiver,(bool)::core::convert::Into::into(value))
1045 }
1046 }
1047 #[doc = "`get_multiLine()` overload"]
1048 fn get_multi_line(self) -> bool {
1049 unsafe {
1050 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1051 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6a60usize)as*mut u8,bool;
1052(InputField)__receiver)
1053 }
1054 }
1055 #[doc = "`get_asteriskChar()` overload"]
1056 fn get_asterisk_char(self) -> u16 {
1057 unsafe {
1058 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1059 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6a80usize)as*mut u8,u16;
1060(InputField)__receiver)
1061 }
1062 }
1063 #[doc = "`set_asteriskChar(u16)` overload"]
1064 fn set_asterisk_char(self, value: impl ::core::convert::Into<u16>) -> () {
1065 unsafe {
1066 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1067 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6a90usize)as*mut u8,();
1068(InputField)__receiver,(u16)::core::convert::Into::into(value))
1069 }
1070 }
1071 #[doc = "`get_wasCanceled()` overload"]
1072 fn get_was_canceled(self) -> bool {
1073 unsafe {
1074 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1075 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6b10usize)as*mut u8,bool;
1076(InputField)__receiver)
1077 }
1078 }
1079 #[doc = "`ClampPos(*muti32)` overload"]
1080 fn clamp_pos(self) -> i32 {
1081 unsafe {
1082 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1083 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
1084 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6b20usize)as*mut u8,();
1085(InputField)__receiver,(*mut i32)__out_0.as_mut_ptr());
1086 __out_0.assume_init()
1087 }
1088 }
1089 #[doc = "`get_caretPositionInternal()` overload"]
1090 fn get_caret_position_internal(self) -> i32 {
1091 unsafe {
1092 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1093 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6b50usize)as*mut u8,i32;
1094(InputField)__receiver)
1095 }
1096 }
1097 #[doc = "`set_caretPositionInternal(i32)` overload"]
1098 fn set_caret_position_internal(self, value: impl ::core::convert::Into<i32>) -> () {
1099 unsafe {
1100 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1101 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6b80usize)as*mut u8,();
1102(InputField)__receiver,(i32)::core::convert::Into::into(value))
1103 }
1104 }
1105 #[doc = "`get_caretSelectPositionInternal()` overload"]
1106 fn get_caret_select_position_internal(self) -> i32 {
1107 unsafe {
1108 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1109 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6bb0usize)as*mut u8,i32;
1110(InputField)__receiver)
1111 }
1112 }
1113 #[doc = "`set_caretSelectPositionInternal(i32)` overload"]
1114 fn set_caret_select_position_internal(self, value: impl ::core::convert::Into<i32>) -> () {
1115 unsafe {
1116 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1117 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6be0usize)as*mut u8,();
1118(InputField)__receiver,(i32)::core::convert::Into::into(value))
1119 }
1120 }
1121 #[doc = "`get_hasSelection()` overload"]
1122 fn get_has_selection(self) -> bool {
1123 unsafe {
1124 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1125 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6c10usize)as*mut u8,bool;
1126(InputField)__receiver)
1127 }
1128 }
1129 #[doc = "`get_caretPosition()` overload"]
1130 fn get_caret_position(self) -> i32 {
1131 unsafe {
1132 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1133 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6c60usize)as*mut u8,i32;
1134(InputField)__receiver)
1135 }
1136 }
1137 #[doc = "`set_caretPosition(i32)` overload"]
1138 fn set_caret_position(self, value: impl ::core::convert::Into<i32>) -> () {
1139 unsafe {
1140 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1141 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6c90usize)as*mut u8,();
1142(InputField)__receiver,(i32)::core::convert::Into::into(value))
1143 }
1144 }
1145 #[doc = "`get_selectionAnchorPosition()` overload"]
1146 fn get_selection_anchor_position(self) -> i32 {
1147 unsafe {
1148 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1149 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6e10usize)as*mut u8,i32;
1150(InputField)__receiver)
1151 }
1152 }
1153 #[doc = "`set_selectionAnchorPosition(i32)` overload"]
1154 fn set_selection_anchor_position(self, value: impl ::core::convert::Into<i32>) -> () {
1155 unsafe {
1156 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1157 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6d30usize)as*mut u8,();
1158(InputField)__receiver,(i32)::core::convert::Into::into(value))
1159 }
1160 }
1161 #[doc = "`get_selectionFocusPosition()` overload"]
1162 fn get_selection_focus_position(self) -> i32 {
1163 unsafe {
1164 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1165 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6e40usize)as*mut u8,i32;
1166(InputField)__receiver)
1167 }
1168 }
1169 #[doc = "`set_selectionFocusPosition(i32)` overload"]
1170 fn set_selection_focus_position(self, value: impl ::core::convert::Into<i32>) -> () {
1171 unsafe {
1172 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1173 ::unity::il2cpp_call!((::unity::module_base()+0x3bf6da0usize)as*mut u8,();
1174(InputField)__receiver,(i32)::core::convert::Into::into(value))
1175 }
1176 }
1177 #[doc = "`OnEnable()` overload"]
1178 fn on_enable(self) -> () {
1179 unsafe {
1180 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1181 {
1182 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1183 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1184 panic!(
1185 "unity: virtual slot {}
1186 out of range (vtable len {}
1187) on the runtime class behind {}
1188 (method `{}
1189`)",
1190 5usize,
1191 __vt.len(),
1192 <InputField as ::unity::ClassIdentity>::NAME,
1193 "OnEnable",
1194 )
1195 });
1196 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1197 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1198 __inner(__receiver, __mi)
1199 }
1200 }
1201 }
1202 #[doc = "`OnDisable()` overload"]
1203 fn on_disable(self) -> () {
1204 unsafe {
1205 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1206 {
1207 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1208 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
1209 panic!(
1210 "unity: virtual slot {}
1211 out of range (vtable len {}
1212) on the runtime class behind {}
1213 (method `{}
1214`)",
1215 7usize,
1216 __vt.len(),
1217 <InputField as ::unity::ClassIdentity>::NAME,
1218 "OnDisable",
1219 )
1220 });
1221 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> () = ::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, __mi)
1224 }
1225 }
1226 }
1227 #[doc = "`CaretBlink()` overload"]
1228 fn caret_blink(self) -> crate::system::collections::ienumerator::IEnumerator {
1229 unsafe {
1230 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1231 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7590usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
1232(InputField)__receiver)
1233 }
1234 }
1235 #[doc = "`SetCaretVisible()` overload"]
1236 fn set_caret_visible(self) -> () {
1237 unsafe {
1238 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1239 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7610usize)as*mut u8,();
1240(InputField)__receiver)
1241 }
1242 }
1243 #[doc = "`SetCaretActive()` overload"]
1244 fn set_caret_active(self) -> () {
1245 unsafe {
1246 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1247 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5a70usize)as*mut u8,();
1248(InputField)__receiver)
1249 }
1250 }
1251 #[doc = "`UpdateCaretMaterial()` overload"]
1252 fn update_caret_material(self) -> () {
1253 unsafe {
1254 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1255 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7660usize)as*mut u8,();
1256(InputField)__receiver)
1257 }
1258 }
1259 #[doc = "`OnFocus()` overload"]
1260 fn on_focus(self) -> () {
1261 unsafe {
1262 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1263 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7790usize)as*mut u8,();
1264(InputField)__receiver)
1265 }
1266 }
1267 #[doc = "`SelectAll()` overload"]
1268 fn select_all(self) -> () {
1269 unsafe {
1270 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1271 ::unity::il2cpp_call!((::unity::module_base()+0x3bf77d0usize)as*mut u8,();
1272(InputField)__receiver)
1273 }
1274 }
1275 #[doc = "`MoveTextEnd(bool)` overload"]
1276 fn move_text_end(self, shift: impl ::core::convert::Into<bool>) -> () {
1277 unsafe {
1278 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1279 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7810usize)as*mut u8,();
1280(InputField)__receiver,(bool)::core::convert::Into::into(shift))
1281 }
1282 }
1283 #[doc = "`MoveTextStart(bool)` overload"]
1284 fn move_text_start(self, shift: impl ::core::convert::Into<bool>) -> () {
1285 unsafe {
1286 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1287 ::unity::il2cpp_call!((::unity::module_base()+0x3bf78d0usize)as*mut u8,();
1288(InputField)__receiver,(bool)::core::convert::Into::into(shift))
1289 }
1290 }
1291 #[doc = "`TouchScreenKeyboardShouldBeUsed()` overload"]
1292 fn touch_screen_keyboard_should_be_used(self) -> bool {
1293 unsafe {
1294 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1295 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7990usize)as*mut u8,bool;
1296(InputField)__receiver)
1297 }
1298 }
1299 #[doc = "`InPlaceEditing()` overload"]
1300 fn in_place_editing(self) -> bool {
1301 unsafe {
1302 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1303 ::unity::il2cpp_call!((::unity::module_base()+0x3bf79d0usize)as*mut u8,bool;
1304(InputField)__receiver)
1305 }
1306 }
1307 #[doc = "`InPlaceEditingChanged()` overload"]
1308 fn in_place_editing_changed(self) -> bool {
1309 unsafe {
1310 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1311 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7a20usize)as*mut u8,bool;
1312(InputField)__receiver)
1313 }
1314 }
1315 #[doc = "`UpdateCaretFromKeyboard()` overload"]
1316 fn update_caret_from_keyboard(self) -> () {
1317 unsafe {
1318 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1319 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7a60usize)as*mut u8,();
1320(InputField)__receiver)
1321 }
1322 }
1323 #[doc = "`LateUpdate()` overload"]
1324 fn late_update(self) -> () {
1325 unsafe {
1326 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1327 {
1328 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1329 let __vi = *__vt.get(61usize).unwrap_or_else(|| {
1330 panic!(
1331 "unity: virtual slot {}
1332 out of range (vtable len {}
1333) on the runtime class behind {}
1334 (method `{}
1335`)",
1336 61usize,
1337 __vt.len(),
1338 <InputField as ::unity::ClassIdentity>::NAME,
1339 "LateUpdate",
1340 )
1341 });
1342 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1343 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1344 __inner(__receiver, __mi)
1345 }
1346 }
1347 }
1348 #[doc = "`ScreenToLocal(crate::unity_engine::vector2::Vector2)` overload"]
1349 fn screen_to_local(self, screen: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> crate::unity_engine::vector2::Vector2 {
1350 unsafe {
1351 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1352 ::unity::il2cpp_call!((::unity::module_base()+0x3bf9110usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1353(InputField)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(screen))
1354 }
1355 }
1356 #[doc = "`GetUnclampedCharacterLineFromPosition(crate::unity_engine::vector2::Vector2, crate::unity_engine::textgenerator::TextGenerator)` overload"]
1357 fn get_unclamped_character_line_from_position(
1358 self,
1359 pos: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
1360 generator: impl ::core::convert::Into<crate::unity_engine::textgenerator::TextGenerator>,
1361 ) -> i32 {
1362 unsafe {
1363 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1364 ::unity::il2cpp_call!((::unity::module_base()+0x3bf9340usize)as*mut u8,i32;
1365(InputField)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(pos),(crate::unity_engine::textgenerator::TextGenerator)::core::convert::Into::into(generator))
1366 }
1367 }
1368 #[doc = "`GetCharacterIndexFromPosition(crate::unity_engine::vector2::Vector2)` overload"]
1369 fn get_character_index_from_position(self, pos: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> i32 {
1370 unsafe {
1371 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1372 ::unity::il2cpp_call!((::unity::module_base()+0x3bf9540usize)as*mut u8,i32;
1373(InputField)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(pos))
1374 }
1375 }
1376 #[doc = "`MayDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
1377 fn may_drag(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> bool {
1378 unsafe {
1379 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1380 ::unity::il2cpp_call!((::unity::module_base()+0x3bf9940usize)as*mut u8,bool;
1381(InputField)__receiver,(crate::unity_engine::event_systems::pointereventdata::PointerEventData)::core::convert::Into::into(event_data))
1382 }
1383 }
1384 #[doc = "`OnBeginDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
1385 fn on_begin_drag(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
1386 unsafe {
1387 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1388 {
1389 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1390 let __vi = *__vt.get(62usize).unwrap_or_else(|| {
1391 panic!(
1392 "unity: virtual slot {}
1393 out of range (vtable len {}
1394) on the runtime class behind {}
1395 (method `{}
1396`)",
1397 62usize,
1398 __vt.len(),
1399 <InputField as ::unity::ClassIdentity>::NAME,
1400 "OnBeginDrag",
1401 )
1402 });
1403 let __inner: extern "C" fn(
1404 InputField,
1405 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1406 ::unity::OptionalMethod,
1407 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1408 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1409 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
1410 }
1411 }
1412 }
1413 #[doc = "`OnDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
1414 fn on_drag(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
1415 unsafe {
1416 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1417 {
1418 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1419 let __vi = *__vt.get(63usize).unwrap_or_else(|| {
1420 panic!(
1421 "unity: virtual slot {}
1422 out of range (vtable len {}
1423) on the runtime class behind {}
1424 (method `{}
1425`)",
1426 63usize,
1427 __vt.len(),
1428 <InputField as ::unity::ClassIdentity>::NAME,
1429 "OnDrag",
1430 )
1431 });
1432 let __inner: extern "C" fn(
1433 InputField,
1434 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1435 ::unity::OptionalMethod,
1436 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1437 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1438 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
1439 }
1440 }
1441 }
1442 #[doc = "`MouseDragOutsideRect(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
1443 fn mouse_drag_outside_rect(
1444 self,
1445 event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>,
1446 ) -> crate::system::collections::ienumerator::IEnumerator {
1447 unsafe {
1448 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1449 ::unity::il2cpp_call!((::unity::module_base()+0x3bf9cd0usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
1450(InputField)__receiver,(crate::unity_engine::event_systems::pointereventdata::PointerEventData)::core::convert::Into::into(event_data))
1451 }
1452 }
1453 #[doc = "`OnEndDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
1454 fn on_end_drag(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
1455 unsafe {
1456 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1457 {
1458 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1459 let __vi = *__vt.get(64usize).unwrap_or_else(|| {
1460 panic!(
1461 "unity: virtual slot {}
1462 out of range (vtable len {}
1463) on the runtime class behind {}
1464 (method `{}
1465`)",
1466 64usize,
1467 __vt.len(),
1468 <InputField as ::unity::ClassIdentity>::NAME,
1469 "OnEndDrag",
1470 )
1471 });
1472 let __inner: extern "C" fn(
1473 InputField,
1474 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1475 ::unity::OptionalMethod,
1476 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1477 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1478 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
1479 }
1480 }
1481 }
1482 #[doc = "`OnPointerDown(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
1483 fn on_pointer_down(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
1484 unsafe {
1485 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1486 {
1487 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1488 let __vi = *__vt.get(32usize).unwrap_or_else(|| {
1489 panic!(
1490 "unity: virtual slot {}
1491 out of range (vtable len {}
1492) on the runtime class behind {}
1493 (method `{}
1494`)",
1495 32usize,
1496 __vt.len(),
1497 <InputField as ::unity::ClassIdentity>::NAME,
1498 "OnPointerDown",
1499 )
1500 });
1501 let __inner: extern "C" fn(
1502 InputField,
1503 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1504 ::unity::OptionalMethod,
1505 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1506 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1507 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
1508 }
1509 }
1510 }
1511 #[doc = "`KeyPressed(crate::unity_engine::event::Event)` overload"]
1512 fn key_pressed(
1513 self,
1514 evt: impl ::core::convert::Into<crate::unity_engine::event::Event>,
1515 ) -> crate::unity_engine::ui::inputfield::InputField_EditState {
1516 unsafe {
1517 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1518 ::unity::il2cpp_call!((::unity::module_base()+0x3bf9f80usize)as*mut u8,crate::unity_engine::ui::inputfield::InputField_EditState;
1519(InputField)__receiver,(crate::unity_engine::event::Event)::core::convert::Into::into(evt))
1520 }
1521 }
1522 #[doc = "`IsValidChar(u16)` overload"]
1523 fn is_valid_char(self, c: impl ::core::convert::Into<u16>) -> bool {
1524 unsafe {
1525 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1526 ::unity::il2cpp_call!((::unity::module_base()+0x3bfaf30usize)as*mut u8,bool;
1527(InputField)__receiver,(u16)::core::convert::Into::into(c))
1528 }
1529 }
1530 #[doc = "`ProcessEvent(crate::unity_engine::event::Event)` overload"]
1531 fn process_event(self, e: impl ::core::convert::Into<crate::unity_engine::event::Event>) -> () {
1532 unsafe {
1533 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1534 ::unity::il2cpp_call!((::unity::module_base()+0x3bfafa0usize)as*mut u8,();
1535(InputField)__receiver,(crate::unity_engine::event::Event)::core::convert::Into::into(e))
1536 }
1537 }
1538 #[doc = "`OnUpdateSelected(crate::unity_engine::event_systems::baseeventdata::BaseEventData)` overload"]
1539 fn on_update_selected(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::baseeventdata::BaseEventData>) -> () {
1540 unsafe {
1541 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1542 {
1543 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1544 let __vi = *__vt.get(65usize).unwrap_or_else(|| {
1545 panic!(
1546 "unity: virtual slot {}
1547 out of range (vtable len {}
1548) on the runtime class behind {}
1549 (method `{}
1550`)",
1551 65usize,
1552 __vt.len(),
1553 <InputField as ::unity::ClassIdentity>::NAME,
1554 "OnUpdateSelected",
1555 )
1556 });
1557 let __inner: extern "C" fn(
1558 InputField,
1559 crate::unity_engine::event_systems::baseeventdata::BaseEventData,
1560 ::unity::OptionalMethod,
1561 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1562 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1563 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
1564 }
1565 }
1566 }
1567 #[doc = "`GetSelectedString()` overload"]
1568 fn get_selected_string(self) -> ::unity::Il2CppString {
1569 unsafe {
1570 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1571 ::unity::il2cpp_call!((::unity::module_base()+0x3bfa950usize)as*mut u8, ::unity::Il2CppString;
1572(InputField)__receiver)
1573 }
1574 }
1575 #[doc = "`FindtNextWordBegin()` overload"]
1576 fn findt_next_word_begin(self) -> i32 {
1577 unsafe {
1578 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1579 ::unity::il2cpp_call!((::unity::module_base()+0x3bfb110usize)as*mut u8,i32;
1580(InputField)__receiver)
1581 }
1582 }
1583 #[doc = "`MoveRight(bool, bool)` overload"]
1584 fn move_right(self, shift: impl ::core::convert::Into<bool>, ctrl: impl ::core::convert::Into<bool>) -> () {
1585 unsafe {
1586 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1587 ::unity::il2cpp_call!((::unity::module_base()+0x3bfadc0usize)as*mut u8,();
1588(InputField)__receiver,(bool)::core::convert::Into::into(shift),(bool)::core::convert::Into::into(ctrl))
1589 }
1590 }
1591 #[doc = "`FindtPrevWordBegin()` overload"]
1592 fn findt_prev_word_begin(self) -> i32 {
1593 unsafe {
1594 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1595 ::unity::il2cpp_call!((::unity::module_base()+0x3bfb1f0usize)as*mut u8,i32;
1596(InputField)__receiver)
1597 }
1598 }
1599 #[doc = "`MoveLeft(bool, bool)` overload"]
1600 fn move_left(self, shift: impl ::core::convert::Into<bool>, ctrl: impl ::core::convert::Into<bool>) -> () {
1601 unsafe {
1602 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1603 ::unity::il2cpp_call!((::unity::module_base()+0x3bfac70usize)as*mut u8,();
1604(InputField)__receiver,(bool)::core::convert::Into::into(shift),(bool)::core::convert::Into::into(ctrl))
1605 }
1606 }
1607 #[doc = "`DetermineCharacterLine(i32, crate::unity_engine::textgenerator::TextGenerator)` overload"]
1608 fn determine_character_line(
1609 self,
1610 char_pos: impl ::core::convert::Into<i32>,
1611 generator: impl ::core::convert::Into<crate::unity_engine::textgenerator::TextGenerator>,
1612 ) -> i32 {
1613 unsafe {
1614 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1615 ::unity::il2cpp_call!((::unity::module_base()+0x3bfb2c0usize)as*mut u8,i32;
1616(InputField)__receiver,(i32)::core::convert::Into::into(char_pos),(crate::unity_engine::textgenerator::TextGenerator)::core::convert::Into::into(generator))
1617 }
1618 }
1619 #[doc = "`LineUpCharacterPosition(i32, bool)` overload"]
1620 fn line_up_character_position(self, original_pos: impl ::core::convert::Into<i32>, go_to_first_char: impl ::core::convert::Into<bool>) -> i32 {
1621 unsafe {
1622 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1623 ::unity::il2cpp_call!((::unity::module_base()+0x3bfb3d0usize)as*mut u8,i32;
1624(InputField)__receiver,(i32)::core::convert::Into::into(original_pos),(bool)::core::convert::Into::into(go_to_first_char))
1625 }
1626 }
1627 #[doc = "`LineDownCharacterPosition(i32, bool)` overload"]
1628 fn line_down_character_position(self, original_pos: impl ::core::convert::Into<i32>, go_to_last_char: impl ::core::convert::Into<bool>) -> i32 {
1629 unsafe {
1630 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1631 ::unity::il2cpp_call!((::unity::module_base()+0x3bfb8f0usize)as*mut u8,i32;
1632(InputField)__receiver,(i32)::core::convert::Into::into(original_pos),(bool)::core::convert::Into::into(go_to_last_char))
1633 }
1634 }
1635 #[doc = "`MoveDown(bool)` overload"]
1636 fn move_down(self, shift: impl ::core::convert::Into<bool>) -> () {
1637 unsafe {
1638 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1639 ::unity::il2cpp_call!((::unity::module_base()+0x3bfaf20usize)as*mut u8,();
1640(InputField)__receiver,(bool)::core::convert::Into::into(shift))
1641 }
1642 }
1643 #[doc = "`MoveDown(bool, bool)` overload"]
1644 fn move_down_2(self, shift: impl ::core::convert::Into<bool>, go_to_last_char: impl ::core::convert::Into<bool>) -> () {
1645 unsafe {
1646 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1647 ::unity::il2cpp_call!((::unity::module_base()+0x3bfbdd0usize)as*mut u8,();
1648(InputField)__receiver,(bool)::core::convert::Into::into(shift),(bool)::core::convert::Into::into(go_to_last_char))
1649 }
1650 }
1651 #[doc = "`MoveUp(bool)` overload"]
1652 fn move_up(self, shift: impl ::core::convert::Into<bool>) -> () {
1653 unsafe {
1654 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1655 ::unity::il2cpp_call!((::unity::module_base()+0x3bfaf10usize)as*mut u8,();
1656(InputField)__receiver,(bool)::core::convert::Into::into(shift))
1657 }
1658 }
1659 #[doc = "`MoveUp(bool, bool)` overload"]
1660 fn move_up_2(self, shift: impl ::core::convert::Into<bool>, go_to_first_char: impl ::core::convert::Into<bool>) -> () {
1661 unsafe {
1662 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1663 ::unity::il2cpp_call!((::unity::module_base()+0x3bfbf30usize)as*mut u8,();
1664(InputField)__receiver,(bool)::core::convert::Into::into(shift),(bool)::core::convert::Into::into(go_to_first_char))
1665 }
1666 }
1667 #[doc = "`Delete()` overload"]
1668 fn delete(self) -> () {
1669 unsafe {
1670 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1671 ::unity::il2cpp_call!((::unity::module_base()+0x3bfaa10usize)as*mut u8,();
1672(InputField)__receiver)
1673 }
1674 }
1675 #[doc = "`ForwardSpace()` overload"]
1676 fn forward_space(self) -> () {
1677 unsafe {
1678 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1679 ::unity::il2cpp_call!((::unity::module_base()+0x3bfa770usize)as*mut u8,();
1680(InputField)__receiver)
1681 }
1682 }
1683 #[doc = "`Backspace()` overload"]
1684 fn backspace(self) -> () {
1685 unsafe {
1686 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1687 ::unity::il2cpp_call!((::unity::module_base()+0x3bfa530usize)as*mut u8,();
1688(InputField)__receiver)
1689 }
1690 }
1691 #[doc = "`Insert(u16)` overload"]
1692 fn insert(self, c: impl ::core::convert::Into<u16>) -> () {
1693 unsafe {
1694 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1695 ::unity::il2cpp_call!((::unity::module_base()+0x3bfc090usize)as*mut u8,();
1696(InputField)__receiver,(u16)::core::convert::Into::into(c))
1697 }
1698 }
1699 #[doc = "`UpdateTouchKeyboardFromEditChanges()` overload"]
1700 fn update_touch_keyboard_from_edit_changes(self) -> () {
1701 unsafe {
1702 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1703 ::unity::il2cpp_call!((::unity::module_base()+0x3bfac20usize)as*mut u8,();
1704(InputField)__receiver)
1705 }
1706 }
1707 #[doc = "`SendOnValueChangedAndUpdateLabel()` overload"]
1708 fn send_on_value_changed_and_update_label(self) -> () {
1709 unsafe {
1710 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1711 ::unity::il2cpp_call!((::unity::module_base()+0x3bf9080usize)as*mut u8,();
1712(InputField)__receiver)
1713 }
1714 }
1715 #[doc = "`SendOnValueChanged()` overload"]
1716 fn send_on_value_changed(self) -> () {
1717 unsafe {
1718 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1719 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5450usize)as*mut u8,();
1720(InputField)__receiver)
1721 }
1722 }
1723 #[doc = "`SendOnSubmit()` overload"]
1724 fn send_on_submit(self) -> () {
1725 unsafe {
1726 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1727 ::unity::il2cpp_call!((::unity::module_base()+0x3bfc210usize)as*mut u8,();
1728(InputField)__receiver)
1729 }
1730 }
1731 #[doc = "`Append(::unity::Il2CppString)` overload"]
1732 fn append(self, input: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1733 unsafe {
1734 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1735 {
1736 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1737 let __vi = *__vt.get(66usize).unwrap_or_else(|| {
1738 panic!(
1739 "unity: virtual slot {}
1740 out of range (vtable len {}
1741) on the runtime class behind {}
1742 (method `{}
1743`)",
1744 66usize,
1745 __vt.len(),
1746 <InputField as ::unity::ClassIdentity>::NAME,
1747 "Append",
1748 )
1749 });
1750 let __inner: extern "C" fn(InputField, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1751 ::core::mem::transmute(__vi.method_ptr);
1752 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1753 __inner(__receiver, ::core::convert::Into::into(input), __mi)
1754 }
1755 }
1756 }
1757 #[doc = "`Append(u16)` overload"]
1758 fn append_2(self, input: impl ::core::convert::Into<u16>) -> () {
1759 unsafe {
1760 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1761 {
1762 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1763 let __vi = *__vt.get(67usize).unwrap_or_else(|| {
1764 panic!(
1765 "unity: virtual slot {}
1766 out of range (vtable len {}
1767) on the runtime class behind {}
1768 (method `{}
1769`)",
1770 67usize,
1771 __vt.len(),
1772 <InputField as ::unity::ClassIdentity>::NAME,
1773 "Append",
1774 )
1775 });
1776 let __inner: extern "C" fn(InputField, u16, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1777 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1778 __inner(__receiver, ::core::convert::Into::into(input), __mi)
1779 }
1780 }
1781 }
1782 #[doc = "`UpdateLabel()` overload"]
1783 fn update_label(self) -> () {
1784 unsafe {
1785 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1786 ::unity::il2cpp_call!((::unity::module_base()+0x3bf54e0usize)as*mut u8,();
1787(InputField)__receiver)
1788 }
1789 }
1790 #[doc = "`IsSelectionVisible()` overload"]
1791 fn is_selection_visible(self) -> bool {
1792 unsafe {
1793 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1794 ::unity::il2cpp_call!((::unity::module_base()+0x3bfd590usize)as*mut u8,bool;
1795(InputField)__receiver)
1796 }
1797 }
1798 #[doc = "`SetDrawRangeToContainCaretPosition(i32)` overload"]
1799 fn set_draw_range_to_contain_caret_position(self, caret_pos: impl ::core::convert::Into<i32>) -> () {
1800 unsafe {
1801 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1802 ::unity::il2cpp_call!((::unity::module_base()+0x3bfc610usize)as*mut u8,();
1803(InputField)__receiver,(i32)::core::convert::Into::into(caret_pos))
1804 }
1805 }
1806 #[doc = "`ForceLabelUpdate()` overload"]
1807 fn force_label_update(self) -> () {
1808 unsafe {
1809 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1810 ::unity::il2cpp_call!((::unity::module_base()+0x3bfd7a0usize)as*mut u8,();
1811(InputField)__receiver)
1812 }
1813 }
1814 #[doc = "`MarkGeometryAsDirty()` overload"]
1815 fn mark_geometry_as_dirty(self) -> () {
1816 unsafe {
1817 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1818 ::unity::il2cpp_call!((::unity::module_base()+0x3bf5c20usize)as*mut u8,();
1819(InputField)__receiver)
1820 }
1821 }
1822 #[doc = "`Rebuild(crate::unity_engine::ui::canvasupdate::CanvasUpdate)` overload"]
1823 fn rebuild(self, update: impl ::core::convert::Into<crate::unity_engine::ui::canvasupdate::CanvasUpdate>) -> () {
1824 unsafe {
1825 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1826 {
1827 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1828 let __vi = *__vt.get(68usize).unwrap_or_else(|| {
1829 panic!(
1830 "unity: virtual slot {}
1831 out of range (vtable len {}
1832) on the runtime class behind {}
1833 (method `{}
1834`)",
1835 68usize,
1836 __vt.len(),
1837 <InputField as ::unity::ClassIdentity>::NAME,
1838 "Rebuild",
1839 )
1840 });
1841 let __inner: extern "C" fn(InputField, crate::unity_engine::ui::canvasupdate::CanvasUpdate, ::unity::OptionalMethod) -> () =
1842 ::core::mem::transmute(__vi.method_ptr);
1843 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1844 __inner(__receiver, ::core::convert::Into::into(update), __mi)
1845 }
1846 }
1847 }
1848 #[doc = "`LayoutComplete()` overload"]
1849 fn layout_complete(self) -> () {
1850 unsafe {
1851 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1852 {
1853 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1854 let __vi = *__vt.get(69usize).unwrap_or_else(|| {
1855 panic!(
1856 "unity: virtual slot {}
1857 out of range (vtable len {}
1858) on the runtime class behind {}
1859 (method `{}
1860`)",
1861 69usize,
1862 __vt.len(),
1863 <InputField as ::unity::ClassIdentity>::NAME,
1864 "LayoutComplete",
1865 )
1866 });
1867 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1868 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1869 __inner(__receiver, __mi)
1870 }
1871 }
1872 }
1873 #[doc = "`GraphicUpdateComplete()` overload"]
1874 fn graphic_update_complete(self) -> () {
1875 unsafe {
1876 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1877 {
1878 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1879 let __vi = *__vt.get(70usize).unwrap_or_else(|| {
1880 panic!(
1881 "unity: virtual slot {}
1882 out of range (vtable len {}
1883) on the runtime class behind {}
1884 (method `{}
1885`)",
1886 70usize,
1887 __vt.len(),
1888 <InputField as ::unity::ClassIdentity>::NAME,
1889 "GraphicUpdateComplete",
1890 )
1891 });
1892 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1893 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1894 __inner(__receiver, __mi)
1895 }
1896 }
1897 }
1898 #[doc = "`UpdateGeometry()` overload"]
1899 fn update_geometry(self) -> () {
1900 unsafe {
1901 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1902 ::unity::il2cpp_call!((::unity::module_base()+0x3bfd7c0usize)as*mut u8,();
1903(InputField)__receiver)
1904 }
1905 }
1906 #[doc = "`AssignPositioningIfNeeded()` overload"]
1907 fn assign_positioning_if_needed(self) -> () {
1908 unsafe {
1909 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1910 ::unity::il2cpp_call!((::unity::module_base()+0x3bf8580usize)as*mut u8,();
1911(InputField)__receiver)
1912 }
1913 }
1914 #[doc = "`OnFillVBO(crate::unity_engine::mesh::Mesh)` overload"]
1915 fn on_fill_vbo(self, vbo: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>) -> () {
1916 unsafe {
1917 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1918 ::unity::il2cpp_call!((::unity::module_base()+0x3bfdc60usize)as*mut u8,();
1919(InputField)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(vbo))
1920 }
1921 }
1922 #[doc = "`GenerateCaret(crate::unity_engine::ui::vertexhelper::VertexHelper, crate::unity_engine::vector2::Vector2)` overload"]
1923 fn generate_caret(
1924 self,
1925 vbo: impl ::core::convert::Into<crate::unity_engine::ui::vertexhelper::VertexHelper>,
1926 rounding_offset: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
1927 ) -> () {
1928 unsafe {
1929 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1930 ::unity::il2cpp_call!((::unity::module_base()+0x3bfde70usize)as*mut u8,();
1931(InputField)__receiver,(crate::unity_engine::ui::vertexhelper::VertexHelper)::core::convert::Into::into(vbo),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(rounding_offset))
1932 }
1933 }
1934 #[doc = "`CreateCursorVerts()` overload"]
1935 fn create_cursor_verts(self) -> () {
1936 unsafe {
1937 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1938 ::unity::il2cpp_call!((::unity::module_base()+0x3bfed00usize)as*mut u8,();
1939(InputField)__receiver)
1940 }
1941 }
1942 #[doc = "`GenerateHighlight(crate::unity_engine::ui::vertexhelper::VertexHelper, crate::unity_engine::vector2::Vector2)` overload"]
1943 fn generate_highlight(
1944 self,
1945 vbo: impl ::core::convert::Into<crate::unity_engine::ui::vertexhelper::VertexHelper>,
1946 rounding_offset: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
1947 ) -> () {
1948 unsafe {
1949 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1950 ::unity::il2cpp_call!((::unity::module_base()+0x3bfe540usize)as*mut u8,();
1951(InputField)__receiver,(crate::unity_engine::ui::vertexhelper::VertexHelper)::core::convert::Into::into(vbo),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(rounding_offset))
1952 }
1953 }
1954 #[doc = "`Validate(::unity::Il2CppString, i32, u16)` overload"]
1955 fn validate(
1956 self,
1957 text: impl ::core::convert::Into<::unity::Il2CppString>,
1958 pos: impl ::core::convert::Into<i32>,
1959 ch: impl ::core::convert::Into<u16>,
1960 ) -> u16 {
1961 unsafe {
1962 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1963 ::unity::il2cpp_call!((::unity::module_base()+0x3bf8a00usize)as*mut u8,u16;
1964(InputField)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text),(i32)::core::convert::Into::into(pos),(u16)::core::convert::Into::into(ch))
1965 }
1966 }
1967 #[doc = "`ActivateInputField()` overload"]
1968 fn activate_input_field(self) -> () {
1969 unsafe {
1970 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1971 ::unity::il2cpp_call!((::unity::module_base()+0x3bfeed0usize)as*mut u8,();
1972(InputField)__receiver)
1973 }
1974 }
1975 #[doc = "`ActivateInputFieldInternal()` overload"]
1976 fn activate_input_field_internal(self) -> () {
1977 unsafe {
1978 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1979 ::unity::il2cpp_call!((::unity::module_base()+0x3bf8150usize)as*mut u8,();
1980(InputField)__receiver)
1981 }
1982 }
1983 #[doc = "`OnSelect(crate::unity_engine::event_systems::baseeventdata::BaseEventData)` overload"]
1984 fn on_select(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::baseeventdata::BaseEventData>) -> () {
1985 unsafe {
1986 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1987 {
1988 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1989 let __vi = *__vt.get(36usize).unwrap_or_else(|| {
1990 panic!(
1991 "unity: virtual slot {}
1992 out of range (vtable len {}
1993) on the runtime class behind {}
1994 (method `{}
1995`)",
1996 36usize,
1997 __vt.len(),
1998 <InputField as ::unity::ClassIdentity>::NAME,
1999 "OnSelect",
2000 )
2001 });
2002 let __inner: extern "C" fn(
2003 InputField,
2004 crate::unity_engine::event_systems::baseeventdata::BaseEventData,
2005 ::unity::OptionalMethod,
2006 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2007 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2008 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
2009 }
2010 }
2011 }
2012 #[doc = "`OnPointerClick(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
2013 fn on_pointer_click(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
2014 unsafe {
2015 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2016 {
2017 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2018 let __vi = *__vt.get(71usize).unwrap_or_else(|| {
2019 panic!(
2020 "unity: virtual slot {}
2021 out of range (vtable len {}
2022) on the runtime class behind {}
2023 (method `{}
2024`)",
2025 71usize,
2026 __vt.len(),
2027 <InputField as ::unity::ClassIdentity>::NAME,
2028 "OnPointerClick",
2029 )
2030 });
2031 let __inner: extern "C" fn(
2032 InputField,
2033 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
2034 ::unity::OptionalMethod,
2035 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2036 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2037 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
2038 }
2039 }
2040 }
2041 #[doc = "`DeactivateInputField()` overload"]
2042 fn deactivate_input_field(self) -> () {
2043 unsafe {
2044 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2045 ::unity::il2cpp_call!((::unity::module_base()+0x3bf7350usize)as*mut u8,();
2046(InputField)__receiver)
2047 }
2048 }
2049 #[doc = "`OnDeselect(crate::unity_engine::event_systems::baseeventdata::BaseEventData)` overload"]
2050 fn on_deselect(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::baseeventdata::BaseEventData>) -> () {
2051 unsafe {
2052 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2053 {
2054 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2055 let __vi = *__vt.get(37usize).unwrap_or_else(|| {
2056 panic!(
2057 "unity: virtual slot {}
2058 out of range (vtable len {}
2059) on the runtime class behind {}
2060 (method `{}
2061`)",
2062 37usize,
2063 __vt.len(),
2064 <InputField as ::unity::ClassIdentity>::NAME,
2065 "OnDeselect",
2066 )
2067 });
2068 let __inner: extern "C" fn(
2069 InputField,
2070 crate::unity_engine::event_systems::baseeventdata::BaseEventData,
2071 ::unity::OptionalMethod,
2072 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2073 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2074 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
2075 }
2076 }
2077 }
2078 #[doc = "`OnSubmit(crate::unity_engine::event_systems::baseeventdata::BaseEventData)` overload"]
2079 fn on_submit(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::baseeventdata::BaseEventData>) -> () {
2080 unsafe {
2081 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2082 {
2083 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2084 let __vi = *__vt.get(72usize).unwrap_or_else(|| {
2085 panic!(
2086 "unity: virtual slot {}
2087 out of range (vtable len {}
2088) on the runtime class behind {}
2089 (method `{}
2090`)",
2091 72usize,
2092 __vt.len(),
2093 <InputField as ::unity::ClassIdentity>::NAME,
2094 "OnSubmit",
2095 )
2096 });
2097 let __inner: extern "C" fn(
2098 InputField,
2099 crate::unity_engine::event_systems::baseeventdata::BaseEventData,
2100 ::unity::OptionalMethod,
2101 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2102 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2103 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
2104 }
2105 }
2106 }
2107 #[doc = "`EnforceContentType()` overload"]
2108 fn enforce_content_type(self) -> () {
2109 unsafe {
2110 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2111 ::unity::il2cpp_call!((::unity::module_base()+0x3bf65f0usize)as*mut u8,();
2112(InputField)__receiver)
2113 }
2114 }
2115 #[doc = "`EnforceTextHOverflow()` overload"]
2116 fn enforce_text_h_overflow(self) -> () {
2117 unsafe {
2118 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2119 ::unity::il2cpp_call!((::unity::module_base()+0x3bf4d90usize)as*mut u8,();
2120(InputField)__receiver)
2121 }
2122 }
2123 #[doc = "`SetToCustomIfContentTypeIsNot(::unity::Array<crate::unity_engine::ui::inputfield::InputField_ContentType>)` overload"]
2124 fn set_to_custom_if_content_type_is_not(
2125 self,
2126 allowed_content_types: impl ::core::convert::Into<::unity::Array<crate::unity_engine::ui::inputfield::InputField_ContentType>>,
2127 ) -> () {
2128 unsafe {
2129 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2130 ::unity::il2cpp_call!((::unity::module_base()+0x3bf67c0usize)as*mut u8,();
2131(InputField)__receiver,(::unity::Array<crate::unity_engine::ui::inputfield::InputField_ContentType>)::core::convert::Into::into(allowed_content_types))
2132 }
2133 }
2134 #[doc = "`SetToCustom()` overload"]
2135 fn set_to_custom(self) -> () {
2136 unsafe {
2137 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2138 ::unity::il2cpp_call!((::unity::module_base()+0x3bf68d0usize)as*mut u8,();
2139(InputField)__receiver)
2140 }
2141 }
2142 #[doc = "`DoStateTransition(crate::unity_engine::ui::selectable::Selectable_SelectionState, bool)` overload"]
2143 fn do_state_transition(
2144 self,
2145 state: impl ::core::convert::Into<crate::unity_engine::ui::selectable::Selectable_SelectionState>,
2146 instant: impl ::core::convert::Into<bool>,
2147 ) -> () {
2148 unsafe {
2149 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2150 {
2151 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2152 let __vi = *__vt.get(26usize).unwrap_or_else(|| {
2153 panic!(
2154 "unity: virtual slot {}
2155 out of range (vtable len {}
2156) on the runtime class behind {}
2157 (method `{}
2158`)",
2159 26usize,
2160 __vt.len(),
2161 <InputField as ::unity::ClassIdentity>::NAME,
2162 "DoStateTransition",
2163 )
2164 });
2165 let __inner: extern "C" fn(
2166 InputField,
2167 crate::unity_engine::ui::selectable::Selectable_SelectionState,
2168 bool,
2169 ::unity::OptionalMethod,
2170 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2171 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2172 __inner(__receiver, ::core::convert::Into::into(state), ::core::convert::Into::into(instant), __mi)
2173 }
2174 }
2175 }
2176 #[doc = "`CalculateLayoutInputHorizontal()` overload"]
2177 fn calculate_layout_input_horizontal(self) -> () {
2178 unsafe {
2179 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2180 {
2181 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2182 let __vi = *__vt.get(73usize).unwrap_or_else(|| {
2183 panic!(
2184 "unity: virtual slot {}
2185 out of range (vtable len {}
2186) on the runtime class behind {}
2187 (method `{}
2188`)",
2189 73usize,
2190 __vt.len(),
2191 <InputField as ::unity::ClassIdentity>::NAME,
2192 "CalculateLayoutInputHorizontal",
2193 )
2194 });
2195 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2196 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2197 __inner(__receiver, __mi)
2198 }
2199 }
2200 }
2201 #[doc = "`CalculateLayoutInputVertical()` overload"]
2202 fn calculate_layout_input_vertical(self) -> () {
2203 unsafe {
2204 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2205 {
2206 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2207 let __vi = *__vt.get(74usize).unwrap_or_else(|| {
2208 panic!(
2209 "unity: virtual slot {}
2210 out of range (vtable len {}
2211) on the runtime class behind {}
2212 (method `{}
2213`)",
2214 74usize,
2215 __vt.len(),
2216 <InputField as ::unity::ClassIdentity>::NAME,
2217 "CalculateLayoutInputVertical",
2218 )
2219 });
2220 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2221 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2222 __inner(__receiver, __mi)
2223 }
2224 }
2225 }
2226 #[doc = "`get_minWidth()` overload"]
2227 fn get_min_width(self) -> f32 {
2228 unsafe {
2229 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2230 {
2231 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2232 let __vi = *__vt.get(75usize).unwrap_or_else(|| {
2233 panic!(
2234 "unity: virtual slot {}
2235 out of range (vtable len {}
2236) on the runtime class behind {}
2237 (method `{}
2238`)",
2239 75usize,
2240 __vt.len(),
2241 <InputField as ::unity::ClassIdentity>::NAME,
2242 "get_minWidth",
2243 )
2244 });
2245 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2246 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2247 __inner(__receiver, __mi)
2248 }
2249 }
2250 }
2251 #[doc = "`get_preferredWidth()` overload"]
2252 fn get_preferred_width(self) -> f32 {
2253 unsafe {
2254 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2255 {
2256 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2257 let __vi = *__vt.get(76usize).unwrap_or_else(|| {
2258 panic!(
2259 "unity: virtual slot {}
2260 out of range (vtable len {}
2261) on the runtime class behind {}
2262 (method `{}
2263`)",
2264 76usize,
2265 __vt.len(),
2266 <InputField as ::unity::ClassIdentity>::NAME,
2267 "get_preferredWidth",
2268 )
2269 });
2270 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2271 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2272 __inner(__receiver, __mi)
2273 }
2274 }
2275 }
2276 #[doc = "`get_flexibleWidth()` overload"]
2277 fn get_flexible_width(self) -> f32 {
2278 unsafe {
2279 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2280 {
2281 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2282 let __vi = *__vt.get(77usize).unwrap_or_else(|| {
2283 panic!(
2284 "unity: virtual slot {}
2285 out of range (vtable len {}
2286) on the runtime class behind {}
2287 (method `{}
2288`)",
2289 77usize,
2290 __vt.len(),
2291 <InputField as ::unity::ClassIdentity>::NAME,
2292 "get_flexibleWidth",
2293 )
2294 });
2295 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2296 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2297 __inner(__receiver, __mi)
2298 }
2299 }
2300 }
2301 #[doc = "`get_minHeight()` overload"]
2302 fn get_min_height(self) -> f32 {
2303 unsafe {
2304 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2305 {
2306 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2307 let __vi = *__vt.get(78usize).unwrap_or_else(|| {
2308 panic!(
2309 "unity: virtual slot {}
2310 out of range (vtable len {}
2311) on the runtime class behind {}
2312 (method `{}
2313`)",
2314 78usize,
2315 __vt.len(),
2316 <InputField as ::unity::ClassIdentity>::NAME,
2317 "get_minHeight",
2318 )
2319 });
2320 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2321 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2322 __inner(__receiver, __mi)
2323 }
2324 }
2325 }
2326 #[doc = "`get_preferredHeight()` overload"]
2327 fn get_preferred_height(self) -> f32 {
2328 unsafe {
2329 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2330 {
2331 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2332 let __vi = *__vt.get(79usize).unwrap_or_else(|| {
2333 panic!(
2334 "unity: virtual slot {}
2335 out of range (vtable len {}
2336) on the runtime class behind {}
2337 (method `{}
2338`)",
2339 79usize,
2340 __vt.len(),
2341 <InputField as ::unity::ClassIdentity>::NAME,
2342 "get_preferredHeight",
2343 )
2344 });
2345 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2346 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2347 __inner(__receiver, __mi)
2348 }
2349 }
2350 }
2351 #[doc = "`get_flexibleHeight()` overload"]
2352 fn get_flexible_height(self) -> f32 {
2353 unsafe {
2354 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2355 {
2356 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2357 let __vi = *__vt.get(80usize).unwrap_or_else(|| {
2358 panic!(
2359 "unity: virtual slot {}
2360 out of range (vtable len {}
2361) on the runtime class behind {}
2362 (method `{}
2363`)",
2364 80usize,
2365 __vt.len(),
2366 <InputField as ::unity::ClassIdentity>::NAME,
2367 "get_flexibleHeight",
2368 )
2369 });
2370 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2371 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2372 __inner(__receiver, __mi)
2373 }
2374 }
2375 }
2376 #[doc = "`get_layoutPriority()` overload"]
2377 fn get_layout_priority(self) -> i32 {
2378 unsafe {
2379 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2380 {
2381 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2382 let __vi = *__vt.get(81usize).unwrap_or_else(|| {
2383 panic!(
2384 "unity: virtual slot {}
2385 out of range (vtable len {}
2386) on the runtime class behind {}
2387 (method `{}
2388`)",
2389 81usize,
2390 __vt.len(),
2391 <InputField as ::unity::ClassIdentity>::NAME,
2392 "get_layoutPriority",
2393 )
2394 });
2395 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
2396 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2397 __inner(__receiver, __mi)
2398 }
2399 }
2400 }
2401 #[doc = "`UnityEngine.UI.ICanvasElement.get_transform()` overload"]
2402 fn unity_engine_ui_i_canvas_element_get_transform(self) -> crate::unity_engine::transform::Transform {
2403 unsafe {
2404 let __receiver = <InputField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2405 {
2406 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2407 let __vi = *__vt.get(46usize).unwrap_or_else(|| {
2408 panic!(
2409 "unity: virtual slot {}
2410 out of range (vtable len {}
2411) on the runtime class behind {}
2412 (method `{}
2413`)",
2414 46usize,
2415 __vt.len(),
2416 <InputField as ::unity::ClassIdentity>::NAME,
2417 "UnityEngine.UI.ICanvasElement.get_transform",
2418 )
2419 });
2420 let __inner: extern "C" fn(InputField, ::unity::OptionalMethod) -> crate::unity_engine::transform::Transform =
2421 ::core::mem::transmute(__vi.method_ptr);
2422 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2423 __inner(__receiver, __mi)
2424 }
2425 }
2426 }
2427}
2428
2429#[cfg(feature = "unity_engine-ui-inputfield")]
2430impl<__T: IInputField> IInputFieldMethods for __T {}
2431
2432#[cfg(feature = "unity_engine-ui-inputfield")]
2433impl InputField {
2434 pub fn get_input_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2435 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2436 }
2437
2438 pub fn get_composition_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2439 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2440 }
2441
2442 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2443 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
2444 }
2445
2446 pub fn get_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2447 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
2448 }
2449
2450 pub fn get_cached_input_text_generator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
2452 }
2453
2454 pub fn set_should_hide_mobile_input_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
2456 }
2457
2458 pub fn get_should_hide_mobile_input_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2459 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
2460 }
2461
2462 pub fn set_should_activate_on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2463 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
2464 }
2465
2466 pub fn get_should_activate_on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2467 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
2468 }
2469
2470 pub fn get_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2471 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
2472 }
2473
2474 pub fn set_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2475 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
2476 }
2477
2478 pub fn set_text_without_notify_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2479 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
2480 }
2481
2482 pub fn set_text_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2483 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
2484 }
2485
2486 pub fn get_is_focused_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2487 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
2488 }
2489
2490 pub fn get_caret_blink_rate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2491 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
2492 }
2493
2494 pub fn set_caret_blink_rate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2495 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
2496 }
2497
2498 pub fn get_caret_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2499 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
2500 }
2501
2502 pub fn set_caret_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2503 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
2504 }
2505
2506 pub fn get_text_component_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2507 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
2508 }
2509
2510 pub fn set_text_component_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2511 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
2512 }
2513
2514 pub fn get_placeholder_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2515 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
2516 }
2517
2518 pub fn set_placeholder_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2519 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
2520 }
2521
2522 pub fn get_caret_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2523 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
2524 }
2525
2526 pub fn set_caret_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2527 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
2528 }
2529
2530 pub fn get_custom_caret_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2531 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
2532 }
2533
2534 pub fn set_custom_caret_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2535 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
2536 }
2537
2538 pub fn get_selection_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2539 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
2540 }
2541
2542 pub fn set_selection_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2543 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
2544 }
2545
2546 pub fn get_on_end_edit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2547 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
2548 }
2549
2550 pub fn set_on_end_edit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2551 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
2552 }
2553
2554 pub fn get_on_value_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2555 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
2556 }
2557
2558 pub fn set_on_value_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2559 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
2560 }
2561
2562 pub fn get_on_value_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2563 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
2564 }
2565
2566 pub fn set_on_value_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2567 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
2568 }
2569
2570 pub fn get_on_validate_input_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2571 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
2572 }
2573
2574 pub fn set_on_validate_input_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2575 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
2576 }
2577
2578 pub fn get_character_limit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2579 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
2580 }
2581
2582 pub fn set_character_limit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2583 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
2584 }
2585
2586 pub fn get_content_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2587 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
2588 }
2589
2590 pub fn set_content_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2591 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
2592 }
2593
2594 pub fn get_line_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2595 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
2596 }
2597
2598 pub fn set_line_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2599 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
2600 }
2601
2602 pub fn get_input_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2603 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
2604 }
2605
2606 pub fn set_input_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2607 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
2608 }
2609
2610 pub fn get_touch_screen_keyboard_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2611 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
2612 }
2613
2614 pub fn get_keyboard_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2615 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
2616 }
2617
2618 pub fn set_keyboard_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2619 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
2620 }
2621
2622 pub fn get_character_validation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2623 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
2624 }
2625
2626 pub fn set_character_validation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2627 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
2628 }
2629
2630 pub fn get_read_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2631 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
2632 }
2633
2634 pub fn set_read_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2635 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
2636 }
2637
2638 pub fn get_multi_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2639 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
2640 }
2641
2642 pub fn get_asterisk_char_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2643 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
2644 }
2645
2646 pub fn set_asterisk_char_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2647 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
2648 }
2649
2650 pub fn get_was_canceled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2651 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
2652 }
2653
2654 pub fn clamp_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2655 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
2656 }
2657
2658 pub fn get_caret_position_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2659 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
2660 }
2661
2662 pub fn set_caret_position_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2663 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
2664 }
2665
2666 pub fn get_caret_select_position_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2667 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
2668 }
2669
2670 pub fn set_caret_select_position_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2671 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
2672 }
2673
2674 pub fn get_has_selection_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2675 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
2676 }
2677
2678 pub fn get_caret_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2679 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
2680 }
2681
2682 pub fn set_caret_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2683 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
2684 }
2685
2686 pub fn get_selection_anchor_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2687 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
2688 }
2689
2690 pub fn set_selection_anchor_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2691 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
2692 }
2693
2694 pub fn get_selection_focus_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2695 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
2696 }
2697
2698 pub fn set_selection_focus_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2699 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
2700 }
2701
2702 pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2703 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
2704 }
2705
2706 pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2707 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
2708 }
2709
2710 pub fn caret_blink_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2711 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
2712 }
2713
2714 pub fn set_caret_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2715 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
2716 }
2717
2718 pub fn set_caret_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2719 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
2720 }
2721
2722 pub fn update_caret_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2723 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
2724 }
2725
2726 pub fn on_focus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2727 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
2728 }
2729
2730 pub fn select_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2731 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
2732 }
2733
2734 pub fn move_text_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2735 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
2736 }
2737
2738 pub fn move_text_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2739 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
2740 }
2741
2742 pub fn get_clipboard_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2743 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
2744 }
2745
2746 pub fn set_clipboard_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2747 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
2748 }
2749
2750 pub fn touch_screen_keyboard_should_be_used_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2751 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
2752 }
2753
2754 pub fn in_place_editing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2755 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
2756 }
2757
2758 pub fn in_place_editing_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2759 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
2760 }
2761
2762 pub fn update_caret_from_keyboard_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2763 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
2764 }
2765
2766 pub fn late_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2767 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
2768 }
2769
2770 pub fn screen_to_local_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2771 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
2772 }
2773
2774 pub fn get_unclamped_character_line_from_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2775 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
2776 }
2777
2778 pub fn get_character_index_from_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2779 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
2780 }
2781
2782 pub fn may_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2783 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
2784 }
2785
2786 pub fn on_begin_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2787 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
2788 }
2789
2790 pub fn on_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2791 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
2792 }
2793
2794 pub fn mouse_drag_outside_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2795 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
2796 }
2797
2798 pub fn on_end_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2799 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
2800 }
2801
2802 pub fn on_pointer_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2803 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
2804 }
2805
2806 pub fn key_pressed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2807 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
2808 }
2809
2810 pub fn is_valid_char_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2811 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
2812 }
2813
2814 pub fn process_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2815 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
2816 }
2817
2818 pub fn on_update_selected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2819 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[96]
2820 }
2821
2822 pub fn get_selected_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2823 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[97]
2824 }
2825
2826 pub fn findt_next_word_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2827 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[98]
2828 }
2829
2830 pub fn move_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2831 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[99]
2832 }
2833
2834 pub fn findt_prev_word_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2835 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[100]
2836 }
2837
2838 pub fn move_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2839 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[101]
2840 }
2841
2842 pub fn determine_character_line_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2843 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[102]
2844 }
2845
2846 pub fn line_up_character_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2847 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[103]
2848 }
2849
2850 pub fn line_down_character_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2851 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[104]
2852 }
2853
2854 pub fn move_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2855 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[105]
2856 }
2857
2858 pub fn move_down_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2859 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[106]
2860 }
2861
2862 pub fn move_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2863 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[107]
2864 }
2865
2866 pub fn move_up_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2867 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[108]
2868 }
2869
2870 pub fn delete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2871 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[109]
2872 }
2873
2874 pub fn forward_space_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2875 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[110]
2876 }
2877
2878 pub fn backspace_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2879 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[111]
2880 }
2881
2882 pub fn insert_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2883 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[112]
2884 }
2885
2886 pub fn update_touch_keyboard_from_edit_changes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2887 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[113]
2888 }
2889
2890 pub fn send_on_value_changed_and_update_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2891 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[114]
2892 }
2893
2894 pub fn send_on_value_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2895 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[115]
2896 }
2897
2898 pub fn send_on_submit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2899 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[116]
2900 }
2901
2902 pub fn append_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2903 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[117]
2904 }
2905
2906 pub fn append_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2907 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[118]
2908 }
2909
2910 pub fn update_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2911 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[119]
2912 }
2913
2914 pub fn is_selection_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2915 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[120]
2916 }
2917
2918 pub fn get_line_start_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2919 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[121]
2920 }
2921
2922 pub fn get_line_end_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2923 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[122]
2924 }
2925
2926 pub fn set_draw_range_to_contain_caret_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2927 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[123]
2928 }
2929
2930 pub fn force_label_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2931 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[124]
2932 }
2933
2934 pub fn mark_geometry_as_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2935 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[125]
2936 }
2937
2938 pub fn rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2939 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[126]
2940 }
2941
2942 pub fn layout_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2943 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[127]
2944 }
2945
2946 pub fn graphic_update_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2947 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[128]
2948 }
2949
2950 pub fn update_geometry_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2951 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[129]
2952 }
2953
2954 pub fn assign_positioning_if_needed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2955 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[130]
2956 }
2957
2958 pub fn on_fill_vbo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2959 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[131]
2960 }
2961
2962 pub fn generate_caret_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2963 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[132]
2964 }
2965
2966 pub fn create_cursor_verts_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2967 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[133]
2968 }
2969
2970 pub fn generate_highlight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2971 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[134]
2972 }
2973
2974 pub fn validate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2975 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[135]
2976 }
2977
2978 pub fn activate_input_field_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2979 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[136]
2980 }
2981
2982 pub fn activate_input_field_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2983 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[137]
2984 }
2985
2986 pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2987 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[138]
2988 }
2989
2990 pub fn on_pointer_click_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2991 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[139]
2992 }
2993
2994 pub fn deactivate_input_field_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2995 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[140]
2996 }
2997
2998 pub fn on_deselect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2999 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[141]
3000 }
3001
3002 pub fn on_submit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3003 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[142]
3004 }
3005
3006 pub fn enforce_content_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3007 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[143]
3008 }
3009
3010 pub fn enforce_text_h_overflow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3011 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[144]
3012 }
3013
3014 pub fn set_to_custom_if_content_type_is_not_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3015 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[145]
3016 }
3017
3018 pub fn set_to_custom_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3019 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[146]
3020 }
3021
3022 pub fn do_state_transition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3023 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[147]
3024 }
3025
3026 pub fn calculate_layout_input_horizontal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3027 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[148]
3028 }
3029
3030 pub fn calculate_layout_input_vertical_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3031 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[149]
3032 }
3033
3034 pub fn get_min_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3035 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[150]
3036 }
3037
3038 pub fn get_preferred_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3039 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[151]
3040 }
3041
3042 pub fn get_flexible_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3043 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[152]
3044 }
3045
3046 pub fn get_min_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3047 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[153]
3048 }
3049
3050 pub fn get_preferred_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3051 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[154]
3052 }
3053
3054 pub fn get_flexible_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3055 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[155]
3056 }
3057
3058 pub fn get_layout_priority_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3059 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[156]
3060 }
3061
3062 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3063 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[157]
3064 }
3065
3066 pub fn unity_engine_ui_i_canvas_element_get_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3067 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[158]
3068 }
3069}
3070
3071#[cfg(feature = "unity_engine-ui-inputfield")]
3072impl InputField {
3073 #[doc = "Direct (non-virtual) call to `InputField`'s own `set_shouldActivateOnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3074 pub unsafe fn set_should_activate_on_select(this: impl ::core::convert::Into<::unity::IlInstance>, value: bool) -> () {
3075 let __mi = Self::set_should_activate_on_select_method_info();
3076 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
3077 __inner(this.into(), value, ::core::option::Option::None)
3078 }
3079
3080 #[doc = "Direct (non-virtual) call to `InputField`'s own `get_shouldActivateOnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3081 pub unsafe fn get_should_activate_on_select(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
3082 let __mi = Self::get_should_activate_on_select_method_info();
3083 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
3084 __inner(this.into(), ::core::option::Option::None)
3085 }
3086
3087 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnEnable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3088 pub unsafe fn on_enable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
3089 let __mi = Self::on_enable_method_info();
3090 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
3091 __inner(this.into(), ::core::option::Option::None)
3092 }
3093
3094 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnDisable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3095 pub unsafe fn on_disable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
3096 let __mi = Self::on_disable_method_info();
3097 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
3098 __inner(this.into(), ::core::option::Option::None)
3099 }
3100
3101 #[doc = "Direct (non-virtual) call to `InputField`'s own `LateUpdate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3102 pub unsafe fn late_update(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
3103 let __mi = Self::late_update_method_info();
3104 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
3105 __inner(this.into(), ::core::option::Option::None)
3106 }
3107
3108 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnBeginDrag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3109 pub unsafe fn on_begin_drag(
3110 this: impl ::core::convert::Into<::unity::IlInstance>,
3111 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3112 ) -> () {
3113 let __mi = Self::on_begin_drag_method_info();
3114 let __inner: extern "C" fn(
3115 ::unity::IlInstance,
3116 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3117 ::unity::OptionalMethod,
3118 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3119 __inner(this.into(), event_data, ::core::option::Option::None)
3120 }
3121
3122 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnDrag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3123 pub unsafe fn on_drag(
3124 this: impl ::core::convert::Into<::unity::IlInstance>,
3125 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3126 ) -> () {
3127 let __mi = Self::on_drag_method_info();
3128 let __inner: extern "C" fn(
3129 ::unity::IlInstance,
3130 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3131 ::unity::OptionalMethod,
3132 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3133 __inner(this.into(), event_data, ::core::option::Option::None)
3134 }
3135
3136 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnEndDrag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3137 pub unsafe fn on_end_drag(
3138 this: impl ::core::convert::Into<::unity::IlInstance>,
3139 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3140 ) -> () {
3141 let __mi = Self::on_end_drag_method_info();
3142 let __inner: extern "C" fn(
3143 ::unity::IlInstance,
3144 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3145 ::unity::OptionalMethod,
3146 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3147 __inner(this.into(), event_data, ::core::option::Option::None)
3148 }
3149
3150 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnPointerDown`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3151 pub unsafe fn on_pointer_down(
3152 this: impl ::core::convert::Into<::unity::IlInstance>,
3153 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3154 ) -> () {
3155 let __mi = Self::on_pointer_down_method_info();
3156 let __inner: extern "C" fn(
3157 ::unity::IlInstance,
3158 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3159 ::unity::OptionalMethod,
3160 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3161 __inner(this.into(), event_data, ::core::option::Option::None)
3162 }
3163
3164 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnUpdateSelected`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3165 pub unsafe fn on_update_selected(
3166 this: impl ::core::convert::Into<::unity::IlInstance>,
3167 event_data: crate::unity_engine::event_systems::baseeventdata::BaseEventData,
3168 ) -> () {
3169 let __mi = Self::on_update_selected_method_info();
3170 let __inner: extern "C" fn(
3171 ::unity::IlInstance,
3172 crate::unity_engine::event_systems::baseeventdata::BaseEventData,
3173 ::unity::OptionalMethod,
3174 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3175 __inner(this.into(), event_data, ::core::option::Option::None)
3176 }
3177
3178 #[doc = "Direct (non-virtual) call to `InputField`'s own `Append`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3179 pub unsafe fn append(this: impl ::core::convert::Into<::unity::IlInstance>, input: ::unity::Il2CppString) -> () {
3180 let __mi = Self::append_method_info();
3181 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
3182 ::core::mem::transmute(__mi.method_ptr);
3183 __inner(this.into(), input, ::core::option::Option::None)
3184 }
3185
3186 #[doc = "Direct (non-virtual) call to `InputField`'s own `Append`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3187 pub unsafe fn append_2(this: impl ::core::convert::Into<::unity::IlInstance>, input: u16) -> () {
3188 let __mi = Self::append_2_method_info();
3189 let __inner: extern "C" fn(::unity::IlInstance, u16, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
3190 __inner(this.into(), input, ::core::option::Option::None)
3191 }
3192
3193 #[doc = "Direct (non-virtual) call to `InputField`'s own `Rebuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3194 pub unsafe fn rebuild(this: impl ::core::convert::Into<::unity::IlInstance>, update: crate::unity_engine::ui::canvasupdate::CanvasUpdate) -> () {
3195 let __mi = Self::rebuild_method_info();
3196 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::ui::canvasupdate::CanvasUpdate, ::unity::OptionalMethod) -> () =
3197 ::core::mem::transmute(__mi.method_ptr);
3198 __inner(this.into(), update, ::core::option::Option::None)
3199 }
3200
3201 #[doc = "Direct (non-virtual) call to `InputField`'s own `LayoutComplete`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3202 pub unsafe fn layout_complete(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
3203 let __mi = Self::layout_complete_method_info();
3204 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
3205 __inner(this.into(), ::core::option::Option::None)
3206 }
3207
3208 #[doc = "Direct (non-virtual) call to `InputField`'s own `GraphicUpdateComplete`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3209 pub unsafe fn graphic_update_complete(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
3210 let __mi = Self::graphic_update_complete_method_info();
3211 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
3212 __inner(this.into(), ::core::option::Option::None)
3213 }
3214
3215 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3216 pub unsafe fn on_select(
3217 this: impl ::core::convert::Into<::unity::IlInstance>,
3218 event_data: crate::unity_engine::event_systems::baseeventdata::BaseEventData,
3219 ) -> () {
3220 let __mi = Self::on_select_method_info();
3221 let __inner: extern "C" fn(
3222 ::unity::IlInstance,
3223 crate::unity_engine::event_systems::baseeventdata::BaseEventData,
3224 ::unity::OptionalMethod,
3225 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3226 __inner(this.into(), event_data, ::core::option::Option::None)
3227 }
3228
3229 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnPointerClick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3230 pub unsafe fn on_pointer_click(
3231 this: impl ::core::convert::Into<::unity::IlInstance>,
3232 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3233 ) -> () {
3234 let __mi = Self::on_pointer_click_method_info();
3235 let __inner: extern "C" fn(
3236 ::unity::IlInstance,
3237 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
3238 ::unity::OptionalMethod,
3239 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3240 __inner(this.into(), event_data, ::core::option::Option::None)
3241 }
3242
3243 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnDeselect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3244 pub unsafe fn on_deselect(
3245 this: impl ::core::convert::Into<::unity::IlInstance>,
3246 event_data: crate::unity_engine::event_systems::baseeventdata::BaseEventData,
3247 ) -> () {
3248 let __mi = Self::on_deselect_method_info();
3249 let __inner: extern "C" fn(
3250 ::unity::IlInstance,
3251 crate::unity_engine::event_systems::baseeventdata::BaseEventData,
3252 ::unity::OptionalMethod,
3253 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3254 __inner(this.into(), event_data, ::core::option::Option::None)
3255 }
3256
3257 #[doc = "Direct (non-virtual) call to `InputField`'s own `OnSubmit`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3258 pub unsafe fn on_submit(
3259 this: impl ::core::convert::Into<::unity::IlInstance>,
3260 event_data: crate::unity_engine::event_systems::baseeventdata::BaseEventData,
3261 ) -> () {
3262 let __mi = Self::on_submit_method_info();
3263 let __inner: extern "C" fn(
3264 ::unity::IlInstance,
3265 crate::unity_engine::event_systems::baseeventdata::BaseEventData,
3266 ::unity::OptionalMethod,
3267 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3268 __inner(this.into(), event_data, ::core::option::Option::None)
3269 }
3270
3271 #[doc = "Direct (non-virtual) call to `InputField`'s own `DoStateTransition`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3272 pub unsafe fn do_state_transition(
3273 this: impl ::core::convert::Into<::unity::IlInstance>,
3274 state: crate::unity_engine::ui::selectable::Selectable_SelectionState,
3275 instant: bool,
3276 ) -> () {
3277 let __mi = Self::do_state_transition_method_info();
3278 let __inner: extern "C" fn(
3279 ::unity::IlInstance,
3280 crate::unity_engine::ui::selectable::Selectable_SelectionState,
3281 bool,
3282 ::unity::OptionalMethod,
3283 ) -> () = ::core::mem::transmute(__mi.method_ptr);
3284 __inner(this.into(), state, instant, ::core::option::Option::None)
3285 }
3286
3287 #[doc = "Direct (non-virtual) call to `InputField`'s own `CalculateLayoutInputHorizontal`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3288 pub unsafe fn calculate_layout_input_horizontal(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
3289 let __mi = Self::calculate_layout_input_horizontal_method_info();
3290 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
3291 __inner(this.into(), ::core::option::Option::None)
3292 }
3293
3294 #[doc = "Direct (non-virtual) call to `InputField`'s own `CalculateLayoutInputVertical`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3295 pub unsafe fn calculate_layout_input_vertical(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
3296 let __mi = Self::calculate_layout_input_vertical_method_info();
3297 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
3298 __inner(this.into(), ::core::option::Option::None)
3299 }
3300
3301 #[doc = "Direct (non-virtual) call to `InputField`'s own `get_minWidth`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3302 pub unsafe fn get_min_width(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
3303 let __mi = Self::get_min_width_method_info();
3304 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
3305 __inner(this.into(), ::core::option::Option::None)
3306 }
3307
3308 #[doc = "Direct (non-virtual) call to `InputField`'s own `get_preferredWidth`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3309 pub unsafe fn get_preferred_width(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
3310 let __mi = Self::get_preferred_width_method_info();
3311 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
3312 __inner(this.into(), ::core::option::Option::None)
3313 }
3314
3315 #[doc = "Direct (non-virtual) call to `InputField`'s own `get_flexibleWidth`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3316 pub unsafe fn get_flexible_width(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
3317 let __mi = Self::get_flexible_width_method_info();
3318 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
3319 __inner(this.into(), ::core::option::Option::None)
3320 }
3321
3322 #[doc = "Direct (non-virtual) call to `InputField`'s own `get_minHeight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3323 pub unsafe fn get_min_height(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
3324 let __mi = Self::get_min_height_method_info();
3325 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
3326 __inner(this.into(), ::core::option::Option::None)
3327 }
3328
3329 #[doc = "Direct (non-virtual) call to `InputField`'s own `get_preferredHeight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3330 pub unsafe fn get_preferred_height(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
3331 let __mi = Self::get_preferred_height_method_info();
3332 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
3333 __inner(this.into(), ::core::option::Option::None)
3334 }
3335
3336 #[doc = "Direct (non-virtual) call to `InputField`'s own `get_flexibleHeight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3337 pub unsafe fn get_flexible_height(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
3338 let __mi = Self::get_flexible_height_method_info();
3339 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
3340 __inner(this.into(), ::core::option::Option::None)
3341 }
3342
3343 #[doc = "Direct (non-virtual) call to `InputField`'s own `get_layoutPriority`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3344 pub unsafe fn get_layout_priority(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
3345 let __mi = Self::get_layout_priority_method_info();
3346 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
3347 __inner(this.into(), ::core::option::Option::None)
3348 }
3349
3350 #[doc = "Direct (non-virtual) call to `InputField`'s own `UnityEngine.UI.ICanvasElement.get_transform`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
3351 pub unsafe fn unity_engine_ui_i_canvas_element_get_transform(
3352 this: impl ::core::convert::Into<::unity::IlInstance>,
3353 ) -> crate::unity_engine::transform::Transform {
3354 let __mi = Self::unity_engine_ui_i_canvas_element_get_transform_method_info();
3355 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::transform::Transform =
3356 ::core::mem::transmute(__mi.method_ptr);
3357 __inner(this.into(), ::core::option::Option::None)
3358 }
3359}
3360
3361#[cfg(feature = "unity_engine-ui-inputfield")]
3362impl InputField {
3363 #[doc = "`.ctor()` — no args"]
3364 pub fn new() -> Self {
3365 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3366 panic!(
3367 "{}
3368::{}
3369 failed to instantiate",
3370 ::core::stringify!(InputField),
3371 ::core::stringify!(new),
3372 )
3373 });
3374 <Self as IInputFieldMethods>::ctor(this);
3375 this
3376 }
3377}
3378
3379#[cfg(feature = "unity_engine-ui-inputfield")]
3380pub trait IInputField_SubmitEventMethods: IInputField_SubmitEvent {
3381 #[doc = "`.ctor()` overload"]
3382 fn ctor(self) -> () {
3383 unsafe {
3384 let __receiver =
3385 <InputField_SubmitEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3386 ::unity::il2cpp_call!((::unity::module_base()+0x3c0d2a0usize)as*mut u8,();
3387(InputField_SubmitEvent)__receiver)
3388 }
3389 }
3390}
3391
3392#[cfg(feature = "unity_engine-ui-inputfield")]
3393impl<__T: IInputField_SubmitEvent> IInputField_SubmitEventMethods for __T {}
3394
3395#[cfg(feature = "unity_engine-ui-inputfield")]
3396impl InputField_SubmitEvent {
3397 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3398 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3399 }
3400}
3401
3402#[cfg(feature = "unity_engine-ui-inputfield")]
3403impl InputField_SubmitEvent {
3404 #[doc = "`.ctor()` — no args"]
3405 pub fn new() -> Self {
3406 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
3407 panic!(
3408 "{}
3409::{}
3410 failed to instantiate",
3411 ::core::stringify!(InputField_SubmitEvent),
3412 ::core::stringify!(new),
3413 )
3414 });
3415 <Self as IInputField_SubmitEventMethods>::ctor(this);
3416 this
3417 }
3418}
3419
3420#[cfg(feature = "unity_engine-ui-inputfield")]
3421#[doc(hidden)]
3422pub mod prelude {
3423 pub use super::{
3424 IInputField, IInputFieldMethods, IInputField_OnChangeEvent, IInputField_OnChangeEventMethods, IInputField_OnValidateInput,
3425 IInputField_OnValidateInputMethods, IInputField_SubmitEvent, IInputField_SubmitEventMethods, InputField, InputField_CharacterValidation,
3426 InputField_ContentType, InputField_EditState, InputField_InputType, InputField_LineType, InputField_OnChangeEvent,
3427 InputField_OnValidateInput, InputField_SubmitEvent,
3428 };
3429 #[cfg(feature = "system-delegate")]
3430 pub use crate::system::delegate::IDelegateMethods;
3431 #[cfg(feature = "system-multicastdelegate")]
3432 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
3433 #[cfg(feature = "system-object")]
3434 pub use crate::system::object::IObjectMethods;
3435 #[cfg(feature = "system-enum")]
3436 pub use crate::system::r#enum::IEnumMethods;
3437 #[cfg(feature = "system-valuetype")]
3438 pub use crate::system::valuetype::IValueTypeMethods;
3439 #[cfg(feature = "unity_engine-behaviour")]
3440 pub use crate::unity_engine::behaviour::IBehaviourMethods;
3441 #[cfg(feature = "unity_engine-component")]
3442 pub use crate::unity_engine::component::IComponentMethods;
3443 #[cfg(feature = "unity_engine-event_systems-uibehaviour")]
3444 pub use crate::unity_engine::event_systems::uibehaviour::IUIBehaviourMethods;
3445 #[cfg(feature = "unity_engine-events-unityevent_1")]
3446 pub use crate::unity_engine::events::unityevent_1::IUnityEvent_1Methods;
3447 #[cfg(feature = "unity_engine-events-unityeventbase")]
3448 pub use crate::unity_engine::events::unityeventbase::IUnityEventBaseMethods;
3449 #[cfg(feature = "unity_engine-monobehaviour")]
3450 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
3451 #[cfg(feature = "unity_engine-object_2")]
3452 pub use crate::unity_engine::object_2::IObject_2Methods;
3453 #[cfg(feature = "unity_engine-ui-selectable")]
3454 pub use crate::unity_engine::ui::selectable::ISelectableMethods;
3455 pub use crate::{
3456 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
3457 unity_engine::{
3458 behaviour::IBehaviour,
3459 component::IComponent,
3460 event_systems::uibehaviour::IUIBehaviour,
3461 events::{unityevent_1::IUnityEvent_1, unityeventbase::IUnityEventBase},
3462 monobehaviour::IMonoBehaviour,
3463 object_2::IObject_2,
3464 ui::selectable::ISelectable,
3465 },
3466 };
3467}