Skip to main content

engage/generated/app/
netwaitmessage.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-netwaitmessage-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/netwaitmessage/NetWaitMessage.md"))]
14    #[::unity::class(namespace = "App", name = "NetWaitMessage")]
15    #[parent(crate::system::object::Object)]
16    pub struct NetWaitMessage {}
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/netwaitmessage/NetWaitMessage_ProcCloseWait.md"))]
19    #[::unity::class(namespace = "App", name = "NetWaitMessage.ProcCloseWait")]
20    #[parent(crate::app::procinst::ProcInst)]
21    pub struct NetWaitMessage_ProcCloseWait {
22        #[offset(112)]
23        #[rename(name = "m_IsSuccess")]
24        pub m_is_success: bool,
25    }
26
27    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/netwaitmessage/NetWaitMessage_ProcOpen.md"))]
28    #[::unity::class(namespace = "App", name = "NetWaitMessage.ProcOpen")]
29    #[parent(crate::app::procinst::ProcInst)]
30    pub struct NetWaitMessage_ProcOpen {}
31}
32
33#[cfg(feature = "app-netwaitmessage-types")]
34pub use __types::*;
35
36#[cfg(feature = "app-netwaitmessage")]
37impl NetWaitMessage {
38    #[doc = "`Open(crate::app::procinst::ProcInst)` overload"]
39    pub fn open(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
40        unsafe {
41            ::unity::il2cpp_call!((::unity::module_base()+0x1f12150usize)as*mut u8,();
42(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
43        }
44    }
45
46    #[doc = "`Close(bool)` overload"]
47    pub fn close(is_success: impl ::core::convert::Into<bool>) -> () {
48        unsafe {
49            ::unity::il2cpp_call!((::unity::module_base()+0x1f138e0usize)as*mut u8,();
50(bool)::core::convert::Into::into(is_success))
51        }
52    }
53
54    #[doc = "`CloseSuccess()` overload"]
55    pub fn close_success() -> () {
56        unsafe {
57            ::unity::il2cpp_call!((::unity::module_base()+0x1f121a0usize)as*mut u8,();
58            )
59        }
60    }
61
62    #[doc = "`CloseFailure()` overload"]
63    pub fn close_failure() -> () {
64        unsafe {
65            ::unity::il2cpp_call!((::unity::module_base()+0x1f138f0usize)as*mut u8,();
66            )
67        }
68    }
69
70    #[doc = "`CloseWait(crate::app::procinst::ProcInst, bool)` overload"]
71    pub fn close_wait(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>, is_success: impl ::core::convert::Into<bool>) -> () {
72        unsafe {
73            ::unity::il2cpp_call!((::unity::module_base()+0x1f13900usize)as*mut u8,();
74(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(bool)::core::convert::Into::into(is_success))
75        }
76    }
77
78    #[doc = "`CloseWaitSuccess(crate::app::procinst::ProcInst)` overload"]
79    pub fn close_wait_success(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
80        unsafe {
81            ::unity::il2cpp_call!((::unity::module_base()+0x1f13910usize)as*mut u8,();
82(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
83        }
84    }
85
86    #[doc = "`CloseWaitFailure(crate::app::procinst::ProcInst)` overload"]
87    pub fn close_wait_failure(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
88        unsafe {
89            ::unity::il2cpp_call!((::unity::module_base()+0x1f13920usize)as*mut u8,();
90(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
91        }
92    }
93}
94
95#[cfg(feature = "app-netwaitmessage")]
96impl NetWaitMessage {
97    pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
98        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
99    }
100
101    pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
102        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
103    }
104
105    pub fn close_success_method_info() -> &'static ::unity::il2cpp::MethodInfo {
106        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
107    }
108
109    pub fn close_failure_method_info() -> &'static ::unity::il2cpp::MethodInfo {
110        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
111    }
112
113    pub fn close_wait_method_info() -> &'static ::unity::il2cpp::MethodInfo {
114        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
115    }
116
117    pub fn close_wait_success_method_info() -> &'static ::unity::il2cpp::MethodInfo {
118        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
119    }
120
121    pub fn close_wait_failure_method_info() -> &'static ::unity::il2cpp::MethodInfo {
122        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
123    }
124}
125
126#[cfg(feature = "app-netwaitmessage")]
127impl NetWaitMessage_ProcCloseWait {
128    #[doc = "`CreateBind(crate::app::procinst::ProcInst, bool)` overload"]
129    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>, is_success: impl ::core::convert::Into<bool>) -> () {
130        unsafe {
131            ::unity::il2cpp_call!((::unity::module_base()+0x209e300usize)as*mut u8,();
132(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(bool)::core::convert::Into::into(is_success))
133        }
134    }
135}
136
137#[cfg(feature = "app-netwaitmessage")]
138pub trait INetWaitMessage_ProcCloseWaitMethods: INetWaitMessage_ProcCloseWait {
139    #[doc = "`.ctor(bool)` overload"]
140    fn ctor(self, is_success: impl ::core::convert::Into<bool>) -> () {
141        unsafe {
142            let __receiver =
143                <NetWaitMessage_ProcCloseWait as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
144            ::unity::il2cpp_call!((::unity::module_base()+0x209e2c0usize)as*mut u8,();
145(NetWaitMessage_ProcCloseWait)__receiver,(bool)::core::convert::Into::into(is_success))
146        }
147    }
148    #[doc = "`Close()` overload"]
149    fn close(self) -> () {
150        unsafe {
151            let __receiver =
152                <NetWaitMessage_ProcCloseWait as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153            ::unity::il2cpp_call!((::unity::module_base()+0x209e2f0usize)as*mut u8,();
154(NetWaitMessage_ProcCloseWait)__receiver)
155        }
156    }
157}
158
159#[cfg(feature = "app-netwaitmessage")]
160impl<__T: INetWaitMessage_ProcCloseWait> INetWaitMessage_ProcCloseWaitMethods for __T {}
161
162#[cfg(feature = "app-netwaitmessage")]
163impl NetWaitMessage_ProcCloseWait {
164    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
166    }
167
168    pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
170    }
171
172    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
174    }
175}
176
177#[cfg(feature = "app-netwaitmessage")]
178impl NetWaitMessage_ProcCloseWait {
179    #[doc = "`.ctor(bool)` — overload selector"]
180    pub fn new(is_success: bool) -> Self {
181        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
182            panic!(
183                "{}
184::{}
185 failed to instantiate",
186                ::core::stringify!(NetWaitMessage_ProcCloseWait),
187                ::core::stringify!(new),
188            )
189        });
190        <Self as INetWaitMessage_ProcCloseWaitMethods>::ctor(this, is_success);
191        this
192    }
193}
194
195#[cfg(feature = "app-netwaitmessage")]
196impl NetWaitMessage_ProcOpen {
197    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
198    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
199        unsafe {
200            ::unity::il2cpp_call!((::unity::module_base()+0x209e5e0usize)as*mut u8,();
201(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
202        }
203    }
204}
205
206#[cfg(feature = "app-netwaitmessage")]
207pub trait INetWaitMessage_ProcOpenMethods: INetWaitMessage_ProcOpen {
208    #[doc = "`Open()` overload"]
209    fn open(self) -> () {
210        unsafe {
211            let __receiver =
212                <NetWaitMessage_ProcOpen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
213            ::unity::il2cpp_call!((::unity::module_base()+0x209e550usize)as*mut u8,();
214(NetWaitMessage_ProcOpen)__receiver)
215        }
216    }
217    #[doc = "`.ctor()` overload"]
218    fn ctor(self) -> () {
219        unsafe {
220            let __receiver =
221                <NetWaitMessage_ProcOpen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222            ::unity::il2cpp_call!((::unity::module_base()+0x209e7e0usize)as*mut u8,();
223(NetWaitMessage_ProcOpen)__receiver)
224        }
225    }
226}
227
228#[cfg(feature = "app-netwaitmessage")]
229impl<__T: INetWaitMessage_ProcOpen> INetWaitMessage_ProcOpenMethods for __T {}
230
231#[cfg(feature = "app-netwaitmessage")]
232impl NetWaitMessage_ProcOpen {
233    pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
235    }
236
237    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
238        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
239    }
240
241    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
243    }
244}
245
246#[cfg(feature = "app-netwaitmessage")]
247impl NetWaitMessage_ProcOpen {
248    #[doc = "`.ctor()` — no args"]
249    pub fn new() -> Self {
250        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
251            panic!(
252                "{}
253::{}
254 failed to instantiate",
255                ::core::stringify!(NetWaitMessage_ProcOpen),
256                ::core::stringify!(new),
257            )
258        });
259        <Self as INetWaitMessage_ProcOpenMethods>::ctor(this);
260        this
261    }
262}
263
264#[cfg(feature = "app-netwaitmessage")]
265#[doc(hidden)]
266pub mod prelude {
267    pub use super::{
268        INetWaitMessage, INetWaitMessage_ProcCloseWait, INetWaitMessage_ProcCloseWaitMethods, INetWaitMessage_ProcOpen,
269        INetWaitMessage_ProcOpenMethods, NetWaitMessage, NetWaitMessage_ProcCloseWait, NetWaitMessage_ProcOpen,
270    };
271    #[cfg(feature = "app-procinst")]
272    pub use crate::app::procinst::IProcInstMethods;
273    #[cfg(feature = "system-object")]
274    pub use crate::system::object::IObjectMethods;
275    pub use crate::{app::procinst::IProcInst, system::object::IObject};
276}