1#[cfg(feature = "app-bitfield64-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/bitfield64/BitField64.md"))]
14 #[::unity::class(namespace = "App", name = "BitField64")]
15 #[parent(crate::app::bitfieldcommon::BitFieldCommon)]
16 pub struct BitField64 {
17 #[offset(16)]
18 #[rename(name = "m_Value")]
19 pub m_value: i64,
20 }
21}
22
23#[cfg(feature = "app-bitfield64-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-bitfield64")]
27impl BitField64 {
28 #[doc = "`op_Equality(crate::app::bitfield64::BitField64, i64)` overload"]
29 pub fn op_equality(lhs: impl ::core::convert::Into<crate::app::bitfield64::BitField64>, rhs: impl ::core::convert::Into<i64>) -> bool {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x2987f10usize)as*mut u8,bool;
32(crate::app::bitfield64::BitField64)::core::convert::Into::into(lhs),(i64)::core::convert::Into::into(rhs))
33 }
34 }
35
36 #[doc = "`op_Inequality(crate::app::bitfield64::BitField64, i64)` overload"]
37 pub fn op_inequality(lhs: impl ::core::convert::Into<crate::app::bitfield64::BitField64>, rhs: impl ::core::convert::Into<i64>) -> bool {
38 unsafe {
39 ::unity::il2cpp_call!((::unity::module_base()+0x2987f20usize)as*mut u8,bool;
40(crate::app::bitfield64::BitField64)::core::convert::Into::into(lhs),(i64)::core::convert::Into::into(rhs))
41 }
42 }
43
44 #[doc = "`op_Equality(crate::app::bitfield64::BitField64, crate::app::bitfield64::BitField64)` overload"]
45 pub fn op_equality_2(
46 lhs: impl ::core::convert::Into<crate::app::bitfield64::BitField64>,
47 rhs: impl ::core::convert::Into<crate::app::bitfield64::BitField64>,
48 ) -> bool {
49 unsafe {
50 ::unity::il2cpp_call!((::unity::module_base()+0x2987f30usize)as*mut u8,bool;
51(crate::app::bitfield64::BitField64)::core::convert::Into::into(lhs),(crate::app::bitfield64::BitField64)::core::convert::Into::into(rhs))
52 }
53 }
54
55 #[doc = "`op_Inequality(crate::app::bitfield64::BitField64, crate::app::bitfield64::BitField64)` overload"]
56 pub fn op_inequality_2(
57 lhs: impl ::core::convert::Into<crate::app::bitfield64::BitField64>,
58 rhs: impl ::core::convert::Into<crate::app::bitfield64::BitField64>,
59 ) -> bool {
60 unsafe {
61 ::unity::il2cpp_call!((::unity::module_base()+0x2987f70usize)as*mut u8,bool;
62(crate::app::bitfield64::BitField64)::core::convert::Into::into(lhs),(crate::app::bitfield64::BitField64)::core::convert::Into::into(rhs))
63 }
64 }
65}
66
67#[cfg(feature = "app-bitfield64")]
68pub trait IBitField64Methods: IBitField64 {
69 #[doc = "`.ctor()` overload"]
70 fn ctor(self) -> () {
71 unsafe {
72 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
73 ::unity::il2cpp_call!((::unity::module_base()+0x2987900usize)as*mut u8,();
74(BitField64)__receiver)
75 }
76 }
77 #[doc = "`.ctor(i64)` overload"]
78 fn ctor_2(self, f: impl ::core::convert::Into<i64>) -> () {
79 unsafe {
80 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81 ::unity::il2cpp_call!((::unity::module_base()+0x2987930usize)as*mut u8,();
82(BitField64)__receiver,(i64)::core::convert::Into::into(f))
83 }
84 }
85 #[doc = "`.ctor(crate::app::bitfield64::BitField64)` overload"]
86 fn ctor_3(self, f: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> () {
87 unsafe {
88 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89 ::unity::il2cpp_call!((::unity::module_base()+0x2987960usize)as*mut u8,();
90(BitField64)__receiver,(crate::app::bitfield64::BitField64)::core::convert::Into::into(f))
91 }
92 }
93 #[doc = "`Set(i64)` overload"]
94 fn set(self, f: impl ::core::convert::Into<i64>) -> () {
95 unsafe {
96 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97 ::unity::il2cpp_call!((::unity::module_base()+0x2987990usize)as*mut u8,();
98(BitField64)__receiver,(i64)::core::convert::Into::into(f))
99 }
100 }
101 #[doc = "`Set(crate::app::bitfield64::BitField64)` overload"]
102 fn set_2(self, f: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> () {
103 unsafe {
104 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105 ::unity::il2cpp_call!((::unity::module_base()+0x29879a0usize)as*mut u8,();
106(BitField64)__receiver,(crate::app::bitfield64::BitField64)::core::convert::Into::into(f))
107 }
108 }
109 #[doc = "`Clear(i64)` overload"]
110 fn clear(self, f: impl ::core::convert::Into<i64>) -> () {
111 unsafe {
112 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113 ::unity::il2cpp_call!((::unity::module_base()+0x29879c0usize)as*mut u8,();
114(BitField64)__receiver,(i64)::core::convert::Into::into(f))
115 }
116 }
117 #[doc = "`Clear(crate::app::bitfield64::BitField64)` overload"]
118 fn clear_2(self, f: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> () {
119 unsafe {
120 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
121 ::unity::il2cpp_call!((::unity::module_base()+0x29879d0usize)as*mut u8,();
122(BitField64)__receiver,(crate::app::bitfield64::BitField64)::core::convert::Into::into(f))
123 }
124 }
125 #[doc = "`Change(i64)` overload"]
126 fn change(self, f: impl ::core::convert::Into<i64>) -> () {
127 unsafe {
128 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129 ::unity::il2cpp_call!((::unity::module_base()+0x29879f0usize)as*mut u8,();
130(BitField64)__receiver,(i64)::core::convert::Into::into(f))
131 }
132 }
133 #[doc = "`Change(crate::app::bitfield64::BitField64)` overload"]
134 fn change_2(self, f: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> () {
135 unsafe {
136 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137 ::unity::il2cpp_call!((::unity::module_base()+0x2987a00usize)as*mut u8,();
138(BitField64)__receiver,(crate::app::bitfield64::BitField64)::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 = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145 ::unity::il2cpp_call!((::unity::module_base()+0x2987a20usize)as*mut u8,();
146(BitField64)__receiver,(i32)::core::convert::Into::into(f))
147 }
148 }
149 #[doc = "`Copy(crate::app::bitfield64::BitField64)` overload"]
150 fn copy_2(self, f: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> () {
151 unsafe {
152 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153 ::unity::il2cpp_call!((::unity::module_base()+0x2987a30usize)as*mut u8,();
154(BitField64)__receiver,(crate::app::bitfield64::BitField64)::core::convert::Into::into(f))
155 }
156 }
157 #[doc = "`SetOrClear(bool, i64)` overload"]
158 fn set_or_clear(self, is_set: impl ::core::convert::Into<bool>, f: impl ::core::convert::Into<i64>) -> () {
159 unsafe {
160 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161 ::unity::il2cpp_call!((::unity::module_base()+0x2987a40usize)as*mut u8,();
162(BitField64)__receiver,(bool)::core::convert::Into::into(is_set),(i64)::core::convert::Into::into(f))
163 }
164 }
165 #[doc = "`Exclusive(i64, i64)` overload"]
166 fn exclusive(self, n: impl ::core::convert::Into<i64>, m: impl ::core::convert::Into<i64>) -> bool {
167 unsafe {
168 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169 ::unity::il2cpp_call!((::unity::module_base()+0x2987a60usize)as*mut u8,bool;
170(BitField64)__receiver,(i64)::core::convert::Into::into(n),(i64)::core::convert::Into::into(m))
171 }
172 }
173 #[doc = "`Mask(i64)` overload"]
174 fn mask(self, f: impl ::core::convert::Into<i64>) -> i64 {
175 unsafe {
176 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177 ::unity::il2cpp_call!((::unity::module_base()+0x2987a80usize)as*mut u8,i64;
178(BitField64)__receiver,(i64)::core::convert::Into::into(f))
179 }
180 }
181 #[doc = "`Mask(crate::app::bitfield64::BitField64)` overload"]
182 fn mask_2(self, f: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> i64 {
183 unsafe {
184 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185 ::unity::il2cpp_call!((::unity::module_base()+0x2987a90usize)as*mut u8,i64;
186(BitField64)__receiver,(crate::app::bitfield64::BitField64)::core::convert::Into::into(f))
187 }
188 }
189 #[doc = "`Test(i64)` overload"]
190 fn test(self, f: impl ::core::convert::Into<i64>) -> bool {
191 unsafe {
192 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193 ::unity::il2cpp_call!((::unity::module_base()+0x2987aa0usize)as*mut u8,bool;
194(BitField64)__receiver,(i64)::core::convert::Into::into(f))
195 }
196 }
197 #[doc = "`Test(crate::app::bitfield64::BitField64)` overload"]
198 fn test_2(self, f: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> bool {
199 unsafe {
200 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201 ::unity::il2cpp_call!((::unity::module_base()+0x2987ab0usize)as*mut u8,bool;
202(BitField64)__receiver,(crate::app::bitfield64::BitField64)::core::convert::Into::into(f))
203 }
204 }
205 #[doc = "`Not(i64)` overload"]
206 fn not(self, f: impl ::core::convert::Into<i64>) -> bool {
207 unsafe {
208 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209 ::unity::il2cpp_call!((::unity::module_base()+0x2987ad0usize)as*mut u8,bool;
210(BitField64)__receiver,(i64)::core::convert::Into::into(f))
211 }
212 }
213 #[doc = "`Not(crate::app::bitfield64::BitField64)` overload"]
214 fn not_2(self, f: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> bool {
215 unsafe {
216 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217 ::unity::il2cpp_call!((::unity::module_base()+0x2987ae0usize)as*mut u8,bool;
218(BitField64)__receiver,(crate::app::bitfield64::BitField64)::core::convert::Into::into(f))
219 }
220 }
221 #[doc = "`Reset()` overload"]
222 fn reset(self) -> () {
223 unsafe {
224 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225 ::unity::il2cpp_call!((::unity::module_base()+0x2987b00usize)as*mut u8,();
226(BitField64)__receiver)
227 }
228 }
229 #[doc = "`Reset(i64)` overload"]
230 fn reset_2(self, f: impl ::core::convert::Into<i64>) -> () {
231 unsafe {
232 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233 ::unity::il2cpp_call!((::unity::module_base()+0x2987b10usize)as*mut u8,();
234(BitField64)__receiver,(i64)::core::convert::Into::into(f))
235 }
236 }
237 #[doc = "`Reset(crate::app::bitfield64::BitField64)` overload"]
238 fn reset_3(self, f: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> () {
239 unsafe {
240 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241 ::unity::il2cpp_call!((::unity::module_base()+0x2987b20usize)as*mut u8,();
242(BitField64)__receiver,(crate::app::bitfield64::BitField64)::core::convert::Into::into(f))
243 }
244 }
245 #[doc = "`ToString()` overload"]
246 fn to_string(self) -> ::unity::Il2CppString {
247 unsafe {
248 let __receiver = <BitField64 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 <BitField64 as ::unity::ClassIdentity>::NAME,
261 "ToString",
262 )
263 });
264 let __inner: extern "C" fn(BitField64, ::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 = <BitField64 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 <BitField64 as ::unity::ClassIdentity>::NAME,
286 "get_ValueType",
287 )
288 });
289 let __inner: extern "C" fn(BitField64, ::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) -> i64 {
297 unsafe {
298 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
299 ::unity::il2cpp_call!((::unity::module_base()+0x2987ef0usize)as*mut u8,i64;
300(BitField64)__receiver)
301 }
302 }
303 #[doc = "`set_Value(i64)` overload"]
304 fn set_value(self, value: impl ::core::convert::Into<i64>) -> () {
305 unsafe {
306 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
307 ::unity::il2cpp_call!((::unity::module_base()+0x2987f00usize)as*mut u8,();
308(BitField64)__receiver,(i64)::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 = <BitField64 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 <BitField64 as ::unity::ClassIdentity>::NAME,
327 "Equals",
328 )
329 });
330 let __inner: extern "C" fn(BitField64, 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::bitfield64::BitField64)` overload"]
338 fn equals_2(self, rhs: impl ::core::convert::Into<crate::app::bitfield64::BitField64>) -> bool {
339 unsafe {
340 let __receiver = <BitField64 as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
341 ::unity::il2cpp_call!((::unity::module_base()+0x2988060usize)as*mut u8,bool;
342(BitField64)__receiver,(crate::app::bitfield64::BitField64)::core::convert::Into::into(rhs))
343 }
344 }
345 #[doc = "`GetHashCode()` overload"]
346 fn get_hash_code(self) -> i32 {
347 unsafe {
348 let __receiver = <BitField64 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 <BitField64 as ::unity::ClassIdentity>::NAME,
361 "GetHashCode",
362 )
363 });
364 let __inner: extern "C" fn(BitField64, ::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}
371
372#[cfg(feature = "app-bitfield64")]
373impl<__T: IBitField64> IBitField64Methods for __T {}
374
375#[cfg(feature = "app-bitfield64")]
376impl BitField64 {
377 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
379 }
380
381 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
383 }
384
385 pub fn ctor_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
387 }
388
389 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
391 }
392
393 pub fn set_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
395 }
396
397 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
399 }
400
401 pub fn clear_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
403 }
404
405 pub fn change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
407 }
408
409 pub fn change_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
411 }
412
413 pub fn copy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
415 }
416
417 pub fn copy_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
419 }
420
421 pub fn set_or_clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
423 }
424
425 pub fn exclusive_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
427 }
428
429 pub fn mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
430 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
431 }
432
433 pub fn mask_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
434 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
435 }
436
437 pub fn test_method_info() -> &'static ::unity::il2cpp::MethodInfo {
438 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
439 }
440
441 pub fn test_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
442 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
443 }
444
445 pub fn not_method_info() -> &'static ::unity::il2cpp::MethodInfo {
446 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
447 }
448
449 pub fn not_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
451 }
452
453 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
455 }
456
457 pub fn reset_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
459 }
460
461 pub fn reset_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
463 }
464
465 pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
467 }
468
469 pub fn get_value_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
471 }
472
473 pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
475 }
476
477 pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
479 }
480
481 pub fn op_equality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
483 }
484
485 pub fn op_inequality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
487 }
488
489 pub fn op_equality_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
491 }
492
493 pub fn op_inequality_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
495 }
496
497 pub fn equals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
499 }
500
501 pub fn equals_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
503 }
504
505 pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
507 }
508}
509
510#[cfg(feature = "app-bitfield64")]
511impl BitField64 {
512 #[doc = "Direct (non-virtual) call to `BitField64`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
513 pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
514 let __mi = Self::to_string_method_info();
515 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
516 __inner(this.into(), ::core::option::Option::None)
517 }
518
519 #[doc = "Direct (non-virtual) call to `BitField64`'s own `get_ValueType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
520 pub unsafe fn get_value_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
521 let __mi = Self::get_value_type_method_info();
522 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
523 __inner(this.into(), ::core::option::Option::None)
524 }
525
526 #[doc = "Direct (non-virtual) call to `BitField64`'s own `Equals`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
527 pub unsafe fn equals(this: impl ::core::convert::Into<::unity::IlInstance>, rhs_obj: crate::system::object::Object) -> bool {
528 let __mi = Self::equals_method_info();
529 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> bool =
530 ::core::mem::transmute(__mi.method_ptr);
531 __inner(this.into(), rhs_obj, ::core::option::Option::None)
532 }
533
534 #[doc = "Direct (non-virtual) call to `BitField64`'s own `GetHashCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
535 pub unsafe fn get_hash_code(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
536 let __mi = Self::get_hash_code_method_info();
537 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
538 __inner(this.into(), ::core::option::Option::None)
539 }
540}
541
542#[cfg(feature = "app-bitfield64")]
543impl BitField64 {
544 #[doc = "`.ctor()` — no args"]
545 pub fn new() -> Self {
546 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
547 panic!(
548 "{}
549::{}
550 failed to instantiate",
551 ::core::stringify!(BitField64),
552 ::core::stringify!(new),
553 )
554 });
555 <Self as IBitField64Methods>::ctor(this);
556 this
557 }
558
559 #[doc = "`.ctor(i64)` — overload selector"]
560 pub fn new_2(f: i64) -> Self {
561 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
562 panic!(
563 "{}
564::{}
565 failed to instantiate",
566 ::core::stringify!(BitField64),
567 ::core::stringify!(new_2),
568 )
569 });
570 <Self as IBitField64Methods>::ctor_2(this, f);
571 this
572 }
573
574 #[doc = "`.ctor(crate::app::bitfield64::BitField64)` — overload selector"]
575 pub fn new_3(f: crate::app::bitfield64::BitField64) -> Self {
576 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
577 panic!(
578 "{}
579::{}
580 failed to instantiate",
581 ::core::stringify!(BitField64),
582 ::core::stringify!(new_3),
583 )
584 });
585 <Self as IBitField64Methods>::ctor_3(this, f);
586 this
587 }
588}
589
590#[cfg(feature = "app-bitfield64")]
591#[doc(hidden)]
592pub mod prelude {
593 pub use super::{BitField64, IBitField64, IBitField64Methods};
594 #[cfg(feature = "app-bitfieldcommon")]
595 pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
596 #[cfg(feature = "system-object")]
597 pub use crate::system::object::IObjectMethods;
598 pub use crate::{app::bitfieldcommon::IBitFieldCommon, system::object::IObject};
599}