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