Skip to main content

engage/generated/system/
func_14.rs

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