engage/generated/app/
effectunstoppable.rs1#[cfg(feature = "app-effectunstoppable-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/effectunstoppable/EffectUnstoppable.md"))]
19 #[::unity::class(namespace = "App", name = "EffectUnstoppable")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct EffectUnstoppable {
22 #[offset(24)]
23 #[rename(name = "m_Threshold")]
24 pub m_threshold: f32,
25 #[offset(28)]
26 #[rename(name = "m_Position")]
27 pub m_position: crate::unity_engine::vector3::Vector3,
28 #[offset(40)]
29 #[rename(name = "m_ParticleSystem")]
30 pub m_particle_system: crate::unity_engine::particlesystem::ParticleSystem,
31 #[offset(48)]
32 #[rename(name = "m_IsStopped")]
33 pub m_is_stopped: bool,
34 #[offset(56)]
35 #[rename(name = "m_StartSound")]
36 pub m_start_sound: ::unity::Il2CppString,
37 #[offset(64)]
38 #[rename(name = "m_StopSound")]
39 pub m_stop_sound: ::unity::Il2CppString,
40 }
41}
42
43#[cfg(feature = "app-effectunstoppable-types")]
44pub use __types::*;
45
46#[cfg(feature = "app-effectunstoppable")]
47pub trait IEffectUnstoppableMethods: IEffectUnstoppable {
48 #[doc = "`Start()` overload"]
49 fn start(self) -> () {
50 unsafe {
51 let __receiver = <EffectUnstoppable as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
52 ::unity::il2cpp_call!((::unity::module_base()+0x22da180usize)as*mut u8,();
53(EffectUnstoppable)__receiver)
54 }
55 }
56 #[doc = "`LateUpdate()` overload"]
57 fn late_update(self) -> () {
58 unsafe {
59 let __receiver = <EffectUnstoppable as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
60 ::unity::il2cpp_call!((::unity::module_base()+0x22da230usize)as*mut u8,();
61(EffectUnstoppable)__receiver)
62 }
63 }
64 #[doc = "`.ctor()` overload"]
65 fn ctor(self) -> () {
66 unsafe {
67 let __receiver = <EffectUnstoppable as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68 ::unity::il2cpp_call!((::unity::module_base()+0x22da3f0usize)as*mut u8,();
69(EffectUnstoppable)__receiver)
70 }
71 }
72}
73
74#[cfg(feature = "app-effectunstoppable")]
75impl<__T: IEffectUnstoppable> IEffectUnstoppableMethods for __T {}
76
77#[cfg(feature = "app-effectunstoppable")]
78impl EffectUnstoppable {
79 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
80 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
81 }
82
83 pub fn late_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
84 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
85 }
86
87 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
88 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
89 }
90}
91
92#[cfg(feature = "app-effectunstoppable")]
93impl EffectUnstoppable {
94 #[doc = "`.ctor()` — no args"]
95 pub fn new() -> Self {
96 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
97 panic!(
98 "{}
99::{}
100 failed to instantiate",
101 ::core::stringify!(EffectUnstoppable),
102 ::core::stringify!(new),
103 )
104 });
105 <Self as IEffectUnstoppableMethods>::ctor(this);
106 this
107 }
108}
109
110#[cfg(feature = "app-effectunstoppable")]
111#[doc(hidden)]
112pub mod prelude {
113 pub use super::{EffectUnstoppable, IEffectUnstoppable, IEffectUnstoppableMethods};
114 #[cfg(feature = "system-object")]
115 pub use crate::system::object::IObjectMethods;
116 #[cfg(feature = "unity_engine-behaviour")]
117 pub use crate::unity_engine::behaviour::IBehaviourMethods;
118 #[cfg(feature = "unity_engine-component")]
119 pub use crate::unity_engine::component::IComponentMethods;
120 #[cfg(feature = "unity_engine-monobehaviour")]
121 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
122 #[cfg(feature = "unity_engine-object_2")]
123 pub use crate::unity_engine::object_2::IObject_2Methods;
124 pub use crate::{
125 system::object::IObject,
126 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
127 };
128}