Skip to main content

engage/generated/system/
char.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-char-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/system/char/Char.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct Char {
17        pub m_value: u16,
18    }
19    impl ::unity::ClassIdentity for Char {
20        const NAME: &'static str = "Char";
21        const NAMESPACE: &'static str = "System";
22
23        fn class() -> ::unity::Class {
24            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
25            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
26        }
27    }
28    impl ::unity::IlType for Char {
29        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
30            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
31        }
32    }
33    impl Char {
34        #[inline]
35        pub fn max_value() -> u16 {
36            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
37            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "MaxValue");
38            ::unity::static_field_get_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset)
39        }
40
41        #[inline]
42        pub fn set_max_value(value: u16) {
43            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
44            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "MaxValue");
45            ::unity::static_field_set_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset, value);
46        }
47
48        #[inline]
49        pub fn min_value() -> u16 {
50            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
51            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "MinValue");
52            ::unity::static_field_get_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset)
53        }
54
55        #[inline]
56        pub fn set_min_value(value: u16) {
57            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
58            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "MinValue");
59            ::unity::static_field_set_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset, value);
60        }
61
62        #[inline]
63        pub fn category_for_latin1() -> ::unity::Array<u8> {
64            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
65            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "categoryForLatin1");
66            ::unity::static_field_get_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset)
67        }
68
69        #[inline]
70        pub fn set_category_for_latin1(value: ::unity::Array<u8>) {
71            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
72            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "categoryForLatin1");
73            ::unity::static_field_set_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset, value);
74        }
75
76        #[inline]
77        pub fn unicode_plane00_end() -> i32 {
78            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
79            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "UNICODE_PLANE00_END");
80            ::unity::static_field_get_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset)
81        }
82
83        #[inline]
84        pub fn set_unicode_plane00_end(value: i32) {
85            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
86            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "UNICODE_PLANE00_END");
87            ::unity::static_field_set_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset, value);
88        }
89
90        #[inline]
91        pub fn unicode_plane01_start() -> i32 {
92            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
93            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "UNICODE_PLANE01_START");
94            ::unity::static_field_get_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset)
95        }
96
97        #[inline]
98        pub fn set_unicode_plane01_start(value: i32) {
99            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
100            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "UNICODE_PLANE01_START");
101            ::unity::static_field_set_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset, value);
102        }
103
104        #[inline]
105        pub fn unicode_plane16_end() -> i32 {
106            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
107            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "UNICODE_PLANE16_END");
108            ::unity::static_field_get_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset)
109        }
110
111        #[inline]
112        pub fn set_unicode_plane16_end(value: i32) {
113            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
114            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "UNICODE_PLANE16_END");
115            ::unity::static_field_set_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset, value);
116        }
117
118        #[inline]
119        pub fn high_surrogate_start() -> i32 {
120            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
121            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "HIGH_SURROGATE_START");
122            ::unity::static_field_get_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset)
123        }
124
125        #[inline]
126        pub fn set_high_surrogate_start(value: i32) {
127            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
128            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "HIGH_SURROGATE_START");
129            ::unity::static_field_set_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset, value);
130        }
131
132        #[inline]
133        pub fn low_surrogate_end() -> i32 {
134            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
135            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "LOW_SURROGATE_END");
136            ::unity::static_field_get_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset)
137        }
138
139        #[inline]
140        pub fn set_low_surrogate_end(value: i32) {
141            static OFFSET: ::std::sync::OnceLock<usize> = ::std::sync::OnceLock::new();
142            let __offset = ::unity::cached_field_offset_static::<Self>(&OFFSET, "LOW_SURROGATE_END");
143            ::unity::static_field_set_value_at_offset(<Self as ::unity::ClassIdentity>::class(), __offset, value);
144        }
145    }
146}
147
148#[cfg(feature = "system-char-types")]
149pub use __types::*;
150
151#[cfg(feature = "system-char")]
152impl Char {
153    #[doc = "`IsLatin1(u16)` overload"]
154    pub fn is_latin1(ch: impl ::core::convert::Into<u16>) -> bool {
155        unsafe {
156            ::unity::il2cpp_call!((::unity::module_base()+0x31d0b10usize)as*mut u8,bool;
157(u16)::core::convert::Into::into(ch))
158        }
159    }
160
161    #[doc = "`IsAscii(u16)` overload"]
162    pub fn is_ascii(ch: impl ::core::convert::Into<u16>) -> bool {
163        unsafe {
164            ::unity::il2cpp_call!((::unity::module_base()+0x31d0b20usize)as*mut u8,bool;
165(u16)::core::convert::Into::into(ch))
166        }
167    }
168
169    #[doc = "`ToString(u16)` overload"]
170    pub fn to_string_2(c: impl ::core::convert::Into<u16>) -> ::unity::Il2CppString {
171        unsafe {
172            ::unity::il2cpp_call!((::unity::module_base()+0x31d0de0usize)as*mut u8, ::unity::Il2CppString;
173(u16)::core::convert::Into::into(c))
174        }
175    }
176
177    #[doc = "`Parse(::unity::Il2CppString)` overload"]
178    pub fn parse(s: impl ::core::convert::Into<::unity::Il2CppString>) -> u16 {
179        unsafe {
180            ::unity::il2cpp_call!((::unity::module_base()+0x31d0e80usize)as*mut u8,u16;
181(::unity::Il2CppString)::core::convert::Into::into(s))
182        }
183    }
184
185    #[doc = "`TryParse(::unity::Il2CppString, *mutu16)` overload"]
186    pub fn try_parse(s: impl ::core::convert::Into<::unity::Il2CppString>) -> (bool, u16) {
187        unsafe {
188            let mut __out_0 = ::core::mem::MaybeUninit::<u16>::uninit();
189            let __ret = {
190                ::unity::il2cpp_call!((::unity::module_base()+0x31d0f50usize)as*mut u8,bool;
191(::unity::Il2CppString)::core::convert::Into::into(s),(*mut u16)__out_0.as_mut_ptr())
192            };
193            (__ret, __out_0.assume_init())
194        }
195    }
196
197    #[doc = "`IsDigit(u16)` overload"]
198    pub fn is_digit(c: impl ::core::convert::Into<u16>) -> bool {
199        unsafe {
200            ::unity::il2cpp_call!((::unity::module_base()+0x31d0fb0usize)as*mut u8,bool;
201(u16)::core::convert::Into::into(c))
202        }
203    }
204
205    #[doc = "`IsLetter(u16)` overload"]
206    pub fn is_letter(c: impl ::core::convert::Into<u16>) -> bool {
207        unsafe {
208            ::unity::il2cpp_call!((::unity::module_base()+0x31d1170usize)as*mut u8,bool;
209(u16)::core::convert::Into::into(c))
210        }
211    }
212
213    #[doc = "`IsWhiteSpaceLatin1(u16)` overload"]
214    pub fn is_white_space_latin1(c: impl ::core::convert::Into<u16>) -> bool {
215        unsafe {
216            ::unity::il2cpp_call!((::unity::module_base()+0x31d1310usize)as*mut u8,bool;
217(u16)::core::convert::Into::into(c))
218        }
219    }
220
221    #[doc = "`IsWhiteSpace(u16)` overload"]
222    pub fn is_white_space(c: impl ::core::convert::Into<u16>) -> bool {
223        unsafe {
224            ::unity::il2cpp_call!((::unity::module_base()+0x31d1360usize)as*mut u8,bool;
225(u16)::core::convert::Into::into(c))
226        }
227    }
228
229    #[doc = "`IsUpper(u16)` overload"]
230    pub fn is_upper(c: impl ::core::convert::Into<u16>) -> bool {
231        unsafe {
232            ::unity::il2cpp_call!((::unity::module_base()+0x31d1550usize)as*mut u8,bool;
233(u16)::core::convert::Into::into(c))
234        }
235    }
236
237    #[doc = "`IsLower(u16)` overload"]
238    pub fn is_lower(c: impl ::core::convert::Into<u16>) -> bool {
239        unsafe {
240            ::unity::il2cpp_call!((::unity::module_base()+0x31d16e0usize)as*mut u8,bool;
241(u16)::core::convert::Into::into(c))
242        }
243    }
244
245    #[doc = "`IsPunctuation(u16)` overload"]
246    pub fn is_punctuation(c: impl ::core::convert::Into<u16>) -> bool {
247        unsafe {
248            ::unity::il2cpp_call!((::unity::module_base()+0x31d1880usize)as*mut u8,bool;
249(u16)::core::convert::Into::into(c))
250        }
251    }
252
253    #[doc = "`IsLetterOrDigit(u16)` overload"]
254    pub fn is_letter_or_digit(c: impl ::core::convert::Into<u16>) -> bool {
255        unsafe {
256            ::unity::il2cpp_call!((::unity::module_base()+0x31d1a00usize)as*mut u8,bool;
257(u16)::core::convert::Into::into(c))
258        }
259    }
260
261    #[doc = "`ToUpper(u16)` overload"]
262    pub fn to_upper(c: impl ::core::convert::Into<u16>) -> u16 {
263        unsafe {
264            ::unity::il2cpp_call!((::unity::module_base()+0x31d1c10usize)as*mut u8,u16;
265(u16)::core::convert::Into::into(c))
266        }
267    }
268
269    #[doc = "`ToUpperInvariant(u16)` overload"]
270    pub fn to_upper_invariant(c: impl ::core::convert::Into<u16>) -> u16 {
271        unsafe {
272            ::unity::il2cpp_call!((::unity::module_base()+0x31d1cc0usize)as*mut u8,u16;
273(u16)::core::convert::Into::into(c))
274        }
275    }
276
277    #[doc = "`ToLower(u16)` overload"]
278    pub fn to_lower(c: impl ::core::convert::Into<u16>) -> u16 {
279        unsafe {
280            ::unity::il2cpp_call!((::unity::module_base()+0x31d1e00usize)as*mut u8,u16;
281(u16)::core::convert::Into::into(c))
282        }
283    }
284
285    #[doc = "`ToLowerInvariant(u16)` overload"]
286    pub fn to_lower_invariant(c: impl ::core::convert::Into<u16>) -> u16 {
287        unsafe {
288            ::unity::il2cpp_call!((::unity::module_base()+0x31d1eb0usize)as*mut u8,u16;
289(u16)::core::convert::Into::into(c))
290        }
291    }
292
293    #[doc = "`IsControl(u16)` overload"]
294    pub fn is_control(c: impl ::core::convert::Into<u16>) -> bool {
295        unsafe {
296            ::unity::il2cpp_call!((::unity::module_base()+0x31d3d50usize)as*mut u8,bool;
297(u16)::core::convert::Into::into(c))
298        }
299    }
300
301    #[doc = "`IsNumber(u16)` overload"]
302    pub fn is_number(c: impl ::core::convert::Into<u16>) -> bool {
303        unsafe {
304            ::unity::il2cpp_call!((::unity::module_base()+0x31d3ea0usize)as*mut u8,bool;
305(u16)::core::convert::Into::into(c))
306        }
307    }
308
309    #[doc = "`IsNumber(::unity::Il2CppString, i32)` overload"]
310    pub fn is_number_2(s: impl ::core::convert::Into<::unity::Il2CppString>, index: impl ::core::convert::Into<i32>) -> bool {
311        unsafe {
312            ::unity::il2cpp_call!((::unity::module_base()+0x31d4040usize)as*mut u8,bool;
313(::unity::Il2CppString)::core::convert::Into::into(s),(i32)::core::convert::Into::into(index))
314        }
315    }
316
317    #[doc = "`IsSeparatorLatin1(u16)` overload"]
318    pub fn is_separator_latin1(c: impl ::core::convert::Into<u16>) -> bool {
319        unsafe {
320            ::unity::il2cpp_call!((::unity::module_base()+0x31d4390usize)as*mut u8,bool;
321(u16)::core::convert::Into::into(c))
322        }
323    }
324
325    #[doc = "`IsSeparator(u16)` overload"]
326    pub fn is_separator(c: impl ::core::convert::Into<u16>) -> bool {
327        unsafe {
328            ::unity::il2cpp_call!((::unity::module_base()+0x31d43b0usize)as*mut u8,bool;
329(u16)::core::convert::Into::into(c))
330        }
331    }
332
333    #[doc = "`IsSurrogate(u16)` overload"]
334    pub fn is_surrogate(c: impl ::core::convert::Into<u16>) -> bool {
335        unsafe {
336            ::unity::il2cpp_call!((::unity::module_base()+0x31d44c0usize)as*mut u8,bool;
337(u16)::core::convert::Into::into(c))
338        }
339    }
340
341    #[doc = "`IsSurrogate(::unity::Il2CppString, i32)` overload"]
342    pub fn is_surrogate_2(s: impl ::core::convert::Into<::unity::Il2CppString>, index: impl ::core::convert::Into<i32>) -> bool {
343        unsafe {
344            ::unity::il2cpp_call!((::unity::module_base()+0x31d44d0usize)as*mut u8,bool;
345(::unity::Il2CppString)::core::convert::Into::into(s),(i32)::core::convert::Into::into(index))
346        }
347    }
348
349    #[doc = "`IsSymbol(u16)` overload"]
350    pub fn is_symbol(c: impl ::core::convert::Into<u16>) -> bool {
351        unsafe {
352            ::unity::il2cpp_call!((::unity::module_base()+0x31d4600usize)as*mut u8,bool;
353(u16)::core::convert::Into::into(c))
354        }
355    }
356
357    #[doc = "`IsHighSurrogate(u16)` overload"]
358    pub fn is_high_surrogate(c: impl ::core::convert::Into<u16>) -> bool {
359        unsafe {
360            ::unity::il2cpp_call!((::unity::module_base()+0x31d4c80usize)as*mut u8,bool;
361(u16)::core::convert::Into::into(c))
362        }
363    }
364
365    #[doc = "`IsHighSurrogate(::unity::Il2CppString, i32)` overload"]
366    pub fn is_high_surrogate_2(s: impl ::core::convert::Into<::unity::Il2CppString>, index: impl ::core::convert::Into<i32>) -> bool {
367        unsafe {
368            ::unity::il2cpp_call!((::unity::module_base()+0x31d4c90usize)as*mut u8,bool;
369(::unity::Il2CppString)::core::convert::Into::into(s),(i32)::core::convert::Into::into(index))
370        }
371    }
372
373    #[doc = "`IsLowSurrogate(u16)` overload"]
374    pub fn is_low_surrogate(c: impl ::core::convert::Into<u16>) -> bool {
375        unsafe {
376            ::unity::il2cpp_call!((::unity::module_base()+0x31d4db0usize)as*mut u8,bool;
377(u16)::core::convert::Into::into(c))
378        }
379    }
380
381    #[doc = "`IsSurrogatePair(u16, u16)` overload"]
382    pub fn is_surrogate_pair(high_surrogate: impl ::core::convert::Into<u16>, low_surrogate: impl ::core::convert::Into<u16>) -> bool {
383        unsafe {
384            ::unity::il2cpp_call!((::unity::module_base()+0x31d4dc0usize)as*mut u8,bool;
385(u16)::core::convert::Into::into(high_surrogate),(u16)::core::convert::Into::into(low_surrogate))
386        }
387    }
388
389    #[doc = "`ConvertFromUtf32(i32)` overload"]
390    pub fn convert_from_utf32(utf32: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
391        unsafe {
392            ::unity::il2cpp_call!((::unity::module_base()+0x31d4df0usize)as*mut u8, ::unity::Il2CppString;
393(i32)::core::convert::Into::into(utf32))
394        }
395    }
396
397    #[doc = "`ConvertToUtf32(u16, u16)` overload"]
398    pub fn convert_to_utf32(high_surrogate: impl ::core::convert::Into<u16>, low_surrogate: impl ::core::convert::Into<u16>) -> i32 {
399        unsafe {
400            ::unity::il2cpp_call!((::unity::module_base()+0x31d4f50usize)as*mut u8,i32;
401(u16)::core::convert::Into::into(high_surrogate),(u16)::core::convert::Into::into(low_surrogate))
402        }
403    }
404
405    #[doc = "`.cctor()` overload"]
406    pub fn cctor() -> () {
407        unsafe {
408            ::unity::il2cpp_call!((::unity::module_base()+0x31d50a0usize)as*mut u8,();
409            )
410        }
411    }
412}
413
414#[cfg(feature = "system-char")]
415impl Char {
416    #[doc = "`GetHashCode()` overload"]
417    pub fn get_hash_code(&mut self) -> i32 {
418        unsafe {
419            ::unity::il2cpp_call!((::unity::module_base()+0x31d0bc0usize)as*mut u8,i32;
420(*mut Char)self as*mut Char)
421        }
422    }
423
424    #[doc = "`Equals(crate::system::object::Object)` overload"]
425    pub fn equals(&mut self, obj: impl ::core::convert::Into<crate::system::object::Object>) -> bool {
426        unsafe {
427            ::unity::il2cpp_call!((::unity::module_base()+0x31d0bd0usize)as*mut u8,bool;
428(*mut Char)self as*mut Char,(crate::system::object::Object)::core::convert::Into::into(obj))
429        }
430    }
431
432    #[doc = "`Equals(u16)` overload"]
433    pub fn equals_2(&mut self, obj: impl ::core::convert::Into<u16>) -> bool {
434        unsafe {
435            ::unity::il2cpp_call!((::unity::module_base()+0x31d0c60usize)as*mut u8,bool;
436(*mut Char)self as*mut Char,(u16)::core::convert::Into::into(obj))
437        }
438    }
439
440    #[doc = "`CompareTo(crate::system::object::Object)` overload"]
441    pub fn compare_to(&mut self, value: impl ::core::convert::Into<crate::system::object::Object>) -> i32 {
442        unsafe {
443            ::unity::il2cpp_call!((::unity::module_base()+0x31d0c70usize)as*mut u8,i32;
444(*mut Char)self as*mut Char,(crate::system::object::Object)::core::convert::Into::into(value))
445        }
446    }
447
448    #[doc = "`CompareTo(u16)` overload"]
449    pub fn compare_to_2(&mut self, value: impl ::core::convert::Into<u16>) -> i32 {
450        unsafe {
451            ::unity::il2cpp_call!((::unity::module_base()+0x31d0d50usize)as*mut u8,i32;
452(*mut Char)self as*mut Char,(u16)::core::convert::Into::into(value))
453        }
454    }
455
456    #[doc = "`ToString()` overload"]
457    pub fn to_string(&mut self) -> ::unity::Il2CppString {
458        unsafe {
459            ::unity::il2cpp_call!((::unity::module_base()+0x31d0d60usize)as*mut u8, ::unity::Il2CppString;
460(*mut Char)self as*mut Char)
461        }
462    }
463}
464
465#[cfg(feature = "system-char")]
466impl Char {
467    pub fn is_latin1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
468        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
469    }
470
471    pub fn is_ascii_method_info() -> &'static ::unity::il2cpp::MethodInfo {
472        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
473    }
474
475    pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
476        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
477    }
478
479    pub fn equals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
480        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
481    }
482
483    pub fn equals_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
484        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
485    }
486
487    pub fn compare_to_method_info() -> &'static ::unity::il2cpp::MethodInfo {
488        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
489    }
490
491    pub fn compare_to_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
493    }
494
495    pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
497    }
498
499    pub fn to_string_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
501    }
502
503    pub fn parse_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
505    }
506
507    pub fn try_parse_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
509    }
510
511    pub fn is_digit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
513    }
514
515    pub fn is_letter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
517    }
518
519    pub fn is_white_space_latin1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
521    }
522
523    pub fn is_white_space_method_info() -> &'static ::unity::il2cpp::MethodInfo {
524        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
525    }
526
527    pub fn is_upper_method_info() -> &'static ::unity::il2cpp::MethodInfo {
528        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
529    }
530
531    pub fn is_lower_method_info() -> &'static ::unity::il2cpp::MethodInfo {
532        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
533    }
534
535    pub fn is_punctuation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
536        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
537    }
538
539    pub fn is_letter_or_digit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
540        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
541    }
542
543    pub fn to_upper_method_info() -> &'static ::unity::il2cpp::MethodInfo {
544        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
545    }
546
547    pub fn to_upper_invariant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
548        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
549    }
550
551    pub fn to_lower_method_info() -> &'static ::unity::il2cpp::MethodInfo {
552        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
553    }
554
555    pub fn to_lower_invariant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
556        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
557    }
558
559    pub fn is_control_method_info() -> &'static ::unity::il2cpp::MethodInfo {
560        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
561    }
562
563    pub fn is_number_method_info() -> &'static ::unity::il2cpp::MethodInfo {
564        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
565    }
566
567    pub fn is_number_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
568        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
569    }
570
571    pub fn is_separator_latin1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
572        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
573    }
574
575    pub fn is_separator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
576        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
577    }
578
579    pub fn is_surrogate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
580        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
581    }
582
583    pub fn is_surrogate_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
584        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
585    }
586
587    pub fn is_symbol_method_info() -> &'static ::unity::il2cpp::MethodInfo {
588        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
589    }
590
591    pub fn is_high_surrogate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
592        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
593    }
594
595    pub fn is_high_surrogate_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
596        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
597    }
598
599    pub fn is_low_surrogate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
600        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
601    }
602
603    pub fn is_surrogate_pair_method_info() -> &'static ::unity::il2cpp::MethodInfo {
604        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
605    }
606
607    pub fn convert_from_utf32_method_info() -> &'static ::unity::il2cpp::MethodInfo {
608        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
609    }
610
611    pub fn convert_to_utf32_method_info() -> &'static ::unity::il2cpp::MethodInfo {
612        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
613    }
614
615    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
616        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
617    }
618}
619
620#[cfg(feature = "system-char")]
621#[doc(hidden)]
622pub mod prelude {
623    pub use super::Char;
624    #[cfg(feature = "system-object")]
625    pub use crate::system::object::IObjectMethods;
626    #[cfg(feature = "system-valuetype")]
627    pub use crate::system::valuetype::IValueTypeMethods;
628    pub use crate::system::{object::IObject, valuetype::IValueType};
629}