1#[cfg(feature = "root-simpleanimation-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/root/simpleanimation/SimpleAnimation_EditorState.md"))]
19 #[::unity::class(namespace = "", name = "SimpleAnimation.EditorState")]
20 #[parent(crate::system::object::Object)]
21 pub struct SimpleAnimation_EditorState {
22 #[offset(16)]
23 #[rename(name = "clip")]
24 pub clip: crate::unity_engine::animationclip::AnimationClip,
25 #[offset(24)]
26 #[rename(name = "name")]
27 pub name: ::unity::Il2CppString,
28 #[offset(32)]
29 #[rename(name = "defaultState")]
30 pub default_state: bool,
31 }
32
33 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/simpleanimation/SimpleAnimation_StateImpl.md"))]
34 #[::unity::class(namespace = "", name = "SimpleAnimation.StateImpl")]
35 #[parent(crate::system::object::Object)]
36 pub struct SimpleAnimation_StateImpl {
37 #[offset(16)]
38 #[rename(name = "m_StateHandle")]
39 pub m_state_handle: crate::root::simpleanimationplayable::SimpleAnimationPlayable_IState,
40 #[offset(24)]
41 #[rename(name = "m_Component")]
42 pub m_component: crate::root::simpleanimation::SimpleAnimation,
43 }
44
45 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/simpleanimation/SimpleAnimation_StateEnumerable.md"))]
46 #[::unity::class(namespace = "", name = "SimpleAnimation.StateEnumerable")]
47 #[parent(crate::system::object::Object)]
48 pub struct SimpleAnimation_StateEnumerable {
49 #[offset(16)]
50 #[rename(name = "m_Owner")]
51 pub m_owner: crate::root::simpleanimation::SimpleAnimation,
52 }
53
54 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/simpleanimation/SimpleAnimation.md"))]
55 #[::unity::class(namespace = "", name = "SimpleAnimation")]
56 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
57 pub struct SimpleAnimation {
58 #[static_field]
59 #[rename(name = "kDefaultStateName")]
60 pub k_default_state_name: ::unity::Il2CppString,
61 #[offset(24)]
62 #[rename(name = "m_Graph")]
63 pub m_graph: crate::unity_engine::playables::playablegraph::PlayableGraph,
64 #[offset(40)]
65 #[rename(name = "m_LayerMixer")]
66 pub m_layer_mixer: crate::unity_engine::playables::playablehandle::PlayableHandle,
67 #[offset(56)]
68 #[rename(name = "m_TransitionMixer")]
69 pub m_transition_mixer: crate::unity_engine::playables::playablehandle::PlayableHandle,
70 #[offset(72)]
71 #[rename(name = "m_Animator")]
72 pub m_animator: crate::unity_engine::animator::Animator,
73 #[offset(80)]
74 #[rename(name = "m_Initialized")]
75 pub m_initialized: bool,
76 #[offset(81)]
77 #[rename(name = "m_IsPlaying")]
78 pub m_is_playing: bool,
79 #[offset(88)]
80 #[rename(name = "m_Playable")]
81 pub m_playable: crate::root::simpleanimationplayable::SimpleAnimationPlayable,
82 #[offset(96)]
83 #[rename(name = "m_PlayAutomatically")]
84 pub m_play_automatically: bool,
85 #[offset(97)]
86 #[rename(name = "m_AnimatePhysics")]
87 pub m_animate_physics: bool,
88 #[offset(100)]
89 #[rename(name = "m_CullingMode")]
90 pub m_culling_mode: crate::unity_engine::animatorcullingmode::AnimatorCullingMode,
91 #[offset(104)]
92 #[rename(name = "m_WrapMode")]
93 pub m_wrap_mode: crate::unity_engine::wrapmode::WrapMode,
94 #[offset(112)]
95 #[rename(name = "m_Clip")]
96 pub m_clip: crate::unity_engine::animationclip::AnimationClip,
97 #[offset(120)]
98 #[rename(name = "m_States")]
99 pub m_states: ::unity::Array<crate::root::simpleanimation::SimpleAnimation_EditorState>,
100 }
101
102 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/simpleanimation/SimpleAnimation_StateEnumerable_StateEnumerator.md"))]
103 #[::unity::class(namespace = "", name = "SimpleAnimation.StateEnumerable.StateEnumerator")]
104 #[parent(crate::system::object::Object)]
105 pub struct SimpleAnimation_StateEnumerable_StateEnumerator {
106 #[offset(16)]
107 #[rename(name = "m_Owner")]
108 pub m_owner: crate::root::simpleanimation::SimpleAnimation,
109 #[offset(24)]
110 #[rename(name = "m_Impl")]
111 pub m_impl:
112 crate::system::collections::generic::ienumerator_1::IEnumerator_1<crate::root::simpleanimationplayable::SimpleAnimationPlayable_IState>,
113 }
114
115 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/simpleanimation/SimpleAnimation_State.md"))]
116 #[::unity::class(namespace = "", name = "SimpleAnimation.State")]
117 pub struct SimpleAnimation_State {}
118}
119
120#[cfg(feature = "root-simpleanimation-types")]
121pub use __types::*;
122
123#[cfg(feature = "root-simpleanimation")]
124pub trait ISimpleAnimation_EditorStateMethods: ISimpleAnimation_EditorState {
125 #[doc = "`.ctor()` overload"]
126 fn ctor(self) -> () {
127 unsafe {
128 let __receiver =
129 <SimpleAnimation_EditorState as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130 ::unity::il2cpp_call!((::unity::module_base()+0x3eecb60usize)as*mut u8,();
131(SimpleAnimation_EditorState)__receiver)
132 }
133 }
134}
135
136#[cfg(feature = "root-simpleanimation")]
137impl<__T: ISimpleAnimation_EditorState> ISimpleAnimation_EditorStateMethods for __T {}
138
139#[cfg(feature = "root-simpleanimation")]
140impl SimpleAnimation_EditorState {
141 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
142 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
143 }
144}
145
146#[cfg(feature = "root-simpleanimation")]
147impl SimpleAnimation_EditorState {
148 #[doc = "`.ctor()` — no args"]
149 pub fn new() -> Self {
150 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
151 panic!(
152 "{}
153::{}
154 failed to instantiate",
155 ::core::stringify!(SimpleAnimation_EditorState),
156 ::core::stringify!(new),
157 )
158 });
159 <Self as ISimpleAnimation_EditorStateMethods>::ctor(this);
160 this
161 }
162}
163
164#[cfg(feature = "root-simpleanimation")]
165pub trait ISimpleAnimation_StateImplMethods: ISimpleAnimation_StateImpl {
166 #[doc = "`.ctor(crate::root::simpleanimationplayable::SimpleAnimationPlayable_IState, crate::root::simpleanimation::SimpleAnimation)` overload"]
167 fn ctor(
168 self,
169 handle: impl ::core::convert::Into<crate::root::simpleanimationplayable::SimpleAnimationPlayable_IState>,
170 component: impl ::core::convert::Into<crate::root::simpleanimation::SimpleAnimation>,
171 ) -> () {
172 unsafe {
173 let __receiver =
174 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175 ::unity::il2cpp_call!((::unity::module_base()+0x3eec090usize)as*mut u8,();
176(SimpleAnimation_StateImpl)__receiver,(crate::root::simpleanimationplayable::SimpleAnimationPlayable_IState)::core::convert::Into::into(handle),(crate::root::simpleanimation::SimpleAnimation)::core::convert::Into::into(component))
177 }
178 }
179 #[doc = "`SimpleAnimation.State.get_enabled()` overload"]
180 fn simple_animation_state_get_enabled(self) -> bool {
181 unsafe {
182 let __receiver =
183 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184 {
185 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
186 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
187 panic!(
188 "unity: virtual slot {}
189 out of range (vtable len {}
190) on the runtime class behind {}
191 (method `{}
192`)",
193 4usize,
194 __vt.len(),
195 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
196 "SimpleAnimation.State.get_enabled",
197 )
198 });
199 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
200 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
201 __inner(__receiver, __mi)
202 }
203 }
204 }
205 #[doc = "`SimpleAnimation.State.set_enabled(bool)` overload"]
206 fn simple_animation_state_set_enabled(self, value: impl ::core::convert::Into<bool>) -> () {
207 unsafe {
208 let __receiver =
209 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210 {
211 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
212 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
213 panic!(
214 "unity: virtual slot {}
215 out of range (vtable len {}
216) on the runtime class behind {}
217 (method `{}
218`)",
219 5usize,
220 __vt.len(),
221 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
222 "SimpleAnimation.State.set_enabled",
223 )
224 });
225 let __inner: extern "C" fn(SimpleAnimation_StateImpl, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
226 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
227 __inner(__receiver, ::core::convert::Into::into(value), __mi)
228 }
229 }
230 }
231 #[doc = "`SimpleAnimation.State.get_isValid()` overload"]
232 fn simple_animation_state_get_is_valid(self) -> bool {
233 unsafe {
234 let __receiver =
235 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
236 {
237 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
238 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
239 panic!(
240 "unity: virtual slot {}
241 out of range (vtable len {}
242) on the runtime class behind {}
243 (method `{}
244`)",
245 6usize,
246 __vt.len(),
247 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
248 "SimpleAnimation.State.get_isValid",
249 )
250 });
251 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
252 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
253 __inner(__receiver, __mi)
254 }
255 }
256 }
257 #[doc = "`SimpleAnimation.State.get_time()` overload"]
258 fn simple_animation_state_get_time(self) -> f32 {
259 unsafe {
260 let __receiver =
261 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
262 {
263 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
264 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
265 panic!(
266 "unity: virtual slot {}
267 out of range (vtable len {}
268) on the runtime class behind {}
269 (method `{}
270`)",
271 7usize,
272 __vt.len(),
273 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
274 "SimpleAnimation.State.get_time",
275 )
276 });
277 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
278 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
279 __inner(__receiver, __mi)
280 }
281 }
282 }
283 #[doc = "`SimpleAnimation.State.set_time(f32)` overload"]
284 fn simple_animation_state_set_time(self, value: impl ::core::convert::Into<f32>) -> () {
285 unsafe {
286 let __receiver =
287 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288 {
289 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
290 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
291 panic!(
292 "unity: virtual slot {}
293 out of range (vtable len {}
294) on the runtime class behind {}
295 (method `{}
296`)",
297 8usize,
298 __vt.len(),
299 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
300 "SimpleAnimation.State.set_time",
301 )
302 });
303 let __inner: extern "C" fn(SimpleAnimation_StateImpl, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
304 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
305 __inner(__receiver, ::core::convert::Into::into(value), __mi)
306 }
307 }
308 }
309 #[doc = "`SimpleAnimation.State.get_normalizedTime()` overload"]
310 fn simple_animation_state_get_normalized_time(self) -> f32 {
311 unsafe {
312 let __receiver =
313 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
314 {
315 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
316 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
317 panic!(
318 "unity: virtual slot {}
319 out of range (vtable len {}
320) on the runtime class behind {}
321 (method `{}
322`)",
323 9usize,
324 __vt.len(),
325 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
326 "SimpleAnimation.State.get_normalizedTime",
327 )
328 });
329 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
330 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
331 __inner(__receiver, __mi)
332 }
333 }
334 }
335 #[doc = "`SimpleAnimation.State.set_normalizedTime(f32)` overload"]
336 fn simple_animation_state_set_normalized_time(self, value: impl ::core::convert::Into<f32>) -> () {
337 unsafe {
338 let __receiver =
339 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340 {
341 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
342 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
343 panic!(
344 "unity: virtual slot {}
345 out of range (vtable len {}
346) on the runtime class behind {}
347 (method `{}
348`)",
349 10usize,
350 __vt.len(),
351 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
352 "SimpleAnimation.State.set_normalizedTime",
353 )
354 });
355 let __inner: extern "C" fn(SimpleAnimation_StateImpl, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
356 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
357 __inner(__receiver, ::core::convert::Into::into(value), __mi)
358 }
359 }
360 }
361 #[doc = "`SimpleAnimation.State.get_speed()` overload"]
362 fn simple_animation_state_get_speed(self) -> f32 {
363 unsafe {
364 let __receiver =
365 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
366 {
367 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
368 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
369 panic!(
370 "unity: virtual slot {}
371 out of range (vtable len {}
372) on the runtime class behind {}
373 (method `{}
374`)",
375 11usize,
376 __vt.len(),
377 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
378 "SimpleAnimation.State.get_speed",
379 )
380 });
381 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
382 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
383 __inner(__receiver, __mi)
384 }
385 }
386 }
387 #[doc = "`SimpleAnimation.State.set_speed(f32)` overload"]
388 fn simple_animation_state_set_speed(self, value: impl ::core::convert::Into<f32>) -> () {
389 unsafe {
390 let __receiver =
391 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392 {
393 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
394 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
395 panic!(
396 "unity: virtual slot {}
397 out of range (vtable len {}
398) on the runtime class behind {}
399 (method `{}
400`)",
401 12usize,
402 __vt.len(),
403 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
404 "SimpleAnimation.State.set_speed",
405 )
406 });
407 let __inner: extern "C" fn(SimpleAnimation_StateImpl, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
408 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
409 __inner(__receiver, ::core::convert::Into::into(value), __mi)
410 }
411 }
412 }
413 #[doc = "`SimpleAnimation.State.get_name()` overload"]
414 fn simple_animation_state_get_name(self) -> ::unity::Il2CppString {
415 unsafe {
416 let __receiver =
417 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
418 {
419 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
420 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
421 panic!(
422 "unity: virtual slot {}
423 out of range (vtable len {}
424) on the runtime class behind {}
425 (method `{}
426`)",
427 13usize,
428 __vt.len(),
429 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
430 "SimpleAnimation.State.get_name",
431 )
432 });
433 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> ::unity::Il2CppString =
434 ::core::mem::transmute(__vi.method_ptr);
435 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
436 __inner(__receiver, __mi)
437 }
438 }
439 }
440 #[doc = "`SimpleAnimation.State.set_name(::unity::Il2CppString)` overload"]
441 fn simple_animation_state_set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
442 unsafe {
443 let __receiver =
444 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
445 {
446 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
447 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
448 panic!(
449 "unity: virtual slot {}
450 out of range (vtable len {}
451) on the runtime class behind {}
452 (method `{}
453`)",
454 14usize,
455 __vt.len(),
456 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
457 "SimpleAnimation.State.set_name",
458 )
459 });
460 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
461 ::core::mem::transmute(__vi.method_ptr);
462 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
463 __inner(__receiver, ::core::convert::Into::into(value), __mi)
464 }
465 }
466 }
467 #[doc = "`SimpleAnimation.State.get_weight()` overload"]
468 fn simple_animation_state_get_weight(self) -> f32 {
469 unsafe {
470 let __receiver =
471 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
472 {
473 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
474 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
475 panic!(
476 "unity: virtual slot {}
477 out of range (vtable len {}
478) on the runtime class behind {}
479 (method `{}
480`)",
481 15usize,
482 __vt.len(),
483 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
484 "SimpleAnimation.State.get_weight",
485 )
486 });
487 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
488 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
489 __inner(__receiver, __mi)
490 }
491 }
492 }
493 #[doc = "`SimpleAnimation.State.set_weight(f32)` overload"]
494 fn simple_animation_state_set_weight(self, value: impl ::core::convert::Into<f32>) -> () {
495 unsafe {
496 let __receiver =
497 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
498 {
499 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
500 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
501 panic!(
502 "unity: virtual slot {}
503 out of range (vtable len {}
504) on the runtime class behind {}
505 (method `{}
506`)",
507 16usize,
508 __vt.len(),
509 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
510 "SimpleAnimation.State.set_weight",
511 )
512 });
513 let __inner: extern "C" fn(SimpleAnimation_StateImpl, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
514 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
515 __inner(__receiver, ::core::convert::Into::into(value), __mi)
516 }
517 }
518 }
519 #[doc = "`SimpleAnimation.State.get_length()` overload"]
520 fn simple_animation_state_get_length(self) -> f32 {
521 unsafe {
522 let __receiver =
523 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
524 {
525 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
526 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
527 panic!(
528 "unity: virtual slot {}
529 out of range (vtable len {}
530) on the runtime class behind {}
531 (method `{}
532`)",
533 17usize,
534 __vt.len(),
535 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
536 "SimpleAnimation.State.get_length",
537 )
538 });
539 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
540 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
541 __inner(__receiver, __mi)
542 }
543 }
544 }
545 #[doc = "`SimpleAnimation.State.get_clip()` overload"]
546 fn simple_animation_state_get_clip(self) -> crate::unity_engine::animationclip::AnimationClip {
547 unsafe {
548 let __receiver =
549 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550 {
551 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
552 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
553 panic!(
554 "unity: virtual slot {}
555 out of range (vtable len {}
556) on the runtime class behind {}
557 (method `{}
558`)",
559 18usize,
560 __vt.len(),
561 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
562 "SimpleAnimation.State.get_clip",
563 )
564 });
565 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> crate::unity_engine::animationclip::AnimationClip =
566 ::core::mem::transmute(__vi.method_ptr);
567 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
568 __inner(__receiver, __mi)
569 }
570 }
571 }
572 #[doc = "`SimpleAnimation.State.get_wrapMode()` overload"]
573 fn simple_animation_state_get_wrap_mode(self) -> crate::unity_engine::wrapmode::WrapMode {
574 unsafe {
575 let __receiver =
576 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
577 {
578 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
579 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
580 panic!(
581 "unity: virtual slot {}
582 out of range (vtable len {}
583) on the runtime class behind {}
584 (method `{}
585`)",
586 19usize,
587 __vt.len(),
588 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
589 "SimpleAnimation.State.get_wrapMode",
590 )
591 });
592 let __inner: extern "C" fn(SimpleAnimation_StateImpl, ::unity::OptionalMethod) -> crate::unity_engine::wrapmode::WrapMode =
593 ::core::mem::transmute(__vi.method_ptr);
594 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
595 __inner(__receiver, __mi)
596 }
597 }
598 }
599 #[doc = "`SimpleAnimation.State.set_wrapMode(crate::unity_engine::wrapmode::WrapMode)` overload"]
600 fn simple_animation_state_set_wrap_mode(self, value: impl ::core::convert::Into<crate::unity_engine::wrapmode::WrapMode>) -> () {
601 unsafe {
602 let __receiver =
603 <SimpleAnimation_StateImpl as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
604 {
605 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
606 let __vi = *__vt.get(20usize).unwrap_or_else(|| {
607 panic!(
608 "unity: virtual slot {}
609 out of range (vtable len {}
610) on the runtime class behind {}
611 (method `{}
612`)",
613 20usize,
614 __vt.len(),
615 <SimpleAnimation_StateImpl as ::unity::ClassIdentity>::NAME,
616 "SimpleAnimation.State.set_wrapMode",
617 )
618 });
619 let __inner: extern "C" fn(SimpleAnimation_StateImpl, crate::unity_engine::wrapmode::WrapMode, ::unity::OptionalMethod) -> () =
620 ::core::mem::transmute(__vi.method_ptr);
621 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
622 __inner(__receiver, ::core::convert::Into::into(value), __mi)
623 }
624 }
625 }
626}
627
628#[cfg(feature = "root-simpleanimation")]
629impl<__T: ISimpleAnimation_StateImpl> ISimpleAnimation_StateImplMethods for __T {}
630
631#[cfg(feature = "root-simpleanimation")]
632impl SimpleAnimation_StateImpl {
633 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
634 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
635 }
636
637 pub fn simple_animation_state_get_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
638 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
639 }
640
641 pub fn simple_animation_state_set_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
642 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
643 }
644
645 pub fn simple_animation_state_get_is_valid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
646 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
647 }
648
649 pub fn simple_animation_state_get_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
650 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
651 }
652
653 pub fn simple_animation_state_set_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
654 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
655 }
656
657 pub fn simple_animation_state_get_normalized_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
658 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
659 }
660
661 pub fn simple_animation_state_set_normalized_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
662 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
663 }
664
665 pub fn simple_animation_state_get_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
666 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
667 }
668
669 pub fn simple_animation_state_set_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
671 }
672
673 pub fn simple_animation_state_get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
674 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
675 }
676
677 pub fn simple_animation_state_set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
678 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
679 }
680
681 pub fn simple_animation_state_get_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
682 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
683 }
684
685 pub fn simple_animation_state_set_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
686 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
687 }
688
689 pub fn simple_animation_state_get_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
690 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
691 }
692
693 pub fn simple_animation_state_get_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
694 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
695 }
696
697 pub fn simple_animation_state_get_wrap_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
698 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
699 }
700
701 pub fn simple_animation_state_set_wrap_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
702 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
703 }
704}
705
706#[cfg(feature = "root-simpleanimation")]
707impl SimpleAnimation_StateImpl {
708 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_enabled`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
709 pub unsafe fn simple_animation_state_get_enabled(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
710 let __mi = Self::simple_animation_state_get_enabled_method_info();
711 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
712 __inner(this.into(), ::core::option::Option::None)
713 }
714
715 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.set_enabled`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
716 pub unsafe fn simple_animation_state_set_enabled(this: impl ::core::convert::Into<::unity::IlInstance>, value: bool) -> () {
717 let __mi = Self::simple_animation_state_set_enabled_method_info();
718 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
719 __inner(this.into(), value, ::core::option::Option::None)
720 }
721
722 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_isValid`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
723 pub unsafe fn simple_animation_state_get_is_valid(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
724 let __mi = Self::simple_animation_state_get_is_valid_method_info();
725 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
726 __inner(this.into(), ::core::option::Option::None)
727 }
728
729 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_time`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
730 pub unsafe fn simple_animation_state_get_time(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
731 let __mi = Self::simple_animation_state_get_time_method_info();
732 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
733 __inner(this.into(), ::core::option::Option::None)
734 }
735
736 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.set_time`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
737 pub unsafe fn simple_animation_state_set_time(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> () {
738 let __mi = Self::simple_animation_state_set_time_method_info();
739 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
740 __inner(this.into(), value, ::core::option::Option::None)
741 }
742
743 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_normalizedTime`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
744 pub unsafe fn simple_animation_state_get_normalized_time(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
745 let __mi = Self::simple_animation_state_get_normalized_time_method_info();
746 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
747 __inner(this.into(), ::core::option::Option::None)
748 }
749
750 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.set_normalizedTime`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
751 pub unsafe fn simple_animation_state_set_normalized_time(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> () {
752 let __mi = Self::simple_animation_state_set_normalized_time_method_info();
753 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
754 __inner(this.into(), value, ::core::option::Option::None)
755 }
756
757 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_speed`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
758 pub unsafe fn simple_animation_state_get_speed(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
759 let __mi = Self::simple_animation_state_get_speed_method_info();
760 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
761 __inner(this.into(), ::core::option::Option::None)
762 }
763
764 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.set_speed`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
765 pub unsafe fn simple_animation_state_set_speed(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> () {
766 let __mi = Self::simple_animation_state_set_speed_method_info();
767 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
768 __inner(this.into(), value, ::core::option::Option::None)
769 }
770
771 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_name`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
772 pub unsafe fn simple_animation_state_get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
773 let __mi = Self::simple_animation_state_get_name_method_info();
774 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
775 __inner(this.into(), ::core::option::Option::None)
776 }
777
778 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.set_name`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
779 pub unsafe fn simple_animation_state_set_name(this: impl ::core::convert::Into<::unity::IlInstance>, value: ::unity::Il2CppString) -> () {
780 let __mi = Self::simple_animation_state_set_name_method_info();
781 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
782 ::core::mem::transmute(__mi.method_ptr);
783 __inner(this.into(), value, ::core::option::Option::None)
784 }
785
786 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_weight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
787 pub unsafe fn simple_animation_state_get_weight(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
788 let __mi = Self::simple_animation_state_get_weight_method_info();
789 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
790 __inner(this.into(), ::core::option::Option::None)
791 }
792
793 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.set_weight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
794 pub unsafe fn simple_animation_state_set_weight(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> () {
795 let __mi = Self::simple_animation_state_set_weight_method_info();
796 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
797 __inner(this.into(), value, ::core::option::Option::None)
798 }
799
800 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_length`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
801 pub unsafe fn simple_animation_state_get_length(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
802 let __mi = Self::simple_animation_state_get_length_method_info();
803 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
804 __inner(this.into(), ::core::option::Option::None)
805 }
806
807 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_clip`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
808 pub unsafe fn simple_animation_state_get_clip(
809 this: impl ::core::convert::Into<::unity::IlInstance>,
810 ) -> crate::unity_engine::animationclip::AnimationClip {
811 let __mi = Self::simple_animation_state_get_clip_method_info();
812 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::animationclip::AnimationClip =
813 ::core::mem::transmute(__mi.method_ptr);
814 __inner(this.into(), ::core::option::Option::None)
815 }
816
817 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.get_wrapMode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
818 pub unsafe fn simple_animation_state_get_wrap_mode(
819 this: impl ::core::convert::Into<::unity::IlInstance>,
820 ) -> crate::unity_engine::wrapmode::WrapMode {
821 let __mi = Self::simple_animation_state_get_wrap_mode_method_info();
822 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::wrapmode::WrapMode =
823 ::core::mem::transmute(__mi.method_ptr);
824 __inner(this.into(), ::core::option::Option::None)
825 }
826
827 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateImpl`'s own `SimpleAnimation.State.set_wrapMode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
828 pub unsafe fn simple_animation_state_set_wrap_mode(
829 this: impl ::core::convert::Into<::unity::IlInstance>,
830 value: crate::unity_engine::wrapmode::WrapMode,
831 ) -> () {
832 let __mi = Self::simple_animation_state_set_wrap_mode_method_info();
833 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::wrapmode::WrapMode, ::unity::OptionalMethod) -> () =
834 ::core::mem::transmute(__mi.method_ptr);
835 __inner(this.into(), value, ::core::option::Option::None)
836 }
837}
838
839#[cfg(feature = "root-simpleanimation")]
840impl SimpleAnimation_StateImpl {
841 #[doc = "`.ctor(crate::root::simpleanimationplayable::SimpleAnimationPlayable_IState, crate::root::simpleanimation::SimpleAnimation)` — overload selector"]
842 pub fn new(
843 handle: crate::root::simpleanimationplayable::SimpleAnimationPlayable_IState,
844 component: crate::root::simpleanimation::SimpleAnimation,
845 ) -> Self {
846 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
847 panic!(
848 "{}
849::{}
850 failed to instantiate",
851 ::core::stringify!(SimpleAnimation_StateImpl),
852 ::core::stringify!(new),
853 )
854 });
855 <Self as ISimpleAnimation_StateImplMethods>::ctor(this, handle, component);
856 this
857 }
858}
859
860#[cfg(feature = "root-simpleanimation")]
861pub trait ISimpleAnimation_StateEnumerableMethods: ISimpleAnimation_StateEnumerable {
862 #[doc = "`.ctor(crate::root::simpleanimation::SimpleAnimation)` overload"]
863 fn ctor(self, owner: impl ::core::convert::Into<crate::root::simpleanimation::SimpleAnimation>) -> () {
864 unsafe {
865 let __receiver =
866 <SimpleAnimation_StateEnumerable as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
867 ::unity::il2cpp_call!((::unity::module_base()+0x3eec160usize)as*mut u8,();
868(SimpleAnimation_StateEnumerable)__receiver,(crate::root::simpleanimation::SimpleAnimation)::core::convert::Into::into(owner))
869 }
870 }
871 #[doc = "`GetEnumerator()` overload"]
872 fn get_enumerator(
873 self,
874 ) -> crate::system::collections::generic::ienumerator_1::IEnumerator_1<crate::root::simpleanimation::SimpleAnimation_State> {
875 unsafe {
876 let __receiver =
877 <SimpleAnimation_StateEnumerable as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
878 {
879 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
880 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
881 panic!(
882 "unity: virtual slot {}
883 out of range (vtable len {}
884) on the runtime class behind {}
885 (method `{}
886`)",
887 4usize,
888 __vt.len(),
889 <SimpleAnimation_StateEnumerable as ::unity::ClassIdentity>::NAME,
890 "GetEnumerator",
891 )
892 });
893 let __inner: extern "C" fn(
894 SimpleAnimation_StateEnumerable,
895 ::unity::OptionalMethod,
896 ) -> crate::system::collections::generic::ienumerator_1::IEnumerator_1<
897 crate::root::simpleanimation::SimpleAnimation_State,
898 > = ::core::mem::transmute(__vi.method_ptr);
899 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
900 __inner(__receiver, __mi)
901 }
902 }
903 }
904 #[doc = "`System.Collections.IEnumerable.GetEnumerator()` overload"]
905 fn system_collections_i_enumerable_get_enumerator(self) -> crate::system::collections::ienumerator::IEnumerator {
906 unsafe {
907 let __receiver =
908 <SimpleAnimation_StateEnumerable as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
909 {
910 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
911 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
912 panic!(
913 "unity: virtual slot {}
914 out of range (vtable len {}
915) on the runtime class behind {}
916 (method `{}
917`)",
918 5usize,
919 __vt.len(),
920 <SimpleAnimation_StateEnumerable as ::unity::ClassIdentity>::NAME,
921 "System.Collections.IEnumerable.GetEnumerator",
922 )
923 });
924 let __inner: extern "C" fn(
925 SimpleAnimation_StateEnumerable,
926 ::unity::OptionalMethod,
927 ) -> crate::system::collections::ienumerator::IEnumerator = ::core::mem::transmute(__vi.method_ptr);
928 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
929 __inner(__receiver, __mi)
930 }
931 }
932 }
933}
934
935#[cfg(feature = "root-simpleanimation")]
936impl<__T: ISimpleAnimation_StateEnumerable> ISimpleAnimation_StateEnumerableMethods for __T {}
937
938#[cfg(feature = "root-simpleanimation")]
939impl SimpleAnimation_StateEnumerable {
940 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
941 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
942 }
943
944 pub fn get_enumerator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
945 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
946 }
947
948 pub fn system_collections_i_enumerable_get_enumerator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
949 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
950 }
951}
952
953#[cfg(feature = "root-simpleanimation")]
954impl SimpleAnimation_StateEnumerable {
955 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateEnumerable`'s own `GetEnumerator`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
956 pub unsafe fn get_enumerator(
957 this: impl ::core::convert::Into<::unity::IlInstance>,
958 ) -> crate::system::collections::generic::ienumerator_1::IEnumerator_1<crate::root::simpleanimation::SimpleAnimation_State> {
959 let __mi = Self::get_enumerator_method_info();
960 let __inner: extern "C" fn(
961 ::unity::IlInstance,
962 ::unity::OptionalMethod,
963 ) -> crate::system::collections::generic::ienumerator_1::IEnumerator_1<
964 crate::root::simpleanimation::SimpleAnimation_State,
965 > = ::core::mem::transmute(__mi.method_ptr);
966 __inner(this.into(), ::core::option::Option::None)
967 }
968
969 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateEnumerable`'s own `System.Collections.IEnumerable.GetEnumerator`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
970 pub unsafe fn system_collections_i_enumerable_get_enumerator(
971 this: impl ::core::convert::Into<::unity::IlInstance>,
972 ) -> crate::system::collections::ienumerator::IEnumerator {
973 let __mi = Self::system_collections_i_enumerable_get_enumerator_method_info();
974 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::collections::ienumerator::IEnumerator =
975 ::core::mem::transmute(__mi.method_ptr);
976 __inner(this.into(), ::core::option::Option::None)
977 }
978}
979
980#[cfg(feature = "root-simpleanimation")]
981impl SimpleAnimation_StateEnumerable {
982 #[doc = "`.ctor(crate::root::simpleanimation::SimpleAnimation)` — overload selector"]
983 pub fn new(owner: crate::root::simpleanimation::SimpleAnimation) -> Self {
984 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
985 panic!(
986 "{}
987::{}
988 failed to instantiate",
989 ::core::stringify!(SimpleAnimation_StateEnumerable),
990 ::core::stringify!(new),
991 )
992 });
993 <Self as ISimpleAnimation_StateEnumerableMethods>::ctor(this, owner);
994 this
995 }
996}
997
998#[cfg(feature = "root-simpleanimation")]
999impl SimpleAnimation {
1000 #[doc = "`LegacyClipCheck(crate::unity_engine::animationclip::AnimationClip)` overload"]
1001 pub fn legacy_clip_check(clip: impl ::core::convert::Into<crate::unity_engine::animationclip::AnimationClip>) -> () {
1002 unsafe {
1003 ::unity::il2cpp_call!((::unity::module_base()+0x3eea470usize)as*mut u8,();
1004(crate::unity_engine::animationclip::AnimationClip)::core::convert::Into::into(clip))
1005 }
1006 }
1007}
1008
1009#[cfg(feature = "root-simpleanimation")]
1010pub trait ISimpleAnimationMethods: ISimpleAnimation {
1011 #[doc = "`get_animator()` overload"]
1012 fn get_animator(self) -> crate::unity_engine::animator::Animator {
1013 unsafe {
1014 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1015 ::unity::il2cpp_call!((::unity::module_base()+0x3eea290usize)as*mut u8,crate::unity_engine::animator::Animator;
1016(SimpleAnimation)__receiver)
1017 }
1018 }
1019 #[doc = "`get_animatePhysics()` overload"]
1020 fn get_animate_physics(self) -> bool {
1021 unsafe {
1022 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1023 ::unity::il2cpp_call!((::unity::module_base()+0x3eea350usize)as*mut u8,bool;
1024(SimpleAnimation)__receiver)
1025 }
1026 }
1027 #[doc = "`set_animatePhysics(bool)` overload"]
1028 fn set_animate_physics(self, value: impl ::core::convert::Into<bool>) -> () {
1029 unsafe {
1030 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1031 ::unity::il2cpp_call!((::unity::module_base()+0x3eea360usize)as*mut u8,();
1032(SimpleAnimation)__receiver,(bool)::core::convert::Into::into(value))
1033 }
1034 }
1035 #[doc = "`get_cullingMode()` overload"]
1036 fn get_culling_mode(self) -> crate::unity_engine::animatorcullingmode::AnimatorCullingMode {
1037 unsafe {
1038 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1039 ::unity::il2cpp_call!((::unity::module_base()+0x3eea390usize)as*mut u8,crate::unity_engine::animatorcullingmode::AnimatorCullingMode;
1040(SimpleAnimation)__receiver)
1041 }
1042 }
1043 #[doc = "`set_cullingMode(crate::unity_engine::animatorcullingmode::AnimatorCullingMode)` overload"]
1044 fn set_culling_mode(self, value: impl ::core::convert::Into<crate::unity_engine::animatorcullingmode::AnimatorCullingMode>) -> () {
1045 unsafe {
1046 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1047 ::unity::il2cpp_call!((::unity::module_base()+0x3eea3b0usize)as*mut u8,();
1048(SimpleAnimation)__receiver,(crate::unity_engine::animatorcullingmode::AnimatorCullingMode)::core::convert::Into::into(value))
1049 }
1050 }
1051 #[doc = "`get_isPlaying()` overload"]
1052 fn get_is_playing(self) -> bool {
1053 unsafe {
1054 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1055 ::unity::il2cpp_call!((::unity::module_base()+0x3eea3e0usize)as*mut u8,bool;
1056(SimpleAnimation)__receiver)
1057 }
1058 }
1059 #[doc = "`get_playAutomatically()` overload"]
1060 fn get_play_automatically(self) -> bool {
1061 unsafe {
1062 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1063 ::unity::il2cpp_call!((::unity::module_base()+0x3eea400usize)as*mut u8,bool;
1064(SimpleAnimation)__receiver)
1065 }
1066 }
1067 #[doc = "`set_playAutomatically(bool)` overload"]
1068 fn set_play_automatically(self, value: impl ::core::convert::Into<bool>) -> () {
1069 unsafe {
1070 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1071 ::unity::il2cpp_call!((::unity::module_base()+0x3eea410usize)as*mut u8,();
1072(SimpleAnimation)__receiver,(bool)::core::convert::Into::into(value))
1073 }
1074 }
1075 #[doc = "`get_clip()` overload"]
1076 fn get_clip(self) -> crate::unity_engine::animationclip::AnimationClip {
1077 unsafe {
1078 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1079 ::unity::il2cpp_call!((::unity::module_base()+0x3eea420usize)as*mut u8,crate::unity_engine::animationclip::AnimationClip;
1080(SimpleAnimation)__receiver)
1081 }
1082 }
1083 #[doc = "`set_clip(crate::unity_engine::animationclip::AnimationClip)` overload"]
1084 fn set_clip(self, value: impl ::core::convert::Into<crate::unity_engine::animationclip::AnimationClip>) -> () {
1085 unsafe {
1086 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1087 ::unity::il2cpp_call!((::unity::module_base()+0x3eea430usize)as*mut u8,();
1088(SimpleAnimation)__receiver,(crate::unity_engine::animationclip::AnimationClip)::core::convert::Into::into(value))
1089 }
1090 }
1091 #[doc = "`get_wrapMode()` overload"]
1092 fn get_wrap_mode(self) -> crate::unity_engine::wrapmode::WrapMode {
1093 unsafe {
1094 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1095 ::unity::il2cpp_call!((::unity::module_base()+0x3eea560usize)as*mut u8,crate::unity_engine::wrapmode::WrapMode;
1096(SimpleAnimation)__receiver)
1097 }
1098 }
1099 #[doc = "`set_wrapMode(crate::unity_engine::wrapmode::WrapMode)` overload"]
1100 fn set_wrap_mode(self, value: impl ::core::convert::Into<crate::unity_engine::wrapmode::WrapMode>) -> () {
1101 unsafe {
1102 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1103 ::unity::il2cpp_call!((::unity::module_base()+0x3eea570usize)as*mut u8,();
1104(SimpleAnimation)__receiver,(crate::unity_engine::wrapmode::WrapMode)::core::convert::Into::into(value))
1105 }
1106 }
1107 #[doc = "`AddClip(crate::unity_engine::animationclip::AnimationClip, ::unity::Il2CppString)` overload"]
1108 fn add_clip(
1109 self,
1110 clip: impl ::core::convert::Into<crate::unity_engine::animationclip::AnimationClip>,
1111 new_name: impl ::core::convert::Into<::unity::Il2CppString>,
1112 ) -> () {
1113 unsafe {
1114 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1115 ::unity::il2cpp_call!((::unity::module_base()+0x3eea580usize)as*mut u8,();
1116(SimpleAnimation)__receiver,(crate::unity_engine::animationclip::AnimationClip)::core::convert::Into::into(clip),(::unity::Il2CppString)::core::convert::Into::into(new_name))
1117 }
1118 }
1119 #[doc = "`Blend(::unity::Il2CppString, f32, f32)` overload"]
1120 fn blend(
1121 self,
1122 state_name: impl ::core::convert::Into<::unity::Il2CppString>,
1123 target_weight: impl ::core::convert::Into<f32>,
1124 fade_length: impl ::core::convert::Into<f32>,
1125 ) -> () {
1126 unsafe {
1127 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1128 ::unity::il2cpp_call!((::unity::module_base()+0x3eea680usize)as*mut u8,();
1129(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(state_name),(f32)::core::convert::Into::into(target_weight),(f32)::core::convert::Into::into(fade_length))
1130 }
1131 }
1132 #[doc = "`CrossFade(::unity::Il2CppString, f32)` overload"]
1133 fn cross_fade(self, state_name: impl ::core::convert::Into<::unity::Il2CppString>, fade_length: impl ::core::convert::Into<f32>) -> () {
1134 unsafe {
1135 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1136 ::unity::il2cpp_call!((::unity::module_base()+0x3eea830usize)as*mut u8,();
1137(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(state_name),(f32)::core::convert::Into::into(fade_length))
1138 }
1139 }
1140 #[doc = "`CrossFadeQueued(::unity::Il2CppString, f32, crate::unity_engine::queuemode::QueueMode)` overload"]
1141 fn cross_fade_queued(
1142 self,
1143 state_name: impl ::core::convert::Into<::unity::Il2CppString>,
1144 fade_length: impl ::core::convert::Into<f32>,
1145 queue_mode: impl ::core::convert::Into<crate::unity_engine::queuemode::QueueMode>,
1146 ) -> () {
1147 unsafe {
1148 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1149 ::unity::il2cpp_call!((::unity::module_base()+0x3eea990usize)as*mut u8,();
1150(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(state_name),(f32)::core::convert::Into::into(fade_length),(crate::unity_engine::queuemode::QueueMode)::core::convert::Into::into(queue_mode))
1151 }
1152 }
1153 #[doc = "`GetClipCount()` overload"]
1154 fn get_clip_count(self) -> i32 {
1155 unsafe {
1156 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1157 ::unity::il2cpp_call!((::unity::module_base()+0x3eeaaf0usize)as*mut u8,i32;
1158(SimpleAnimation)__receiver)
1159 }
1160 }
1161 #[doc = "`IsPlaying(::unity::Il2CppString)` overload"]
1162 fn is_playing(self, state_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
1163 unsafe {
1164 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1165 ::unity::il2cpp_call!((::unity::module_base()+0x3eeac70usize)as*mut u8,bool;
1166(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(state_name))
1167 }
1168 }
1169 #[doc = "`Stop()` overload"]
1170 fn stop(self) -> () {
1171 unsafe {
1172 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1173 ::unity::il2cpp_call!((::unity::module_base()+0x3eeada0usize)as*mut u8,();
1174(SimpleAnimation)__receiver)
1175 }
1176 }
1177 #[doc = "`Stop(::unity::Il2CppString)` overload"]
1178 fn stop_2(self, state_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1179 unsafe {
1180 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1181 ::unity::il2cpp_call!((::unity::module_base()+0x3eeaef0usize)as*mut u8,();
1182(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(state_name))
1183 }
1184 }
1185 #[doc = "`Sample()` overload"]
1186 fn sample(self) -> () {
1187 unsafe {
1188 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1189 ::unity::il2cpp_call!((::unity::module_base()+0x3eeb070usize)as*mut u8,();
1190(SimpleAnimation)__receiver)
1191 }
1192 }
1193 #[doc = "`Play()` overload"]
1194 fn play(self) -> bool {
1195 unsafe {
1196 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1197 ::unity::il2cpp_call!((::unity::module_base()+0x3eeb080usize)as*mut u8,bool;
1198(SimpleAnimation)__receiver)
1199 }
1200 }
1201 #[doc = "`AddState(crate::unity_engine::animationclip::AnimationClip, ::unity::Il2CppString)` overload"]
1202 fn add_state(
1203 self,
1204 clip: impl ::core::convert::Into<crate::unity_engine::animationclip::AnimationClip>,
1205 name: impl ::core::convert::Into<::unity::Il2CppString>,
1206 ) -> () {
1207 unsafe {
1208 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1209 ::unity::il2cpp_call!((::unity::module_base()+0x3eea600usize)as*mut u8,();
1210(SimpleAnimation)__receiver,(crate::unity_engine::animationclip::AnimationClip)::core::convert::Into::into(clip),(::unity::Il2CppString)::core::convert::Into::into(name))
1211 }
1212 }
1213 #[doc = "`RemoveState(::unity::Il2CppString)` overload"]
1214 fn remove_state(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1215 unsafe {
1216 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1217 ::unity::il2cpp_call!((::unity::module_base()+0x3eeb7d0usize)as*mut u8,();
1218(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1219 }
1220 }
1221 #[doc = "`Play(::unity::Il2CppString)` overload"]
1222 fn play_2(self, state_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
1223 unsafe {
1224 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1225 ::unity::il2cpp_call!((::unity::module_base()+0x3eeb900usize)as*mut u8,bool;
1226(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(state_name))
1227 }
1228 }
1229 #[doc = "`PlayQueued(::unity::Il2CppString, crate::unity_engine::queuemode::QueueMode)` overload"]
1230 fn play_queued(
1231 self,
1232 state_name: impl ::core::convert::Into<::unity::Il2CppString>,
1233 queue_mode: impl ::core::convert::Into<crate::unity_engine::queuemode::QueueMode>,
1234 ) -> () {
1235 unsafe {
1236 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1237 ::unity::il2cpp_call!((::unity::module_base()+0x3eeb960usize)as*mut u8,();
1238(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(state_name),(crate::unity_engine::queuemode::QueueMode)::core::convert::Into::into(queue_mode))
1239 }
1240 }
1241 #[doc = "`RemoveClip(crate::unity_engine::animationclip::AnimationClip)` overload"]
1242 fn remove_clip(self, clip: impl ::core::convert::Into<crate::unity_engine::animationclip::AnimationClip>) -> () {
1243 unsafe {
1244 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1245 ::unity::il2cpp_call!((::unity::module_base()+0x3eebab0usize)as*mut u8,();
1246(SimpleAnimation)__receiver,(crate::unity_engine::animationclip::AnimationClip)::core::convert::Into::into(clip))
1247 }
1248 }
1249 #[doc = "`Rewind()` overload"]
1250 fn rewind(self) -> () {
1251 unsafe {
1252 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1253 ::unity::il2cpp_call!((::unity::module_base()+0x3eebbd0usize)as*mut u8,();
1254(SimpleAnimation)__receiver)
1255 }
1256 }
1257 #[doc = "`Rewind(::unity::Il2CppString)` overload"]
1258 fn rewind_2(self, state_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1259 unsafe {
1260 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1261 ::unity::il2cpp_call!((::unity::module_base()+0x3eebd50usize)as*mut u8,();
1262(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(state_name))
1263 }
1264 }
1265 #[doc = "`GetState(::unity::Il2CppString)` overload"]
1266 fn get_state(self, state_name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::root::simpleanimation::SimpleAnimation_State {
1267 unsafe {
1268 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1269 ::unity::il2cpp_call!((::unity::module_base()+0x3eebeb0usize)as*mut u8,crate::root::simpleanimation::SimpleAnimation_State;
1270(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(state_name))
1271 }
1272 }
1273 #[doc = "`GetStates()` overload"]
1274 fn get_states(self) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::root::simpleanimation::SimpleAnimation_State> {
1275 unsafe {
1276 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1277 ::unity::il2cpp_call!((::unity::module_base()+0x3eec0e0usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::root::simpleanimation::SimpleAnimation_State> ;
1278(SimpleAnimation)__receiver)
1279 }
1280 }
1281 #[doc = "`get_Item(::unity::Il2CppString)` overload"]
1282 fn get_item(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::root::simpleanimation::SimpleAnimation_State {
1283 unsafe {
1284 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1285 ::unity::il2cpp_call!((::unity::module_base()+0x3eec1a0usize)as*mut u8,crate::root::simpleanimation::SimpleAnimation_State;
1286(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1287 }
1288 }
1289 #[doc = "`IsFinished(f32)` overload"]
1290 fn is_finished(self, rest_time: impl ::core::convert::Into<f32>) -> bool {
1291 unsafe {
1292 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1293 ::unity::il2cpp_call!((::unity::module_base()+0x3eec1b0usize)as*mut u8,bool;
1294(SimpleAnimation)__receiver,(f32)::core::convert::Into::into(rest_time))
1295 }
1296 }
1297 #[doc = "`SetSpeed(f32)` overload"]
1298 fn set_speed(self, speed: impl ::core::convert::Into<f32>) -> () {
1299 unsafe {
1300 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1301 ::unity::il2cpp_call!((::unity::module_base()+0x3eec360usize)as*mut u8,();
1302(SimpleAnimation)__receiver,(f32)::core::convert::Into::into(speed))
1303 }
1304 }
1305 #[doc = "`Kick()` overload"]
1306 fn kick(self) -> () {
1307 unsafe {
1308 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1309 ::unity::il2cpp_call!((::unity::module_base()+0x3eea700usize)as*mut u8,();
1310(SimpleAnimation)__receiver)
1311 }
1312 }
1313 #[doc = "`OnEnable()` overload"]
1314 fn on_enable(self) -> () {
1315 unsafe {
1316 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1317 {
1318 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1319 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
1320 panic!(
1321 "unity: virtual slot {}
1322 out of range (vtable len {}
1323) on the runtime class behind {}
1324 (method `{}
1325`)",
1326 4usize,
1327 __vt.len(),
1328 <SimpleAnimation as ::unity::ClassIdentity>::NAME,
1329 "OnEnable",
1330 )
1331 });
1332 let __inner: extern "C" fn(SimpleAnimation, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1333 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1334 __inner(__receiver, __mi)
1335 }
1336 }
1337 }
1338 #[doc = "`OnDisable()` overload"]
1339 fn on_disable(self) -> () {
1340 unsafe {
1341 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1342 {
1343 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1344 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1345 panic!(
1346 "unity: virtual slot {}
1347 out of range (vtable len {}
1348) on the runtime class behind {}
1349 (method `{}
1350`)",
1351 5usize,
1352 __vt.len(),
1353 <SimpleAnimation as ::unity::ClassIdentity>::NAME,
1354 "OnDisable",
1355 )
1356 });
1357 let __inner: extern "C" fn(SimpleAnimation, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1358 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1359 __inner(__receiver, __mi)
1360 }
1361 }
1362 }
1363 #[doc = "`Reset()` overload"]
1364 fn reset(self) -> () {
1365 unsafe {
1366 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1367 ::unity::il2cpp_call!((::unity::module_base()+0x3eec9e0usize)as*mut u8,();
1368(SimpleAnimation)__receiver)
1369 }
1370 }
1371 #[doc = "`Initialize()` overload"]
1372 fn initialize(self) -> () {
1373 unsafe {
1374 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1375 ::unity::il2cpp_call!((::unity::module_base()+0x3eec590usize)as*mut u8,();
1376(SimpleAnimation)__receiver)
1377 }
1378 }
1379 #[doc = "`EnsureDefaultStateExists()` overload"]
1380 fn ensure_default_state_exists(self) -> () {
1381 unsafe {
1382 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1383 ::unity::il2cpp_call!((::unity::module_base()+0x3eecb70usize)as*mut u8,();
1384(SimpleAnimation)__receiver)
1385 }
1386 }
1387 #[doc = "`Awake()` overload"]
1388 fn awake(self) -> () {
1389 unsafe {
1390 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1391 {
1392 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1393 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
1394 panic!(
1395 "unity: virtual slot {}
1396 out of range (vtable len {}
1397) on the runtime class behind {}
1398 (method `{}
1399`)",
1400 6usize,
1401 __vt.len(),
1402 <SimpleAnimation as ::unity::ClassIdentity>::NAME,
1403 "Awake",
1404 )
1405 });
1406 let __inner: extern "C" fn(SimpleAnimation, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1407 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1408 __inner(__receiver, __mi)
1409 }
1410 }
1411 }
1412 #[doc = "`OnDestroy()` overload"]
1413 fn on_destroy(self) -> () {
1414 unsafe {
1415 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1416 ::unity::il2cpp_call!((::unity::module_base()+0x3eecce0usize)as*mut u8,();
1417(SimpleAnimation)__receiver)
1418 }
1419 }
1420 #[doc = "`OnPlayableDone()` overload"]
1421 fn on_playable_done(self) -> () {
1422 unsafe {
1423 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1424 ::unity::il2cpp_call!((::unity::module_base()+0x3eecd20usize)as*mut u8,();
1425(SimpleAnimation)__receiver)
1426 }
1427 }
1428 #[doc = "`RebuildStates()` overload"]
1429 fn rebuild_states(self) -> () {
1430 unsafe {
1431 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1432 ::unity::il2cpp_call!((::unity::module_base()+0x3eeb330usize)as*mut u8,();
1433(SimpleAnimation)__receiver)
1434 }
1435 }
1436 #[doc = "`CreateDefaultEditorState()` overload"]
1437 fn create_default_editor_state(self) -> crate::root::simpleanimation::SimpleAnimation_EditorState {
1438 unsafe {
1439 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1440 ::unity::il2cpp_call!((::unity::module_base()+0x3eecd50usize)as*mut u8,crate::root::simpleanimation::SimpleAnimation_EditorState;
1441(SimpleAnimation)__receiver)
1442 }
1443 }
1444 #[doc = "`InvalidLegacyClipError(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
1445 fn invalid_legacy_clip_error(
1446 self,
1447 clip_name: impl ::core::convert::Into<::unity::Il2CppString>,
1448 state_name: impl ::core::convert::Into<::unity::Il2CppString>,
1449 ) -> () {
1450 unsafe {
1451 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1452 ::unity::il2cpp_call!((::unity::module_base()+0x3eecdf0usize)as*mut u8,();
1453(SimpleAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(clip_name),(::unity::Il2CppString)::core::convert::Into::into(state_name))
1454 }
1455 }
1456 #[doc = "`OnValidate()` overload"]
1457 fn on_validate(self) -> () {
1458 unsafe {
1459 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1460 ::unity::il2cpp_call!((::unity::module_base()+0x3eecf40usize)as*mut u8,();
1461(SimpleAnimation)__receiver)
1462 }
1463 }
1464 #[doc = "`GetAnimationClips(crate::system::collections::generic::list_1::List_1<crate::unity_engine::animationclip::AnimationClip>)` overload"]
1465 fn get_animation_clips(
1466 self,
1467 results: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::animationclip::AnimationClip>>,
1468 ) -> () {
1469 unsafe {
1470 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1471 {
1472 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1473 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
1474 panic!(
1475 "unity: virtual slot {}
1476 out of range (vtable len {}
1477) on the runtime class behind {}
1478 (method `{}
1479`)",
1480 7usize,
1481 __vt.len(),
1482 <SimpleAnimation as ::unity::ClassIdentity>::NAME,
1483 "GetAnimationClips",
1484 )
1485 });
1486 let __inner: extern "C" fn(
1487 SimpleAnimation,
1488 crate::system::collections::generic::list_1::List_1<crate::unity_engine::animationclip::AnimationClip>,
1489 ::unity::OptionalMethod,
1490 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1491 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1492 __inner(__receiver, ::core::convert::Into::into(results), __mi)
1493 }
1494 }
1495 }
1496 #[doc = "`.ctor()` overload"]
1497 fn ctor(self) -> () {
1498 unsafe {
1499 let __receiver = <SimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1500 ::unity::il2cpp_call!((::unity::module_base()+0x3eed760usize)as*mut u8,();
1501(SimpleAnimation)__receiver)
1502 }
1503 }
1504}
1505
1506#[cfg(feature = "root-simpleanimation")]
1507impl<__T: ISimpleAnimation> ISimpleAnimationMethods for __T {}
1508
1509#[cfg(feature = "root-simpleanimation")]
1510impl SimpleAnimation {
1511 pub fn get_animator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1513 }
1514
1515 pub fn get_animate_physics_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1517 }
1518
1519 pub fn set_animate_physics_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1520 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1521 }
1522
1523 pub fn get_culling_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1524 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1525 }
1526
1527 pub fn set_culling_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1528 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1529 }
1530
1531 pub fn get_is_playing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1532 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1533 }
1534
1535 pub fn get_play_automatically_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1536 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1537 }
1538
1539 pub fn set_play_automatically_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1540 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1541 }
1542
1543 pub fn get_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1544 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1545 }
1546
1547 pub fn set_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1548 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1549 }
1550
1551 pub fn get_wrap_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1552 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1553 }
1554
1555 pub fn set_wrap_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1556 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1557 }
1558
1559 pub fn add_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1560 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1561 }
1562
1563 pub fn blend_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1564 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1565 }
1566
1567 pub fn cross_fade_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1568 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1569 }
1570
1571 pub fn cross_fade_queued_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1572 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1573 }
1574
1575 pub fn get_clip_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1576 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1577 }
1578
1579 pub fn is_playing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1580 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1581 }
1582
1583 pub fn stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1584 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1585 }
1586
1587 pub fn stop_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1588 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1589 }
1590
1591 pub fn sample_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1592 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1593 }
1594
1595 pub fn play_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1596 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1597 }
1598
1599 pub fn add_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1600 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1601 }
1602
1603 pub fn remove_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1604 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1605 }
1606
1607 pub fn play_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1608 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1609 }
1610
1611 pub fn play_queued_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1612 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1613 }
1614
1615 pub fn remove_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1616 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1617 }
1618
1619 pub fn rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1620 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1621 }
1622
1623 pub fn rewind_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1624 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1625 }
1626
1627 pub fn get_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1628 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1629 }
1630
1631 pub fn get_states_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1632 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1633 }
1634
1635 pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1636 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1637 }
1638
1639 pub fn is_finished_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1640 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1641 }
1642
1643 pub fn set_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1644 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1645 }
1646
1647 pub fn kick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1648 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1649 }
1650
1651 pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1652 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1653 }
1654
1655 pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1656 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1657 }
1658
1659 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1660 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1661 }
1662
1663 pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1664 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1665 }
1666
1667 pub fn ensure_default_state_exists_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1668 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1669 }
1670
1671 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1672 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1673 }
1674
1675 pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1676 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1677 }
1678
1679 pub fn on_playable_done_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1680 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1681 }
1682
1683 pub fn rebuild_states_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1684 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1685 }
1686
1687 pub fn create_default_editor_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1688 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1689 }
1690
1691 pub fn legacy_clip_check_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1692 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1693 }
1694
1695 pub fn invalid_legacy_clip_error_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1696 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1697 }
1698
1699 pub fn on_validate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1700 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1701 }
1702
1703 pub fn get_animation_clips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1704 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1705 }
1706
1707 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1708 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1709 }
1710}
1711
1712#[cfg(feature = "root-simpleanimation")]
1713impl SimpleAnimation {
1714 #[doc = "Direct (non-virtual) call to `SimpleAnimation`'s own `OnEnable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1715 pub unsafe fn on_enable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1716 let __mi = Self::on_enable_method_info();
1717 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1718 __inner(this.into(), ::core::option::Option::None)
1719 }
1720
1721 #[doc = "Direct (non-virtual) call to `SimpleAnimation`'s own `OnDisable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1722 pub unsafe fn on_disable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1723 let __mi = Self::on_disable_method_info();
1724 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1725 __inner(this.into(), ::core::option::Option::None)
1726 }
1727
1728 #[doc = "Direct (non-virtual) call to `SimpleAnimation`'s own `Awake`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1729 pub unsafe fn awake(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1730 let __mi = Self::awake_method_info();
1731 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1732 __inner(this.into(), ::core::option::Option::None)
1733 }
1734
1735 #[doc = "Direct (non-virtual) call to `SimpleAnimation`'s own `GetAnimationClips`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1736 pub unsafe fn get_animation_clips(
1737 this: impl ::core::convert::Into<::unity::IlInstance>,
1738 results: crate::system::collections::generic::list_1::List_1<crate::unity_engine::animationclip::AnimationClip>,
1739 ) -> () {
1740 let __mi = Self::get_animation_clips_method_info();
1741 let __inner: extern "C" fn(
1742 ::unity::IlInstance,
1743 crate::system::collections::generic::list_1::List_1<crate::unity_engine::animationclip::AnimationClip>,
1744 ::unity::OptionalMethod,
1745 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1746 __inner(this.into(), results, ::core::option::Option::None)
1747 }
1748}
1749
1750#[cfg(feature = "root-simpleanimation")]
1751impl SimpleAnimation {
1752 #[doc = "`.ctor()` — no args"]
1753 pub fn new() -> Self {
1754 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1755 panic!(
1756 "{}
1757::{}
1758 failed to instantiate",
1759 ::core::stringify!(SimpleAnimation),
1760 ::core::stringify!(new),
1761 )
1762 });
1763 <Self as ISimpleAnimationMethods>::ctor(this);
1764 this
1765 }
1766}
1767
1768#[cfg(feature = "root-simpleanimation")]
1769pub trait ISimpleAnimation_StateEnumerable_StateEnumeratorMethods: ISimpleAnimation_StateEnumerable_StateEnumerator {
1770 #[doc = "`.ctor(crate::root::simpleanimation::SimpleAnimation)` overload"]
1771 fn ctor(self, owner: impl ::core::convert::Into<crate::root::simpleanimation::SimpleAnimation>) -> () {
1772 unsafe {
1773 let __receiver = <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::FromIlInstance>::from_il_instance(
1774 <Self as ::unity::SystemObject>::as_instance(self),
1775 );
1776 ::unity::il2cpp_call!((::unity::module_base()+0x3ef1210usize)as*mut u8,();
1777(SimpleAnimation_StateEnumerable_StateEnumerator)__receiver,(crate::root::simpleanimation::SimpleAnimation)::core::convert::Into::into(owner))
1778 }
1779 }
1780 #[doc = "`GetCurrent()` overload"]
1781 fn get_current(self) -> crate::root::simpleanimation::SimpleAnimation_State {
1782 unsafe {
1783 let __receiver = <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::FromIlInstance>::from_il_instance(
1784 <Self as ::unity::SystemObject>::as_instance(self),
1785 );
1786 ::unity::il2cpp_call!((::unity::module_base()+0x3ef3da0usize)as*mut u8,crate::root::simpleanimation::SimpleAnimation_State;
1787(SimpleAnimation_StateEnumerable_StateEnumerator)__receiver)
1788 }
1789 }
1790 #[doc = "`System.Collections.IEnumerator.get_Current()` overload"]
1791 fn system_collections_i_enumerator_get_current(self) -> crate::system::object::Object {
1792 unsafe {
1793 let __receiver = <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::FromIlInstance>::from_il_instance(
1794 <Self as ::unity::SystemObject>::as_instance(self),
1795 );
1796 {
1797 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1798 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
1799 panic!(
1800 "unity: virtual slot {}
1801 out of range (vtable len {}
1802) on the runtime class behind {}
1803 (method `{}
1804`)",
1805 7usize,
1806 __vt.len(),
1807 <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::ClassIdentity>::NAME,
1808 "System.Collections.IEnumerator.get_Current",
1809 )
1810 });
1811 let __inner: extern "C" fn(
1812 SimpleAnimation_StateEnumerable_StateEnumerator,
1813 ::unity::OptionalMethod,
1814 ) -> crate::system::object::Object = ::core::mem::transmute(__vi.method_ptr);
1815 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1816 __inner(__receiver, __mi)
1817 }
1818 }
1819 }
1820 #[doc = "`Dispose()` overload"]
1821 fn dispose(self) -> () {
1822 unsafe {
1823 let __receiver = <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::FromIlInstance>::from_il_instance(
1824 <Self as ::unity::SystemObject>::as_instance(self),
1825 );
1826 {
1827 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1828 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1829 panic!(
1830 "unity: virtual slot {}
1831 out of range (vtable len {}
1832) on the runtime class behind {}
1833 (method `{}
1834`)",
1835 5usize,
1836 __vt.len(),
1837 <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::ClassIdentity>::NAME,
1838 "Dispose",
1839 )
1840 });
1841 let __inner: extern "C" fn(SimpleAnimation_StateEnumerable_StateEnumerator, ::unity::OptionalMethod) -> () =
1842 ::core::mem::transmute(__vi.method_ptr);
1843 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1844 __inner(__receiver, __mi)
1845 }
1846 }
1847 }
1848 #[doc = "`MoveNext()` overload"]
1849 fn move_next(self) -> bool {
1850 unsafe {
1851 let __receiver = <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::FromIlInstance>::from_il_instance(
1852 <Self as ::unity::SystemObject>::as_instance(self),
1853 );
1854 {
1855 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1856 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
1857 panic!(
1858 "unity: virtual slot {}
1859 out of range (vtable len {}
1860) on the runtime class behind {}
1861 (method `{}
1862`)",
1863 6usize,
1864 __vt.len(),
1865 <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::ClassIdentity>::NAME,
1866 "MoveNext",
1867 )
1868 });
1869 let __inner: extern "C" fn(SimpleAnimation_StateEnumerable_StateEnumerator, ::unity::OptionalMethod) -> bool =
1870 ::core::mem::transmute(__vi.method_ptr);
1871 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1872 __inner(__receiver, __mi)
1873 }
1874 }
1875 }
1876 #[doc = "`Reset()` overload"]
1877 fn reset(self) -> () {
1878 unsafe {
1879 let __receiver = <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::FromIlInstance>::from_il_instance(
1880 <Self as ::unity::SystemObject>::as_instance(self),
1881 );
1882 {
1883 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1884 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
1885 panic!(
1886 "unity: virtual slot {}
1887 out of range (vtable len {}
1888) on the runtime class behind {}
1889 (method `{}
1890`)",
1891 8usize,
1892 __vt.len(),
1893 <SimpleAnimation_StateEnumerable_StateEnumerator as ::unity::ClassIdentity>::NAME,
1894 "Reset",
1895 )
1896 });
1897 let __inner: extern "C" fn(SimpleAnimation_StateEnumerable_StateEnumerator, ::unity::OptionalMethod) -> () =
1898 ::core::mem::transmute(__vi.method_ptr);
1899 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1900 __inner(__receiver, __mi)
1901 }
1902 }
1903 }
1904}
1905
1906#[cfg(feature = "root-simpleanimation")]
1907impl<__T: ISimpleAnimation_StateEnumerable_StateEnumerator> ISimpleAnimation_StateEnumerable_StateEnumeratorMethods for __T {}
1908
1909#[cfg(feature = "root-simpleanimation")]
1910impl SimpleAnimation_StateEnumerable_StateEnumerator {
1911 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1912 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1913 }
1914
1915 pub fn get_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1916 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1917 }
1918
1919 pub fn system_collections_i_enumerator_get_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1920 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1921 }
1922
1923 pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1924 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1925 }
1926
1927 pub fn move_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1928 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1929 }
1930
1931 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1932 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1933 }
1934}
1935
1936#[cfg(feature = "root-simpleanimation")]
1937impl SimpleAnimation_StateEnumerable_StateEnumerator {
1938 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateEnumerable_StateEnumerator`'s own `System.Collections.IEnumerator.get_Current`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1939 pub unsafe fn system_collections_i_enumerator_get_current(
1940 this: impl ::core::convert::Into<::unity::IlInstance>,
1941 ) -> crate::system::object::Object {
1942 let __mi = Self::system_collections_i_enumerator_get_current_method_info();
1943 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::object::Object =
1944 ::core::mem::transmute(__mi.method_ptr);
1945 __inner(this.into(), ::core::option::Option::None)
1946 }
1947
1948 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateEnumerable_StateEnumerator`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1949 pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1950 let __mi = Self::dispose_method_info();
1951 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1952 __inner(this.into(), ::core::option::Option::None)
1953 }
1954
1955 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateEnumerable_StateEnumerator`'s own `MoveNext`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1956 pub unsafe fn move_next(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1957 let __mi = Self::move_next_method_info();
1958 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1959 __inner(this.into(), ::core::option::Option::None)
1960 }
1961
1962 #[doc = "Direct (non-virtual) call to `SimpleAnimation_StateEnumerable_StateEnumerator`'s own `Reset`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1963 pub unsafe fn reset(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1964 let __mi = Self::reset_method_info();
1965 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1966 __inner(this.into(), ::core::option::Option::None)
1967 }
1968}
1969
1970#[cfg(feature = "root-simpleanimation")]
1971impl SimpleAnimation_StateEnumerable_StateEnumerator {
1972 #[doc = "`.ctor(crate::root::simpleanimation::SimpleAnimation)` — overload selector"]
1973 pub fn new(owner: crate::root::simpleanimation::SimpleAnimation) -> Self {
1974 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1975 panic!(
1976 "{}
1977::{}
1978 failed to instantiate",
1979 ::core::stringify!(SimpleAnimation_StateEnumerable_StateEnumerator),
1980 ::core::stringify!(new),
1981 )
1982 });
1983 <Self as ISimpleAnimation_StateEnumerable_StateEnumeratorMethods>::ctor(this, owner);
1984 this
1985 }
1986}
1987
1988#[cfg(feature = "root-simpleanimation")]
1989pub trait ISimpleAnimation_StateMethods: ISimpleAnimation_State {
1990 #[doc = "`get_enabled()` overload"]
1991 fn get_enabled(self) -> bool {
1992 unsafe {
1993 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1994 {
1995 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1996 let __vi = *__vt.get(0usize).unwrap_or_else(|| {
1997 panic!(
1998 "unity: virtual slot {}
1999 out of range (vtable len {}
2000) on the runtime class behind {}
2001 (method `{}
2002`)",
2003 0usize,
2004 __vt.len(),
2005 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2006 "get_enabled",
2007 )
2008 });
2009 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
2010 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2011 __inner(__receiver, __mi)
2012 }
2013 }
2014 }
2015 #[doc = "`set_enabled(bool)` overload"]
2016 fn set_enabled(self, value: impl ::core::convert::Into<bool>) -> () {
2017 unsafe {
2018 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2019 {
2020 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2021 let __vi = *__vt.get(1usize).unwrap_or_else(|| {
2022 panic!(
2023 "unity: virtual slot {}
2024 out of range (vtable len {}
2025) on the runtime class behind {}
2026 (method `{}
2027`)",
2028 1usize,
2029 __vt.len(),
2030 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2031 "set_enabled",
2032 )
2033 });
2034 let __inner: extern "C" fn(SimpleAnimation_State, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2035 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2036 __inner(__receiver, ::core::convert::Into::into(value), __mi)
2037 }
2038 }
2039 }
2040 #[doc = "`get_isValid()` overload"]
2041 fn get_is_valid(self) -> bool {
2042 unsafe {
2043 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2044 {
2045 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2046 let __vi = *__vt.get(2usize).unwrap_or_else(|| {
2047 panic!(
2048 "unity: virtual slot {}
2049 out of range (vtable len {}
2050) on the runtime class behind {}
2051 (method `{}
2052`)",
2053 2usize,
2054 __vt.len(),
2055 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2056 "get_isValid",
2057 )
2058 });
2059 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
2060 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2061 __inner(__receiver, __mi)
2062 }
2063 }
2064 }
2065 #[doc = "`get_time()` overload"]
2066 fn get_time(self) -> f32 {
2067 unsafe {
2068 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2069 {
2070 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2071 let __vi = *__vt.get(3usize).unwrap_or_else(|| {
2072 panic!(
2073 "unity: virtual slot {}
2074 out of range (vtable len {}
2075) on the runtime class behind {}
2076 (method `{}
2077`)",
2078 3usize,
2079 __vt.len(),
2080 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2081 "get_time",
2082 )
2083 });
2084 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2085 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2086 __inner(__receiver, __mi)
2087 }
2088 }
2089 }
2090 #[doc = "`set_time(f32)` overload"]
2091 fn set_time(self, value: impl ::core::convert::Into<f32>) -> () {
2092 unsafe {
2093 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2094 {
2095 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2096 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
2097 panic!(
2098 "unity: virtual slot {}
2099 out of range (vtable len {}
2100) on the runtime class behind {}
2101 (method `{}
2102`)",
2103 4usize,
2104 __vt.len(),
2105 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2106 "set_time",
2107 )
2108 });
2109 let __inner: extern "C" fn(SimpleAnimation_State, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2110 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2111 __inner(__receiver, ::core::convert::Into::into(value), __mi)
2112 }
2113 }
2114 }
2115 #[doc = "`get_normalizedTime()` overload"]
2116 fn get_normalized_time(self) -> f32 {
2117 unsafe {
2118 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2119 {
2120 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2121 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
2122 panic!(
2123 "unity: virtual slot {}
2124 out of range (vtable len {}
2125) on the runtime class behind {}
2126 (method `{}
2127`)",
2128 5usize,
2129 __vt.len(),
2130 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2131 "get_normalizedTime",
2132 )
2133 });
2134 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2135 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2136 __inner(__receiver, __mi)
2137 }
2138 }
2139 }
2140 #[doc = "`set_normalizedTime(f32)` overload"]
2141 fn set_normalized_time(self, value: impl ::core::convert::Into<f32>) -> () {
2142 unsafe {
2143 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2144 {
2145 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2146 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
2147 panic!(
2148 "unity: virtual slot {}
2149 out of range (vtable len {}
2150) on the runtime class behind {}
2151 (method `{}
2152`)",
2153 6usize,
2154 __vt.len(),
2155 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2156 "set_normalizedTime",
2157 )
2158 });
2159 let __inner: extern "C" fn(SimpleAnimation_State, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2160 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2161 __inner(__receiver, ::core::convert::Into::into(value), __mi)
2162 }
2163 }
2164 }
2165 #[doc = "`get_speed()` overload"]
2166 fn get_speed(self) -> f32 {
2167 unsafe {
2168 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2169 {
2170 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2171 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
2172 panic!(
2173 "unity: virtual slot {}
2174 out of range (vtable len {}
2175) on the runtime class behind {}
2176 (method `{}
2177`)",
2178 7usize,
2179 __vt.len(),
2180 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2181 "get_speed",
2182 )
2183 });
2184 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2185 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2186 __inner(__receiver, __mi)
2187 }
2188 }
2189 }
2190 #[doc = "`set_speed(f32)` overload"]
2191 fn set_speed(self, value: impl ::core::convert::Into<f32>) -> () {
2192 unsafe {
2193 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2194 {
2195 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2196 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
2197 panic!(
2198 "unity: virtual slot {}
2199 out of range (vtable len {}
2200) on the runtime class behind {}
2201 (method `{}
2202`)",
2203 8usize,
2204 __vt.len(),
2205 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2206 "set_speed",
2207 )
2208 });
2209 let __inner: extern "C" fn(SimpleAnimation_State, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2210 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2211 __inner(__receiver, ::core::convert::Into::into(value), __mi)
2212 }
2213 }
2214 }
2215 #[doc = "`get_name()` overload"]
2216 fn get_name(self) -> ::unity::Il2CppString {
2217 unsafe {
2218 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2219 {
2220 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2221 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
2222 panic!(
2223 "unity: virtual slot {}
2224 out of range (vtable len {}
2225) on the runtime class behind {}
2226 (method `{}
2227`)",
2228 9usize,
2229 __vt.len(),
2230 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2231 "get_name",
2232 )
2233 });
2234 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> ::unity::Il2CppString =
2235 ::core::mem::transmute(__vi.method_ptr);
2236 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2237 __inner(__receiver, __mi)
2238 }
2239 }
2240 }
2241 #[doc = "`set_name(::unity::Il2CppString)` overload"]
2242 fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
2243 unsafe {
2244 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2245 {
2246 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2247 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
2248 panic!(
2249 "unity: virtual slot {}
2250 out of range (vtable len {}
2251) on the runtime class behind {}
2252 (method `{}
2253`)",
2254 10usize,
2255 __vt.len(),
2256 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2257 "set_name",
2258 )
2259 });
2260 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
2261 ::core::mem::transmute(__vi.method_ptr);
2262 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2263 __inner(__receiver, ::core::convert::Into::into(value), __mi)
2264 }
2265 }
2266 }
2267 #[doc = "`get_weight()` overload"]
2268 fn get_weight(self) -> f32 {
2269 unsafe {
2270 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2271 {
2272 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2273 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
2274 panic!(
2275 "unity: virtual slot {}
2276 out of range (vtable len {}
2277) on the runtime class behind {}
2278 (method `{}
2279`)",
2280 11usize,
2281 __vt.len(),
2282 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2283 "get_weight",
2284 )
2285 });
2286 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2287 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2288 __inner(__receiver, __mi)
2289 }
2290 }
2291 }
2292 #[doc = "`set_weight(f32)` overload"]
2293 fn set_weight(self, value: impl ::core::convert::Into<f32>) -> () {
2294 unsafe {
2295 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2296 {
2297 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2298 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
2299 panic!(
2300 "unity: virtual slot {}
2301 out of range (vtable len {}
2302) on the runtime class behind {}
2303 (method `{}
2304`)",
2305 12usize,
2306 __vt.len(),
2307 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2308 "set_weight",
2309 )
2310 });
2311 let __inner: extern "C" fn(SimpleAnimation_State, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2312 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2313 __inner(__receiver, ::core::convert::Into::into(value), __mi)
2314 }
2315 }
2316 }
2317 #[doc = "`get_length()` overload"]
2318 fn get_length(self) -> f32 {
2319 unsafe {
2320 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2321 {
2322 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2323 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
2324 panic!(
2325 "unity: virtual slot {}
2326 out of range (vtable len {}
2327) on the runtime class behind {}
2328 (method `{}
2329`)",
2330 13usize,
2331 __vt.len(),
2332 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2333 "get_length",
2334 )
2335 });
2336 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2337 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2338 __inner(__receiver, __mi)
2339 }
2340 }
2341 }
2342 #[doc = "`get_clip()` overload"]
2343 fn get_clip(self) -> crate::unity_engine::animationclip::AnimationClip {
2344 unsafe {
2345 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2346 {
2347 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2348 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
2349 panic!(
2350 "unity: virtual slot {}
2351 out of range (vtable len {}
2352) on the runtime class behind {}
2353 (method `{}
2354`)",
2355 14usize,
2356 __vt.len(),
2357 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2358 "get_clip",
2359 )
2360 });
2361 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> crate::unity_engine::animationclip::AnimationClip =
2362 ::core::mem::transmute(__vi.method_ptr);
2363 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2364 __inner(__receiver, __mi)
2365 }
2366 }
2367 }
2368 #[doc = "`get_wrapMode()` overload"]
2369 fn get_wrap_mode(self) -> crate::unity_engine::wrapmode::WrapMode {
2370 unsafe {
2371 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2372 {
2373 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2374 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
2375 panic!(
2376 "unity: virtual slot {}
2377 out of range (vtable len {}
2378) on the runtime class behind {}
2379 (method `{}
2380`)",
2381 15usize,
2382 __vt.len(),
2383 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2384 "get_wrapMode",
2385 )
2386 });
2387 let __inner: extern "C" fn(SimpleAnimation_State, ::unity::OptionalMethod) -> crate::unity_engine::wrapmode::WrapMode =
2388 ::core::mem::transmute(__vi.method_ptr);
2389 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2390 __inner(__receiver, __mi)
2391 }
2392 }
2393 }
2394 #[doc = "`set_wrapMode(crate::unity_engine::wrapmode::WrapMode)` overload"]
2395 fn set_wrap_mode(self, value: impl ::core::convert::Into<crate::unity_engine::wrapmode::WrapMode>) -> () {
2396 unsafe {
2397 let __receiver = <SimpleAnimation_State as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2398 {
2399 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2400 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
2401 panic!(
2402 "unity: virtual slot {}
2403 out of range (vtable len {}
2404) on the runtime class behind {}
2405 (method `{}
2406`)",
2407 16usize,
2408 __vt.len(),
2409 <SimpleAnimation_State as ::unity::ClassIdentity>::NAME,
2410 "set_wrapMode",
2411 )
2412 });
2413 let __inner: extern "C" fn(SimpleAnimation_State, crate::unity_engine::wrapmode::WrapMode, ::unity::OptionalMethod) -> () =
2414 ::core::mem::transmute(__vi.method_ptr);
2415 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2416 __inner(__receiver, ::core::convert::Into::into(value), __mi)
2417 }
2418 }
2419 }
2420}
2421
2422#[cfg(feature = "root-simpleanimation")]
2423impl<__T: ISimpleAnimation_State> ISimpleAnimation_StateMethods for __T {}
2424
2425#[cfg(feature = "root-simpleanimation")]
2426impl SimpleAnimation_State {
2427 pub fn get_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2428 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2429 }
2430
2431 pub fn set_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2432 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2433 }
2434
2435 pub fn get_is_valid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2436 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
2437 }
2438
2439 pub fn get_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2440 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
2441 }
2442
2443 pub fn set_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2444 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
2445 }
2446
2447 pub fn get_normalized_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2448 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
2449 }
2450
2451 pub fn set_normalized_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2452 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
2453 }
2454
2455 pub fn get_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2456 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
2457 }
2458
2459 pub fn set_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2460 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
2461 }
2462
2463 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2464 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
2465 }
2466
2467 pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2468 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
2469 }
2470
2471 pub fn get_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2472 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
2473 }
2474
2475 pub fn set_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2476 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
2477 }
2478
2479 pub fn get_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2480 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
2481 }
2482
2483 pub fn get_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2484 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
2485 }
2486
2487 pub fn get_wrap_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2488 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
2489 }
2490
2491 pub fn set_wrap_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2492 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
2493 }
2494}
2495
2496#[cfg(feature = "root-simpleanimation")]
2497impl SimpleAnimation_State {
2498 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_enabled`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2499 pub unsafe fn get_enabled(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
2500 let __mi = Self::get_enabled_method_info();
2501 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
2502 __inner(this.into(), ::core::option::Option::None)
2503 }
2504
2505 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `set_enabled`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2506 pub unsafe fn set_enabled(this: impl ::core::convert::Into<::unity::IlInstance>, value: bool) -> () {
2507 let __mi = Self::set_enabled_method_info();
2508 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2509 __inner(this.into(), value, ::core::option::Option::None)
2510 }
2511
2512 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_isValid`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2513 pub unsafe fn get_is_valid(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
2514 let __mi = Self::get_is_valid_method_info();
2515 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
2516 __inner(this.into(), ::core::option::Option::None)
2517 }
2518
2519 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_time`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2520 pub unsafe fn get_time(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2521 let __mi = Self::get_time_method_info();
2522 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2523 __inner(this.into(), ::core::option::Option::None)
2524 }
2525
2526 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `set_time`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2527 pub unsafe fn set_time(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> () {
2528 let __mi = Self::set_time_method_info();
2529 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2530 __inner(this.into(), value, ::core::option::Option::None)
2531 }
2532
2533 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_normalizedTime`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2534 pub unsafe fn get_normalized_time(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2535 let __mi = Self::get_normalized_time_method_info();
2536 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2537 __inner(this.into(), ::core::option::Option::None)
2538 }
2539
2540 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `set_normalizedTime`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2541 pub unsafe fn set_normalized_time(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> () {
2542 let __mi = Self::set_normalized_time_method_info();
2543 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2544 __inner(this.into(), value, ::core::option::Option::None)
2545 }
2546
2547 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_speed`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2548 pub unsafe fn get_speed(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2549 let __mi = Self::get_speed_method_info();
2550 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2551 __inner(this.into(), ::core::option::Option::None)
2552 }
2553
2554 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `set_speed`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2555 pub unsafe fn set_speed(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> () {
2556 let __mi = Self::set_speed_method_info();
2557 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2558 __inner(this.into(), value, ::core::option::Option::None)
2559 }
2560
2561 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_name`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2562 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
2563 let __mi = Self::get_name_method_info();
2564 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
2565 __inner(this.into(), ::core::option::Option::None)
2566 }
2567
2568 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `set_name`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2569 pub unsafe fn set_name(this: impl ::core::convert::Into<::unity::IlInstance>, value: ::unity::Il2CppString) -> () {
2570 let __mi = Self::set_name_method_info();
2571 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
2572 ::core::mem::transmute(__mi.method_ptr);
2573 __inner(this.into(), value, ::core::option::Option::None)
2574 }
2575
2576 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_weight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2577 pub unsafe fn get_weight(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2578 let __mi = Self::get_weight_method_info();
2579 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2580 __inner(this.into(), ::core::option::Option::None)
2581 }
2582
2583 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `set_weight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2584 pub unsafe fn set_weight(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> () {
2585 let __mi = Self::set_weight_method_info();
2586 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2587 __inner(this.into(), value, ::core::option::Option::None)
2588 }
2589
2590 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_length`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2591 pub unsafe fn get_length(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2592 let __mi = Self::get_length_method_info();
2593 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2594 __inner(this.into(), ::core::option::Option::None)
2595 }
2596
2597 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_clip`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2598 pub unsafe fn get_clip(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::animationclip::AnimationClip {
2599 let __mi = Self::get_clip_method_info();
2600 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::animationclip::AnimationClip =
2601 ::core::mem::transmute(__mi.method_ptr);
2602 __inner(this.into(), ::core::option::Option::None)
2603 }
2604
2605 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `get_wrapMode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2606 pub unsafe fn get_wrap_mode(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::wrapmode::WrapMode {
2607 let __mi = Self::get_wrap_mode_method_info();
2608 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::wrapmode::WrapMode =
2609 ::core::mem::transmute(__mi.method_ptr);
2610 __inner(this.into(), ::core::option::Option::None)
2611 }
2612
2613 #[doc = "Direct (non-virtual) call to `SimpleAnimation_State`'s own `set_wrapMode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2614 pub unsafe fn set_wrap_mode(this: impl ::core::convert::Into<::unity::IlInstance>, value: crate::unity_engine::wrapmode::WrapMode) -> () {
2615 let __mi = Self::set_wrap_mode_method_info();
2616 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::wrapmode::WrapMode, ::unity::OptionalMethod) -> () =
2617 ::core::mem::transmute(__mi.method_ptr);
2618 __inner(this.into(), value, ::core::option::Option::None)
2619 }
2620}
2621
2622#[cfg(feature = "root-simpleanimation")]
2623#[doc(hidden)]
2624pub mod prelude {
2625 pub use super::{
2626 ISimpleAnimation, ISimpleAnimationMethods, ISimpleAnimation_EditorState, ISimpleAnimation_EditorStateMethods, ISimpleAnimation_State,
2627 ISimpleAnimation_StateEnumerable, ISimpleAnimation_StateEnumerableMethods, ISimpleAnimation_StateEnumerable_StateEnumerator,
2628 ISimpleAnimation_StateEnumerable_StateEnumeratorMethods, ISimpleAnimation_StateImpl, ISimpleAnimation_StateImplMethods,
2629 ISimpleAnimation_StateMethods, SimpleAnimation, SimpleAnimation_EditorState, SimpleAnimation_State, SimpleAnimation_StateEnumerable,
2630 SimpleAnimation_StateEnumerable_StateEnumerator, SimpleAnimation_StateImpl,
2631 };
2632 #[cfg(feature = "system-object")]
2633 pub use crate::system::object::IObjectMethods;
2634 #[cfg(feature = "unity_engine-behaviour")]
2635 pub use crate::unity_engine::behaviour::IBehaviourMethods;
2636 #[cfg(feature = "unity_engine-component")]
2637 pub use crate::unity_engine::component::IComponentMethods;
2638 #[cfg(feature = "unity_engine-monobehaviour")]
2639 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
2640 #[cfg(feature = "unity_engine-object_2")]
2641 pub use crate::unity_engine::object_2::IObject_2Methods;
2642 pub use crate::{
2643 system::object::IObject,
2644 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
2645 };
2646}