1#[cfg(feature = "app-bit_2-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/bit_2/Bit_2.md"))]
11 #[::unity::class(namespace = "App", name = "Bit")]
12 #[parent(crate::system::object::Object)]
13 pub struct Bit_2 {}
14}
15
16#[cfg(feature = "app-bit_2-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-bit_2")]
20impl Bit_2 {
21 #[doc = "`Set(*muti8, i8)` overload"]
22 pub fn set(b: impl ::core::convert::Into<i8>) -> i8 {
23 unsafe {
24 let mut __out_0 = ::core::mem::MaybeUninit::<i8>::uninit();
25 ::unity::il2cpp_call!((::unity::module_base()+0x2986ec0usize)as*mut u8,();
26(*mut i8)__out_0.as_mut_ptr(),(i8)::core::convert::Into::into(b));
27 __out_0.assume_init()
28 }
29 }
30
31 #[doc = "`Clear(*muti8, i8)` overload"]
32 pub fn clear(b: impl ::core::convert::Into<i8>) -> i8 {
33 unsafe {
34 let mut __out_0 = ::core::mem::MaybeUninit::<i8>::uninit();
35 ::unity::il2cpp_call!((::unity::module_base()+0x2986ed0usize)as*mut u8,();
36(*mut i8)__out_0.as_mut_ptr(),(i8)::core::convert::Into::into(b));
37 __out_0.assume_init()
38 }
39 }
40
41 #[doc = "`Change(*muti8, i8)` overload"]
42 pub fn change(b: impl ::core::convert::Into<i8>) -> i8 {
43 unsafe {
44 let mut __out_0 = ::core::mem::MaybeUninit::<i8>::uninit();
45 ::unity::il2cpp_call!((::unity::module_base()+0x2986ee0usize)as*mut u8,();
46(*mut i8)__out_0.as_mut_ptr(),(i8)::core::convert::Into::into(b));
47 __out_0.assume_init()
48 }
49 }
50
51 #[doc = "`Set(*mutu8, u8)` overload"]
52 pub fn set_2(b: impl ::core::convert::Into<u8>) -> u8 {
53 unsafe {
54 let mut __out_0 = ::core::mem::MaybeUninit::<u8>::uninit();
55 ::unity::il2cpp_call!((::unity::module_base()+0x2986ef0usize)as*mut u8,();
56(*mut u8)__out_0.as_mut_ptr(),(u8)::core::convert::Into::into(b));
57 __out_0.assume_init()
58 }
59 }
60
61 #[doc = "`Clear(*mutu8, u8)` overload"]
62 pub fn clear_2(b: impl ::core::convert::Into<u8>) -> u8 {
63 unsafe {
64 let mut __out_0 = ::core::mem::MaybeUninit::<u8>::uninit();
65 ::unity::il2cpp_call!((::unity::module_base()+0x2986f00usize)as*mut u8,();
66(*mut u8)__out_0.as_mut_ptr(),(u8)::core::convert::Into::into(b));
67 __out_0.assume_init()
68 }
69 }
70
71 #[doc = "`Change(*mutu8, u8)` overload"]
72 pub fn change_2(b: impl ::core::convert::Into<u8>) -> u8 {
73 unsafe {
74 let mut __out_0 = ::core::mem::MaybeUninit::<u8>::uninit();
75 ::unity::il2cpp_call!((::unity::module_base()+0x2986f10usize)as*mut u8,();
76(*mut u8)__out_0.as_mut_ptr(),(u8)::core::convert::Into::into(b));
77 __out_0.assume_init()
78 }
79 }
80
81 #[doc = "`Set(*muti16, i16)` overload"]
82 pub fn set_3(b: impl ::core::convert::Into<i16>) -> i16 {
83 unsafe {
84 let mut __out_0 = ::core::mem::MaybeUninit::<i16>::uninit();
85 ::unity::il2cpp_call!((::unity::module_base()+0x2986f20usize)as*mut u8,();
86(*mut i16)__out_0.as_mut_ptr(),(i16)::core::convert::Into::into(b));
87 __out_0.assume_init()
88 }
89 }
90
91 #[doc = "`Clear(*muti16, i16)` overload"]
92 pub fn clear_3(b: impl ::core::convert::Into<i16>) -> i16 {
93 unsafe {
94 let mut __out_0 = ::core::mem::MaybeUninit::<i16>::uninit();
95 ::unity::il2cpp_call!((::unity::module_base()+0x2986f30usize)as*mut u8,();
96(*mut i16)__out_0.as_mut_ptr(),(i16)::core::convert::Into::into(b));
97 __out_0.assume_init()
98 }
99 }
100
101 #[doc = "`Change(*muti16, i16)` overload"]
102 pub fn change_3(b: impl ::core::convert::Into<i16>) -> i16 {
103 unsafe {
104 let mut __out_0 = ::core::mem::MaybeUninit::<i16>::uninit();
105 ::unity::il2cpp_call!((::unity::module_base()+0x2986f40usize)as*mut u8,();
106(*mut i16)__out_0.as_mut_ptr(),(i16)::core::convert::Into::into(b));
107 __out_0.assume_init()
108 }
109 }
110
111 #[doc = "`Set(*mutu16, u16)` overload"]
112 pub fn set_4(b: impl ::core::convert::Into<u16>) -> u16 {
113 unsafe {
114 let mut __out_0 = ::core::mem::MaybeUninit::<u16>::uninit();
115 ::unity::il2cpp_call!((::unity::module_base()+0x2986f50usize)as*mut u8,();
116(*mut u16)__out_0.as_mut_ptr(),(u16)::core::convert::Into::into(b));
117 __out_0.assume_init()
118 }
119 }
120
121 #[doc = "`Clear(*mutu16, u16)` overload"]
122 pub fn clear_4(b: impl ::core::convert::Into<u16>) -> u16 {
123 unsafe {
124 let mut __out_0 = ::core::mem::MaybeUninit::<u16>::uninit();
125 ::unity::il2cpp_call!((::unity::module_base()+0x2986f60usize)as*mut u8,();
126(*mut u16)__out_0.as_mut_ptr(),(u16)::core::convert::Into::into(b));
127 __out_0.assume_init()
128 }
129 }
130
131 #[doc = "`Change(*mutu16, u16)` overload"]
132 pub fn change_4(b: impl ::core::convert::Into<u16>) -> u16 {
133 unsafe {
134 let mut __out_0 = ::core::mem::MaybeUninit::<u16>::uninit();
135 ::unity::il2cpp_call!((::unity::module_base()+0x2986f70usize)as*mut u8,();
136(*mut u16)__out_0.as_mut_ptr(),(u16)::core::convert::Into::into(b));
137 __out_0.assume_init()
138 }
139 }
140
141 #[doc = "`Set(*muti32, i32)` overload"]
142 pub fn set_5(b: impl ::core::convert::Into<i32>) -> i32 {
143 unsafe {
144 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
145 ::unity::il2cpp_call!((::unity::module_base()+0x2986f80usize)as*mut u8,();
146(*mut i32)__out_0.as_mut_ptr(),(i32)::core::convert::Into::into(b));
147 __out_0.assume_init()
148 }
149 }
150
151 #[doc = "`Clear(*muti32, i32)` overload"]
152 pub fn clear_5(b: impl ::core::convert::Into<i32>) -> i32 {
153 unsafe {
154 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
155 ::unity::il2cpp_call!((::unity::module_base()+0x2986f90usize)as*mut u8,();
156(*mut i32)__out_0.as_mut_ptr(),(i32)::core::convert::Into::into(b));
157 __out_0.assume_init()
158 }
159 }
160
161 #[doc = "`Change(*muti32, i32)` overload"]
162 pub fn change_5(b: impl ::core::convert::Into<i32>) -> i32 {
163 unsafe {
164 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
165 ::unity::il2cpp_call!((::unity::module_base()+0x2986fa0usize)as*mut u8,();
166(*mut i32)__out_0.as_mut_ptr(),(i32)::core::convert::Into::into(b));
167 __out_0.assume_init()
168 }
169 }
170
171 #[doc = "`Test(i32, i32)` overload"]
172 pub fn test(a: impl ::core::convert::Into<i32>, b: impl ::core::convert::Into<i32>) -> bool {
173 unsafe {
174 ::unity::il2cpp_call!((::unity::module_base()+0x2986fb0usize)as*mut u8,bool;
175(i32)::core::convert::Into::into(a),(i32)::core::convert::Into::into(b))
176 }
177 }
178
179 #[doc = "`Not(i32, i32)` overload"]
180 pub fn not(a: impl ::core::convert::Into<i32>, b: impl ::core::convert::Into<i32>) -> bool {
181 unsafe {
182 ::unity::il2cpp_call!((::unity::module_base()+0x2986fc0usize)as*mut u8,bool;
183(i32)::core::convert::Into::into(a),(i32)::core::convert::Into::into(b))
184 }
185 }
186
187 #[doc = "`Match(i32, i32)` overload"]
188 pub fn r#match(a: impl ::core::convert::Into<i32>, b: impl ::core::convert::Into<i32>) -> bool {
189 unsafe {
190 ::unity::il2cpp_call!((::unity::module_base()+0x2986fd0usize)as*mut u8,bool;
191(i32)::core::convert::Into::into(a),(i32)::core::convert::Into::into(b))
192 }
193 }
194
195 #[doc = "`Set(*mutu32, u32)` overload"]
196 pub fn set_6(b: impl ::core::convert::Into<u32>) -> u32 {
197 unsafe {
198 let mut __out_0 = ::core::mem::MaybeUninit::<u32>::uninit();
199 ::unity::il2cpp_call!((::unity::module_base()+0x2986fe0usize)as*mut u8,();
200(*mut u32)__out_0.as_mut_ptr(),(u32)::core::convert::Into::into(b));
201 __out_0.assume_init()
202 }
203 }
204
205 #[doc = "`Clear(*mutu32, u32)` overload"]
206 pub fn clear_6(b: impl ::core::convert::Into<u32>) -> u32 {
207 unsafe {
208 let mut __out_0 = ::core::mem::MaybeUninit::<u32>::uninit();
209 ::unity::il2cpp_call!((::unity::module_base()+0x2986ff0usize)as*mut u8,();
210(*mut u32)__out_0.as_mut_ptr(),(u32)::core::convert::Into::into(b));
211 __out_0.assume_init()
212 }
213 }
214
215 #[doc = "`Change(*mutu32, u32)` overload"]
216 pub fn change_6(b: impl ::core::convert::Into<u32>) -> u32 {
217 unsafe {
218 let mut __out_0 = ::core::mem::MaybeUninit::<u32>::uninit();
219 ::unity::il2cpp_call!((::unity::module_base()+0x2987000usize)as*mut u8,();
220(*mut u32)__out_0.as_mut_ptr(),(u32)::core::convert::Into::into(b));
221 __out_0.assume_init()
222 }
223 }
224
225 #[doc = "`Test(u32, u32)` overload"]
226 pub fn test_2(a: impl ::core::convert::Into<u32>, b: impl ::core::convert::Into<u32>) -> bool {
227 unsafe {
228 ::unity::il2cpp_call!((::unity::module_base()+0x2987010usize)as*mut u8,bool;
229(u32)::core::convert::Into::into(a),(u32)::core::convert::Into::into(b))
230 }
231 }
232
233 #[doc = "`Not(u32, u32)` overload"]
234 pub fn not_2(a: impl ::core::convert::Into<u32>, b: impl ::core::convert::Into<u32>) -> bool {
235 unsafe {
236 ::unity::il2cpp_call!((::unity::module_base()+0x2987020usize)as*mut u8,bool;
237(u32)::core::convert::Into::into(a),(u32)::core::convert::Into::into(b))
238 }
239 }
240
241 #[doc = "`Match(u32, u32)` overload"]
242 pub fn r#match_2(a: impl ::core::convert::Into<u32>, b: impl ::core::convert::Into<u32>) -> bool {
243 unsafe {
244 ::unity::il2cpp_call!((::unity::module_base()+0x2987030usize)as*mut u8,bool;
245(u32)::core::convert::Into::into(a),(u32)::core::convert::Into::into(b))
246 }
247 }
248
249 #[doc = "`Set(*muti64, i64)` overload"]
250 pub fn set_7(b: impl ::core::convert::Into<i64>) -> i64 {
251 unsafe {
252 let mut __out_0 = ::core::mem::MaybeUninit::<i64>::uninit();
253 ::unity::il2cpp_call!((::unity::module_base()+0x2987040usize)as*mut u8,();
254(*mut i64)__out_0.as_mut_ptr(),(i64)::core::convert::Into::into(b));
255 __out_0.assume_init()
256 }
257 }
258
259 #[doc = "`Clear(*muti64, i64)` overload"]
260 pub fn clear_7(b: impl ::core::convert::Into<i64>) -> i64 {
261 unsafe {
262 let mut __out_0 = ::core::mem::MaybeUninit::<i64>::uninit();
263 ::unity::il2cpp_call!((::unity::module_base()+0x2987050usize)as*mut u8,();
264(*mut i64)__out_0.as_mut_ptr(),(i64)::core::convert::Into::into(b));
265 __out_0.assume_init()
266 }
267 }
268
269 #[doc = "`Change(*muti64, i64)` overload"]
270 pub fn change_7(b: impl ::core::convert::Into<i64>) -> i64 {
271 unsafe {
272 let mut __out_0 = ::core::mem::MaybeUninit::<i64>::uninit();
273 ::unity::il2cpp_call!((::unity::module_base()+0x2987060usize)as*mut u8,();
274(*mut i64)__out_0.as_mut_ptr(),(i64)::core::convert::Into::into(b));
275 __out_0.assume_init()
276 }
277 }
278
279 #[doc = "`Test(i64, i64)` overload"]
280 pub fn test_3(a: impl ::core::convert::Into<i64>, b: impl ::core::convert::Into<i64>) -> bool {
281 unsafe {
282 ::unity::il2cpp_call!((::unity::module_base()+0x2987070usize)as*mut u8,bool;
283(i64)::core::convert::Into::into(a),(i64)::core::convert::Into::into(b))
284 }
285 }
286
287 #[doc = "`Not(i64, i64)` overload"]
288 pub fn not_3(a: impl ::core::convert::Into<i64>, b: impl ::core::convert::Into<i64>) -> bool {
289 unsafe {
290 ::unity::il2cpp_call!((::unity::module_base()+0x2987080usize)as*mut u8,bool;
291(i64)::core::convert::Into::into(a),(i64)::core::convert::Into::into(b))
292 }
293 }
294
295 #[doc = "`Match(i64, i64)` overload"]
296 pub fn r#match_3(a: impl ::core::convert::Into<i64>, b: impl ::core::convert::Into<i64>) -> bool {
297 unsafe {
298 ::unity::il2cpp_call!((::unity::module_base()+0x2987090usize)as*mut u8,bool;
299(i64)::core::convert::Into::into(a),(i64)::core::convert::Into::into(b))
300 }
301 }
302
303 #[doc = "`Set(*mutu64, u64)` overload"]
304 pub fn set_8(b: impl ::core::convert::Into<u64>) -> u64 {
305 unsafe {
306 let mut __out_0 = ::core::mem::MaybeUninit::<u64>::uninit();
307 ::unity::il2cpp_call!((::unity::module_base()+0x29870a0usize)as*mut u8,();
308(*mut u64)__out_0.as_mut_ptr(),(u64)::core::convert::Into::into(b));
309 __out_0.assume_init()
310 }
311 }
312
313 #[doc = "`Clear(*mutu64, u64)` overload"]
314 pub fn clear_8(b: impl ::core::convert::Into<u64>) -> u64 {
315 unsafe {
316 let mut __out_0 = ::core::mem::MaybeUninit::<u64>::uninit();
317 ::unity::il2cpp_call!((::unity::module_base()+0x29870b0usize)as*mut u8,();
318(*mut u64)__out_0.as_mut_ptr(),(u64)::core::convert::Into::into(b));
319 __out_0.assume_init()
320 }
321 }
322
323 #[doc = "`Change(*mutu64, u64)` overload"]
324 pub fn change_8(b: impl ::core::convert::Into<u64>) -> u64 {
325 unsafe {
326 let mut __out_0 = ::core::mem::MaybeUninit::<u64>::uninit();
327 ::unity::il2cpp_call!((::unity::module_base()+0x29870c0usize)as*mut u8,();
328(*mut u64)__out_0.as_mut_ptr(),(u64)::core::convert::Into::into(b));
329 __out_0.assume_init()
330 }
331 }
332
333 #[doc = "`Test(u64, u64)` overload"]
334 pub fn test_4(a: impl ::core::convert::Into<u64>, b: impl ::core::convert::Into<u64>) -> bool {
335 unsafe {
336 ::unity::il2cpp_call!((::unity::module_base()+0x29870d0usize)as*mut u8,bool;
337(u64)::core::convert::Into::into(a),(u64)::core::convert::Into::into(b))
338 }
339 }
340
341 #[doc = "`Not(u64, u64)` overload"]
342 pub fn not_4(a: impl ::core::convert::Into<u64>, b: impl ::core::convert::Into<u64>) -> bool {
343 unsafe {
344 ::unity::il2cpp_call!((::unity::module_base()+0x29870e0usize)as*mut u8,bool;
345(u64)::core::convert::Into::into(a),(u64)::core::convert::Into::into(b))
346 }
347 }
348
349 #[doc = "`Match(u64, u64)` overload"]
350 pub fn r#match_4(a: impl ::core::convert::Into<u64>, b: impl ::core::convert::Into<u64>) -> bool {
351 unsafe {
352 ::unity::il2cpp_call!((::unity::module_base()+0x29870f0usize)as*mut u8,bool;
353(u64)::core::convert::Into::into(a),(u64)::core::convert::Into::into(b))
354 }
355 }
356
357 pub fn test_5<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
358 a: impl ::core::convert::Into<M0>,
359 b: impl ::core::convert::Into<M0>,
360 ) -> bool {
361 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
362 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Bit_2 as ::unity::ClassIdentity>::class(), "Test", 2));
363 #[allow(clippy::type_complexity)]
364 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
365 ::std::sync::OnceLock::new();
366 let _ = true;
367 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
368 ::core::result::Result::Ok(mi) => *mi,
369 ::core::result::Result::Err(e) => {
370 panic!(
371 "method lookup failed: {}
372::{}
373: {}
374",
375 <Bit_2 as ::unity::ClassIdentity>::NAME,
376 "Test",
377 e
378 )
379 },
380 };
381 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
382 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
383 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
384 let mut __guard = __cache.lock().unwrap();
385 *__guard
386 .entry(__key)
387 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
388 };
389 unsafe {
390 let __f: extern "C" fn(M0, M0, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__inflated.method_ptr);
391 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
392 __f(
393 ::core::convert::Into::into(a),
394 ::core::convert::Into::into(b),
395 ::core::option::Option::Some(__mi_opaque),
396 )
397 }
398 }
399
400 pub fn not_5<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
401 a: impl ::core::convert::Into<M0>,
402 b: impl ::core::convert::Into<M0>,
403 ) -> bool {
404 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
405 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Bit_2 as ::unity::ClassIdentity>::class(), "Not", 2));
406 #[allow(clippy::type_complexity)]
407 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
408 ::std::sync::OnceLock::new();
409 let _ = true;
410 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
411 ::core::result::Result::Ok(mi) => *mi,
412 ::core::result::Result::Err(e) => {
413 panic!(
414 "method lookup failed: {}
415::{}
416: {}
417",
418 <Bit_2 as ::unity::ClassIdentity>::NAME,
419 "Not",
420 e
421 )
422 },
423 };
424 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
425 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
426 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
427 let mut __guard = __cache.lock().unwrap();
428 *__guard
429 .entry(__key)
430 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
431 };
432 unsafe {
433 let __f: extern "C" fn(M0, M0, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__inflated.method_ptr);
434 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
435 __f(
436 ::core::convert::Into::into(a),
437 ::core::convert::Into::into(b),
438 ::core::option::Option::Some(__mi_opaque),
439 )
440 }
441 }
442
443 pub fn r#match_5<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
444 a: impl ::core::convert::Into<M0>,
445 b: impl ::core::convert::Into<M0>,
446 ) -> bool {
447 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
448 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Bit_2 as ::unity::ClassIdentity>::class(), "Match", 2));
449 #[allow(clippy::type_complexity)]
450 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
451 ::std::sync::OnceLock::new();
452 let _ = true;
453 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
454 ::core::result::Result::Ok(mi) => *mi,
455 ::core::result::Result::Err(e) => {
456 panic!(
457 "method lookup failed: {}
458::{}
459: {}
460",
461 <Bit_2 as ::unity::ClassIdentity>::NAME,
462 "Match",
463 e
464 )
465 },
466 };
467 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
468 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
469 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
470 let mut __guard = __cache.lock().unwrap();
471 *__guard
472 .entry(__key)
473 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
474 };
475 unsafe {
476 let __f: extern "C" fn(M0, M0, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__inflated.method_ptr);
477 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
478 __f(
479 ::core::convert::Into::into(a),
480 ::core::convert::Into::into(b),
481 ::core::option::Option::Some(__mi_opaque),
482 )
483 }
484 }
485
486 #[doc = "`Count(i32)` overload"]
487 pub fn count(value: impl ::core::convert::Into<i32>) -> i32 {
488 unsafe {
489 ::unity::il2cpp_call!((::unity::module_base()+0x2987100usize)as*mut u8,i32;
490(i32)::core::convert::Into::into(value))
491 }
492 }
493
494 #[doc = "`Count(i64)` overload"]
495 pub fn count_2(value: impl ::core::convert::Into<i64>) -> i32 {
496 unsafe {
497 ::unity::il2cpp_call!((::unity::module_base()+0x2987140usize)as*mut u8,i32;
498(i64)::core::convert::Into::into(value))
499 }
500 }
501
502 #[doc = "`Digit(i32)` overload"]
503 pub fn digit(value: impl ::core::convert::Into<i32>) -> i32 {
504 unsafe {
505 ::unity::il2cpp_call!((::unity::module_base()+0x2987180usize)as*mut u8,i32;
506(i32)::core::convert::Into::into(value))
507 }
508 }
509}
510
511#[cfg(feature = "app-bit_2")]
512pub trait IBit_2Methods: IBit_2 {
513 #[doc = "`.ctor()` overload"]
514 fn ctor(self) -> () {
515 unsafe {
516 let __receiver = <Bit_2 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
517 ::unity::il2cpp_call!((::unity::module_base()+0x29871b0usize)as*mut u8,();
518(Bit_2)__receiver)
519 }
520 }
521}
522
523#[cfg(feature = "app-bit_2")]
524impl<__T: IBit_2> IBit_2Methods for __T {}
525
526#[cfg(feature = "app-bit_2")]
527impl Bit_2 {
528 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
529 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
530 }
531
532 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
533 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
534 }
535
536 pub fn change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
537 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
538 }
539
540 pub fn set_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
541 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
542 }
543
544 pub fn clear_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
545 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
546 }
547
548 pub fn change_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
549 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
550 }
551
552 pub fn set_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
553 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
554 }
555
556 pub fn clear_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
557 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
558 }
559
560 pub fn change_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
561 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
562 }
563
564 pub fn set_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
565 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
566 }
567
568 pub fn clear_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
569 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
570 }
571
572 pub fn change_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
573 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
574 }
575
576 pub fn set_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
577 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
578 }
579
580 pub fn clear_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
581 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
582 }
583
584 pub fn change_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
585 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
586 }
587
588 pub fn test_method_info() -> &'static ::unity::il2cpp::MethodInfo {
589 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
590 }
591
592 pub fn not_method_info() -> &'static ::unity::il2cpp::MethodInfo {
593 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
594 }
595
596 pub fn match_method_info() -> &'static ::unity::il2cpp::MethodInfo {
597 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
598 }
599
600 pub fn set_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
601 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
602 }
603
604 pub fn clear_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
605 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
606 }
607
608 pub fn change_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
609 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
610 }
611
612 pub fn test_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
613 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
614 }
615
616 pub fn not_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
617 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
618 }
619
620 pub fn match_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
621 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
622 }
623
624 pub fn set_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
625 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
626 }
627
628 pub fn clear_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
629 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
630 }
631
632 pub fn change_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
633 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
634 }
635
636 pub fn test_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
637 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
638 }
639
640 pub fn not_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
641 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
642 }
643
644 pub fn match_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
645 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
646 }
647
648 pub fn set_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
649 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
650 }
651
652 pub fn clear_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
653 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
654 }
655
656 pub fn change_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
657 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
658 }
659
660 pub fn test_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
661 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
662 }
663
664 pub fn not_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
665 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
666 }
667
668 pub fn match_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
670 }
671
672 pub fn count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
673 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
674 }
675
676 pub fn count_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
677 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
678 }
679
680 pub fn digit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
681 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
682 }
683
684 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
685 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
686 }
687}
688
689#[cfg(feature = "app-bit_2")]
690impl Bit_2 {
691 #[doc = "`.ctor()` — no args"]
692 pub fn new() -> Self {
693 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
694 panic!(
695 "{}
696::{}
697 failed to instantiate",
698 ::core::stringify!(Bit_2),
699 ::core::stringify!(new),
700 )
701 });
702 <Self as IBit_2Methods>::ctor(this);
703 this
704 }
705}
706
707#[cfg(feature = "app-bit_2")]
708#[doc(hidden)]
709pub mod prelude {
710 pub use super::{Bit_2, IBit_2, IBit_2Methods};
711 pub use crate::system::object::IObject;
712 #[cfg(feature = "system-object")]
713 pub use crate::system::object::IObjectMethods;
714}