Skip to main content

engage/generated/system/
func_15.rs

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