engage/generated/app/
mapsequenceengageconfirm.rs1#[cfg(feature = "app-mapsequenceengageconfirm-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 singletonprocinst_1::{ISingletonProcInst_1, SingletonProcInst_1},
12 },
13 system::object::{IObject, Object},
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsequenceengageconfirm/MapSequenceEngageConfirm.md"))]
17 #[::unity::class(namespace = "App", name = "MapSequenceEngageConfirm")]
18 #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::mapsequenceengageconfirm::MapSequenceEngageConfirm>)]
19 pub struct MapSequenceEngageConfirm {
20 #[offset(120)]
21 #[rename(name = "m_GameObject")]
22 pub m_game_object: crate::unity_engine::gameobject::GameObject,
23 }
24}
25
26#[cfg(feature = "app-mapsequenceengageconfirm-types")]
27pub use __types::*;
28
29#[cfg(feature = "app-mapsequenceengageconfirm")]
30impl MapSequenceEngageConfirm {
31 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
32 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
33 unsafe {
34 ::unity::il2cpp_call!((::unity::module_base()+0x23ce480usize)as*mut u8,();
35(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
36 }
37 }
38}
39
40#[cfg(feature = "app-mapsequenceengageconfirm")]
41pub trait IMapSequenceEngageConfirmMethods: IMapSequenceEngageConfirm {
42 #[doc = "`get_GlobalAssetPath()` overload"]
43 fn get_global_asset_path(self) -> ::unity::Il2CppString {
44 unsafe {
45 let __receiver =
46 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
47 {
48 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
49 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
50 panic!(
51 "unity: virtual slot {}
52 out of range (vtable len {}
53) on the runtime class behind {}
54 (method `{}
55`)",
56 19usize,
57 __vt.len(),
58 <MapSequenceEngageConfirm as ::unity::ClassIdentity>::NAME,
59 "get_GlobalAssetPath",
60 )
61 });
62 let __inner: extern "C" fn(MapSequenceEngageConfirm, ::unity::OptionalMethod) -> ::unity::Il2CppString =
63 ::core::mem::transmute(__vi.method_ptr);
64 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
65 __inner(__receiver, __mi)
66 }
67 }
68 }
69 #[doc = "`OnCreate()` overload"]
70 fn on_create(self) -> () {
71 unsafe {
72 let __receiver =
73 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
74 {
75 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
76 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
77 panic!(
78 "unity: virtual slot {}
79 out of range (vtable len {}
80) on the runtime class behind {}
81 (method `{}
82`)",
83 9usize,
84 __vt.len(),
85 <MapSequenceEngageConfirm as ::unity::ClassIdentity>::NAME,
86 "OnCreate",
87 )
88 });
89 let __inner: extern "C" fn(MapSequenceEngageConfirm, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
90 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
91 __inner(__receiver, __mi)
92 }
93 }
94 }
95 #[doc = "`OnDispose()` overload"]
96 fn on_dispose(self) -> () {
97 unsafe {
98 let __receiver =
99 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100 {
101 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
102 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
103 panic!(
104 "unity: virtual slot {}
105 out of range (vtable len {}
106) on the runtime class behind {}
107 (method `{}
108`)",
109 10usize,
110 __vt.len(),
111 <MapSequenceEngageConfirm as ::unity::ClassIdentity>::NAME,
112 "OnDispose",
113 )
114 });
115 let __inner: extern "C" fn(MapSequenceEngageConfirm, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
116 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
117 __inner(__receiver, __mi)
118 }
119 }
120 }
121 #[doc = "`LoadRes()` overload"]
122 fn load_res(self) -> () {
123 unsafe {
124 let __receiver =
125 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126 ::unity::il2cpp_call!((::unity::module_base()+0x23ce9e0usize)as*mut u8,();
127(MapSequenceEngageConfirm)__receiver)
128 }
129 }
130 #[doc = "`IsLoadingRes()` overload"]
131 fn is_loading_res(self) -> bool {
132 unsafe {
133 let __receiver =
134 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
135 ::unity::il2cpp_call!((::unity::module_base()+0x23cea40usize)as*mut u8,bool;
136(MapSequenceEngageConfirm)__receiver)
137 }
138 }
139 #[doc = "`Open()` overload"]
140 fn open(self) -> () {
141 unsafe {
142 let __receiver =
143 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
144 ::unity::il2cpp_call!((::unity::module_base()+0x23ceaa0usize)as*mut u8,();
145(MapSequenceEngageConfirm)__receiver)
146 }
147 }
148 #[doc = "`Close()` overload"]
149 fn close(self) -> () {
150 unsafe {
151 let __receiver =
152 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153 ::unity::il2cpp_call!((::unity::module_base()+0x23cecc0usize)as*mut u8,();
154(MapSequenceEngageConfirm)__receiver)
155 }
156 }
157 #[doc = "`Tick()` overload"]
158 fn tick(self) -> () {
159 unsafe {
160 let __receiver =
161 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162 ::unity::il2cpp_call!((::unity::module_base()+0x23ced90usize)as*mut u8,();
163(MapSequenceEngageConfirm)__receiver)
164 }
165 }
166 #[doc = "`End(::unity::Il2CppString)` overload"]
167 fn end(self, se: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
168 unsafe {
169 let __receiver =
170 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171 ::unity::il2cpp_call!((::unity::module_base()+0x23cf270usize)as*mut u8,();
172(MapSequenceEngageConfirm)__receiver,(::unity::Il2CppString)::core::convert::Into::into(se))
173 }
174 }
175 #[doc = "`.ctor()` overload"]
176 fn ctor(self) -> () {
177 unsafe {
178 let __receiver =
179 <MapSequenceEngageConfirm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
180 ::unity::il2cpp_call!((::unity::module_base()+0x23ce870usize)as*mut u8,();
181(MapSequenceEngageConfirm)__receiver)
182 }
183 }
184}
185
186#[cfg(feature = "app-mapsequenceengageconfirm")]
187impl<__T: IMapSequenceEngageConfirm> IMapSequenceEngageConfirmMethods for __T {}
188
189#[cfg(feature = "app-mapsequenceengageconfirm")]
190impl MapSequenceEngageConfirm {
191 pub fn get_global_asset_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
192 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
193 }
194
195 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
196 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
197 }
198
199 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
200 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
201 }
202
203 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
204 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
205 }
206
207 pub fn load_res_method_info() -> &'static ::unity::il2cpp::MethodInfo {
208 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
209 }
210
211 pub fn is_loading_res_method_info() -> &'static ::unity::il2cpp::MethodInfo {
212 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
213 }
214
215 pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
217 }
218
219 pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
221 }
222
223 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
225 }
226
227 pub fn end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
229 }
230
231 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
233 }
234}
235
236#[cfg(feature = "app-mapsequenceengageconfirm")]
237impl MapSequenceEngageConfirm {
238 #[doc = "Direct (non-virtual) call to `MapSequenceEngageConfirm`'s own `get_GlobalAssetPath`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
239 pub unsafe fn get_global_asset_path(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
240 let __mi = Self::get_global_asset_path_method_info();
241 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
242 __inner(this.into(), ::core::option::Option::None)
243 }
244
245 #[doc = "Direct (non-virtual) call to `MapSequenceEngageConfirm`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
246 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
247 let __mi = Self::on_create_method_info();
248 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
249 __inner(this.into(), ::core::option::Option::None)
250 }
251
252 #[doc = "Direct (non-virtual) call to `MapSequenceEngageConfirm`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
253 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
254 let __mi = Self::on_dispose_method_info();
255 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
256 __inner(this.into(), ::core::option::Option::None)
257 }
258}
259
260#[cfg(feature = "app-mapsequenceengageconfirm")]
261impl MapSequenceEngageConfirm {
262 #[doc = "`.ctor()` — no args"]
263 pub fn new() -> Self {
264 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
265 panic!(
266 "{}
267::{}
268 failed to instantiate",
269 ::core::stringify!(MapSequenceEngageConfirm),
270 ::core::stringify!(new),
271 )
272 });
273 <Self as IMapSequenceEngageConfirmMethods>::ctor(this);
274 this
275 }
276}
277
278#[cfg(feature = "app-mapsequenceengageconfirm")]
279#[doc(hidden)]
280pub mod prelude {
281 pub use super::{IMapSequenceEngageConfirm, IMapSequenceEngageConfirmMethods, MapSequenceEngageConfirm};
282 #[cfg(feature = "app-procinst")]
283 pub use crate::app::procinst::IProcInstMethods;
284 #[cfg(feature = "app-singletonprocinst_1")]
285 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
286 #[cfg(feature = "system-object")]
287 pub use crate::system::object::IObjectMethods;
288 pub use crate::{
289 app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
290 system::object::IObject,
291 };
292}