Skip to main content

engage/generated/system/
action_6.rs

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