Skip to main content

engage/generated/app/
relayunsettledsequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-relayunsettledsequence-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::procinst::{IProcInst, ProcInst},
10        system::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayunsettledsequence/RelayUnsettledSequence.md"))]
14    #[::unity::class(namespace = "App", name = "RelayUnsettledSequence")]
15    #[parent(crate::app::procinst::ProcInst)]
16    pub struct RelayUnsettledSequence {}
17}
18
19#[cfg(feature = "app-relayunsettledsequence-types")]
20pub use __types::*;
21
22#[cfg(feature = "app-relayunsettledsequence")]
23impl RelayUnsettledSequence {
24    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
25    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
26        unsafe {
27            ::unity::il2cpp_call!((::unity::module_base()+0x200dcd0usize)as*mut u8,();
28(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
29        }
30    }
31}
32
33#[cfg(feature = "app-relayunsettledsequence")]
34pub trait IRelayUnsettledSequenceMethods: IRelayUnsettledSequence {
35    #[doc = "`NotifyPlayEnd()` overload"]
36    fn notify_play_end(self) -> () {
37        unsafe {
38            let __receiver =
39                <RelayUnsettledSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40            ::unity::il2cpp_call!((::unity::module_base()+0x200dc40usize)as*mut u8,();
41(RelayUnsettledSequence)__receiver)
42        }
43    }
44    #[doc = "`.ctor()` overload"]
45    fn ctor(self) -> () {
46        unsafe {
47            let __receiver =
48                <RelayUnsettledSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
49            ::unity::il2cpp_call!((::unity::module_base()+0x200df20usize)as*mut u8,();
50(RelayUnsettledSequence)__receiver)
51        }
52    }
53}
54
55#[cfg(feature = "app-relayunsettledsequence")]
56impl<__T: IRelayUnsettledSequence> IRelayUnsettledSequenceMethods for __T {}
57
58#[cfg(feature = "app-relayunsettledsequence")]
59impl RelayUnsettledSequence {
60    pub fn notify_play_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
61        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
62    }
63
64    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
65        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
66    }
67
68    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
69        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
70    }
71}
72
73#[cfg(feature = "app-relayunsettledsequence")]
74impl RelayUnsettledSequence {
75    #[doc = "`.ctor()` — no args"]
76    pub fn new() -> Self {
77        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
78            panic!(
79                "{}
80::{}
81 failed to instantiate",
82                ::core::stringify!(RelayUnsettledSequence),
83                ::core::stringify!(new),
84            )
85        });
86        <Self as IRelayUnsettledSequenceMethods>::ctor(this);
87        this
88    }
89}
90
91#[cfg(feature = "app-relayunsettledsequence")]
92#[doc(hidden)]
93pub mod prelude {
94    pub use super::{IRelayUnsettledSequence, IRelayUnsettledSequenceMethods, RelayUnsettledSequence};
95    #[cfg(feature = "app-procinst")]
96    pub use crate::app::procinst::IProcInstMethods;
97    #[cfg(feature = "system-object")]
98    pub use crate::system::object::IObjectMethods;
99    pub use crate::{app::procinst::IProcInst, system::object::IObject};
100}