Skip to main content

engage/generated/app/
waittodeleteproc.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-waittodeleteproc-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/waittodeleteproc/WaitToDeleteProc.md"))]
14    #[::unity::class(namespace = "App", name = "WaitToDeleteProc")]
15    #[parent(crate::app::procinst::ProcInst)]
16    pub struct WaitToDeleteProc {
17        #[offset(112)]
18        #[rename(name = "m_WaitedProcInst")]
19        pub m_waited_proc_inst: crate::app::procinst::ProcInst,
20    }
21}
22
23#[cfg(feature = "app-waittodeleteproc-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-waittodeleteproc")]
27impl WaitToDeleteProc {
28    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::procinst::ProcInst)` overload"]
29    pub fn create_bind(
30        waited_proc_inst: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
31        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
32    ) -> crate::app::procinst::ProcInst {
33        unsafe {
34            ::unity::il2cpp_call!((::unity::module_base()+0x21c4790usize)as*mut u8,crate::app::procinst::ProcInst;
35(crate::app::procinst::ProcInst)::core::convert::Into::into(waited_proc_inst),(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
36        }
37    }
38}
39
40#[cfg(feature = "app-waittodeleteproc")]
41pub trait IWaitToDeleteProcMethods: IWaitToDeleteProc {
42    #[doc = "`.ctor(crate::app::procinst::ProcInst)` overload"]
43    fn ctor(self, waited_proc_inst: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
44        unsafe {
45            let __receiver = <WaitToDeleteProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
46            ::unity::il2cpp_call!((::unity::module_base()+0x21c4830usize)as*mut u8,();
47(WaitToDeleteProc)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(waited_proc_inst))
48        }
49    }
50    #[doc = "`CreateDesc()` overload"]
51    fn create_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
52        unsafe {
53            let __receiver = <WaitToDeleteProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54            ::unity::il2cpp_call!((::unity::module_base()+0x21c4870usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
55(WaitToDeleteProc)__receiver)
56        }
57    }
58}
59
60#[cfg(feature = "app-waittodeleteproc")]
61impl<__T: IWaitToDeleteProc> IWaitToDeleteProcMethods for __T {}
62
63#[cfg(feature = "app-waittodeleteproc")]
64impl WaitToDeleteProc {
65    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
66        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
67    }
68
69    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
70        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
71    }
72
73    pub fn create_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
74        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
75    }
76}
77
78#[cfg(feature = "app-waittodeleteproc")]
79impl WaitToDeleteProc {
80    #[doc = "`.ctor(crate::app::procinst::ProcInst)` — overload selector"]
81    pub fn new(waited_proc_inst: crate::app::procinst::ProcInst) -> Self {
82        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
83            panic!(
84                "{}
85::{}
86 failed to instantiate",
87                ::core::stringify!(WaitToDeleteProc),
88                ::core::stringify!(new),
89            )
90        });
91        <Self as IWaitToDeleteProcMethods>::ctor(this, waited_proc_inst);
92        this
93    }
94}
95
96#[cfg(feature = "app-waittodeleteproc")]
97#[doc(hidden)]
98pub mod prelude {
99    pub use super::{IWaitToDeleteProc, IWaitToDeleteProcMethods, WaitToDeleteProc};
100    #[cfg(feature = "app-procinst")]
101    pub use crate::app::procinst::IProcInstMethods;
102    #[cfg(feature = "system-object")]
103    pub use crate::system::object::IObjectMethods;
104    pub use crate::{app::procinst::IProcInst, system::object::IObject};
105}