1#[cfg(feature = "system-action_9-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/action_9/Action_9.md"))]
15 #[::unity::class(namespace = "System", name = "Action`9")]
16 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
17 #[parent(crate::system::delegate::Delegate)]
18 #[parent(crate::system::object::Object)]
19 pub struct Action_9<
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 > {}
30}
31
32#[cfg(feature = "system-action_9-types")]
33pub use __types::*;
34
35#[cfg(feature = "system-action_9")]
36#[::unity::methods]
37impl<
38 T0: ::unity::ClassIdentity,
39 T1: ::unity::ClassIdentity,
40 T2: ::unity::ClassIdentity,
41 T3: ::unity::ClassIdentity,
42 T4: ::unity::ClassIdentity,
43 T5: ::unity::ClassIdentity,
44 T6: ::unity::ClassIdentity,
45 T7: ::unity::ClassIdentity,
46 T8: ::unity::ClassIdentity,
47 > Action_9<T0, T1, T2, T3, T4, T5, T6, T7, T8>
48{
49 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
50 #[method(name = ".ctor", args = 2)]
51 pub fn ctor(self, object: crate::system::object::Object, method: ::unity::IntPtr) -> ();
52
53 #[doc = "`Invoke(T0, T1, T2, T3, T4, T5, T6, T7, T8)` overload"]
54 #[method(name = "Invoke", args = 9)]
55 pub fn invoke(self, arg1: T0, arg2: T1, arg3: T2, arg4: T3, arg5: T4, arg6: T5, arg7: T6, arg8: T7, arg9: T8) -> ();
56}
57
58#[cfg(feature = "system-action_9")]
59impl<
60 T0: ::unity::ClassIdentity,
61 T1: ::unity::ClassIdentity,
62 T2: ::unity::ClassIdentity,
63 T3: ::unity::ClassIdentity,
64 T4: ::unity::ClassIdentity,
65 T5: ::unity::ClassIdentity,
66 T6: ::unity::ClassIdentity,
67 T7: ::unity::ClassIdentity,
68 T8: ::unity::ClassIdentity,
69 > Action_9<T0, T1, T2, T3, T4, T5, T6, T7, T8>
70{
71 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
72 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
73 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
74 panic!(
75 "{}
76::{}
77 failed to instantiate",
78 ::core::stringify!(Action_9),
79 ::core::stringify!(new),
80 )
81 });
82 <Self as IAction_9Methods<T0, T1, T2, T3, T4, T5, T6, T7, T8>>::ctor(this, object, method);
83 this
84 }
85}
86
87#[cfg(feature = "system-action_9")]
88#[doc(hidden)]
89pub mod prelude {
90 pub use super::{Action_9, IAction_9, IAction_9Methods};
91 #[cfg(feature = "system-delegate")]
92 pub use crate::system::delegate::IDelegateMethods;
93 #[cfg(feature = "system-multicastdelegate")]
94 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
95 #[cfg(feature = "system-object")]
96 pub use crate::system::object::IObjectMethods;
97 pub use crate::system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject};
98}