engage/generated/app/
procwaitmessagebase.rs1#[cfg(feature = "app-procwaitmessagebase-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/procwaitmessagebase/ProcWaitMessageBase.md"))]
14 #[::unity::class(namespace = "App", name = "ProcWaitMessageBase")]
15 #[parent(crate::app::procinst::ProcInst)]
16 pub struct ProcWaitMessageBase {
17 #[offset(112)]
18 #[rename(name = "m_GameMessage")]
19 pub m_game_message: crate::app::gamemessage::GameMessage,
20 }
21}
22
23#[cfg(feature = "app-procwaitmessagebase-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-procwaitmessagebase")]
27pub trait IProcWaitMessageBaseMethods: IProcWaitMessageBase {
28 #[doc = "`.ctor()` overload"]
29 fn ctor(self) -> () {
30 unsafe {
31 let __receiver = <ProcWaitMessageBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32 ::unity::il2cpp_call!((::unity::module_base()+0x2821340usize)as*mut u8,();
33(ProcWaitMessageBase)__receiver)
34 }
35 }
36 #[doc = "`MessageOpenKeyWait(::unity::Il2CppString)` overload"]
37 fn message_open_key_wait(self, msg: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
38 unsafe {
39 let __receiver = <ProcWaitMessageBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40 ::unity::il2cpp_call!((::unity::module_base()+0x2821350usize)as*mut u8,();
41(ProcWaitMessageBase)__receiver,(::unity::Il2CppString)::core::convert::Into::into(msg))
42 }
43 }
44 #[doc = "`MessageOpenSystemWait(::unity::Il2CppString, bool)` overload"]
45 fn message_open_system_wait(
46 self,
47 msg: impl ::core::convert::Into<::unity::Il2CppString>,
48 is_hide_wait_anime: impl ::core::convert::Into<bool>,
49 ) -> () {
50 unsafe {
51 let __receiver = <ProcWaitMessageBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
52 ::unity::il2cpp_call!((::unity::module_base()+0x2821410usize)as*mut u8,();
53(ProcWaitMessageBase)__receiver,(::unity::Il2CppString)::core::convert::Into::into(msg),(bool)::core::convert::Into::into(is_hide_wait_anime))
54 }
55 }
56 #[doc = "`MessageClose()` overload"]
57 fn message_close(self) -> () {
58 unsafe {
59 let __receiver = <ProcWaitMessageBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
60 ::unity::il2cpp_call!((::unity::module_base()+0x2821490usize)as*mut u8,();
61(ProcWaitMessageBase)__receiver)
62 }
63 }
64 #[doc = "`MessageDelete()` overload"]
65 fn message_delete(self) -> () {
66 unsafe {
67 let __receiver = <ProcWaitMessageBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68 ::unity::il2cpp_call!((::unity::module_base()+0x28213c0usize)as*mut u8,();
69(ProcWaitMessageBase)__receiver)
70 }
71 }
72 #[doc = "`MessageIsWaitToOpen()` overload"]
73 fn message_is_wait_to_open(self) -> bool {
74 unsafe {
75 let __receiver = <ProcWaitMessageBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
76 ::unity::il2cpp_call!((::unity::module_base()+0x28214c0usize)as*mut u8,bool;
77(ProcWaitMessageBase)__receiver)
78 }
79 }
80 #[doc = "`MessageIsWaitToClose()` overload"]
81 fn message_is_wait_to_close(self) -> bool {
82 unsafe {
83 let __receiver = <ProcWaitMessageBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
84 ::unity::il2cpp_call!((::unity::module_base()+0x28214f0usize)as*mut u8,bool;
85(ProcWaitMessageBase)__receiver)
86 }
87 }
88}
89
90#[cfg(feature = "app-procwaitmessagebase")]
91impl<__T: IProcWaitMessageBase> IProcWaitMessageBaseMethods for __T {}
92
93#[cfg(feature = "app-procwaitmessagebase")]
94impl ProcWaitMessageBase {
95 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
96 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
97 }
98
99 pub fn message_open_key_wait_method_info() -> &'static ::unity::il2cpp::MethodInfo {
100 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
101 }
102
103 pub fn message_open_system_wait_method_info() -> &'static ::unity::il2cpp::MethodInfo {
104 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
105 }
106
107 pub fn message_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
108 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
109 }
110
111 pub fn message_delete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
113 }
114
115 pub fn message_is_wait_to_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
117 }
118
119 pub fn message_is_wait_to_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
120 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
121 }
122}
123
124#[cfg(feature = "app-procwaitmessagebase")]
125impl ProcWaitMessageBase {
126 #[doc = "`.ctor()` — no args"]
127 pub fn new() -> Self {
128 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
129 panic!(
130 "{}
131::{}
132 failed to instantiate",
133 ::core::stringify!(ProcWaitMessageBase),
134 ::core::stringify!(new),
135 )
136 });
137 <Self as IProcWaitMessageBaseMethods>::ctor(this);
138 this
139 }
140}
141
142#[cfg(feature = "app-procwaitmessagebase")]
143#[doc(hidden)]
144pub mod prelude {
145 pub use super::{IProcWaitMessageBase, IProcWaitMessageBaseMethods, ProcWaitMessageBase};
146 #[cfg(feature = "app-procinst")]
147 pub use crate::app::procinst::IProcInstMethods;
148 #[cfg(feature = "system-object")]
149 pub use crate::system::object::IObjectMethods;
150 pub use crate::{app::procinst::IProcInst, system::object::IObject};
151}