Skip to main content

engage/generated/app/
bitfield32.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-bitfield32-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::bitfieldcommon::{BitFieldCommon, IBitFieldCommon},
10        system::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/bitfield32/BitField32.md"))]
14    #[::unity::class(namespace = "App", name = "BitField32")]
15    #[parent(crate::app::bitfieldcommon::BitFieldCommon)]
16    pub struct BitField32 {
17        #[offset(16)]
18        #[rename(name = "m_Value")]
19        pub m_value: i32,
20    }
21}
22
23#[cfg(feature = "app-bitfield32-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-bitfield32")]
27impl BitField32 {
28    #[doc = "`op_Equality(crate::app::bitfield32::BitField32, i32)` overload"]
29    pub fn op_equality(lhs: impl ::core::convert::Into<crate::app::bitfield32::BitField32>, rhs: impl ::core::convert::Into<i32>) -> bool {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x29876b0usize)as*mut u8,bool;
32(crate::app::bitfield32::BitField32)::core::convert::Into::into(lhs),(i32)::core::convert::Into::into(rhs))
33        }
34    }
35
36    #[doc = "`op_Inequality(crate::app::bitfield32::BitField32, i32)` overload"]
37    pub fn op_inequality(lhs: impl ::core::convert::Into<crate::app::bitfield32::BitField32>, rhs: impl ::core::convert::Into<i32>) -> bool {
38        unsafe {
39            ::unity::il2cpp_call!((::unity::module_base()+0x29876c0usize)as*mut u8,bool;
40(crate::app::bitfield32::BitField32)::core::convert::Into::into(lhs),(i32)::core::convert::Into::into(rhs))
41        }
42    }
43
44    #[doc = "`op_Equality(crate::app::bitfield32::BitField32, crate::app::bitfield32::BitField32)` overload"]
45    pub fn op_equality_2(
46        lhs: impl ::core::convert::Into<crate::app::bitfield32::BitField32>,
47        rhs: impl ::core::convert::Into<crate::app::bitfield32::BitField32>,
48    ) -> bool {
49        unsafe {
50            ::unity::il2cpp_call!((::unity::module_base()+0x29876d0usize)as*mut u8,bool;
51(crate::app::bitfield32::BitField32)::core::convert::Into::into(lhs),(crate::app::bitfield32::BitField32)::core::convert::Into::into(rhs))
52        }
53    }
54
55    #[doc = "`op_Inequality(crate::app::bitfield32::BitField32, crate::app::bitfield32::BitField32)` overload"]
56    pub fn op_inequality_2(
57        lhs: impl ::core::convert::Into<crate::app::bitfield32::BitField32>,
58        rhs: impl ::core::convert::Into<crate::app::bitfield32::BitField32>,
59    ) -> bool {
60        unsafe {
61            ::unity::il2cpp_call!((::unity::module_base()+0x2987710usize)as*mut u8,bool;
62(crate::app::bitfield32::BitField32)::core::convert::Into::into(lhs),(crate::app::bitfield32::BitField32)::core::convert::Into::into(rhs))
63        }
64    }
65}
66
67#[cfg(feature = "app-bitfield32")]
68pub trait IBitField32Methods: IBitField32 {
69    #[doc = "`.ctor()` overload"]
70    fn ctor(self) -> () {
71        unsafe {
72            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
73            ::unity::il2cpp_call!((::unity::module_base()+0x29873a0usize)as*mut u8,();
74(BitField32)__receiver)
75        }
76    }
77    #[doc = "`.ctor(i32)` overload"]
78    fn ctor_2(self, f: impl ::core::convert::Into<i32>) -> () {
79        unsafe {
80            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81            ::unity::il2cpp_call!((::unity::module_base()+0x29873e0usize)as*mut u8,();
82(BitField32)__receiver,(i32)::core::convert::Into::into(f))
83        }
84    }
85    #[doc = "`.ctor(crate::app::bitfield32::BitField32)` overload"]
86    fn ctor_3(self, f: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> () {
87        unsafe {
88            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89            ::unity::il2cpp_call!((::unity::module_base()+0x2987410usize)as*mut u8,();
90(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(f))
91        }
92    }
93    #[doc = "`Set(i32)` overload"]
94    fn set(self, f: impl ::core::convert::Into<i32>) -> () {
95        unsafe {
96            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97            ::unity::il2cpp_call!((::unity::module_base()+0x2987440usize)as*mut u8,();
98(BitField32)__receiver,(i32)::core::convert::Into::into(f))
99        }
100    }
101    #[doc = "`Set(crate::app::bitfield32::BitField32)` overload"]
102    fn set_2(self, f: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> () {
103        unsafe {
104            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105            ::unity::il2cpp_call!((::unity::module_base()+0x2987450usize)as*mut u8,();
106(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(f))
107        }
108    }
109    #[doc = "`Clear(i32)` overload"]
110    fn clear(self, f: impl ::core::convert::Into<i32>) -> () {
111        unsafe {
112            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113            ::unity::il2cpp_call!((::unity::module_base()+0x2987470usize)as*mut u8,();
114(BitField32)__receiver,(i32)::core::convert::Into::into(f))
115        }
116    }
117    #[doc = "`Clear(crate::app::bitfield32::BitField32)` overload"]
118    fn clear_2(self, f: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> () {
119        unsafe {
120            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
121            ::unity::il2cpp_call!((::unity::module_base()+0x2987480usize)as*mut u8,();
122(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(f))
123        }
124    }
125    #[doc = "`Change(i32)` overload"]
126    fn change(self, f: impl ::core::convert::Into<i32>) -> () {
127        unsafe {
128            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129            ::unity::il2cpp_call!((::unity::module_base()+0x29874a0usize)as*mut u8,();
130(BitField32)__receiver,(i32)::core::convert::Into::into(f))
131        }
132    }
133    #[doc = "`Change(crate::app::bitfield32::BitField32)` overload"]
134    fn change_2(self, f: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> () {
135        unsafe {
136            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137            ::unity::il2cpp_call!((::unity::module_base()+0x29874b0usize)as*mut u8,();
138(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(f))
139        }
140    }
141    #[doc = "`Copy(i32)` overload"]
142    fn copy(self, f: impl ::core::convert::Into<i32>) -> () {
143        unsafe {
144            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145            ::unity::il2cpp_call!((::unity::module_base()+0x29874d0usize)as*mut u8,();
146(BitField32)__receiver,(i32)::core::convert::Into::into(f))
147        }
148    }
149    #[doc = "`Copy(crate::app::bitfield32::BitField32)` overload"]
150    fn copy_2(self, f: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> () {
151        unsafe {
152            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153            ::unity::il2cpp_call!((::unity::module_base()+0x29874e0usize)as*mut u8,();
154(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(f))
155        }
156    }
157    #[doc = "`SetOrClear(bool, i32)` overload"]
158    fn set_or_clear(self, is_set: impl ::core::convert::Into<bool>, f: impl ::core::convert::Into<i32>) -> () {
159        unsafe {
160            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161            ::unity::il2cpp_call!((::unity::module_base()+0x29874f0usize)as*mut u8,();
162(BitField32)__receiver,(bool)::core::convert::Into::into(is_set),(i32)::core::convert::Into::into(f))
163        }
164    }
165    #[doc = "`Exclusive(i32, i32)` overload"]
166    fn exclusive(self, n: impl ::core::convert::Into<i32>, m: impl ::core::convert::Into<i32>) -> bool {
167        unsafe {
168            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169            ::unity::il2cpp_call!((::unity::module_base()+0x2987510usize)as*mut u8,bool;
170(BitField32)__receiver,(i32)::core::convert::Into::into(n),(i32)::core::convert::Into::into(m))
171        }
172    }
173    #[doc = "`Mask(i32)` overload"]
174    fn mask(self, f: impl ::core::convert::Into<i32>) -> i32 {
175        unsafe {
176            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177            ::unity::il2cpp_call!((::unity::module_base()+0x2987530usize)as*mut u8,i32;
178(BitField32)__receiver,(i32)::core::convert::Into::into(f))
179        }
180    }
181    #[doc = "`Mask(crate::app::bitfield32::BitField32)` overload"]
182    fn mask_2(self, f: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> i32 {
183        unsafe {
184            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185            ::unity::il2cpp_call!((::unity::module_base()+0x2987540usize)as*mut u8,i32;
186(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(f))
187        }
188    }
189    #[doc = "`Test(i32)` overload"]
190    fn test(self, f: impl ::core::convert::Into<i32>) -> bool {
191        unsafe {
192            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193            ::unity::il2cpp_call!((::unity::module_base()+0x2987550usize)as*mut u8,bool;
194(BitField32)__receiver,(i32)::core::convert::Into::into(f))
195        }
196    }
197    #[doc = "`Test(crate::app::bitfield32::BitField32)` overload"]
198    fn test_2(self, f: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> bool {
199        unsafe {
200            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201            ::unity::il2cpp_call!((::unity::module_base()+0x2987560usize)as*mut u8,bool;
202(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(f))
203        }
204    }
205    #[doc = "`Not(i32)` overload"]
206    fn not(self, f: impl ::core::convert::Into<i32>) -> bool {
207        unsafe {
208            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209            ::unity::il2cpp_call!((::unity::module_base()+0x2987580usize)as*mut u8,bool;
210(BitField32)__receiver,(i32)::core::convert::Into::into(f))
211        }
212    }
213    #[doc = "`Not(crate::app::bitfield32::BitField32)` overload"]
214    fn not_2(self, f: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> bool {
215        unsafe {
216            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            ::unity::il2cpp_call!((::unity::module_base()+0x2987590usize)as*mut u8,bool;
218(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(f))
219        }
220    }
221    #[doc = "`Reset()` overload"]
222    fn reset(self) -> () {
223        unsafe {
224            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225            ::unity::il2cpp_call!((::unity::module_base()+0x29875b0usize)as*mut u8,();
226(BitField32)__receiver)
227        }
228    }
229    #[doc = "`Reset(i32)` overload"]
230    fn reset_2(self, f: impl ::core::convert::Into<i32>) -> () {
231        unsafe {
232            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233            ::unity::il2cpp_call!((::unity::module_base()+0x29875c0usize)as*mut u8,();
234(BitField32)__receiver,(i32)::core::convert::Into::into(f))
235        }
236    }
237    #[doc = "`Reset(crate::app::bitfield32::BitField32)` overload"]
238    fn reset_3(self, f: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> () {
239        unsafe {
240            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241            ::unity::il2cpp_call!((::unity::module_base()+0x29875d0usize)as*mut u8,();
242(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(f))
243        }
244    }
245    #[doc = "`ToString()` overload"]
246    fn to_string(self) -> ::unity::Il2CppString {
247        unsafe {
248            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249            {
250                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
251                let __vi = *__vt.get(3usize).unwrap_or_else(|| {
252                    panic!(
253                        "unity: virtual slot {}
254 out of range (vtable len {}
255) on the runtime class behind {}
256 (method `{}
257`)",
258                        3usize,
259                        __vt.len(),
260                        <BitField32 as ::unity::ClassIdentity>::NAME,
261                        "ToString",
262                    )
263                });
264                let __inner: extern "C" fn(BitField32, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
265                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
266                __inner(__receiver, __mi)
267            }
268        }
269    }
270    #[doc = "`get_ValueType()` overload"]
271    fn get_value_type(self) -> ::unity::SystemType {
272        unsafe {
273            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
274            {
275                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
276                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
277                    panic!(
278                        "unity: virtual slot {}
279 out of range (vtable len {}
280) on the runtime class behind {}
281 (method `{}
282`)",
283                        4usize,
284                        __vt.len(),
285                        <BitField32 as ::unity::ClassIdentity>::NAME,
286                        "get_ValueType",
287                    )
288                });
289                let __inner: extern "C" fn(BitField32, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__vi.method_ptr);
290                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
291                __inner(__receiver, __mi)
292            }
293        }
294    }
295    #[doc = "`get_Value()` overload"]
296    fn get_value(self) -> i32 {
297        unsafe {
298            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
299            ::unity::il2cpp_call!((::unity::module_base()+0x2987690usize)as*mut u8,i32;
300(BitField32)__receiver)
301        }
302    }
303    #[doc = "`set_Value(i32)` overload"]
304    fn set_value(self, value: impl ::core::convert::Into<i32>) -> () {
305        unsafe {
306            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
307            ::unity::il2cpp_call!((::unity::module_base()+0x29876a0usize)as*mut u8,();
308(BitField32)__receiver,(i32)::core::convert::Into::into(value))
309        }
310    }
311    #[doc = "`Equals(crate::system::object::Object)` overload"]
312    fn equals(self, rhs_obj: impl ::core::convert::Into<crate::system::object::Object>) -> bool {
313        unsafe {
314            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
315            {
316                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
317                let __vi = *__vt.get(0usize).unwrap_or_else(|| {
318                    panic!(
319                        "unity: virtual slot {}
320 out of range (vtable len {}
321) on the runtime class behind {}
322 (method `{}
323`)",
324                        0usize,
325                        __vt.len(),
326                        <BitField32 as ::unity::ClassIdentity>::NAME,
327                        "Equals",
328                    )
329                });
330                let __inner: extern "C" fn(BitField32, crate::system::object::Object, ::unity::OptionalMethod) -> bool =
331                    ::core::mem::transmute(__vi.method_ptr);
332                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
333                __inner(__receiver, ::core::convert::Into::into(rhs_obj), __mi)
334            }
335        }
336    }
337    #[doc = "`Equals(crate::app::bitfield32::BitField32)` overload"]
338    fn equals_2(self, rhs: impl ::core::convert::Into<crate::app::bitfield32::BitField32>) -> bool {
339        unsafe {
340            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
341            ::unity::il2cpp_call!((::unity::module_base()+0x2987800usize)as*mut u8,bool;
342(BitField32)__receiver,(crate::app::bitfield32::BitField32)::core::convert::Into::into(rhs))
343        }
344    }
345    #[doc = "`GetHashCode()` overload"]
346    fn get_hash_code(self) -> i32 {
347        unsafe {
348            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
349            {
350                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
351                let __vi = *__vt.get(2usize).unwrap_or_else(|| {
352                    panic!(
353                        "unity: virtual slot {}
354 out of range (vtable len {}
355) on the runtime class behind {}
356 (method `{}
357`)",
358                        2usize,
359                        __vt.len(),
360                        <BitField32 as ::unity::ClassIdentity>::NAME,
361                        "GetHashCode",
362                    )
363                });
364                let __inner: extern "C" fn(BitField32, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
365                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
366                __inner(__receiver, __mi)
367            }
368        }
369    }
370    #[doc = "`Read(crate::app::stream_2::Stream_2)` overload"]
371    fn read(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
372        unsafe {
373            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
374            ::unity::il2cpp_call!((::unity::module_base()+0x2987830usize)as*mut u8,();
375(BitField32)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
376        }
377    }
378    #[doc = "`Write(crate::app::stream_2::Stream_2)` overload"]
379    fn write(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
380        unsafe {
381            let __receiver = <BitField32 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
382            ::unity::il2cpp_call!((::unity::module_base()+0x29878e0usize)as*mut u8,();
383(BitField32)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
384        }
385    }
386}
387
388#[cfg(feature = "app-bitfield32")]
389impl<__T: IBitField32> IBitField32Methods for __T {}
390
391#[cfg(feature = "app-bitfield32")]
392impl BitField32 {
393    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
395    }
396
397    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
399    }
400
401    pub fn ctor_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
403    }
404
405    pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
407    }
408
409    pub fn set_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
411    }
412
413    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
415    }
416
417    pub fn clear_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
419    }
420
421    pub fn change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
423    }
424
425    pub fn change_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
427    }
428
429    pub fn copy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
430        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
431    }
432
433    pub fn copy_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
434        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
435    }
436
437    pub fn set_or_clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
438        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
439    }
440
441    pub fn exclusive_method_info() -> &'static ::unity::il2cpp::MethodInfo {
442        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
443    }
444
445    pub fn mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
446        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
447    }
448
449    pub fn mask_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
451    }
452
453    pub fn test_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
455    }
456
457    pub fn test_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
459    }
460
461    pub fn not_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
463    }
464
465    pub fn not_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
467    }
468
469    pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
471    }
472
473    pub fn reset_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
475    }
476
477    pub fn reset_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
479    }
480
481    pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
483    }
484
485    pub fn get_value_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
487    }
488
489    pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
491    }
492
493    pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
495    }
496
497    pub fn op_equality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
499    }
500
501    pub fn op_inequality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
503    }
504
505    pub fn op_equality_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
507    }
508
509    pub fn op_inequality_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
511    }
512
513    pub fn equals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
515    }
516
517    pub fn equals_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
519    }
520
521    pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
522        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
523    }
524
525    pub fn read_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
527    }
528
529    pub fn write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
531    }
532}
533
534#[cfg(feature = "app-bitfield32")]
535impl BitField32 {
536    #[doc = "Direct (non-virtual) call to `BitField32`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
537    pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
538        let __mi = Self::to_string_method_info();
539        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
540        __inner(this.into(), ::core::option::Option::None)
541    }
542
543    #[doc = "Direct (non-virtual) call to `BitField32`'s own `get_ValueType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
544    pub unsafe fn get_value_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
545        let __mi = Self::get_value_type_method_info();
546        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
547        __inner(this.into(), ::core::option::Option::None)
548    }
549
550    #[doc = "Direct (non-virtual) call to `BitField32`'s own `Equals`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
551    pub unsafe fn equals(this: impl ::core::convert::Into<::unity::IlInstance>, rhs_obj: crate::system::object::Object) -> bool {
552        let __mi = Self::equals_method_info();
553        let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> bool =
554            ::core::mem::transmute(__mi.method_ptr);
555        __inner(this.into(), rhs_obj, ::core::option::Option::None)
556    }
557
558    #[doc = "Direct (non-virtual) call to `BitField32`'s own `GetHashCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
559    pub unsafe fn get_hash_code(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
560        let __mi = Self::get_hash_code_method_info();
561        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
562        __inner(this.into(), ::core::option::Option::None)
563    }
564}
565
566#[cfg(feature = "app-bitfield32")]
567impl BitField32 {
568    #[doc = "`.ctor()` — no args"]
569    pub fn new() -> Self {
570        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
571            panic!(
572                "{}
573::{}
574 failed to instantiate",
575                ::core::stringify!(BitField32),
576                ::core::stringify!(new),
577            )
578        });
579        <Self as IBitField32Methods>::ctor(this);
580        this
581    }
582
583    #[doc = "`.ctor(i32)` — overload selector"]
584    pub fn new_2(f: i32) -> Self {
585        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
586            panic!(
587                "{}
588::{}
589 failed to instantiate",
590                ::core::stringify!(BitField32),
591                ::core::stringify!(new_2),
592            )
593        });
594        <Self as IBitField32Methods>::ctor_2(this, f);
595        this
596    }
597
598    #[doc = "`.ctor(crate::app::bitfield32::BitField32)` — overload selector"]
599    pub fn new_3(f: crate::app::bitfield32::BitField32) -> Self {
600        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
601            panic!(
602                "{}
603::{}
604 failed to instantiate",
605                ::core::stringify!(BitField32),
606                ::core::stringify!(new_3),
607            )
608        });
609        <Self as IBitField32Methods>::ctor_3(this, f);
610        this
611    }
612}
613
614#[cfg(feature = "app-bitfield32")]
615#[doc(hidden)]
616pub mod prelude {
617    pub use super::{BitField32, IBitField32, IBitField32Methods};
618    #[cfg(feature = "app-bitfieldcommon")]
619    pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
620    #[cfg(feature = "system-object")]
621    pub use crate::system::object::IObjectMethods;
622    pub use crate::{app::bitfieldcommon::IBitFieldCommon, system::object::IObject};
623}