engage/generated/app/
eventcharactersimpleanimation.rs1#[cfg(feature = "app-eventcharactersimpleanimation-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 root::simpleanimation::{ISimpleAnimation, SimpleAnimation},
10 system::object::{IObject, Object},
11 unity_engine::{
12 behaviour::{Behaviour, IBehaviour},
13 component::{Component, IComponent},
14 monobehaviour::{IMonoBehaviour, MonoBehaviour},
15 object_2::{IObject_2, Object_2},
16 },
17 };
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/eventcharactersimpleanimation/EventCharacterSimpleAnimation.md"))]
20 #[::unity::class(namespace = "App", name = "EventCharacterSimpleAnimation")]
21 #[parent(crate::root::simpleanimation::SimpleAnimation)]
22 pub struct EventCharacterSimpleAnimation {}
23}
24
25#[cfg(feature = "app-eventcharactersimpleanimation-types")]
26pub use __types::*;
27
28#[cfg(feature = "app-eventcharactersimpleanimation")]
29pub trait IEventCharacterSimpleAnimationMethods: IEventCharacterSimpleAnimation {
30 #[doc = "`.ctor()` overload"]
31 fn ctor(self) -> () {
32 unsafe {
33 let __receiver =
34 <EventCharacterSimpleAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
35 ::unity::il2cpp_call!((::unity::module_base()+0x24d37b0usize)as*mut u8,();
36(EventCharacterSimpleAnimation)__receiver)
37 }
38 }
39}
40
41#[cfg(feature = "app-eventcharactersimpleanimation")]
42impl<__T: IEventCharacterSimpleAnimation> IEventCharacterSimpleAnimationMethods for __T {}
43
44#[cfg(feature = "app-eventcharactersimpleanimation")]
45impl EventCharacterSimpleAnimation {
46 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
47 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
48 }
49}
50
51#[cfg(feature = "app-eventcharactersimpleanimation")]
52impl EventCharacterSimpleAnimation {
53 #[doc = "`.ctor()` — no args"]
54 pub fn new() -> Self {
55 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
56 panic!(
57 "{}
58::{}
59 failed to instantiate",
60 ::core::stringify!(EventCharacterSimpleAnimation),
61 ::core::stringify!(new),
62 )
63 });
64 <Self as IEventCharacterSimpleAnimationMethods>::ctor(this);
65 this
66 }
67}
68
69#[cfg(feature = "app-eventcharactersimpleanimation")]
70#[doc(hidden)]
71pub mod prelude {
72 pub use super::{EventCharacterSimpleAnimation, IEventCharacterSimpleAnimation, IEventCharacterSimpleAnimationMethods};
73 #[cfg(feature = "root-simpleanimation")]
74 pub use crate::root::simpleanimation::ISimpleAnimationMethods;
75 #[cfg(feature = "system-object")]
76 pub use crate::system::object::IObjectMethods;
77 #[cfg(feature = "unity_engine-behaviour")]
78 pub use crate::unity_engine::behaviour::IBehaviourMethods;
79 #[cfg(feature = "unity_engine-component")]
80 pub use crate::unity_engine::component::IComponentMethods;
81 #[cfg(feature = "unity_engine-monobehaviour")]
82 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
83 #[cfg(feature = "unity_engine-object_2")]
84 pub use crate::unity_engine::object_2::IObject_2Methods;
85 pub use crate::{
86 root::simpleanimation::ISimpleAnimation,
87 system::object::IObject,
88 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
89 };
90}