Skip to main content

engage/generated/app/
hubminimaplayer.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-hubminimaplayer-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubminimaplayer/HubMiniMapLayer.md"))]
19    #[::unity::class(namespace = "App", name = "HubMiniMapLayer")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct HubMiniMapLayer {
22        #[offset(24)]
23        #[rename(name = "m_Layer")]
24        pub m_layer: i32,
25        #[offset(32)]
26        #[rename(name = "m_EnvSoundID")]
27        pub m_env_sound_id: ::unity::Il2CppString,
28    }
29}
30
31#[cfg(feature = "app-hubminimaplayer-types")]
32pub use __types::*;
33
34#[cfg(feature = "app-hubminimaplayer")]
35pub trait IHubMiniMapLayerMethods: IHubMiniMapLayer {
36    #[doc = "`OnTriggerEnter(crate::unity_engine::collider::Collider)` overload"]
37    fn on_trigger_enter(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
38        unsafe {
39            let __receiver = <HubMiniMapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40            ::unity::il2cpp_call!((::unity::module_base()+0x28be6f0usize)as*mut u8,();
41(HubMiniMapLayer)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
42        }
43    }
44    #[doc = "`OnTriggerExit(crate::unity_engine::collider::Collider)` overload"]
45    fn on_trigger_exit(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
46        unsafe {
47            let __receiver = <HubMiniMapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
48            ::unity::il2cpp_call!((::unity::module_base()+0x28be890usize)as*mut u8,();
49(HubMiniMapLayer)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
50        }
51    }
52    #[doc = "`.ctor()` overload"]
53    fn ctor(self) -> () {
54        unsafe {
55            let __receiver = <HubMiniMapLayer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56            ::unity::il2cpp_call!((::unity::module_base()+0x28bea10usize)as*mut u8,();
57(HubMiniMapLayer)__receiver)
58        }
59    }
60}
61
62#[cfg(feature = "app-hubminimaplayer")]
63impl<__T: IHubMiniMapLayer> IHubMiniMapLayerMethods for __T {}
64
65#[cfg(feature = "app-hubminimaplayer")]
66impl HubMiniMapLayer {
67    pub fn on_trigger_enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
68        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
69    }
70
71    pub fn on_trigger_exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
72        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
73    }
74
75    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
76        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
77    }
78}
79
80#[cfg(feature = "app-hubminimaplayer")]
81impl HubMiniMapLayer {
82    #[doc = "`.ctor()` — no args"]
83    pub fn new() -> Self {
84        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
85            panic!(
86                "{}
87::{}
88 failed to instantiate",
89                ::core::stringify!(HubMiniMapLayer),
90                ::core::stringify!(new),
91            )
92        });
93        <Self as IHubMiniMapLayerMethods>::ctor(this);
94        this
95    }
96}
97
98#[cfg(feature = "app-hubminimaplayer")]
99#[doc(hidden)]
100pub mod prelude {
101    pub use super::{HubMiniMapLayer, IHubMiniMapLayer, IHubMiniMapLayerMethods};
102    #[cfg(feature = "system-object")]
103    pub use crate::system::object::IObjectMethods;
104    #[cfg(feature = "unity_engine-behaviour")]
105    pub use crate::unity_engine::behaviour::IBehaviourMethods;
106    #[cfg(feature = "unity_engine-component")]
107    pub use crate::unity_engine::component::IComponentMethods;
108    #[cfg(feature = "unity_engine-monobehaviour")]
109    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
110    #[cfg(feature = "unity_engine-object_2")]
111    pub use crate::unity_engine::object_2::IObject_2Methods;
112    pub use crate::{
113        system::object::IObject,
114        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
115    };
116}