Skip to main content

engage/generated/app/
hubcullingplayercollider.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-hubcullingplayercollider-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/hubcullingplayercollider/HubCullingPlayerCollider.md"))]
19    #[::unity::class(namespace = "App", name = "HubCullingPlayerCollider")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct HubCullingPlayerCollider {
22        #[static_field]
23        #[rename(name = "kHubCullingTag")]
24        pub k_hub_culling_tag: ::unity::Il2CppString,
25        #[offset(32)]
26        #[rename(name = "m_EnterColliders")]
27        pub m_enter_colliders: crate::system::collections::generic::queue_1::Queue_1<crate::unity_engine::collider::Collider>,
28        #[offset(40)]
29        #[rename(name = "m_ExitColliders")]
30        pub m_exit_colliders: crate::system::collections::generic::queue_1::Queue_1<crate::unity_engine::collider::Collider>,
31    }
32}
33
34#[cfg(feature = "app-hubcullingplayercollider-types")]
35pub use __types::*;
36
37#[cfg(feature = "app-hubcullingplayercollider")]
38impl HubCullingPlayerCollider {
39    #[doc = "`.cctor()` overload"]
40    pub fn cctor() -> () {
41        unsafe {
42            ::unity::il2cpp_call!((::unity::module_base()+0x2d87b20usize)as*mut u8,();
43            )
44        }
45    }
46}
47
48#[cfg(feature = "app-hubcullingplayercollider")]
49pub trait IHubCullingPlayerColliderMethods: IHubCullingPlayerCollider {
50    #[doc = "`get_ManualCullingManager()` overload"]
51    fn get_manual_culling_manager(self) -> crate::app::hubmanualcullingmanager::HubManualCullingManager {
52        unsafe {
53            let __receiver =
54                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
55            ::unity::il2cpp_call!((::unity::module_base()+0x2d872b0usize)as*mut u8,crate::app::hubmanualcullingmanager::HubManualCullingManager;
56(HubCullingPlayerCollider)__receiver)
57        }
58    }
59    #[doc = "`set_ManualCullingManager(crate::app::hubmanualcullingmanager::HubManualCullingManager)` overload"]
60    fn set_manual_culling_manager(self, value: impl ::core::convert::Into<crate::app::hubmanualcullingmanager::HubManualCullingManager>) -> () {
61        unsafe {
62            let __receiver =
63                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
64            ::unity::il2cpp_call!((::unity::module_base()+0x2d872c0usize)as*mut u8,();
65(HubCullingPlayerCollider)__receiver,(crate::app::hubmanualcullingmanager::HubManualCullingManager)::core::convert::Into::into(value))
66        }
67    }
68    #[doc = "`Start()` overload"]
69    fn start(self) -> () {
70        unsafe {
71            let __receiver =
72                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
73            ::unity::il2cpp_call!((::unity::module_base()+0x2d872d0usize)as*mut u8,();
74(HubCullingPlayerCollider)__receiver)
75        }
76    }
77    #[doc = "`OnTriggerEnter(crate::unity_engine::collider::Collider)` overload"]
78    fn on_trigger_enter(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
79        unsafe {
80            let __receiver =
81                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82            ::unity::il2cpp_call!((::unity::module_base()+0x2d87340usize)as*mut u8,();
83(HubCullingPlayerCollider)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
84        }
85    }
86    #[doc = "`CallTriggerEnter(crate::unity_engine::collider::Collider)` overload"]
87    fn call_trigger_enter(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
88        unsafe {
89            let __receiver =
90                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91            ::unity::il2cpp_call!((::unity::module_base()+0x2d87420usize)as*mut u8,();
92(HubCullingPlayerCollider)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
93        }
94    }
95    #[doc = "`OnTriggerExit(crate::unity_engine::collider::Collider)` overload"]
96    fn on_trigger_exit(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
97        unsafe {
98            let __receiver =
99                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100            ::unity::il2cpp_call!((::unity::module_base()+0x2d87640usize)as*mut u8,();
101(HubCullingPlayerCollider)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
102        }
103    }
104    #[doc = "`CallTriggerExit(crate::unity_engine::collider::Collider)` overload"]
105    fn call_trigger_exit(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
106        unsafe {
107            let __receiver =
108                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            ::unity::il2cpp_call!((::unity::module_base()+0x2d87720usize)as*mut u8,();
110(HubCullingPlayerCollider)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
111        }
112    }
113    #[doc = "`Update()` overload"]
114    fn update(self) -> () {
115        unsafe {
116            let __receiver =
117                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x2d87940usize)as*mut u8,();
119(HubCullingPlayerCollider)__receiver)
120        }
121    }
122    #[doc = "`Polling()` overload"]
123    fn polling(self) -> () {
124        unsafe {
125            let __receiver =
126                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x2d87950usize)as*mut u8,();
128(HubCullingPlayerCollider)__receiver)
129        }
130    }
131    #[doc = "`DisableCulling()` overload"]
132    fn disable_culling(self) -> () {
133        unsafe {
134            let __receiver =
135                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x2d87a10usize)as*mut u8,();
137(HubCullingPlayerCollider)__receiver)
138        }
139    }
140    #[doc = "`EnableCulling()` overload"]
141    fn enable_culling(self) -> () {
142        unsafe {
143            let __receiver =
144                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145            ::unity::il2cpp_call!((::unity::module_base()+0x2d87a30usize)as*mut u8,();
146(HubCullingPlayerCollider)__receiver)
147        }
148    }
149    #[doc = "`ClearCulling()` overload"]
150    fn clear_culling(self) -> () {
151        unsafe {
152            let __receiver =
153                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154            ::unity::il2cpp_call!((::unity::module_base()+0x2d87a50usize)as*mut u8,();
155(HubCullingPlayerCollider)__receiver)
156        }
157    }
158    #[doc = "`.ctor()` overload"]
159    fn ctor(self) -> () {
160        unsafe {
161            let __receiver =
162                <HubCullingPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163            ::unity::il2cpp_call!((::unity::module_base()+0x2d87a70usize)as*mut u8,();
164(HubCullingPlayerCollider)__receiver)
165        }
166    }
167}
168
169#[cfg(feature = "app-hubcullingplayercollider")]
170impl<__T: IHubCullingPlayerCollider> IHubCullingPlayerColliderMethods for __T {}
171
172#[cfg(feature = "app-hubcullingplayercollider")]
173impl HubCullingPlayerCollider {
174    pub fn get_manual_culling_manager_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
176    }
177
178    pub fn set_manual_culling_manager_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
180    }
181
182    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
184    }
185
186    pub fn on_trigger_enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
188    }
189
190    pub fn call_trigger_enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
192    }
193
194    pub fn on_trigger_exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
196    }
197
198    pub fn call_trigger_exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
200    }
201
202    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
204    }
205
206    pub fn polling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
208    }
209
210    pub fn disable_culling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
211        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
212    }
213
214    pub fn enable_culling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
215        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
216    }
217
218    pub fn clear_culling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
219        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
220    }
221
222    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
223        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
224    }
225
226    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
228    }
229}
230
231#[cfg(feature = "app-hubcullingplayercollider")]
232impl HubCullingPlayerCollider {
233    #[doc = "`.ctor()` — no args"]
234    pub fn new() -> Self {
235        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
236            panic!(
237                "{}
238::{}
239 failed to instantiate",
240                ::core::stringify!(HubCullingPlayerCollider),
241                ::core::stringify!(new),
242            )
243        });
244        <Self as IHubCullingPlayerColliderMethods>::ctor(this);
245        this
246    }
247}
248
249#[cfg(feature = "app-hubcullingplayercollider")]
250#[doc(hidden)]
251pub mod prelude {
252    pub use super::{HubCullingPlayerCollider, IHubCullingPlayerCollider, IHubCullingPlayerColliderMethods};
253    #[cfg(feature = "system-object")]
254    pub use crate::system::object::IObjectMethods;
255    #[cfg(feature = "unity_engine-behaviour")]
256    pub use crate::unity_engine::behaviour::IBehaviourMethods;
257    #[cfg(feature = "unity_engine-component")]
258    pub use crate::unity_engine::component::IComponentMethods;
259    #[cfg(feature = "unity_engine-monobehaviour")]
260    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
261    #[cfg(feature = "unity_engine-object_2")]
262    pub use crate::unity_engine::object_2::IObject_2Methods;
263    pub use crate::{
264        system::object::IObject,
265        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
266    };
267}