engage/generated/app/
dragonrideexplode.rs1#[cfg(feature = "app-dragonrideexplode-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/dragonrideexplode/DragonRideExplode.md"))]
19 #[::unity::class(namespace = "App", name = "DragonRideExplode")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct DragonRideExplode {
22 #[offset(24)]
23 #[rename(name = "m_Type")]
24 pub m_type: i32,
25 }
26}
27
28#[cfg(feature = "app-dragonrideexplode-types")]
29pub use __types::*;
30
31#[cfg(feature = "app-dragonrideexplode")]
32pub trait IDragonRideExplodeMethods: IDragonRideExplode {
33 #[doc = "`SetExplodeStart(i32)` overload"]
34 fn set_explode_start(self, r#type: impl ::core::convert::Into<i32>) -> () {
35 unsafe {
36 let __receiver = <DragonRideExplode as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
37 ::unity::il2cpp_call!((::unity::module_base()+0x2ac5d80usize)as*mut u8,();
38(DragonRideExplode)__receiver,(i32)::core::convert::Into::into(r#type))
39 }
40 }
41 #[doc = "`OnParticleSystemStopped()` overload"]
42 fn on_particle_system_stopped(self) -> () {
43 unsafe {
44 let __receiver = <DragonRideExplode as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
45 ::unity::il2cpp_call!((::unity::module_base()+0x2ac5df0usize)as*mut u8,();
46(DragonRideExplode)__receiver)
47 }
48 }
49 #[doc = "`.ctor()` overload"]
50 fn ctor(self) -> () {
51 unsafe {
52 let __receiver = <DragonRideExplode as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
53 ::unity::il2cpp_call!((::unity::module_base()+0x2ac5fb0usize)as*mut u8,();
54(DragonRideExplode)__receiver)
55 }
56 }
57}
58
59#[cfg(feature = "app-dragonrideexplode")]
60impl<__T: IDragonRideExplode> IDragonRideExplodeMethods for __T {}
61
62#[cfg(feature = "app-dragonrideexplode")]
63impl DragonRideExplode {
64 pub fn set_explode_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
65 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
66 }
67
68 pub fn on_particle_system_stopped_method_info() -> &'static ::unity::il2cpp::MethodInfo {
69 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
70 }
71
72 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
73 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
74 }
75}
76
77#[cfg(feature = "app-dragonrideexplode")]
78impl DragonRideExplode {
79 #[doc = "`.ctor()` — no args"]
80 pub fn new() -> Self {
81 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
82 panic!(
83 "{}
84::{}
85 failed to instantiate",
86 ::core::stringify!(DragonRideExplode),
87 ::core::stringify!(new),
88 )
89 });
90 <Self as IDragonRideExplodeMethods>::ctor(this);
91 this
92 }
93}
94
95#[cfg(feature = "app-dragonrideexplode")]
96#[doc(hidden)]
97pub mod prelude {
98 pub use super::{DragonRideExplode, IDragonRideExplode, IDragonRideExplodeMethods};
99 #[cfg(feature = "system-object")]
100 pub use crate::system::object::IObjectMethods;
101 #[cfg(feature = "unity_engine-behaviour")]
102 pub use crate::unity_engine::behaviour::IBehaviourMethods;
103 #[cfg(feature = "unity_engine-component")]
104 pub use crate::unity_engine::component::IComponentMethods;
105 #[cfg(feature = "unity_engine-monobehaviour")]
106 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
107 #[cfg(feature = "unity_engine-object_2")]
108 pub use crate::unity_engine::object_2::IObject_2Methods;
109 pub use crate::{
110 system::object::IObject,
111 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
112 };
113}