Skip to main content

engage/generated/app/
mapeffect.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mapeffect-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            pool::{IPool_List_1, IPool_Node, Pool_List_1, Pool_Node},
11            singletonclass_1::{ISingletonClass_1, SingletonClass_1},
12        },
13        system::object::{IObject, Object},
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapeffect/MapEffect_LocationNode.md"))]
17    #[::unity::class(namespace = "App", name = "MapEffect.LocationNode")]
18    #[parent(crate::app::pool::Pool_Node)]
19    pub struct MapEffect_LocationNode {
20        #[offset(16)]
21        #[rename(name = "Name")]
22        pub name: ::unity::Il2CppString,
23        #[offset(24)]
24        #[rename(name = "Position")]
25        pub position: crate::unity_engine::vector3::Vector3,
26        #[offset(36)]
27        #[rename(name = "Rotation")]
28        pub rotation: crate::unity_engine::quaternion::Quaternion,
29        #[offset(56)]
30        #[rename(name = "Effect")]
31        pub effect: crate::app::resourceobject::ResourceObject,
32    }
33
34    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapeffect/MapEffect.md"))]
35    #[::unity::class(namespace = "App", name = "MapEffect")]
36    #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::mapeffect::MapEffect>)]
37    pub struct MapEffect {
38        #[static_field]
39        #[rename(name = "s_Root")]
40        pub s_root: crate::unity_engine::gameobject::GameObject,
41        #[offset(32)]
42        #[rename(name = "m_Pool")]
43        pub m_pool: crate::app::mapeffect::MapEffect_LocationPool,
44    }
45
46    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapeffect/MapEffect_LocationPool.md"))]
47    #[::unity::class(namespace = "App", name = "MapEffect.LocationPool")]
48    #[parent(crate::app::pool::Pool_List_1<crate::app::mapeffect::MapEffect_LocationNode>)]
49    pub struct MapEffect_LocationPool {}
50}
51
52#[cfg(feature = "app-mapeffect-types")]
53pub use __types::*;
54
55#[cfg(feature = "app-mapeffect")]
56pub trait IMapEffect_LocationNodeMethods: IMapEffect_LocationNode {
57    #[doc = "`OnEnter()` overload"]
58    fn on_enter(self) -> () {
59        unsafe {
60            let __receiver =
61                <MapEffect_LocationNode as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62            {
63                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
64                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
65                    panic!(
66                        "unity: virtual slot {}
67 out of range (vtable len {}
68) on the runtime class behind {}
69 (method `{}
70`)",
71                        4usize,
72                        __vt.len(),
73                        <MapEffect_LocationNode as ::unity::ClassIdentity>::NAME,
74                        "OnEnter",
75                    )
76                });
77                let __inner: extern "C" fn(MapEffect_LocationNode, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
78                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
79                __inner(__receiver, __mi)
80            }
81        }
82    }
83    #[doc = "`OnExit()` overload"]
84    fn on_exit(self) -> () {
85        unsafe {
86            let __receiver =
87                <MapEffect_LocationNode as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88            {
89                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
90                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
91                    panic!(
92                        "unity: virtual slot {}
93 out of range (vtable len {}
94) on the runtime class behind {}
95 (method `{}
96`)",
97                        5usize,
98                        __vt.len(),
99                        <MapEffect_LocationNode as ::unity::ClassIdentity>::NAME,
100                        "OnExit",
101                    )
102                });
103                let __inner: extern "C" fn(MapEffect_LocationNode, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
104                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
105                __inner(__receiver, __mi)
106            }
107        }
108    }
109    #[doc = "`IsMatch(::unity::Il2CppString, crate::unity_engine::vector3::Vector3)` overload"]
110    fn is_match(
111        self,
112        name: impl ::core::convert::Into<::unity::Il2CppString>,
113        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
114    ) -> bool {
115        unsafe {
116            let __receiver =
117                <MapEffect_LocationNode as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x24c44f0usize)as*mut u8,bool;
119(MapEffect_LocationNode)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position))
120        }
121    }
122    #[doc = "`TryCreateEffect()` overload"]
123    fn try_create_effect(self) -> () {
124        unsafe {
125            let __receiver =
126                <MapEffect_LocationNode as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x24c45b0usize)as*mut u8,();
128(MapEffect_LocationNode)__receiver)
129        }
130    }
131    #[doc = "`TryDeleteEffect()` overload"]
132    fn try_delete_effect(self) -> () {
133        unsafe {
134            let __receiver =
135                <MapEffect_LocationNode as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x24c4730usize)as*mut u8,();
137(MapEffect_LocationNode)__receiver)
138        }
139    }
140    #[doc = "`.ctor()` overload"]
141    fn ctor(self) -> () {
142        unsafe {
143            let __receiver =
144                <MapEffect_LocationNode as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145            ::unity::il2cpp_call!((::unity::module_base()+0x24c47e0usize)as*mut u8,();
146(MapEffect_LocationNode)__receiver)
147        }
148    }
149}
150
151#[cfg(feature = "app-mapeffect")]
152impl<__T: IMapEffect_LocationNode> IMapEffect_LocationNodeMethods for __T {}
153
154#[cfg(feature = "app-mapeffect")]
155impl MapEffect_LocationNode {
156    pub fn on_enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
157        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
158    }
159
160    pub fn on_exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
162    }
163
164    pub fn is_match_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
166    }
167
168    pub fn try_create_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
170    }
171
172    pub fn try_delete_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
174    }
175
176    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
178    }
179}
180
181#[cfg(feature = "app-mapeffect")]
182impl MapEffect_LocationNode {
183    #[doc = "Direct (non-virtual) call to `MapEffect_LocationNode`'s own `OnEnter`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
184    pub unsafe fn on_enter(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
185        let __mi = Self::on_enter_method_info();
186        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
187        __inner(this.into(), ::core::option::Option::None)
188    }
189
190    #[doc = "Direct (non-virtual) call to `MapEffect_LocationNode`'s own `OnExit`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
191    pub unsafe fn on_exit(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
192        let __mi = Self::on_exit_method_info();
193        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
194        __inner(this.into(), ::core::option::Option::None)
195    }
196}
197
198#[cfg(feature = "app-mapeffect")]
199impl MapEffect_LocationNode {
200    #[doc = "`.ctor()` — no args"]
201    pub fn new() -> Self {
202        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
203            panic!(
204                "{}
205::{}
206 failed to instantiate",
207                ::core::stringify!(MapEffect_LocationNode),
208                ::core::stringify!(new),
209            )
210        });
211        <Self as IMapEffect_LocationNodeMethods>::ctor(this);
212        this
213    }
214}
215
216#[cfg(feature = "app-mapeffect")]
217impl MapEffect {
218    #[doc = "`FindRoot()` overload"]
219    pub fn find_root() -> crate::unity_engine::gameobject::GameObject {
220        unsafe {
221            ::unity::il2cpp_call!((::unity::module_base()+0x1db8a00usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
222            )
223        }
224    }
225
226    #[doc = "`TryCreateRoot()` overload"]
227    pub fn try_create_root() -> crate::unity_engine::gameobject::GameObject {
228        unsafe {
229            ::unity::il2cpp_call!((::unity::module_base()+0x1db8a70usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
230            )
231        }
232    }
233
234    #[doc = "`TryDeleteRoot()` overload"]
235    pub fn try_delete_root() -> () {
236        unsafe {
237            ::unity::il2cpp_call!((::unity::module_base()+0x1db8bc0usize)as*mut u8,();
238            )
239        }
240    }
241
242    #[doc = "`Play(::unity::Il2CppString, crate::unity_engine::vector3::Vector3)` overload"]
243    pub fn play(
244        name: impl ::core::convert::Into<::unity::Il2CppString>,
245        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
246    ) -> bool {
247        unsafe {
248            ::unity::il2cpp_call!((::unity::module_base()+0x1db9600usize)as*mut u8,bool;
249(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position))
250        }
251    }
252
253    #[doc = "`Play(::unity::Il2CppString, i32, i32)` overload"]
254    pub fn play_2(
255        name: impl ::core::convert::Into<::unity::Il2CppString>,
256        x: impl ::core::convert::Into<i32>,
257        z: impl ::core::convert::Into<i32>,
258    ) -> bool {
259        unsafe {
260            ::unity::il2cpp_call!((::unity::module_base()+0x1db98a0usize)as*mut u8,bool;
261(::unity::Il2CppString)::core::convert::Into::into(name),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
262        }
263    }
264
265    #[doc = "`Play(crate::app::effectdata::EffectData, i32, i32)` overload"]
266    pub fn play_3(
267        data: impl ::core::convert::Into<crate::app::effectdata::EffectData>,
268        x: impl ::core::convert::Into<i32>,
269        z: impl ::core::convert::Into<i32>,
270    ) -> bool {
271        unsafe {
272            ::unity::il2cpp_call!((::unity::module_base()+0x1dba5f0usize)as*mut u8,bool;
273(crate::app::effectdata::EffectData)::core::convert::Into::into(data),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
274        }
275    }
276
277    #[doc = "`Play(crate::app::effectdata::EffectData, crate::unity_engine::vector3::Vector3)` overload"]
278    pub fn play_4(
279        data: impl ::core::convert::Into<crate::app::effectdata::EffectData>,
280        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
281    ) -> bool {
282        unsafe {
283            ::unity::il2cpp_call!((::unity::module_base()+0x1dbb460usize)as*mut u8,bool;
284(crate::app::effectdata::EffectData)::core::convert::Into::into(data),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position))
285        }
286    }
287
288    #[doc = "`Play(::unity::Il2CppString, crate::app::unitmodel::UnitModel)` overload"]
289    pub fn play_5(
290        name: impl ::core::convert::Into<::unity::Il2CppString>,
291        model: impl ::core::convert::Into<crate::app::unitmodel::UnitModel>,
292    ) -> bool {
293        unsafe {
294            ::unity::il2cpp_call!((::unity::module_base()+0x1dbb530usize)as*mut u8,bool;
295(::unity::Il2CppString)::core::convert::Into::into(name),(crate::app::unitmodel::UnitModel)::core::convert::Into::into(model))
296        }
297    }
298
299    #[doc = "`Play(::unity::Il2CppString, crate::app::unit::Unit)` overload"]
300    pub fn play_6(name: impl ::core::convert::Into<::unity::Il2CppString>, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
301        unsafe {
302            ::unity::il2cpp_call!((::unity::module_base()+0x1dbb6c0usize)as*mut u8,bool;
303(::unity::Il2CppString)::core::convert::Into::into(name),(crate::app::unit::Unit)::core::convert::Into::into(unit))
304        }
305    }
306
307    #[doc = "`Play(::unity::Il2CppString, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion)` overload"]
308    pub fn play_7(
309        name: impl ::core::convert::Into<::unity::Il2CppString>,
310        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
311        rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
312    ) -> bool {
313        unsafe {
314            ::unity::il2cpp_call!((::unity::module_base()+0x1db96d0usize)as*mut u8,bool;
315(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation))
316        }
317    }
318
319    #[doc = "`CanPlaying()` overload"]
320    pub fn can_playing() -> bool {
321        unsafe {
322            ::unity::il2cpp_call!((::unity::module_base()+0x1dbd070usize)as*mut u8,bool;
323            )
324        }
325    }
326
327    #[doc = "`Play(crate::app::effectsequence::EffectSequence, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion)` overload"]
328    pub fn play_8(
329        seq: impl ::core::convert::Into<crate::app::effectsequence::EffectSequence>,
330        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
331        rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
332    ) -> bool {
333        unsafe {
334            ::unity::il2cpp_call!((::unity::module_base()+0x1dbcf60usize)as*mut u8,bool;
335(crate::app::effectsequence::EffectSequence)::core::convert::Into::into(seq),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation))
336        }
337    }
338
339    #[doc = "`Play(crate::app::effectdata::EffectData, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion)` overload"]
340    pub fn play_9(
341        data: impl ::core::convert::Into<crate::app::effectdata::EffectData>,
342        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
343        rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
344    ) -> bool {
345        unsafe {
346            ::unity::il2cpp_call!((::unity::module_base()+0x1dbb340usize)as*mut u8,bool;
347(crate::app::effectdata::EffectData)::core::convert::Into::into(data),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation))
348        }
349    }
350
351    #[doc = "`Create(::unity::Il2CppString, i32, i32)` overload"]
352    pub fn create(
353        name: impl ::core::convert::Into<::unity::Il2CppString>,
354        x: impl ::core::convert::Into<i32>,
355        z: impl ::core::convert::Into<i32>,
356    ) -> () {
357        unsafe {
358            ::unity::il2cpp_call!((::unity::module_base()+0x1dbd230usize)as*mut u8,();
359(::unity::Il2CppString)::core::convert::Into::into(name),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
360        }
361    }
362
363    #[doc = "`Create(::unity::Il2CppString, crate::unity_engine::vector3::Vector3)` overload"]
364    pub fn create_2(
365        name: impl ::core::convert::Into<::unity::Il2CppString>,
366        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
367    ) -> () {
368        unsafe {
369            ::unity::il2cpp_call!((::unity::module_base()+0x1dbd4f0usize)as*mut u8,();
370(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position))
371        }
372    }
373
374    #[doc = "`Create(::unity::Il2CppString, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion)` overload"]
375    pub fn create_3(
376        name: impl ::core::convert::Into<::unity::Il2CppString>,
377        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
378        rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
379    ) -> () {
380        unsafe {
381            ::unity::il2cpp_call!((::unity::module_base()+0x1dbd3e0usize)as*mut u8,();
382(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation))
383        }
384    }
385
386    #[doc = "`Delete(::unity::Il2CppString, i32, i32)` overload"]
387    pub fn delete(
388        name: impl ::core::convert::Into<::unity::Il2CppString>,
389        x: impl ::core::convert::Into<i32>,
390        z: impl ::core::convert::Into<i32>,
391    ) -> () {
392        unsafe {
393            ::unity::il2cpp_call!((::unity::module_base()+0x1dbd810usize)as*mut u8,();
394(::unity::Il2CppString)::core::convert::Into::into(name),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
395        }
396    }
397
398    #[doc = "`Delete(::unity::Il2CppString, crate::unity_engine::vector3::Vector3)` overload"]
399    pub fn delete_2(
400        name: impl ::core::convert::Into<::unity::Il2CppString>,
401        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
402    ) -> () {
403        unsafe {
404            ::unity::il2cpp_call!((::unity::module_base()+0x1dbdd30usize)as*mut u8,();
405(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position))
406        }
407    }
408
409    #[doc = "`Delete(crate::unity_engine::vector3::Vector3)` overload"]
410    pub fn delete_3(position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
411        unsafe {
412            ::unity::il2cpp_call!((::unity::module_base()+0x1dbde10usize)as*mut u8,();
413(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position))
414        }
415    }
416
417    #[doc = "`IsExist(::unity::Il2CppString, crate::unity_engine::vector3::Vector3)` overload"]
418    pub fn is_exist(
419        name: impl ::core::convert::Into<::unity::Il2CppString>,
420        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
421    ) -> bool {
422        unsafe {
423            ::unity::il2cpp_call!((::unity::module_base()+0x1dbdee0usize)as*mut u8,bool;
424(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position))
425        }
426    }
427
428    #[doc = "`Shoot(::unity::Il2CppString, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32, f32, crate::app::effectshoot::EffectShoot_Callback)` overload"]
429    pub fn shoot(
430        name: impl ::core::convert::Into<::unity::Il2CppString>,
431        start: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
432        goal: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
433        time: impl ::core::convert::Into<f32>,
434        delay: impl ::core::convert::Into<f32>,
435        callback: impl ::core::convert::Into<crate::app::effectshoot::EffectShoot_Callback>,
436    ) -> () {
437        unsafe {
438            ::unity::il2cpp_call!((::unity::module_base()+0x1dbefb0usize)as*mut u8,();
439(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(start),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(goal),(f32)::core::convert::Into::into(time),(f32)::core::convert::Into::into(delay),(crate::app::effectshoot::EffectShoot_Callback)::core::convert::Into::into(callback))
440        }
441    }
442
443    #[doc = "`.cctor()` overload"]
444    pub fn cctor() -> () {
445        unsafe {
446            ::unity::il2cpp_call!((::unity::module_base()+0x1dbf2c0usize)as*mut u8,();
447            )
448        }
449    }
450}
451
452#[cfg(feature = "app-mapeffect")]
453pub trait IMapEffectMethods: IMapEffect {
454    #[doc = "`OnCreate()` overload"]
455    fn on_create(self) -> () {
456        unsafe {
457            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
458            {
459                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
460                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
461                    panic!(
462                        "unity: virtual slot {}
463 out of range (vtable len {}
464) on the runtime class behind {}
465 (method `{}
466`)",
467                        5usize,
468                        __vt.len(),
469                        <MapEffect as ::unity::ClassIdentity>::NAME,
470                        "OnCreate",
471                    )
472                });
473                let __inner: extern "C" fn(MapEffect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
474                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
475                __inner(__receiver, __mi)
476            }
477        }
478    }
479    #[doc = "`OnDispose()` overload"]
480    fn on_dispose(self) -> () {
481        unsafe {
482            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
483            {
484                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
485                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
486                    panic!(
487                        "unity: virtual slot {}
488 out of range (vtable len {}
489) on the runtime class behind {}
490 (method `{}
491`)",
492                        6usize,
493                        __vt.len(),
494                        <MapEffect as ::unity::ClassIdentity>::NAME,
495                        "OnDispose",
496                    )
497                });
498                let __inner: extern "C" fn(MapEffect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
499                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
500                __inner(__receiver, __mi)
501            }
502        }
503    }
504    #[doc = "`OnUpdate()` overload"]
505    fn on_update(self) -> () {
506        unsafe {
507            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
508            {
509                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
510                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
511                    panic!(
512                        "unity: virtual slot {}
513 out of range (vtable len {}
514) on the runtime class behind {}
515 (method `{}
516`)",
517                        8usize,
518                        __vt.len(),
519                        <MapEffect as ::unity::ClassIdentity>::NAME,
520                        "OnUpdate",
521                    )
522                });
523                let __inner: extern "C" fn(MapEffect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
524                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
525                __inner(__receiver, __mi)
526            }
527        }
528    }
529    #[doc = "`CreateImpl(::unity::Il2CppString, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion)` overload"]
530    fn create_impl(
531        self,
532        name: impl ::core::convert::Into<::unity::Il2CppString>,
533        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
534        rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
535    ) -> () {
536        unsafe {
537            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
538            ::unity::il2cpp_call!((::unity::module_base()+0x1dbd650usize)as*mut u8,();
539(MapEffect)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation))
540        }
541    }
542    #[doc = "`DeleteImpl(::unity::Il2CppString, crate::unity_engine::vector3::Vector3)` overload"]
543    fn delete_impl(
544        self,
545        name: impl ::core::convert::Into<::unity::Il2CppString>,
546        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
547    ) -> () {
548        unsafe {
549            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550            ::unity::il2cpp_call!((::unity::module_base()+0x1dbd910usize)as*mut u8,();
551(MapEffect)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position))
552        }
553    }
554    #[doc = "`IsExistImpl(::unity::Il2CppString, crate::unity_engine::vector3::Vector3)` overload"]
555    fn is_exist_impl(
556        self,
557        name: impl ::core::convert::Into<::unity::Il2CppString>,
558        position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
559    ) -> bool {
560        unsafe {
561            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
562            ::unity::il2cpp_call!((::unity::module_base()+0x1dbdfe0usize)as*mut u8,bool;
563(MapEffect)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position))
564        }
565    }
566    #[doc = "`get_Version()` overload"]
567    fn get_version(self) -> i32 {
568        unsafe {
569            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
570            {
571                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
572                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
573                    panic!(
574                        "unity: virtual slot {}
575 out of range (vtable len {}
576) on the runtime class behind {}
577 (method `{}
578`)",
579                        4usize,
580                        __vt.len(),
581                        <MapEffect as ::unity::ClassIdentity>::NAME,
582                        "get_Version",
583                    )
584                });
585                let __inner: extern "C" fn(MapEffect, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
586                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
587                __inner(__receiver, __mi)
588            }
589        }
590    }
591    #[doc = "`OnSerialize(crate::app::stream_2::Stream_2)` overload"]
592    fn on_serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
593        unsafe {
594            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
595            {
596                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
597                let __vi = *__vt.get(11usize).unwrap_or_else(|| {
598                    panic!(
599                        "unity: virtual slot {}
600 out of range (vtable len {}
601) on the runtime class behind {}
602 (method `{}
603`)",
604                        11usize,
605                        __vt.len(),
606                        <MapEffect as ::unity::ClassIdentity>::NAME,
607                        "OnSerialize",
608                    )
609                });
610                let __inner: extern "C" fn(MapEffect, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
611                    ::core::mem::transmute(__vi.method_ptr);
612                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
613                __inner(__receiver, ::core::convert::Into::into(stream), __mi)
614            }
615        }
616    }
617    #[doc = "`OnDeserialize(crate::app::stream_2::Stream_2, i32)` overload"]
618    fn on_deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>, version: impl ::core::convert::Into<i32>) -> () {
619        unsafe {
620            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
621            {
622                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
623                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
624                    panic!(
625                        "unity: virtual slot {}
626 out of range (vtable len {}
627) on the runtime class behind {}
628 (method `{}
629`)",
630                        12usize,
631                        __vt.len(),
632                        <MapEffect as ::unity::ClassIdentity>::NAME,
633                        "OnDeserialize",
634                    )
635                });
636                let __inner: extern "C" fn(MapEffect, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
637                    ::core::mem::transmute(__vi.method_ptr);
638                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
639                __inner(
640                    __receiver,
641                    ::core::convert::Into::into(stream),
642                    ::core::convert::Into::into(version),
643                    __mi,
644                )
645            }
646        }
647    }
648    #[doc = "`Resume()` overload"]
649    fn resume(self) -> () {
650        unsafe {
651            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
652            ::unity::il2cpp_call!((::unity::module_base()+0x1dbeea0usize)as*mut u8,();
653(MapEffect)__receiver)
654        }
655    }
656    #[doc = "`.ctor()` overload"]
657    fn ctor(self) -> () {
658        unsafe {
659            let __receiver = <MapEffect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
660            ::unity::il2cpp_call!((::unity::module_base()+0x1dbf200usize)as*mut u8,();
661(MapEffect)__receiver)
662        }
663    }
664}
665
666#[cfg(feature = "app-mapeffect")]
667impl<__T: IMapEffect> IMapEffectMethods for __T {}
668
669#[cfg(feature = "app-mapeffect")]
670impl MapEffect {
671    pub fn find_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
672        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
673    }
674
675    pub fn try_create_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
676        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
677    }
678
679    pub fn try_delete_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
680        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
681    }
682
683    pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
684        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
685    }
686
687    pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
688        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
689    }
690
691    pub fn on_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
692        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
693    }
694
695    pub fn play_method_info() -> &'static ::unity::il2cpp::MethodInfo {
696        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
697    }
698
699    pub fn play_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
700        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
701    }
702
703    pub fn play_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
704        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
705    }
706
707    pub fn play_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
708        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
709    }
710
711    pub fn play_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
712        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
713    }
714
715    pub fn play_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
716        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
717    }
718
719    pub fn play_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
720        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
721    }
722
723    pub fn can_playing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
724        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
725    }
726
727    pub fn play_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
728        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
729    }
730
731    pub fn play_9_method_info() -> &'static ::unity::il2cpp::MethodInfo {
732        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
733    }
734
735    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
736        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
737    }
738
739    pub fn create_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
740        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
741    }
742
743    pub fn create_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
744        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
745    }
746
747    pub fn delete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
748        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
749    }
750
751    pub fn delete_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
752        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
753    }
754
755    pub fn delete_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
756        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
757    }
758
759    pub fn is_exist_method_info() -> &'static ::unity::il2cpp::MethodInfo {
760        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
761    }
762
763    pub fn create_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
764        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
765    }
766
767    pub fn delete_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
768        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
769    }
770
771    pub fn is_exist_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
772        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
773    }
774
775    pub fn get_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
776        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
777    }
778
779    pub fn on_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
780        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
781    }
782
783    pub fn on_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
784        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
785    }
786
787    pub fn resume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
788        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
789    }
790
791    pub fn shoot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
792        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
793    }
794
795    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
796        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
797    }
798
799    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
800        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
801    }
802}
803
804#[cfg(feature = "app-mapeffect")]
805impl MapEffect {
806    #[doc = "Direct (non-virtual) call to `MapEffect`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
807    pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
808        let __mi = Self::on_create_method_info();
809        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
810        __inner(this.into(), ::core::option::Option::None)
811    }
812
813    #[doc = "Direct (non-virtual) call to `MapEffect`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
814    pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
815        let __mi = Self::on_dispose_method_info();
816        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
817        __inner(this.into(), ::core::option::Option::None)
818    }
819
820    #[doc = "Direct (non-virtual) call to `MapEffect`'s own `OnUpdate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
821    pub unsafe fn on_update(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
822        let __mi = Self::on_update_method_info();
823        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
824        __inner(this.into(), ::core::option::Option::None)
825    }
826
827    #[doc = "Direct (non-virtual) call to `MapEffect`'s own `get_Version`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
828    pub unsafe fn get_version(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
829        let __mi = Self::get_version_method_info();
830        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
831        __inner(this.into(), ::core::option::Option::None)
832    }
833
834    #[doc = "Direct (non-virtual) call to `MapEffect`'s own `OnSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
835    pub unsafe fn on_serialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2) -> () {
836        let __mi = Self::on_serialize_method_info();
837        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, ::unity::OptionalMethod) -> () =
838            ::core::mem::transmute(__mi.method_ptr);
839        __inner(this.into(), stream, ::core::option::Option::None)
840    }
841
842    #[doc = "Direct (non-virtual) call to `MapEffect`'s own `OnDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
843    pub unsafe fn on_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>, stream: crate::app::stream_2::Stream_2, version: i32) -> () {
844        let __mi = Self::on_deserialize_method_info();
845        let __inner: extern "C" fn(::unity::IlInstance, crate::app::stream_2::Stream_2, i32, ::unity::OptionalMethod) -> () =
846            ::core::mem::transmute(__mi.method_ptr);
847        __inner(this.into(), stream, version, ::core::option::Option::None)
848    }
849}
850
851#[cfg(feature = "app-mapeffect")]
852impl MapEffect {
853    #[doc = "`.ctor()` — no args"]
854    pub fn new() -> Self {
855        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
856            panic!(
857                "{}
858::{}
859 failed to instantiate",
860                ::core::stringify!(MapEffect),
861                ::core::stringify!(new),
862            )
863        });
864        <Self as IMapEffectMethods>::ctor(this);
865        this
866    }
867}
868
869#[cfg(feature = "app-mapeffect")]
870pub trait IMapEffect_LocationPoolMethods: IMapEffect_LocationPool {
871    #[doc = "`.ctor()` overload"]
872    fn ctor(self) -> () {
873        unsafe {
874            let __receiver =
875                <MapEffect_LocationPool as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
876            ::unity::il2cpp_call!((::unity::module_base()+0x24c47f0usize)as*mut u8,();
877(MapEffect_LocationPool)__receiver)
878        }
879    }
880}
881
882#[cfg(feature = "app-mapeffect")]
883impl<__T: IMapEffect_LocationPool> IMapEffect_LocationPoolMethods for __T {}
884
885#[cfg(feature = "app-mapeffect")]
886impl MapEffect_LocationPool {
887    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
888        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
889    }
890}
891
892#[cfg(feature = "app-mapeffect")]
893impl MapEffect_LocationPool {
894    #[doc = "`.ctor()` — no args"]
895    pub fn new() -> Self {
896        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
897            panic!(
898                "{}
899::{}
900 failed to instantiate",
901                ::core::stringify!(MapEffect_LocationPool),
902                ::core::stringify!(new),
903            )
904        });
905        <Self as IMapEffect_LocationPoolMethods>::ctor(this);
906        this
907    }
908}
909
910#[cfg(feature = "app-mapeffect")]
911#[doc(hidden)]
912pub mod prelude {
913    pub use super::{
914        IMapEffect, IMapEffectMethods, IMapEffect_LocationNode, IMapEffect_LocationNodeMethods, IMapEffect_LocationPool,
915        IMapEffect_LocationPoolMethods, MapEffect, MapEffect_LocationNode, MapEffect_LocationPool,
916    };
917    #[cfg(feature = "app-pool")]
918    pub use crate::app::pool::IPool_List_1Methods;
919    #[cfg(feature = "app-pool")]
920    pub use crate::app::pool::IPool_NodeMethods;
921    #[cfg(feature = "app-singletonclass_1")]
922    pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
923    #[cfg(feature = "system-object")]
924    pub use crate::system::object::IObjectMethods;
925    pub use crate::{
926        app::{
927            pool::{IPool_List_1, IPool_Node},
928            singletonclass_1::ISingletonClass_1,
929        },
930        system::object::IObject,
931    };
932}