Skip to main content

engage/generated/system/
func_17.rs

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