engage/generated/root/
mappointeranimmanager.rs1#[cfg(feature = "root-mappointeranimmanager-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/mappointeranimmanager/MapPointerAnimManager.md"))]
19 #[::unity::class(namespace = "", name = "MapPointerAnimManager")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct MapPointerAnimManager {
22 #[offset(24)]
23 #[rename(name = "m_Mark")]
24 pub m_mark: crate::unity_engine::transform::Transform,
25 }
26}
27
28#[cfg(feature = "root-mappointeranimmanager-types")]
29pub use __types::*;
30
31#[cfg(feature = "root-mappointeranimmanager")]
32pub trait IMapPointerAnimManagerMethods: IMapPointerAnimManager {
33 #[doc = "`SetActiveState(bool)` overload"]
34 fn set_active_state(self, enable: impl ::core::convert::Into<bool>) -> () {
35 unsafe {
36 let __receiver = <MapPointerAnimManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
37 ::unity::il2cpp_call!((::unity::module_base()+0x235a5e0usize)as*mut u8,();
38(MapPointerAnimManager)__receiver,(bool)::core::convert::Into::into(enable))
39 }
40 }
41 #[doc = "`PlayAnim(::unity::Il2CppString)` overload"]
42 fn play_anim(self, label: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
43 unsafe {
44 let __receiver = <MapPointerAnimManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
45 ::unity::il2cpp_call!((::unity::module_base()+0x235a610usize)as*mut u8,();
46(MapPointerAnimManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(label))
47 }
48 }
49 #[doc = "`.ctor()` overload"]
50 fn ctor(self) -> () {
51 unsafe {
52 let __receiver = <MapPointerAnimManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
53 ::unity::il2cpp_call!((::unity::module_base()+0x235a780usize)as*mut u8,();
54(MapPointerAnimManager)__receiver)
55 }
56 }
57}
58
59#[cfg(feature = "root-mappointeranimmanager")]
60impl<__T: IMapPointerAnimManager> IMapPointerAnimManagerMethods for __T {}
61
62#[cfg(feature = "root-mappointeranimmanager")]
63impl MapPointerAnimManager {
64 pub fn set_active_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
65 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
66 }
67
68 pub fn play_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
69 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
70 }
71
72 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
73 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
74 }
75}
76
77#[cfg(feature = "root-mappointeranimmanager")]
78impl MapPointerAnimManager {
79 #[doc = "`.ctor()` — no args"]
80 pub fn new() -> Self {
81 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
82 panic!(
83 "{}
84::{}
85 failed to instantiate",
86 ::core::stringify!(MapPointerAnimManager),
87 ::core::stringify!(new),
88 )
89 });
90 <Self as IMapPointerAnimManagerMethods>::ctor(this);
91 this
92 }
93}
94
95#[cfg(feature = "root-mappointeranimmanager")]
96#[doc(hidden)]
97pub mod prelude {
98 pub use super::{IMapPointerAnimManager, IMapPointerAnimManagerMethods, MapPointerAnimManager};
99 #[cfg(feature = "system-object")]
100 pub use crate::system::object::IObjectMethods;
101 #[cfg(feature = "unity_engine-behaviour")]
102 pub use crate::unity_engine::behaviour::IBehaviourMethods;
103 #[cfg(feature = "unity_engine-component")]
104 pub use crate::unity_engine::component::IComponentMethods;
105 #[cfg(feature = "unity_engine-monobehaviour")]
106 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
107 #[cfg(feature = "unity_engine-object_2")]
108 pub use crate::unity_engine::object_2::IObject_2Methods;
109 pub use crate::{
110 system::object::IObject,
111 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
112 };
113}