engage/generated/app/
ringcleaningclothanimationevent.rs1#[cfg(feature = "app-ringcleaningclothanimationevent-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/ringcleaningclothanimationevent/RingCleaningClothAnimationEvent.md"))]
19 #[::unity::class(namespace = "App", name = "RingCleaningClothAnimationEvent")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct RingCleaningClothAnimationEvent {
22 #[static_field]
23 #[rename(name = "s_AnimTime")]
24 pub s_anim_time: f32,
25 #[offset(40)]
26 #[rename(name = "m_Animator")]
27 pub m_animator: crate::unity_engine::animator::Animator,
28 }
29}
30
31#[cfg(feature = "app-ringcleaningclothanimationevent-types")]
32pub use __types::*;
33
34#[cfg(feature = "app-ringcleaningclothanimationevent")]
35impl RingCleaningClothAnimationEvent {
36 #[doc = "`get_IsPlayingAnim()` overload"]
37 pub fn get_is_playing_anim() -> bool {
38 unsafe {
39 ::unity::il2cpp_call!((::unity::module_base()+0x2417140usize)as*mut u8,bool;
40 )
41 }
42 }
43
44 #[doc = "`set_IsPlayingAnim(bool)` overload"]
45 pub fn set_is_playing_anim(value: impl ::core::convert::Into<bool>) -> () {
46 unsafe {
47 ::unity::il2cpp_call!((::unity::module_base()+0x24171b0usize)as*mut u8,();
48(bool)::core::convert::Into::into(value))
49 }
50 }
51
52 #[doc = "`.cctor()` overload"]
53 pub fn cctor() -> () {
54 unsafe {
55 ::unity::il2cpp_call!((::unity::module_base()+0x2417420usize)as*mut u8,();
56 )
57 }
58 }
59}
60
61#[cfg(feature = "app-ringcleaningclothanimationevent")]
62pub trait IRingCleaningClothAnimationEventMethods: IRingCleaningClothAnimationEvent {
63 #[doc = "`get_CleaningLoopStartAction()` overload"]
64 fn get_cleaning_loop_start_action(self) -> crate::system::action::Action {
65 unsafe {
66 let __receiver =
67 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68 ::unity::il2cpp_call!((::unity::module_base()+0x2417230usize)as*mut u8,crate::system::action::Action;
69(RingCleaningClothAnimationEvent)__receiver)
70 }
71 }
72 #[doc = "`set_CleaningLoopStartAction(crate::system::action::Action)` overload"]
73 fn set_cleaning_loop_start_action(self, value: impl ::core::convert::Into<crate::system::action::Action>) -> () {
74 unsafe {
75 let __receiver =
76 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
77 ::unity::il2cpp_call!((::unity::module_base()+0x2417240usize)as*mut u8,();
78(RingCleaningClothAnimationEvent)__receiver,(crate::system::action::Action)::core::convert::Into::into(value))
79 }
80 }
81 #[doc = "`get_StrongCleaningLoopStartAction()` overload"]
82 fn get_strong_cleaning_loop_start_action(self) -> crate::system::action::Action {
83 unsafe {
84 let __receiver =
85 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
86 ::unity::il2cpp_call!((::unity::module_base()+0x2417250usize)as*mut u8,crate::system::action::Action;
87(RingCleaningClothAnimationEvent)__receiver)
88 }
89 }
90 #[doc = "`set_StrongCleaningLoopStartAction(crate::system::action::Action)` overload"]
91 fn set_strong_cleaning_loop_start_action(self, value: impl ::core::convert::Into<crate::system::action::Action>) -> () {
92 unsafe {
93 let __receiver =
94 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95 ::unity::il2cpp_call!((::unity::module_base()+0x2417260usize)as*mut u8,();
96(RingCleaningClothAnimationEvent)__receiver,(crate::system::action::Action)::core::convert::Into::into(value))
97 }
98 }
99 #[doc = "`Start()` overload"]
100 fn start(self) -> () {
101 unsafe {
102 let __receiver =
103 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104 ::unity::il2cpp_call!((::unity::module_base()+0x2417270usize)as*mut u8,();
105(RingCleaningClothAnimationEvent)__receiver)
106 }
107 }
108 #[doc = "`CleaningStartEvent()` overload"]
109 fn cleaning_start_event(self) -> () {
110 unsafe {
111 let __receiver =
112 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113 ::unity::il2cpp_call!((::unity::module_base()+0x24172e0usize)as*mut u8,();
114(RingCleaningClothAnimationEvent)__receiver)
115 }
116 }
117 #[doc = "`CleaningEndEvent()` overload"]
118 fn cleaning_end_event(self) -> () {
119 unsafe {
120 let __receiver =
121 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
122 ::unity::il2cpp_call!((::unity::module_base()+0x2417300usize)as*mut u8,();
123(RingCleaningClothAnimationEvent)__receiver)
124 }
125 }
126 #[doc = "`StrongCleaningStartEvent()` overload"]
127 fn strong_cleaning_start_event(self) -> () {
128 unsafe {
129 let __receiver =
130 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x2417310usize)as*mut u8,();
132(RingCleaningClothAnimationEvent)__receiver)
133 }
134 }
135 #[doc = "`StrongCleaningEndEvent()` overload"]
136 fn strong_cleaning_end_event(self) -> () {
137 unsafe {
138 let __receiver =
139 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
140 ::unity::il2cpp_call!((::unity::module_base()+0x2417330usize)as*mut u8,();
141(RingCleaningClothAnimationEvent)__receiver)
142 }
143 }
144 #[doc = "`.ctor()` overload"]
145 fn ctor(self) -> () {
146 unsafe {
147 let __receiver =
148 <RingCleaningClothAnimationEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149 ::unity::il2cpp_call!((::unity::module_base()+0x2417410usize)as*mut u8,();
150(RingCleaningClothAnimationEvent)__receiver)
151 }
152 }
153}
154
155#[cfg(feature = "app-ringcleaningclothanimationevent")]
156impl<__T: IRingCleaningClothAnimationEvent> IRingCleaningClothAnimationEventMethods for __T {}
157
158#[cfg(feature = "app-ringcleaningclothanimationevent")]
159impl RingCleaningClothAnimationEvent {
160 pub fn get_is_playing_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
162 }
163
164 pub fn set_is_playing_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
166 }
167
168 pub fn get_cleaning_loop_start_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
170 }
171
172 pub fn set_cleaning_loop_start_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
174 }
175
176 pub fn get_strong_cleaning_loop_start_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
178 }
179
180 pub fn set_strong_cleaning_loop_start_action_method_info() -> &'static ::unity::il2cpp::MethodInfo {
181 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
182 }
183
184 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
186 }
187
188 pub fn cleaning_start_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
190 }
191
192 pub fn cleaning_end_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
194 }
195
196 pub fn strong_cleaning_start_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
198 }
199
200 pub fn strong_cleaning_end_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
202 }
203
204 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
205 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
206 }
207
208 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
209 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
210 }
211}
212
213#[cfg(feature = "app-ringcleaningclothanimationevent")]
214impl RingCleaningClothAnimationEvent {
215 #[doc = "`.ctor()` — no args"]
216 pub fn new() -> Self {
217 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
218 panic!(
219 "{}
220::{}
221 failed to instantiate",
222 ::core::stringify!(RingCleaningClothAnimationEvent),
223 ::core::stringify!(new),
224 )
225 });
226 <Self as IRingCleaningClothAnimationEventMethods>::ctor(this);
227 this
228 }
229}
230
231#[cfg(feature = "app-ringcleaningclothanimationevent")]
232#[doc(hidden)]
233pub mod prelude {
234 pub use super::{IRingCleaningClothAnimationEvent, IRingCleaningClothAnimationEventMethods, RingCleaningClothAnimationEvent};
235 #[cfg(feature = "system-object")]
236 pub use crate::system::object::IObjectMethods;
237 #[cfg(feature = "unity_engine-behaviour")]
238 pub use crate::unity_engine::behaviour::IBehaviourMethods;
239 #[cfg(feature = "unity_engine-component")]
240 pub use crate::unity_engine::component::IComponentMethods;
241 #[cfg(feature = "unity_engine-monobehaviour")]
242 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
243 #[cfg(feature = "unity_engine-object_2")]
244 pub use crate::unity_engine::object_2::IObject_2Methods;
245 pub use crate::{
246 system::object::IObject,
247 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
248 };
249}