Skip to main content

engage/generated/app/
hubeventarea.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-hubeventarea-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/hubeventarea/HubEventArea.md"))]
19    #[::unity::class(namespace = "App", name = "HubEventArea")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct HubEventArea {
22        #[offset(24)]
23        #[rename(name = "m_Data")]
24        pub m_data: crate::app::hubdemodata::HubDemoData,
25    }
26}
27
28#[cfg(feature = "app-hubeventarea-types")]
29pub use __types::*;
30
31#[cfg(feature = "app-hubeventarea")]
32pub trait IHubEventAreaMethods: IHubEventArea {
33    #[doc = "`get_IsComplete()` overload"]
34    fn get_is_complete(self) -> bool {
35        unsafe {
36            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
37            ::unity::il2cpp_call!((::unity::module_base()+0x28a6ca0usize)as*mut u8,bool;
38(HubEventArea)__receiver)
39        }
40    }
41    #[doc = "`get_FlagName()` overload"]
42    fn get_flag_name(self) -> ::unity::Il2CppString {
43        unsafe {
44            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
45            ::unity::il2cpp_call!((::unity::module_base()+0x28a6e10usize)as*mut u8, ::unity::Il2CppString;
46(HubEventArea)__receiver)
47        }
48    }
49    #[doc = "`IsEnabled()` overload"]
50    fn is_enabled(self) -> bool {
51        unsafe {
52            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
53            ::unity::il2cpp_call!((::unity::module_base()+0x28a6e80usize)as*mut u8,bool;
54(HubEventArea)__receiver)
55        }
56    }
57    #[doc = "`IsExecuted()` overload"]
58    fn is_executed(self) -> bool {
59        unsafe {
60            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
61            ::unity::il2cpp_call!((::unity::module_base()+0x28a70d0usize)as*mut u8,bool;
62(HubEventArea)__receiver)
63        }
64    }
65    #[doc = "`SetExecute()` overload"]
66    fn set_execute(self) -> () {
67        unsafe {
68            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
69            ::unity::il2cpp_call!((::unity::module_base()+0x28a7270usize)as*mut u8,();
70(HubEventArea)__receiver)
71        }
72    }
73    #[doc = "`Awake()` overload"]
74    fn awake(self) -> () {
75        unsafe {
76            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
77            ::unity::il2cpp_call!((::unity::module_base()+0x28a74f0usize)as*mut u8,();
78(HubEventArea)__receiver)
79        }
80    }
81    #[doc = "`Start()` overload"]
82    fn start(self) -> () {
83        unsafe {
84            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
85            ::unity::il2cpp_call!((::unity::module_base()+0x28a7590usize)as*mut u8,();
86(HubEventArea)__receiver)
87        }
88    }
89    #[doc = "`Enter()` overload"]
90    fn enter(self) -> () {
91        unsafe {
92            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
93            ::unity::il2cpp_call!((::unity::module_base()+0x28a76f0usize)as*mut u8,();
94(HubEventArea)__receiver)
95        }
96    }
97    #[doc = "`Leave()` overload"]
98    fn leave(self) -> () {
99        unsafe {
100            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101            ::unity::il2cpp_call!((::unity::module_base()+0x28a7810usize)as*mut u8,();
102(HubEventArea)__receiver)
103        }
104    }
105    #[doc = "`.ctor()` overload"]
106    fn ctor(self) -> () {
107        unsafe {
108            let __receiver = <HubEventArea as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            ::unity::il2cpp_call!((::unity::module_base()+0x28a7820usize)as*mut u8,();
110(HubEventArea)__receiver)
111        }
112    }
113}
114
115#[cfg(feature = "app-hubeventarea")]
116impl<__T: IHubEventArea> IHubEventAreaMethods for __T {}
117
118#[cfg(feature = "app-hubeventarea")]
119impl HubEventArea {
120    pub fn get_is_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
121        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
122    }
123
124    pub fn get_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
125        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
126    }
127
128    pub fn is_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
129        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
130    }
131
132    pub fn is_executed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
133        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
134    }
135
136    pub fn set_execute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
137        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
138    }
139
140    pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
141        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
142    }
143
144    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
145        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
146    }
147
148    pub fn enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
149        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
150    }
151
152    pub fn leave_method_info() -> &'static ::unity::il2cpp::MethodInfo {
153        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
154    }
155
156    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
157        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
158    }
159}
160
161#[cfg(feature = "app-hubeventarea")]
162impl HubEventArea {
163    #[doc = "`.ctor()` — no args"]
164    pub fn new() -> Self {
165        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
166            panic!(
167                "{}
168::{}
169 failed to instantiate",
170                ::core::stringify!(HubEventArea),
171                ::core::stringify!(new),
172            )
173        });
174        <Self as IHubEventAreaMethods>::ctor(this);
175        this
176    }
177}
178
179#[cfg(feature = "app-hubeventarea")]
180#[doc(hidden)]
181pub mod prelude {
182    pub use super::{HubEventArea, IHubEventArea, IHubEventAreaMethods};
183    #[cfg(feature = "system-object")]
184    pub use crate::system::object::IObjectMethods;
185    #[cfg(feature = "unity_engine-behaviour")]
186    pub use crate::unity_engine::behaviour::IBehaviourMethods;
187    #[cfg(feature = "unity_engine-component")]
188    pub use crate::unity_engine::component::IComponentMethods;
189    #[cfg(feature = "unity_engine-monobehaviour")]
190    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
191    #[cfg(feature = "unity_engine-object_2")]
192    pub use crate::unity_engine::object_2::IObject_2Methods;
193    pub use crate::{
194        system::object::IObject,
195        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
196    };
197}