Skip to main content

engage/generated/system/
action_11.rs

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