Skip to main content

engage/generated/system/
action_5.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-action_5-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_5/Action_5.md"))]
15    #[::unity::class(namespace = "System", name = "Action`5")]
16    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
17    #[parent(crate::system::delegate::Delegate)]
18    #[parent(crate::system::object::Object)]
19    pub struct Action_5<
20        T0: ::unity::ClassIdentity,
21        T1: ::unity::ClassIdentity,
22        T2: ::unity::ClassIdentity,
23        T3: ::unity::ClassIdentity,
24        T4: ::unity::ClassIdentity,
25    > {}
26}
27
28#[cfg(feature = "system-action_5-types")]
29pub use __types::*;
30
31#[cfg(feature = "system-action_5")]
32#[::unity::methods]
33impl<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity, T2: ::unity::ClassIdentity, T3: ::unity::ClassIdentity, T4: ::unity::ClassIdentity>
34    Action_5<T0, T1, T2, T3, T4>
35{
36    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
37    #[method(name = ".ctor", args = 2)]
38    pub fn ctor(self, object: crate::system::object::Object, method: ::unity::IntPtr) -> ();
39
40    #[doc = "`Invoke(T0, T1, T2, T3, T4)` overload"]
41    #[method(name = "Invoke", args = 5)]
42    pub fn invoke(self, arg1: T0, arg2: T1, arg3: T2, arg4: T3, arg5: T4) -> ();
43}
44
45#[cfg(feature = "system-action_5")]
46impl<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity, T2: ::unity::ClassIdentity, T3: ::unity::ClassIdentity, T4: ::unity::ClassIdentity>
47    Action_5<T0, T1, T2, T3, T4>
48{
49    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
50    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
51        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
52            panic!(
53                "{}
54::{}
55 failed to instantiate",
56                ::core::stringify!(Action_5),
57                ::core::stringify!(new),
58            )
59        });
60        <Self as IAction_5Methods<T0, T1, T2, T3, T4>>::ctor(this, object, method);
61        this
62    }
63}
64
65#[cfg(feature = "system-action_5")]
66#[doc(hidden)]
67pub mod prelude {
68    pub use super::{Action_5, IAction_5, IAction_5Methods};
69    #[cfg(feature = "system-delegate")]
70    pub use crate::system::delegate::IDelegateMethods;
71    #[cfg(feature = "system-multicastdelegate")]
72    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
73    #[cfg(feature = "system-object")]
74    pub use crate::system::object::IObjectMethods;
75    pub use crate::system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject};
76}