Skip to main content

engage/generated/system/
action_12.rs

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