Skip to main content

engage/generated/app/
hubplayercollider.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-hubplayercollider-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/hubplayercollider/HubPlayerCollider.md"))]
19    #[::unity::class(namespace = "App", name = "HubPlayerCollider")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct HubPlayerCollider {
22        #[offset(24)]
23        #[rename(name = "m_isFront")]
24        pub m_is_front: bool,
25        #[offset(32)]
26        #[rename(name = "m_Notification")]
27        pub m_notification: crate::app::hubplayercontroller::HubPlayerController,
28        #[offset(40)]
29        #[rename(name = "m_EnterColliders")]
30        pub m_enter_colliders: crate::system::collections::generic::queue_1::Queue_1<crate::unity_engine::collider::Collider>,
31        #[offset(48)]
32        #[rename(name = "m_ExitColliders")]
33        pub m_exit_colliders: crate::system::collections::generic::queue_1::Queue_1<crate::unity_engine::collider::Collider>,
34    }
35}
36
37#[cfg(feature = "app-hubplayercollider-types")]
38pub use __types::*;
39
40#[cfg(feature = "app-hubplayercollider")]
41pub trait IHubPlayerColliderMethods: IHubPlayerCollider {
42    #[doc = "`SetHubPlayerController(crate::app::hubplayercontroller::HubPlayerController)` overload"]
43    fn set_hub_player_controller(self, hpc: impl ::core::convert::Into<crate::app::hubplayercontroller::HubPlayerController>) -> () {
44        unsafe {
45            let __receiver = <HubPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
46            ::unity::il2cpp_call!((::unity::module_base()+0x23e2730usize)as*mut u8,();
47(HubPlayerCollider)__receiver,(crate::app::hubplayercontroller::HubPlayerController)::core::convert::Into::into(hpc))
48        }
49    }
50    #[doc = "`IsTarget(crate::unity_engine::collider::Collider)` overload"]
51    fn is_target(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> bool {
52        unsafe {
53            let __receiver = <HubPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54            ::unity::il2cpp_call!((::unity::module_base()+0x23e2740usize)as*mut u8,bool;
55(HubPlayerCollider)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
56        }
57    }
58    #[doc = "`OnTriggerEnter(crate::unity_engine::collider::Collider)` overload"]
59    fn on_trigger_enter(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
60        unsafe {
61            let __receiver = <HubPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62            ::unity::il2cpp_call!((::unity::module_base()+0x23e2870usize)as*mut u8,();
63(HubPlayerCollider)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
64        }
65    }
66    #[doc = "`CallTriggerEnter(crate::unity_engine::collider::Collider)` overload"]
67    fn call_trigger_enter(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
68        unsafe {
69            let __receiver = <HubPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
70            ::unity::il2cpp_call!((::unity::module_base()+0x23e2910usize)as*mut u8,();
71(HubPlayerCollider)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
72        }
73    }
74    #[doc = "`OnTriggerExit(crate::unity_engine::collider::Collider)` overload"]
75    fn on_trigger_exit(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
76        unsafe {
77            let __receiver = <HubPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
78            ::unity::il2cpp_call!((::unity::module_base()+0x23e2c30usize)as*mut u8,();
79(HubPlayerCollider)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
80        }
81    }
82    #[doc = "`CallTriggerExit(crate::unity_engine::collider::Collider)` overload"]
83    fn call_trigger_exit(self, other: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
84        unsafe {
85            let __receiver = <HubPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
86            ::unity::il2cpp_call!((::unity::module_base()+0x23e2cd0usize)as*mut u8,();
87(HubPlayerCollider)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(other))
88        }
89    }
90    #[doc = "`Clear()` overload"]
91    fn clear(self) -> () {
92        unsafe {
93            let __receiver = <HubPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
94            ::unity::il2cpp_call!((::unity::module_base()+0x23e2ff0usize)as*mut u8,();
95(HubPlayerCollider)__receiver)
96        }
97    }
98    #[doc = "`Polling()` overload"]
99    fn polling(self) -> () {
100        unsafe {
101            let __receiver = <HubPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
102            ::unity::il2cpp_call!((::unity::module_base()+0x23e30b0usize)as*mut u8,();
103(HubPlayerCollider)__receiver)
104        }
105    }
106    #[doc = "`.ctor()` overload"]
107    fn ctor(self) -> () {
108        unsafe {
109            let __receiver = <HubPlayerCollider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110            ::unity::il2cpp_call!((::unity::module_base()+0x23e3170usize)as*mut u8,();
111(HubPlayerCollider)__receiver)
112        }
113    }
114}
115
116#[cfg(feature = "app-hubplayercollider")]
117impl<__T: IHubPlayerCollider> IHubPlayerColliderMethods for __T {}
118
119#[cfg(feature = "app-hubplayercollider")]
120impl HubPlayerCollider {
121    pub fn set_hub_player_controller_method_info() -> &'static ::unity::il2cpp::MethodInfo {
122        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
123    }
124
125    pub fn is_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
126        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
127    }
128
129    pub fn on_trigger_enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
130        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
131    }
132
133    pub fn call_trigger_enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
134        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
135    }
136
137    pub fn on_trigger_exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
138        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
139    }
140
141    pub fn call_trigger_exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
142        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
143    }
144
145    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
146        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
147    }
148
149    pub fn polling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
150        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
151    }
152
153    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
154        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
155    }
156}
157
158#[cfg(feature = "app-hubplayercollider")]
159impl HubPlayerCollider {
160    #[doc = "`.ctor()` — no args"]
161    pub fn new() -> Self {
162        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
163            panic!(
164                "{}
165::{}
166 failed to instantiate",
167                ::core::stringify!(HubPlayerCollider),
168                ::core::stringify!(new),
169            )
170        });
171        <Self as IHubPlayerColliderMethods>::ctor(this);
172        this
173    }
174}
175
176#[cfg(feature = "app-hubplayercollider")]
177#[doc(hidden)]
178pub mod prelude {
179    pub use super::{HubPlayerCollider, IHubPlayerCollider, IHubPlayerColliderMethods};
180    #[cfg(feature = "system-object")]
181    pub use crate::system::object::IObjectMethods;
182    #[cfg(feature = "unity_engine-behaviour")]
183    pub use crate::unity_engine::behaviour::IBehaviourMethods;
184    #[cfg(feature = "unity_engine-component")]
185    pub use crate::unity_engine::component::IComponentMethods;
186    #[cfg(feature = "unity_engine-monobehaviour")]
187    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
188    #[cfg(feature = "unity_engine-object_2")]
189    pub use crate::unity_engine::object_2::IObject_2Methods;
190    pub use crate::{
191        system::object::IObject,
192        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
193    };
194}