Skip to main content

engage/generated/app/
bitfieldtemplate64_1.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-bitfieldtemplate64_1-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            bitfield64::{BitField64, IBitField64},
11            bitfieldcommon::{BitFieldCommon, IBitFieldCommon},
12        },
13        system::object::{IObject, Object},
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/bitfieldtemplate64_1/BitFieldTemplate64_1.md"))]
17    #[::unity::class(namespace = "App", name = "BitFieldTemplate64`1")]
18    #[parent(crate::app::bitfield64::BitField64)]
19    #[parent(crate::app::bitfieldcommon::BitFieldCommon)]
20    #[parent(crate::system::object::Object)]
21    pub struct BitFieldTemplate64_1<T0: ::unity::ClassIdentity> {}
22}
23
24#[cfg(feature = "app-bitfieldtemplate64_1-types")]
25pub use __types::*;
26
27#[cfg(feature = "app-bitfieldtemplate64_1")]
28#[::unity::methods]
29impl<T0: ::unity::ClassIdentity> BitFieldTemplate64_1<T0> {
30    #[doc = "`get_ValueType()` overload"]
31    #[method(name = "get_ValueType", args = 0)]
32    pub fn get_value_type(self) -> ::unity::SystemType;
33
34    #[doc = "`ToLong(T0)` overload"]
35    #[method(name = "ToLong", args = 1, abstract_dispatch)]
36    pub fn to_long(self, value: T0) -> i64;
37
38    #[doc = "`.ctor()` overload"]
39    #[method(name = ".ctor", args = 0)]
40    pub fn ctor(self) -> ();
41
42    #[doc = "`Set(T0)` overload"]
43    #[method(name = "Set", args = 1)]
44    pub fn set(self, f: T0) -> ();
45
46    #[doc = "`Clear(T0)` overload"]
47    #[method(name = "Clear", args = 1)]
48    pub fn clear(self, f: T0) -> ();
49
50    #[doc = "`Change(T0)` overload"]
51    #[method(name = "Change", args = 1)]
52    pub fn change(self, f: T0) -> ();
53
54    #[doc = "`Mask(T0)` overload"]
55    #[method(name = "Mask", args = 1)]
56    pub fn mask(self, f: T0) -> i64;
57
58    #[doc = "`Test(T0)` overload"]
59    #[method(name = "Test", args = 1)]
60    pub fn test(self, f: T0) -> bool;
61
62    #[doc = "`Not(T0)` overload"]
63    #[method(name = "Not", args = 1)]
64    pub fn not(self, f: T0) -> bool;
65
66    #[doc = "`Reset(T0)` overload"]
67    #[method(name = "Reset", args = 1)]
68    pub fn reset(self, f: T0) -> ();
69
70    #[doc = "`SetOrClear(bool, T0)` overload"]
71    #[method(name = "SetOrClear", args = 2)]
72    pub fn set_or_clear(self, is_set: bool, f: T0) -> ();
73
74    #[doc = "`Exclusive(T0, T0)` overload"]
75    #[method(name = "Exclusive", args = 2)]
76    pub fn exclusive(self, n: T0, m: T0) -> bool;
77
78    #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
79    #[method(name = "Serialize", args = 1)]
80    pub fn serialize(self, stream: crate::app::stream_2::Stream_2) -> ();
81
82    #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
83    #[method(name = "Deserialize", args = 1)]
84    pub fn deserialize(self, stream: crate::app::stream_2::Stream_2) -> ();
85}
86
87#[cfg(feature = "app-bitfieldtemplate64_1")]
88impl<T0: ::unity::ClassIdentity> BitFieldTemplate64_1<T0> {
89    #[doc = "`.ctor()` — no args"]
90    pub fn new() -> Self {
91        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
92            panic!(
93                "{}
94::{}
95 failed to instantiate",
96                ::core::stringify!(BitFieldTemplate64_1),
97                ::core::stringify!(new),
98            )
99        });
100        <Self as IBitFieldTemplate64_1Methods<T0>>::ctor(this);
101        this
102    }
103}
104
105#[cfg(feature = "app-bitfieldtemplate64_1")]
106#[doc(hidden)]
107pub mod prelude {
108    pub use super::{BitFieldTemplate64_1, IBitFieldTemplate64_1, IBitFieldTemplate64_1Methods};
109    #[cfg(feature = "app-bitfield64")]
110    pub use crate::app::bitfield64::IBitField64Methods;
111    #[cfg(feature = "app-bitfieldcommon")]
112    pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
113    #[cfg(feature = "system-object")]
114    pub use crate::system::object::IObjectMethods;
115    pub use crate::{
116        app::{bitfield64::IBitField64, bitfieldcommon::IBitFieldCommon},
117        system::object::IObject,
118    };
119}