Skip to main content

engage/generated/app/
welleffectmanager.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-welleffectmanager-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/welleffectmanager/WellEffectManager.md"))]
19    #[::unity::class(namespace = "App", name = "WellEffectManager")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct WellEffectManager {
22        #[offset(24)]
23        #[rename(name = "m_WellEffect")]
24        pub m_well_effect: crate::unity_engine::gameobject::GameObject,
25        #[offset(32)]
26        #[rename(name = "m_IsFadeout")]
27        pub m_is_fadeout: bool,
28    }
29}
30
31#[cfg(feature = "app-welleffectmanager-types")]
32pub use __types::*;
33
34#[cfg(feature = "app-welleffectmanager")]
35pub trait IWellEffectManagerMethods: IWellEffectManager {
36    #[doc = "`OnEnable()` overload"]
37    fn on_enable(self) -> () {
38        unsafe {
39            let __receiver = <WellEffectManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40            ::unity::il2cpp_call!((::unity::module_base()+0x21d4330usize)as*mut u8,();
41(WellEffectManager)__receiver)
42        }
43    }
44    #[doc = "`OnDisable()` overload"]
45    fn on_disable(self) -> () {
46        unsafe {
47            let __receiver = <WellEffectManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
48            ::unity::il2cpp_call!((::unity::module_base()+0x21d4510usize)as*mut u8,();
49(WellEffectManager)__receiver)
50        }
51    }
52    #[doc = "`OnDestroy()` overload"]
53    fn on_destroy(self) -> () {
54        unsafe {
55            let __receiver = <WellEffectManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56            ::unity::il2cpp_call!((::unity::module_base()+0x21d45b0usize)as*mut u8,();
57(WellEffectManager)__receiver)
58        }
59    }
60    #[doc = "`TryCreateEffect()` overload"]
61    fn try_create_effect(self) -> () {
62        unsafe {
63            let __receiver = <WellEffectManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
64            ::unity::il2cpp_call!((::unity::module_base()+0x21d4340usize)as*mut u8,();
65(WellEffectManager)__receiver)
66        }
67    }
68    #[doc = "`TryFadeOutEffect()` overload"]
69    fn try_fade_out_effect(self) -> () {
70        unsafe {
71            let __receiver = <WellEffectManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
72            ::unity::il2cpp_call!((::unity::module_base()+0x21d4680usize)as*mut u8,();
73(WellEffectManager)__receiver)
74        }
75    }
76    #[doc = "`DestroyEffect()` overload"]
77    fn destroy_effect(self) -> () {
78        unsafe {
79            let __receiver = <WellEffectManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x21d45c0usize)as*mut u8,();
81(WellEffectManager)__receiver)
82        }
83    }
84    #[doc = "`.ctor()` overload"]
85    fn ctor(self) -> () {
86        unsafe {
87            let __receiver = <WellEffectManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88            ::unity::il2cpp_call!((::unity::module_base()+0x21d47c0usize)as*mut u8,();
89(WellEffectManager)__receiver)
90        }
91    }
92}
93
94#[cfg(feature = "app-welleffectmanager")]
95impl<__T: IWellEffectManager> IWellEffectManagerMethods for __T {}
96
97#[cfg(feature = "app-welleffectmanager")]
98impl WellEffectManager {
99    pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
100        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
101    }
102
103    pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
104        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
105    }
106
107    pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
108        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
109    }
110
111    pub fn try_create_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
113    }
114
115    pub fn try_fade_out_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
117    }
118
119    pub fn destroy_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
120        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
121    }
122
123    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
124        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
125    }
126}
127
128#[cfg(feature = "app-welleffectmanager")]
129impl WellEffectManager {
130    #[doc = "`.ctor()` — no args"]
131    pub fn new() -> Self {
132        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
133            panic!(
134                "{}
135::{}
136 failed to instantiate",
137                ::core::stringify!(WellEffectManager),
138                ::core::stringify!(new),
139            )
140        });
141        <Self as IWellEffectManagerMethods>::ctor(this);
142        this
143    }
144}
145
146#[cfg(feature = "app-welleffectmanager")]
147#[doc(hidden)]
148pub mod prelude {
149    pub use super::{IWellEffectManager, IWellEffectManagerMethods, WellEffectManager};
150    #[cfg(feature = "system-object")]
151    pub use crate::system::object::IObjectMethods;
152    #[cfg(feature = "unity_engine-behaviour")]
153    pub use crate::unity_engine::behaviour::IBehaviourMethods;
154    #[cfg(feature = "unity_engine-component")]
155    pub use crate::unity_engine::component::IComponentMethods;
156    #[cfg(feature = "unity_engine-monobehaviour")]
157    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
158    #[cfg(feature = "unity_engine-object_2")]
159    pub use crate::unity_engine::object_2::IObject_2Methods;
160    pub use crate::{
161        system::object::IObject,
162        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
163    };
164}