Skip to main content

engage/generated/system/
func_16.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-func_16-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        delegate::{Delegate, IDelegate},
10        multicastdelegate::{IMulticastDelegate, MulticastDelegate},
11        object::{IObject, Object},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/system/func_16/Func_16.md"))]
15    #[::unity::class(namespace = "System", name = "Func`16")]
16    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
17    #[parent(crate::system::delegate::Delegate)]
18    #[parent(crate::system::object::Object)]
19    pub struct Func_16<
20        T0: ::unity::ClassIdentity,
21        T1: ::unity::ClassIdentity,
22        T2: ::unity::ClassIdentity,
23        T3: ::unity::ClassIdentity,
24        T4: ::unity::ClassIdentity,
25        T5: ::unity::ClassIdentity,
26        T6: ::unity::ClassIdentity,
27        T7: ::unity::ClassIdentity,
28        T8: ::unity::ClassIdentity,
29        T9: ::unity::ClassIdentity,
30        T10: ::unity::ClassIdentity,
31        T11: ::unity::ClassIdentity,
32        T12: ::unity::ClassIdentity,
33        T13: ::unity::ClassIdentity,
34        T14: ::unity::ClassIdentity,
35        T15: ::unity::ClassIdentity,
36    > {}
37}
38
39#[cfg(feature = "system-func_16-types")]
40pub use __types::*;
41
42#[cfg(feature = "system-func_16")]
43#[::unity::methods]
44impl<
45        T0: ::unity::ClassIdentity,
46        T1: ::unity::ClassIdentity,
47        T2: ::unity::ClassIdentity,
48        T3: ::unity::ClassIdentity,
49        T4: ::unity::ClassIdentity,
50        T5: ::unity::ClassIdentity,
51        T6: ::unity::ClassIdentity,
52        T7: ::unity::ClassIdentity,
53        T8: ::unity::ClassIdentity,
54        T9: ::unity::ClassIdentity,
55        T10: ::unity::ClassIdentity,
56        T11: ::unity::ClassIdentity,
57        T12: ::unity::ClassIdentity,
58        T13: ::unity::ClassIdentity,
59        T14: ::unity::ClassIdentity,
60        T15: ::unity::ClassIdentity,
61    > Func_16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
62{
63    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
64    #[method(name = ".ctor", args = 2)]
65    pub fn ctor(self, object: crate::system::object::Object, method: ::unity::IntPtr) -> ();
66
67    #[doc = "`Invoke(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)` overload"]
68    #[method(name = "Invoke", args = 15)]
69    pub fn invoke(
70        self,
71        arg1: T0,
72        arg2: T1,
73        arg3: T2,
74        arg4: T3,
75        arg5: T4,
76        arg6: T5,
77        arg7: T6,
78        arg8: T7,
79        arg9: T8,
80        arg10: T9,
81        arg11: T10,
82        arg12: T11,
83        arg13: T12,
84        arg14: T13,
85        arg15: T14,
86    ) -> T15;
87}
88
89#[cfg(feature = "system-func_16")]
90impl<
91        T0: ::unity::ClassIdentity,
92        T1: ::unity::ClassIdentity,
93        T2: ::unity::ClassIdentity,
94        T3: ::unity::ClassIdentity,
95        T4: ::unity::ClassIdentity,
96        T5: ::unity::ClassIdentity,
97        T6: ::unity::ClassIdentity,
98        T7: ::unity::ClassIdentity,
99        T8: ::unity::ClassIdentity,
100        T9: ::unity::ClassIdentity,
101        T10: ::unity::ClassIdentity,
102        T11: ::unity::ClassIdentity,
103        T12: ::unity::ClassIdentity,
104        T13: ::unity::ClassIdentity,
105        T14: ::unity::ClassIdentity,
106        T15: ::unity::ClassIdentity,
107    > Func_16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
108{
109    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
110    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
111        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
112            panic!(
113                "{}
114::{}
115 failed to instantiate",
116                ::core::stringify!(Func_16),
117                ::core::stringify!(new),
118            )
119        });
120        <Self as IFunc_16Methods<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>>::ctor(this, object, method);
121        this
122    }
123}
124
125#[cfg(feature = "system-func_16")]
126#[doc(hidden)]
127pub mod prelude {
128    pub use super::{Func_16, IFunc_16, IFunc_16Methods};
129    #[cfg(feature = "system-delegate")]
130    pub use crate::system::delegate::IDelegateMethods;
131    #[cfg(feature = "system-multicastdelegate")]
132    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
133    #[cfg(feature = "system-object")]
134    pub use crate::system::object::IObjectMethods;
135    pub use crate::system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject};
136}