Skip to main content

engage/generated/app/
hubcamera.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-hubcamera-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/hubcamera/HubCamera.md"))]
19    #[::unity::class(namespace = "App", name = "HubCamera")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct HubCamera {
22        #[offset(24)]
23        #[rename(name = "m_CameraTargetHeight")]
24        pub m_camera_target_height: crate::unity_engine::animationcurve::AnimationCurve,
25        #[offset(32)]
26        #[rename(name = "m_OffsetCurveX")]
27        pub m_offset_curve_x: crate::unity_engine::animationcurve::AnimationCurve,
28        #[offset(40)]
29        #[rename(name = "m_DistanceCurve")]
30        pub m_distance_curve: crate::unity_engine::animationcurve::AnimationCurve,
31        #[offset(48)]
32        #[rename(name = "m_FovCurve")]
33        pub m_fov_curve: crate::unity_engine::animationcurve::AnimationCurve,
34        #[offset(56)]
35        #[rename(name = "m_TalkCurve")]
36        pub m_talk_curve: crate::unity_engine::animationcurve::AnimationCurve,
37        #[offset(64)]
38        #[rename(name = "m_NearClip")]
39        pub m_near_clip: f32,
40        #[offset(68)]
41        #[rename(name = "m_RotateSpeed")]
42        pub m_rotate_speed: f32,
43        #[offset(72)]
44        #[rename(name = "m_PitchSpeed")]
45        pub m_pitch_speed: f32,
46        #[offset(76)]
47        #[rename(name = "m_RotateFollowSpeed")]
48        pub m_rotate_follow_speed: f32,
49        #[offset(80)]
50        #[rename(name = "m_FollowRate")]
51        pub m_follow_rate: f32,
52        #[offset(84)]
53        #[rename(name = "m_PredictionLimitAngle")]
54        pub m_prediction_limit_angle: f32,
55        #[offset(88)]
56        #[rename(name = "m_SideOffsetIndex")]
57        pub m_side_offset_index: f32,
58        #[static_field]
59        #[rename(name = "m_DefaultAngleX")]
60        pub m_default_angle_x: f32,
61        #[offset(96)]
62        #[rename(name = "m_Camera")]
63        pub m_camera: crate::unity_engine::camera::Camera,
64        #[offset(112)]
65        #[rename(name = "PlayerController")]
66        pub player_controller: crate::app::hubplayercontroller::HubPlayerController,
67        #[offset(120)]
68        #[rename(name = "SideLength")]
69        pub side_length: f32,
70        #[offset(128)]
71        #[rename(name = "m_AngleX")]
72        pub m_angle_x: crate::app::interpolatorfloat::InterpolatorFloat,
73        #[offset(136)]
74        #[rename(name = "m_TargetPosition")]
75        pub m_target_position: crate::app::interpolatorvector3::InterpolatorVector3,
76        #[offset(144)]
77        #[rename(name = "m_Position")]
78        pub m_position: crate::app::interpolatorvector3::InterpolatorVector3,
79        #[offset(152)]
80        #[rename(name = "m_AngleY")]
81        pub m_angle_y: crate::app::interpolatorrotation::InterpolatorRotation,
82        #[offset(160)]
83        #[rename(name = "m_Distance")]
84        pub m_distance: crate::app::interpolatorfloat::InterpolatorFloat,
85        #[offset(168)]
86        #[rename(name = "m_Fov")]
87        pub m_fov: crate::app::interpolatorfloat::InterpolatorFloat,
88        #[offset(176)]
89        #[rename(name = "m_DistanceRatio")]
90        pub m_distance_ratio: crate::app::interpolatorfloat::InterpolatorFloat,
91        #[offset(184)]
92        #[rename(name = "m_HeightRatio")]
93        pub m_height_ratio: crate::app::interpolatorfloat::InterpolatorFloat,
94        #[offset(192)]
95        #[rename(name = "m_TalkTail")]
96        pub m_talk_tail: crate::app::interpolatorfloat::InterpolatorFloat,
97        #[offset(200)]
98        #[rename(name = "m_SideOffset")]
99        pub m_side_offset: crate::app::interpolatorfloat::InterpolatorFloat,
100        #[offset(208)]
101        #[rename(name = "m_PredictionPitch")]
102        pub m_prediction_pitch: crate::app::interpolatorfloat::InterpolatorFloat,
103        #[offset(224)]
104        #[rename(name = "ObjectCollisionLayerMask")]
105        pub object_collision_layer_mask: i32,
106        #[offset(228)]
107        #[rename(name = "HeightLayerMask")]
108        pub height_layer_mask: i32,
109        #[offset(232)]
110        #[rename(name = "hresults")]
111        pub hresults: ::unity::Array<crate::unity_engine::raycasthit::RaycastHit>,
112        #[offset(240)]
113        #[rename(name = "rayhits")]
114        pub rayhits: ::unity::Array<crate::unity_engine::raycasthit::RaycastHit>,
115        #[offset(248)]
116        #[rename(name = "m_position")]
117        pub m_position_2: crate::unity_engine::vector3::Vector3,
118        #[offset(260)]
119        #[rename(name = "m_angleX")]
120        pub m_angle_x_2: f32,
121        #[offset(264)]
122        #[rename(name = "m_angleY")]
123        pub m_angle_y_2: f32,
124        #[offset(268)]
125        #[rename(name = "m_distance")]
126        pub m_distance_2: f32,
127        #[offset(272)]
128        #[rename(name = "m_zoom")]
129        pub m_zoom: f32,
130        #[offset(276)]
131        #[rename(name = "m_fov")]
132        pub m_fov_2: f32,
133        #[offset(280)]
134        #[rename(name = "TalkCameraMoveTime")]
135        pub talk_camera_move_time: f32,
136        #[offset(284)]
137        #[rename(name = "TalkCameraReturnTime")]
138        pub talk_camera_return_time: f32,
139        #[offset(288)]
140        #[rename(name = "NormalTalkDistanceRatio")]
141        pub normal_talk_distance_ratio: f32,
142        #[offset(292)]
143        #[rename(name = "NormalTalkAngleX")]
144        pub normal_talk_angle_x: f32,
145        #[offset(296)]
146        #[rename(name = "NormalTalkAngleY")]
147        pub normal_talk_angle_y: f32,
148        #[offset(300)]
149        #[rename(name = "NormalTalkZoom")]
150        pub normal_talk_zoom: f32,
151        #[offset(304)]
152        #[rename(name = "NormalTalkSeparateDistance")]
153        pub normal_talk_separate_distance: f32,
154        #[offset(308)]
155        #[rename(name = "NormalTalkOffsetY")]
156        pub normal_talk_offset_y: f32,
157        #[offset(312)]
158        #[rename(name = "ShopTalkDistanceRatio")]
159        pub shop_talk_distance_ratio: f32,
160        #[offset(316)]
161        #[rename(name = "ShopTalkAngleX")]
162        pub shop_talk_angle_x: f32,
163        #[offset(320)]
164        #[rename(name = "ShopTalkAngleY")]
165        pub shop_talk_angle_y: f32,
166        #[offset(324)]
167        #[rename(name = "ShopTalkZoom")]
168        pub shop_talk_zoom: f32,
169        #[offset(328)]
170        #[rename(name = "ShopTalkSeparateDistance")]
171        pub shop_talk_separate_distance: f32,
172        #[offset(332)]
173        #[rename(name = "ShopTalkOffsetY")]
174        pub shop_talk_offset_y: f32,
175    }
176}
177
178#[cfg(feature = "app-hubcamera-types")]
179pub use __types::*;
180
181#[cfg(feature = "app-hubcamera")]
182impl HubCamera {
183    #[doc = "`CompareNear(crate::unity_engine::raycasthit::RaycastHit, crate::unity_engine::raycasthit::RaycastHit)` overload"]
184    pub fn compare_near(
185        a: impl ::core::convert::Into<crate::unity_engine::raycasthit::RaycastHit>,
186        b: impl ::core::convert::Into<crate::unity_engine::raycasthit::RaycastHit>,
187    ) -> i32 {
188        unsafe {
189            ::unity::il2cpp_call!((::unity::module_base()+0x2d7da80usize)as*mut u8,i32;
190(crate::unity_engine::raycasthit::RaycastHit)::core::convert::Into::into(a),(crate::unity_engine::raycasthit::RaycastHit)::core::convert::Into::into(b))
191        }
192    }
193
194    #[doc = "`GetHitOffsetPos(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
195    pub fn get_hit_offset_pos(
196        pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
197        target: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
198        dir: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
199        offset: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
200        hit: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
201    ) -> crate::unity_engine::vector3::Vector3 {
202        unsafe {
203            ::unity::il2cpp_call!((::unity::module_base()+0x2d7dac0usize)as*mut u8,crate::unity_engine::vector3::Vector3;
204(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(target),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(dir),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(offset),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(hit))
205        }
206    }
207
208    #[doc = "`GetParamTime(::unity::Il2CppString)` overload"]
209    pub fn get_param_time(name: impl ::core::convert::Into<::unity::Il2CppString>) -> f32 {
210        unsafe {
211            ::unity::il2cpp_call!((::unity::module_base()+0x2d7d9a0usize)as*mut u8,f32;
212(::unity::Il2CppString)::core::convert::Into::into(name))
213        }
214    }
215
216    #[doc = "`.cctor()` overload"]
217    pub fn cctor() -> () {
218        unsafe {
219            ::unity::il2cpp_call!((::unity::module_base()+0x2d7e8c0usize)as*mut u8,();
220            )
221        }
222    }
223}
224
225#[cfg(feature = "app-hubcamera")]
226pub trait IHubCameraMethods: IHubCamera {
227    #[doc = "`get_IsStop()` overload"]
228    fn get_is_stop(self) -> bool {
229        unsafe {
230            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
231            ::unity::il2cpp_call!((::unity::module_base()+0x2d792b0usize)as*mut u8,bool;
232(HubCamera)__receiver)
233        }
234    }
235    #[doc = "`set_IsStop(bool)` overload"]
236    fn set_is_stop(self, value: impl ::core::convert::Into<bool>) -> () {
237        unsafe {
238            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
239            ::unity::il2cpp_call!((::unity::module_base()+0x2d792c0usize)as*mut u8,();
240(HubCamera)__receiver,(bool)::core::convert::Into::into(value))
241        }
242    }
243    #[doc = "`get_AngleY()` overload"]
244    fn get_angle_y(self) -> f32 {
245        unsafe {
246            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
247            ::unity::il2cpp_call!((::unity::module_base()+0x2d792d0usize)as*mut u8,f32;
248(HubCamera)__receiver)
249        }
250    }
251    #[doc = "`get_IsAdjustPosition()` overload"]
252    fn get_is_adjust_position(self) -> bool {
253        unsafe {
254            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255            ::unity::il2cpp_call!((::unity::module_base()+0x2d79330usize)as*mut u8,bool;
256(HubCamera)__receiver)
257        }
258    }
259    #[doc = "`get_IsAdjustPositionSub()` overload"]
260    fn get_is_adjust_position_sub(self) -> bool {
261        unsafe {
262            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
263            ::unity::il2cpp_call!((::unity::module_base()+0x2d79380usize)as*mut u8,bool;
264(HubCamera)__receiver)
265        }
266    }
267    #[doc = "`get_IsAdjustHeight()` overload"]
268    fn get_is_adjust_height(self) -> bool {
269        unsafe {
270            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
271            ::unity::il2cpp_call!((::unity::module_base()+0x2d793d0usize)as*mut u8,bool;
272(HubCamera)__receiver)
273        }
274    }
275    #[doc = "`get_IsPredictionHeight()` overload"]
276    fn get_is_prediction_height(self) -> bool {
277        unsafe {
278            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279            ::unity::il2cpp_call!((::unity::module_base()+0x2d79420usize)as*mut u8,bool;
280(HubCamera)__receiver)
281        }
282    }
283    #[doc = "`get_PredictionHeightTime()` overload"]
284    fn get_prediction_height_time(self) -> f32 {
285        unsafe {
286            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287            ::unity::il2cpp_call!((::unity::module_base()+0x2d79470usize)as*mut u8,f32;
288(HubCamera)__receiver)
289        }
290    }
291    #[doc = "`get_IsMaximumZoom()` overload"]
292    fn get_is_maximum_zoom(self) -> bool {
293        unsafe {
294            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
295            ::unity::il2cpp_call!((::unity::module_base()+0x2d794c0usize)as*mut u8,bool;
296(HubCamera)__receiver)
297        }
298    }
299    #[doc = "`get_ZoomSpeed()` overload"]
300    fn get_zoom_speed(self) -> f32 {
301        unsafe {
302            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
303            ::unity::il2cpp_call!((::unity::module_base()+0x2d795d0usize)as*mut u8,f32;
304(HubCamera)__receiver)
305        }
306    }
307    #[doc = "`get_ZoomInterpolateTime()` overload"]
308    fn get_zoom_interpolate_time(self) -> f32 {
309        unsafe {
310            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311            ::unity::il2cpp_call!((::unity::module_base()+0x2d795e0usize)as*mut u8,f32;
312(HubCamera)__receiver)
313        }
314    }
315    #[doc = "`get_ZoomDistanceTime()` overload"]
316    fn get_zoom_distance_time(self) -> f32 {
317        unsafe {
318            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
319            ::unity::il2cpp_call!((::unity::module_base()+0x2d79630usize)as*mut u8,f32;
320(HubCamera)__receiver)
321        }
322    }
323    #[doc = "`get_CameraSpeed()` overload"]
324    fn get_camera_speed(self) -> f32 {
325        unsafe {
326            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
327            ::unity::il2cpp_call!((::unity::module_base()+0x2d79680usize)as*mut u8,f32;
328(HubCamera)__receiver)
329        }
330    }
331    #[doc = "`get_CameraRadius()` overload"]
332    fn get_camera_radius(self) -> f32 {
333        unsafe {
334            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
335            ::unity::il2cpp_call!((::unity::module_base()+0x2d79720usize)as*mut u8,f32;
336(HubCamera)__receiver)
337        }
338    }
339    #[doc = "`get_CameraPositionTime()` overload"]
340    fn get_camera_position_time(self) -> f32 {
341        unsafe {
342            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
343            ::unity::il2cpp_call!((::unity::module_base()+0x2d79770usize)as*mut u8,f32;
344(HubCamera)__receiver)
345        }
346    }
347    #[doc = "`get_PitchParam()` overload"]
348    fn get_pitch_param(self) -> f32 {
349        unsafe {
350            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
351            ::unity::il2cpp_call!((::unity::module_base()+0x2d797c0usize)as*mut u8,f32;
352(HubCamera)__receiver)
353        }
354    }
355    #[doc = "`get_PitchBlankParam()` overload"]
356    fn get_pitch_blank_param(self) -> f32 {
357        unsafe {
358            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
359            ::unity::il2cpp_call!((::unity::module_base()+0x2d79810usize)as*mut u8,f32;
360(HubCamera)__receiver)
361        }
362    }
363    #[doc = "`get_PitchHeightParam()` overload"]
364    fn get_pitch_height_param(self) -> f32 {
365        unsafe {
366            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
367            ::unity::il2cpp_call!((::unity::module_base()+0x2d79860usize)as*mut u8,f32;
368(HubCamera)__receiver)
369        }
370    }
371    #[doc = "`get_ZoomParam()` overload"]
372    fn get_zoom_param(self) -> f32 {
373        unsafe {
374            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
375            ::unity::il2cpp_call!((::unity::module_base()+0x2d79550usize)as*mut u8,f32;
376(HubCamera)__receiver)
377        }
378    }
379    #[doc = "`set_ZoomParam(f32)` overload"]
380    fn set_zoom_param(self, value: impl ::core::convert::Into<f32>) -> () {
381        unsafe {
382            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
383            ::unity::il2cpp_call!((::unity::module_base()+0x2d798b0usize)as*mut u8,();
384(HubCamera)__receiver,(f32)::core::convert::Into::into(value))
385        }
386    }
387    #[doc = "`get_CameraRoateteParamName()` overload"]
388    fn get_camera_roatete_param_name(self) -> ::unity::Il2CppString {
389        unsafe {
390            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
391            ::unity::il2cpp_call!((::unity::module_base()+0x2d79940usize)as*mut u8, ::unity::Il2CppString;
392(HubCamera)__receiver)
393        }
394    }
395    #[doc = "`Reset(i32)` overload"]
396    fn reset(self, zoom_step: impl ::core::convert::Into<i32>) -> () {
397        unsafe {
398            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
399            ::unity::il2cpp_call!((::unity::module_base()+0x2d79950usize)as*mut u8,();
400(HubCamera)__receiver,(i32)::core::convert::Into::into(zoom_step))
401        }
402    }
403    #[doc = "`Start()` overload"]
404    fn start(self) -> () {
405        unsafe {
406            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
407            ::unity::il2cpp_call!((::unity::module_base()+0x2d79cd0usize)as*mut u8,();
408(HubCamera)__receiver)
409        }
410    }
411    #[doc = "`Update()` overload"]
412    fn update(self) -> () {
413        unsafe {
414            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
415            ::unity::il2cpp_call!((::unity::module_base()+0x2d7a2b0usize)as*mut u8,();
416(HubCamera)__receiver)
417        }
418    }
419    #[doc = "`UpdateKey()` overload"]
420    fn update_key(self) -> () {
421        unsafe {
422            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
423            ::unity::il2cpp_call!((::unity::module_base()+0x2d7ada0usize)as*mut u8,();
424(HubCamera)__receiver)
425        }
426    }
427    #[doc = "`Commit()` overload"]
428    fn commit(self) -> () {
429        unsafe {
430            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431            ::unity::il2cpp_call!((::unity::module_base()+0x2d7c760usize)as*mut u8,();
432(HubCamera)__receiver)
433        }
434    }
435    #[doc = "`Reset(f32)` overload"]
436    fn reset_2(self, y: impl ::core::convert::Into<f32>) -> () {
437        unsafe {
438            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439            ::unity::il2cpp_call!((::unity::module_base()+0x2d7dbd0usize)as*mut u8,();
440(HubCamera)__receiver,(f32)::core::convert::Into::into(y))
441        }
442    }
443    #[doc = "`SetAngleY(f32)` overload"]
444    fn set_angle_y(self, y: impl ::core::convert::Into<f32>) -> () {
445        unsafe {
446            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
447            ::unity::il2cpp_call!((::unity::module_base()+0x2d7dcb0usize)as*mut u8,();
448(HubCamera)__receiver,(f32)::core::convert::Into::into(y))
449        }
450    }
451    #[doc = "`SetAngleX(f32)` overload"]
452    fn set_angle_x(self, x: impl ::core::convert::Into<f32>) -> () {
453        unsafe {
454            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
455            ::unity::il2cpp_call!((::unity::module_base()+0x2d7dcd0usize)as*mut u8,();
456(HubCamera)__receiver,(f32)::core::convert::Into::into(x))
457        }
458    }
459    #[doc = "`Instant()` overload"]
460    fn instant(self) -> () {
461        unsafe {
462            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
463            ::unity::il2cpp_call!((::unity::module_base()+0x2d7a240usize)as*mut u8,();
464(HubCamera)__receiver)
465        }
466    }
467    #[doc = "`GetZoomRatio()` overload"]
468    fn get_zoom_ratio(self) -> f32 {
469        unsafe {
470            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
471            ::unity::il2cpp_call!((::unity::module_base()+0x2d7d9e0usize)as*mut u8,f32;
472(HubCamera)__receiver)
473        }
474    }
475    #[doc = "`SetZoom(f32)` overload"]
476    fn set_zoom(self, zoom: impl ::core::convert::Into<f32>) -> () {
477        unsafe {
478            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
479            ::unity::il2cpp_call!((::unity::module_base()+0x2d7a180usize)as*mut u8,();
480(HubCamera)__receiver,(f32)::core::convert::Into::into(zoom))
481        }
482    }
483    #[doc = "`CheckScroll()` overload"]
484    fn check_scroll(self) -> bool {
485        unsafe {
486            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
487            ::unity::il2cpp_call!((::unity::module_base()+0x2d7dcf0usize)as*mut u8,bool;
488(HubCamera)__receiver)
489        }
490    }
491    #[doc = "`CheckScrollStrictly()` overload"]
492    fn check_scroll_strictly(self) -> bool {
493        unsafe {
494            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
495            ::unity::il2cpp_call!((::unity::module_base()+0x2d7dda0usize)as*mut u8,bool;
496(HubCamera)__receiver)
497        }
498    }
499    #[doc = "`StartManualCamera_NormalTalk(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
500    fn start_manual_camera_normal_talk(
501        self,
502        player: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
503        target: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
504    ) -> () {
505        unsafe {
506            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
507            ::unity::il2cpp_call!((::unity::module_base()+0x2d7ddc0usize)as*mut u8,();
508(HubCamera)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(player),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(target))
509        }
510    }
511    #[doc = "`StartManualCamera_FaceMainTalk(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
512    fn start_manual_camera_face_main_talk(
513        self,
514        player: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
515        target: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
516        forward: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
517    ) -> () {
518        unsafe {
519            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
520            ::unity::il2cpp_call!((::unity::module_base()+0x2d7dfe0usize)as*mut u8,();
521(HubCamera)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(player),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(target),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(forward))
522        }
523    }
524    #[doc = "`StartManualCamera_ShopTalk(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
525    fn start_manual_camera_shop_talk(
526        self,
527        player: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
528        target: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
529    ) -> () {
530        unsafe {
531            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
532            ::unity::il2cpp_call!((::unity::module_base()+0x2d7e100usize)as*mut u8,();
533(HubCamera)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(player),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(target))
534        }
535    }
536    #[doc = "`StartManualCamera(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32, f32, f32, f32, f32, f32, f32)` overload"]
537    fn start_manual_camera(
538        self,
539        source: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
540        target: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
541        ratio: impl ::core::convert::Into<f32>,
542        angle_x: impl ::core::convert::Into<f32>,
543        angle_y: impl ::core::convert::Into<f32>,
544        zoom: impl ::core::convert::Into<f32>,
545        separate_distance: impl ::core::convert::Into<f32>,
546        offset_y: impl ::core::convert::Into<f32>,
547        move_time: impl ::core::convert::Into<f32>,
548    ) -> () {
549        unsafe {
550            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
551            ::unity::il2cpp_call!((::unity::module_base()+0x2d7de10usize)as*mut u8,();
552(HubCamera)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(source),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(target),(f32)::core::convert::Into::into(ratio),(f32)::core::convert::Into::into(angle_x),(f32)::core::convert::Into::into(angle_y),(f32)::core::convert::Into::into(zoom),(f32)::core::convert::Into::into(separate_distance),(f32)::core::convert::Into::into(offset_y),(f32)::core::convert::Into::into(move_time))
553        }
554    }
555    #[doc = "`Intersect(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32, f32, f32, f32, f32, f32)` overload"]
556    fn intersect(
557        self,
558        source: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
559        target: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
560        ratio: impl ::core::convert::Into<f32>,
561        angle_x: impl ::core::convert::Into<f32>,
562        angle_y: impl ::core::convert::Into<f32>,
563        zoom: impl ::core::convert::Into<f32>,
564        separate_distance: impl ::core::convert::Into<f32>,
565        offset_y: impl ::core::convert::Into<f32>,
566    ) -> bool {
567        unsafe {
568            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
569            ::unity::il2cpp_call!((::unity::module_base()+0x2d7e150usize)as*mut u8,bool;
570(HubCamera)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(source),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(target),(f32)::core::convert::Into::into(ratio),(f32)::core::convert::Into::into(angle_x),(f32)::core::convert::Into::into(angle_y),(f32)::core::convert::Into::into(zoom),(f32)::core::convert::Into::into(separate_distance),(f32)::core::convert::Into::into(offset_y))
571        }
572    }
573    #[doc = "`ReturnManualCamera()` overload"]
574    fn return_manual_camera(self) -> () {
575        unsafe {
576            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
577            ::unity::il2cpp_call!((::unity::module_base()+0x2d7e370usize)as*mut u8,();
578(HubCamera)__receiver)
579        }
580    }
581    #[doc = "`ReturnManualCamera(f32)` overload"]
582    fn return_manual_camera_2(self, return_time: impl ::core::convert::Into<f32>) -> () {
583        unsafe {
584            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
585            ::unity::il2cpp_call!((::unity::module_base()+0x2d7e3d0usize)as*mut u8,();
586(HubCamera)__receiver,(f32)::core::convert::Into::into(return_time))
587        }
588    }
589    #[doc = "`.ctor()` overload"]
590    fn ctor(self) -> () {
591        unsafe {
592            let __receiver = <HubCamera as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
593            ::unity::il2cpp_call!((::unity::module_base()+0x2d7e430usize)as*mut u8,();
594(HubCamera)__receiver)
595        }
596    }
597}
598
599#[cfg(feature = "app-hubcamera")]
600impl<__T: IHubCamera> IHubCameraMethods for __T {}
601
602#[cfg(feature = "app-hubcamera")]
603impl HubCamera {
604    pub fn get_is_stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
605        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
606    }
607
608    pub fn set_is_stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
609        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
610    }
611
612    pub fn get_angle_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
613        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
614    }
615
616    pub fn get_is_adjust_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
617        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
618    }
619
620    pub fn get_is_adjust_position_sub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
621        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
622    }
623
624    pub fn get_is_adjust_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
625        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
626    }
627
628    pub fn get_is_prediction_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
629        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
630    }
631
632    pub fn get_prediction_height_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
633        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
634    }
635
636    pub fn get_is_maximum_zoom_method_info() -> &'static ::unity::il2cpp::MethodInfo {
637        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
638    }
639
640    pub fn get_zoom_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
641        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
642    }
643
644    pub fn get_zoom_interpolate_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
645        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
646    }
647
648    pub fn get_zoom_distance_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
649        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
650    }
651
652    pub fn get_camera_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
653        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
654    }
655
656    pub fn get_camera_radius_method_info() -> &'static ::unity::il2cpp::MethodInfo {
657        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
658    }
659
660    pub fn get_camera_position_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
661        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
662    }
663
664    pub fn get_pitch_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
665        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
666    }
667
668    pub fn get_pitch_blank_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
670    }
671
672    pub fn get_pitch_height_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
673        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
674    }
675
676    pub fn get_zoom_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
677        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
678    }
679
680    pub fn set_zoom_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
681        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
682    }
683
684    pub fn get_camera_roatete_param_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
685        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
686    }
687
688    pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
690    }
691
692    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
694    }
695
696    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
697        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
698    }
699
700    pub fn update_key_method_info() -> &'static ::unity::il2cpp::MethodInfo {
701        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
702    }
703
704    pub fn compare_near_method_info() -> &'static ::unity::il2cpp::MethodInfo {
705        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
706    }
707
708    pub fn get_hit_offset_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
709        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
710    }
711
712    pub fn commit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
713        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
714    }
715
716    pub fn reset_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
717        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
718    }
719
720    pub fn set_angle_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
721        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
722    }
723
724    pub fn set_angle_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
725        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
726    }
727
728    pub fn instant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
729        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
730    }
731
732    pub fn get_param_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
733        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
734    }
735
736    pub fn get_zoom_ratio_method_info() -> &'static ::unity::il2cpp::MethodInfo {
737        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
738    }
739
740    pub fn set_zoom_method_info() -> &'static ::unity::il2cpp::MethodInfo {
741        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
742    }
743
744    pub fn check_scroll_method_info() -> &'static ::unity::il2cpp::MethodInfo {
745        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
746    }
747
748    pub fn check_scroll_strictly_method_info() -> &'static ::unity::il2cpp::MethodInfo {
749        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
750    }
751
752    pub fn start_manual_camera_normal_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
753        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
754    }
755
756    pub fn start_manual_camera_face_main_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
757        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
758    }
759
760    pub fn start_manual_camera_shop_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
761        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
762    }
763
764    pub fn start_manual_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
765        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
766    }
767
768    pub fn intersect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
769        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
770    }
771
772    pub fn return_manual_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
773        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
774    }
775
776    pub fn return_manual_camera_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
777        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
778    }
779
780    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
781        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
782    }
783
784    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
785        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
786    }
787}
788
789#[cfg(feature = "app-hubcamera")]
790impl HubCamera {
791    #[doc = "`.ctor()` — no args"]
792    pub fn new() -> Self {
793        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
794            panic!(
795                "{}
796::{}
797 failed to instantiate",
798                ::core::stringify!(HubCamera),
799                ::core::stringify!(new),
800            )
801        });
802        <Self as IHubCameraMethods>::ctor(this);
803        this
804    }
805}
806
807#[cfg(feature = "app-hubcamera")]
808#[doc(hidden)]
809pub mod prelude {
810    pub use super::{HubCamera, IHubCamera, IHubCameraMethods};
811    #[cfg(feature = "system-object")]
812    pub use crate::system::object::IObjectMethods;
813    #[cfg(feature = "unity_engine-behaviour")]
814    pub use crate::unity_engine::behaviour::IBehaviourMethods;
815    #[cfg(feature = "unity_engine-component")]
816    pub use crate::unity_engine::component::IComponentMethods;
817    #[cfg(feature = "unity_engine-monobehaviour")]
818    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
819    #[cfg(feature = "unity_engine-object_2")]
820    pub use crate::unity_engine::object_2::IObject_2Methods;
821    pub use crate::{
822        system::object::IObject,
823        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
824    };
825}