engage/generated/app/
mapsequencephoenix.rs1#[cfg(feature = "app-mapsequencephoenix-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/mapsequencephoenix/MapSequencePhoenix.md"))]
14 #[::unity::class(namespace = "App", name = "MapSequencePhoenix")]
15 #[parent(crate::app::procinst::ProcInst)]
16 pub struct MapSequencePhoenix {}
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsequencephoenix/MapSequencePhoenix_ProcAppear.md"))]
19 #[::unity::class(namespace = "App", name = "MapSequencePhoenix.ProcAppear")]
20 #[parent(crate::app::procinst::ProcInst)]
21 pub struct MapSequencePhoenix_ProcAppear {
22 #[offset(112)]
23 #[rename(name = "m_Unit")]
24 pub m_unit: crate::app::unit::Unit,
25 }
26}
27
28#[cfg(feature = "app-mapsequencephoenix-types")]
29pub use __types::*;
30
31#[cfg(feature = "app-mapsequencephoenix")]
32impl MapSequencePhoenix {
33 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
34 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
35 unsafe {
36 ::unity::il2cpp_call!((::unity::module_base()+0x1f2ea30usize)as*mut u8,();
37(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
38 }
39 }
40
41 #[doc = "`IsPhoenixUnit(crate::app::unit::Unit)` overload"]
42 pub fn is_phoenix_unit(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
43 unsafe {
44 ::unity::il2cpp_call!((::unity::module_base()+0x1f2f4c0usize)as*mut u8,bool;
45(crate::app::unit::Unit)::core::convert::Into::into(unit))
46 }
47 }
48
49 #[doc = "`GetPhoenixFirst()` overload"]
50 pub fn get_phoenix_first() -> crate::app::unit::Unit {
51 unsafe {
52 ::unity::il2cpp_call!((::unity::module_base()+0x1f2ef30usize)as*mut u8,crate::app::unit::Unit;
53 )
54 }
55 }
56
57 #[doc = "`GetPhoenixPosition(*muti32, *muti32, crate::app::unit::Unit)` overload"]
58 pub fn get_phoenix_position(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> (i32, i32) {
59 unsafe {
60 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
61 let mut __out_1 = ::core::mem::MaybeUninit::<i32>::uninit();
62 ::unity::il2cpp_call!((::unity::module_base()+0x1f2f0f0usize)as*mut u8,();
63(*mut i32)__out_0.as_mut_ptr(),(*mut i32)__out_1.as_mut_ptr(),(crate::app::unit::Unit)::core::convert::Into::into(unit));
64 (__out_0.assume_init(), __out_1.assume_init())
65 }
66 }
67}
68
69#[cfg(feature = "app-mapsequencephoenix")]
70pub trait IMapSequencePhoenixMethods: IMapSequencePhoenix {
71 #[doc = "`MoveCamera()` overload"]
72 fn move_camera(self) -> () {
73 unsafe {
74 let __receiver = <MapSequencePhoenix as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x1f2efe0usize)as*mut u8,();
76(MapSequencePhoenix)__receiver)
77 }
78 }
79 #[doc = "`Execute()` overload"]
80 fn execute(self) -> () {
81 unsafe {
82 let __receiver = <MapSequencePhoenix as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x1f2f2e0usize)as*mut u8,();
84(MapSequencePhoenix)__receiver)
85 }
86 }
87 #[doc = "`IsExecuting()` overload"]
88 fn is_executing(self) -> bool {
89 unsafe {
90 let __receiver = <MapSequencePhoenix as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x1f2f530usize)as*mut u8,bool;
92(MapSequencePhoenix)__receiver)
93 }
94 }
95 #[doc = "`Postexecute()` overload"]
96 fn postexecute(self) -> () {
97 unsafe {
98 let __receiver = <MapSequencePhoenix as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x1f2f5b0usize)as*mut u8,();
100(MapSequencePhoenix)__receiver)
101 }
102 }
103 #[doc = "`.ctor()` overload"]
104 fn ctor(self) -> () {
105 unsafe {
106 let __receiver = <MapSequencePhoenix as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x1f2efd0usize)as*mut u8,();
108(MapSequencePhoenix)__receiver)
109 }
110 }
111}
112
113#[cfg(feature = "app-mapsequencephoenix")]
114impl<__T: IMapSequencePhoenix> IMapSequencePhoenixMethods for __T {}
115
116#[cfg(feature = "app-mapsequencephoenix")]
117impl MapSequencePhoenix {
118 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
119 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
120 }
121
122 pub fn move_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
123 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
124 }
125
126 pub fn execute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
127 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
128 }
129
130 pub fn is_executing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
131 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
132 }
133
134 pub fn postexecute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
135 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
136 }
137
138 pub fn is_phoenix_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
139 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
140 }
141
142 pub fn get_phoenix_first_method_info() -> &'static ::unity::il2cpp::MethodInfo {
143 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
144 }
145
146 pub fn get_phoenix_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
147 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
148 }
149
150 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
151 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
152 }
153}
154
155#[cfg(feature = "app-mapsequencephoenix")]
156impl MapSequencePhoenix {
157 #[doc = "`.ctor()` — no args"]
158 pub fn new() -> Self {
159 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
160 panic!(
161 "{}
162::{}
163 failed to instantiate",
164 ::core::stringify!(MapSequencePhoenix),
165 ::core::stringify!(new),
166 )
167 });
168 <Self as IMapSequencePhoenixMethods>::ctor(this);
169 this
170 }
171}
172
173#[cfg(feature = "app-mapsequencephoenix")]
174impl MapSequencePhoenix_ProcAppear {
175 #[doc = "`Create(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
176 pub fn create(
177 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
178 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
179 ) -> () {
180 unsafe {
181 ::unity::il2cpp_call!((::unity::module_base()+0x1e3b070usize)as*mut u8,();
182(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
183 }
184 }
185}
186
187#[cfg(feature = "app-mapsequencephoenix")]
188pub trait IMapSequencePhoenix_ProcAppearMethods: IMapSequencePhoenix_ProcAppear {
189 #[doc = "`.ctor(crate::app::unit::Unit)` overload"]
190 fn ctor(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
191 unsafe {
192 let __receiver =
193 <MapSequencePhoenix_ProcAppear as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194 ::unity::il2cpp_call!((::unity::module_base()+0x1e3b3d0usize)as*mut u8,();
195(MapSequencePhoenix_ProcAppear)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
196 }
197 }
198 #[doc = "`OnDispose()` overload"]
199 fn on_dispose(self) -> () {
200 unsafe {
201 let __receiver =
202 <MapSequencePhoenix_ProcAppear as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203 {
204 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
205 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
206 panic!(
207 "unity: virtual slot {}
208 out of range (vtable len {}
209) on the runtime class behind {}
210 (method `{}
211`)",
212 10usize,
213 __vt.len(),
214 <MapSequencePhoenix_ProcAppear as ::unity::ClassIdentity>::NAME,
215 "OnDispose",
216 )
217 });
218 let __inner: extern "C" fn(MapSequencePhoenix_ProcAppear, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
219 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
220 __inner(__receiver, __mi)
221 }
222 }
223 }
224 #[doc = "`LoadAsync()` overload"]
225 fn load_async(self) -> () {
226 unsafe {
227 let __receiver =
228 <MapSequencePhoenix_ProcAppear as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229 ::unity::il2cpp_call!((::unity::module_base()+0x1e3b430usize)as*mut u8,();
230(MapSequencePhoenix_ProcAppear)__receiver)
231 }
232 }
233 #[doc = "`IsLoading()` overload"]
234 fn is_loading(self) -> bool {
235 unsafe {
236 let __receiver =
237 <MapSequencePhoenix_ProcAppear as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
238 ::unity::il2cpp_call!((::unity::module_base()+0x1e3b530usize)as*mut u8,bool;
239(MapSequencePhoenix_ProcAppear)__receiver)
240 }
241 }
242 #[doc = "`LoadDone()` overload"]
243 fn load_done(self) -> () {
244 unsafe {
245 let __receiver =
246 <MapSequencePhoenix_ProcAppear as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
247 ::unity::il2cpp_call!((::unity::module_base()+0x1e3b540usize)as*mut u8,();
248(MapSequencePhoenix_ProcAppear)__receiver)
249 }
250 }
251 #[doc = "`WarpIn()` overload"]
252 fn warp_in(self) -> () {
253 unsafe {
254 let __receiver =
255 <MapSequencePhoenix_ProcAppear as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
256 ::unity::il2cpp_call!((::unity::module_base()+0x1e3b550usize)as*mut u8,();
257(MapSequencePhoenix_ProcAppear)__receiver)
258 }
259 }
260}
261
262#[cfg(feature = "app-mapsequencephoenix")]
263impl<__T: IMapSequencePhoenix_ProcAppear> IMapSequencePhoenix_ProcAppearMethods for __T {}
264
265#[cfg(feature = "app-mapsequencephoenix")]
266impl MapSequencePhoenix_ProcAppear {
267 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
269 }
270
271 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
273 }
274
275 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
277 }
278
279 pub fn load_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
281 }
282
283 pub fn is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
285 }
286
287 pub fn load_done_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
289 }
290
291 pub fn warp_in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
293 }
294}
295
296#[cfg(feature = "app-mapsequencephoenix")]
297impl MapSequencePhoenix_ProcAppear {
298 #[doc = "Direct (non-virtual) call to `MapSequencePhoenix_ProcAppear`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
299 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
300 let __mi = Self::on_dispose_method_info();
301 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
302 __inner(this.into(), ::core::option::Option::None)
303 }
304}
305
306#[cfg(feature = "app-mapsequencephoenix")]
307impl MapSequencePhoenix_ProcAppear {
308 #[doc = "`.ctor(crate::app::unit::Unit)` — overload selector"]
309 pub fn new(unit: crate::app::unit::Unit) -> Self {
310 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
311 panic!(
312 "{}
313::{}
314 failed to instantiate",
315 ::core::stringify!(MapSequencePhoenix_ProcAppear),
316 ::core::stringify!(new),
317 )
318 });
319 <Self as IMapSequencePhoenix_ProcAppearMethods>::ctor(this, unit);
320 this
321 }
322}
323
324#[cfg(feature = "app-mapsequencephoenix")]
325#[doc(hidden)]
326pub mod prelude {
327 pub use super::{
328 IMapSequencePhoenix, IMapSequencePhoenixMethods, IMapSequencePhoenix_ProcAppear, IMapSequencePhoenix_ProcAppearMethods, MapSequencePhoenix,
329 MapSequencePhoenix_ProcAppear,
330 };
331 #[cfg(feature = "app-procinst")]
332 pub use crate::app::procinst::IProcInstMethods;
333 #[cfg(feature = "system-object")]
334 pub use crate::system::object::IObjectMethods;
335 pub use crate::{app::procinst::IProcInst, system::object::IObject};
336}