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