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