engage/generated/tm_pro/
fastaction_3.rs1#[cfg(feature = "tm_pro-fastaction_3-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/fastaction_3/FastAction_3.md"))]
11 #[::unity::class(namespace = "TMPro", name = "FastAction`3")]
12 #[parent(crate::system::object::Object)]
13 pub struct FastAction_3<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity, T2: ::unity::ClassIdentity> {
14 #[rename(name = "delegates")]
15 pub delegates: crate::system::collections::generic::linkedlist_1::LinkedList_1<crate::system::action_3::Action_3<T0, T1, T2>>,
16 #[rename(name = "lookup")]
17 pub lookup: crate::system::collections::generic::dictionary_2::Dictionary_2<
18 crate::system::action_3::Action_3<T0, T1, T2>,
19 crate::system::collections::generic::linkedlistnode_1::LinkedListNode_1<crate::system::action_3::Action_3<T0, T1, T2>>,
20 >,
21 }
22}
23
24#[cfg(feature = "tm_pro-fastaction_3-types")]
25pub use __types::*;
26
27#[cfg(feature = "tm_pro-fastaction_3")]
28#[::unity::methods]
29impl<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity, T2: ::unity::ClassIdentity> FastAction_3<T0, T1, T2> {
30 #[doc = "`Add(crate::system::action_3::Action_3<T0,T1,T2>)` overload"]
31 #[method(name = "Add", args = 1)]
32 pub fn add(self, rhs: crate::system::action_3::Action_3<T0, T1, T2>) -> ();
33
34 #[doc = "`Remove(crate::system::action_3::Action_3<T0,T1,T2>)` overload"]
35 #[method(name = "Remove", args = 1)]
36 pub fn remove(self, rhs: crate::system::action_3::Action_3<T0, T1, T2>) -> ();
37
38 #[doc = "`Call(T0, T1, T2)` overload"]
39 #[method(name = "Call", args = 3)]
40 pub fn call(self, a: T0, b: T1, c: T2) -> ();
41
42 #[doc = "`.ctor()` overload"]
43 #[method(name = ".ctor", args = 0)]
44 pub fn ctor(self) -> ();
45}
46
47#[cfg(feature = "tm_pro-fastaction_3")]
48impl<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity, T2: ::unity::ClassIdentity> FastAction_3<T0, T1, T2> {
49 #[doc = "`.ctor()` — no args"]
50 pub fn new() -> Self {
51 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
52 panic!(
53 "{}
54::{}
55 failed to instantiate",
56 ::core::stringify!(FastAction_3),
57 ::core::stringify!(new),
58 )
59 });
60 <Self as IFastAction_3Methods<T0, T1, T2>>::ctor(this);
61 this
62 }
63}
64
65#[cfg(feature = "tm_pro-fastaction_3")]
66#[doc(hidden)]
67pub mod prelude {
68 pub use super::{FastAction_3, IFastAction_3, IFastAction_3Methods};
69 pub use crate::system::object::IObject;
70 #[cfg(feature = "system-object")]
71 pub use crate::system::object::IObjectMethods;
72}