1#[cfg(feature = "app-hubplayercontroller-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubplayercontroller/HubPlayerController.md"))]
11 #[::unity::class(namespace = "App", name = "HubPlayerController")]
12 #[parent(crate::system::object::Object)]
13 pub struct HubPlayerController {
14 #[offset(40)]
15 #[rename(name = "m_PlayerRoot")]
16 pub m_player_root: crate::unity_engine::gameobject::GameObject,
17 #[offset(48)]
18 #[rename(name = "m_PlayerCollider")]
19 pub m_player_collider: crate::unity_engine::gameobject::GameObject,
20 #[offset(56)]
21 #[rename(name = "m_GroupRoot")]
22 pub m_group_root: crate::unity_engine::gameobject::GameObject,
23 #[offset(64)]
24 #[rename(name = "m_Camera")]
25 pub m_camera: crate::unity_engine::gameobject::GameObject,
26 #[offset(72)]
27 #[rename(name = "m_ButtonNavi")]
28 pub m_button_navi: crate::unity_engine::gameobject::GameObject,
29 #[offset(80)]
30 #[rename(name = "m_LookAt")]
31 pub m_look_at: crate::app::hublookatcontroller::HubLookAtController,
32 #[offset(88)]
33 #[rename(name = "m_UnitController")]
34 pub m_unit_controller: crate::app::hubunitcontroller::HubUnitController,
35 #[offset(96)]
36 #[rename(name = "m_Colliders")]
37 pub m_colliders: crate::system::collections::generic::list_1::List_1<crate::unity_engine::collider::Collider>,
38 #[offset(104)]
39 #[rename(name = "m_HubCamera")]
40 pub m_hub_camera: crate::app::hubcamera::HubCamera,
41 #[offset(112)]
42 #[rename(name = "m_LastAccess")]
43 pub m_last_access: crate::app::hubaccess::HubAccess,
44 #[offset(120)]
45 #[rename(name = "m_Animator")]
46 pub m_animator: crate::unity_engine::animator::Animator,
47 #[offset(128)]
48 #[rename(name = "m_CharacterJoints")]
49 pub m_character_joints: ::unity::Array<crate::combat::characterjoint::CharacterJoint>,
50 #[offset(136)]
51 #[rename(name = "m_LookAtIKs")]
52 pub m_look_at_i_ks: ::unity::Array<crate::root_motion::final_ik::lookatik::LookAtIK>,
53 #[offset(144)]
54 #[rename(name = "m_Speed")]
55 pub m_speed: f32,
56 #[offset(148)]
57 #[rename(name = "m_MoveTarget")]
58 pub m_move_target: crate::unity_engine::vector3::Vector3,
59 #[offset(160)]
60 #[rename(name = "m_MoveDirection")]
61 pub m_move_direction: crate::unity_engine::vector3::Vector3,
62 #[offset(172)]
63 #[rename(name = "m_DashStop")]
64 pub m_dash_stop: bool,
65 #[offset(176)]
66 #[rename(name = "m_DashStopTime")]
67 pub m_dash_stop_time: f32,
68 #[offset(180)]
69 #[rename(name = "m_DashStopDelay")]
70 pub m_dash_stop_delay: f32,
71 #[offset(184)]
72 #[rename(name = "m_DashTime")]
73 pub m_dash_time: f32,
74 #[offset(188)]
75 #[rename(name = "m_TimeWithNoTarget")]
76 pub m_time_with_no_target: f32,
77 #[offset(192)]
78 #[rename(name = "m_QuickTurnAnimName")]
79 pub m_quick_turn_anim_name: ::unity::Il2CppString,
80 #[offset(200)]
81 #[rename(name = "m_AccessDelay")]
82 pub m_access_delay: f32,
83 #[offset(208)]
84 #[rename(name = "m_CullingCollider")]
85 pub m_culling_collider: crate::app::hubcullingplayercollider::HubCullingPlayerCollider,
86 #[offset(216)]
87 #[rename(name = "m_GrassManagers")]
88 pub m_grass_managers: ::unity::Array<crate::app::grassmanager::GrassManager>,
89 #[offset(224)]
90 #[rename(name = "ObjectCollisionLayerMask")]
91 pub object_collision_layer_mask: i32,
92 #[offset(228)]
93 #[rename(name = "GroundCollisionLayerMask")]
94 pub ground_collision_layer_mask: i32,
95 #[offset(232)]
96 #[rename(name = "SlopeCollisionLayerMask")]
97 pub slope_collision_layer_mask: i32,
98 #[offset(240)]
99 #[rename(name = "m_hash")]
100 pub m_hash: i32,
101 #[offset(248)]
102 #[rename(name = "results")]
103 pub results: ::unity::Array<crate::unity_engine::raycasthit::RaycastHit>,
104 #[offset(256)]
105 #[rename(name = "overlapColliders")]
106 pub overlap_colliders: ::unity::Array<crate::unity_engine::collider::Collider>,
107 #[offset(264)]
108 #[rename(name = "accessColliders")]
109 pub access_colliders: ::unity::Array<crate::unity_engine::collider::Collider>,
110 #[offset(272)]
111 #[rename(name = "accessCollider")]
112 pub access_collider: crate::unity_engine::collider::Collider,
113 #[offset(280)]
114 #[rename(name = "distanceSpeed")]
115 pub distance_speed: f32,
116 #[offset(288)]
117 #[rename(name = "m_procIdleCoroutin")]
118 pub m_proc_idle_coroutin: crate::unity_engine::coroutine::Coroutine,
119 #[offset(296)]
120 #[rename(name = "m_enableProc")]
121 pub m_enable_proc: bool,
122 #[offset(300)]
123 #[rename(name = "m_WallInterval")]
124 pub m_wall_interval: f32,
125 }
126}
127
128#[cfg(feature = "app-hubplayercontroller-types")]
129pub use __types::*;
130
131#[cfg(feature = "app-hubplayercontroller")]
132pub trait IHubPlayerControllerMethods: IHubPlayerController {
133 #[doc = "`get_Dir()` overload"]
134 fn get_dir(self) -> f32 {
135 unsafe {
136 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137 ::unity::il2cpp_call!((::unity::module_base()+0x23e3230usize)as*mut u8,f32;
138(HubPlayerController)__receiver)
139 }
140 }
141 #[doc = "`set_Dir(f32)` overload"]
142 fn set_dir(self, value: impl ::core::convert::Into<f32>) -> () {
143 unsafe {
144 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145 ::unity::il2cpp_call!((::unity::module_base()+0x23e3240usize)as*mut u8,();
146(HubPlayerController)__receiver,(f32)::core::convert::Into::into(value))
147 }
148 }
149 #[doc = "`get_PrevDir()` overload"]
150 fn get_prev_dir(self) -> f32 {
151 unsafe {
152 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153 ::unity::il2cpp_call!((::unity::module_base()+0x23e3250usize)as*mut u8,f32;
154(HubPlayerController)__receiver)
155 }
156 }
157 #[doc = "`set_PrevDir(f32)` overload"]
158 fn set_prev_dir(self, value: impl ::core::convert::Into<f32>) -> () {
159 unsafe {
160 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161 ::unity::il2cpp_call!((::unity::module_base()+0x23e3260usize)as*mut u8,();
162(HubPlayerController)__receiver,(f32)::core::convert::Into::into(value))
163 }
164 }
165 #[doc = "`get_ZRotate()` overload"]
166 fn get_z_rotate(self) -> f32 {
167 unsafe {
168 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169 ::unity::il2cpp_call!((::unity::module_base()+0x23e3270usize)as*mut u8,f32;
170(HubPlayerController)__receiver)
171 }
172 }
173 #[doc = "`set_ZRotate(f32)` overload"]
174 fn set_z_rotate(self, value: impl ::core::convert::Into<f32>) -> () {
175 unsafe {
176 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177 ::unity::il2cpp_call!((::unity::module_base()+0x23e3280usize)as*mut u8,();
178(HubPlayerController)__receiver,(f32)::core::convert::Into::into(value))
179 }
180 }
181 #[doc = "`get_IsStop()` overload"]
182 fn get_is_stop(self) -> bool {
183 unsafe {
184 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185 ::unity::il2cpp_call!((::unity::module_base()+0x23e3290usize)as*mut u8,bool;
186(HubPlayerController)__receiver)
187 }
188 }
189 #[doc = "`set_IsStop(bool)` overload"]
190 fn set_is_stop(self, value: impl ::core::convert::Into<bool>) -> () {
191 unsafe {
192 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193 ::unity::il2cpp_call!((::unity::module_base()+0x23e32a0usize)as*mut u8,();
194(HubPlayerController)__receiver,(bool)::core::convert::Into::into(value))
195 }
196 }
197 #[doc = "`get_Speed()` overload"]
198 fn get_speed(self) -> f32 {
199 unsafe {
200 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201 ::unity::il2cpp_call!((::unity::module_base()+0x23e32b0usize)as*mut u8,f32;
202(HubPlayerController)__receiver)
203 }
204 }
205 #[doc = "`set_Speed(f32)` overload"]
206 fn set_speed(self, value: impl ::core::convert::Into<f32>) -> () {
207 unsafe {
208 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209 ::unity::il2cpp_call!((::unity::module_base()+0x23e32c0usize)as*mut u8,();
210(HubPlayerController)__receiver,(f32)::core::convert::Into::into(value))
211 }
212 }
213 #[doc = "`get_Character()` overload"]
214 fn get_character(self) -> crate::combat::character::Character {
215 unsafe {
216 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217 ::unity::il2cpp_call!((::unity::module_base()+0x23e32d0usize)as*mut u8,crate::combat::character::Character;
218(HubPlayerController)__receiver)
219 }
220 }
221 #[doc = "`set_Character(crate::combat::character::Character)` overload"]
222 fn set_character(self, value: impl ::core::convert::Into<crate::combat::character::Character>) -> () {
223 unsafe {
224 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225 ::unity::il2cpp_call!((::unity::module_base()+0x23e32e0usize)as*mut u8,();
226(HubPlayerController)__receiver,(crate::combat::character::Character)::core::convert::Into::into(value))
227 }
228 }
229 #[doc = "`get_UnitController()` overload"]
230 fn get_unit_controller(self) -> crate::app::hubunitcontroller::HubUnitController {
231 unsafe {
232 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233 ::unity::il2cpp_call!((::unity::module_base()+0x23e32f0usize)as*mut u8,crate::app::hubunitcontroller::HubUnitController;
234(HubPlayerController)__receiver)
235 }
236 }
237 #[doc = "`get_CullingCollider()` overload"]
238 fn get_culling_collider(self) -> crate::app::hubcullingplayercollider::HubCullingPlayerCollider {
239 unsafe {
240 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241 ::unity::il2cpp_call!((::unity::module_base()+0x23e3300usize)as*mut u8,crate::app::hubcullingplayercollider::HubCullingPlayerCollider;
242(HubPlayerController)__receiver)
243 }
244 }
245 #[doc = "`get_ControlType()` overload"]
246 fn get_control_type(self) -> i32 {
247 unsafe {
248 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249 ::unity::il2cpp_call!((::unity::module_base()+0x23e3310usize)as*mut u8,i32;
250(HubPlayerController)__receiver)
251 }
252 }
253 #[doc = "`get_RotateAngle()` overload"]
254 fn get_rotate_angle(self) -> f32 {
255 unsafe {
256 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
257 ::unity::il2cpp_call!((::unity::module_base()+0x23e3360usize)as*mut u8,f32;
258(HubPlayerController)__receiver)
259 }
260 }
261 #[doc = "`get_DefaultRadius()` overload"]
262 fn get_default_radius(self) -> f32 {
263 unsafe {
264 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
265 ::unity::il2cpp_call!((::unity::module_base()+0x23e33b0usize)as*mut u8,f32;
266(HubPlayerController)__receiver)
267 }
268 }
269 #[doc = "`Setup(crate::unity_engine::gameobject::GameObject, crate::unity_engine::gameobject::GameObject, crate::unity_engine::gameobject::GameObject)` overload"]
270 fn setup(
271 self,
272 player_root: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
273 group_root: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
274 button_navi: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
275 ) -> () {
276 unsafe {
277 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278 ::unity::il2cpp_call!((::unity::module_base()+0x23e33c0usize)as*mut u8,();
279(HubPlayerController)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(player_root),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(group_root),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(button_navi))
280 }
281 }
282 #[doc = "`SetCollider(crate::app::hubplayercollider::HubPlayerCollider)` overload"]
283 fn set_collider(self, collider: impl ::core::convert::Into<crate::app::hubplayercollider::HubPlayerCollider>) -> () {
284 unsafe {
285 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286 ::unity::il2cpp_call!((::unity::module_base()+0x23e3500usize)as*mut u8,();
287(HubPlayerController)__receiver,(crate::app::hubplayercollider::HubPlayerCollider)::core::convert::Into::into(collider))
288 }
289 }
290 #[doc = "`SetCullingCollider(crate::app::hubcullingplayercollider::HubCullingPlayerCollider)` overload"]
291 fn set_culling_collider(self, collider: impl ::core::convert::Into<crate::app::hubcullingplayercollider::HubCullingPlayerCollider>) -> () {
292 unsafe {
293 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
294 ::unity::il2cpp_call!((::unity::module_base()+0x23e3550usize)as*mut u8,();
295(HubPlayerController)__receiver,(crate::app::hubcullingplayercollider::HubCullingPlayerCollider)::core::convert::Into::into(collider))
296 }
297 }
298 #[doc = "`Hide()` overload"]
299 fn hide(self) -> () {
300 unsafe {
301 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302 ::unity::il2cpp_call!((::unity::module_base()+0x23e3560usize)as*mut u8,();
303(HubPlayerController)__receiver)
304 }
305 }
306 #[doc = "`Show()` overload"]
307 fn show(self) -> () {
308 unsafe {
309 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
310 ::unity::il2cpp_call!((::unity::module_base()+0x23e3600usize)as*mut u8,();
311(HubPlayerController)__receiver)
312 }
313 }
314 #[doc = "`Start()` overload"]
315 fn start(self) -> () {
316 unsafe {
317 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318 ::unity::il2cpp_call!((::unity::module_base()+0x23e36a0usize)as*mut u8,();
319(HubPlayerController)__receiver)
320 }
321 }
322 #[doc = "`LoadCharacter()` overload"]
323 fn load_character(self) -> () {
324 unsafe {
325 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326 ::unity::il2cpp_call!((::unity::module_base()+0x23e39a0usize)as*mut u8,();
327(HubPlayerController)__receiver)
328 }
329 }
330 #[doc = "`SaveAccessory()` overload"]
331 fn save_accessory(self) -> () {
332 unsafe {
333 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
334 ::unity::il2cpp_call!((::unity::module_base()+0x23e3b70usize)as*mut u8,();
335(HubPlayerController)__receiver)
336 }
337 }
338 #[doc = "`RestoreAccessory()` overload"]
339 fn restore_accessory(self) -> () {
340 unsafe {
341 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342 ::unity::il2cpp_call!((::unity::module_base()+0x23e3bb0usize)as*mut u8,();
343(HubPlayerController)__receiver)
344 }
345 }
346 #[doc = "`Reload()` overload"]
347 fn reload(self) -> () {
348 unsafe {
349 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350 ::unity::il2cpp_call!((::unity::module_base()+0x23e3c10usize)as*mut u8,();
351(HubPlayerController)__receiver)
352 }
353 }
354 #[doc = "`get_IsCharacterLoading()` overload"]
355 fn get_is_character_loading(self) -> bool {
356 unsafe {
357 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
358 ::unity::il2cpp_call!((::unity::module_base()+0x23e3e80usize)as*mut u8,bool;
359(HubPlayerController)__receiver)
360 }
361 }
362 #[doc = "`set_IsCharacterLoading(bool)` overload"]
363 fn set_is_character_loading(self, value: impl ::core::convert::Into<bool>) -> () {
364 unsafe {
365 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
366 ::unity::il2cpp_call!((::unity::module_base()+0x23e3e90usize)as*mut u8,();
367(HubPlayerController)__receiver,(bool)::core::convert::Into::into(value))
368 }
369 }
370 #[doc = "`InitLookAtTarget()` overload"]
371 fn init_look_at_target(self) -> () {
372 unsafe {
373 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
374 ::unity::il2cpp_call!((::unity::module_base()+0x23e3ea0usize)as*mut u8,();
375(HubPlayerController)__receiver)
376 }
377 }
378 #[doc = "`UpdateCharacterLookAt()` overload"]
379 fn update_character_look_at(self) -> () {
380 unsafe {
381 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
382 ::unity::il2cpp_call!((::unity::module_base()+0x23e4020usize)as*mut u8,();
383(HubPlayerController)__receiver)
384 }
385 }
386 #[doc = "`Tick(f32, f32)` overload"]
387 fn tick(self, lx: impl ::core::convert::Into<f32>, ly: impl ::core::convert::Into<f32>) -> () {
388 unsafe {
389 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
390 ::unity::il2cpp_call!((::unity::module_base()+0x23e4240usize)as*mut u8,();
391(HubPlayerController)__receiver,(f32)::core::convert::Into::into(lx),(f32)::core::convert::Into::into(ly))
392 }
393 }
394 #[doc = "`StartProcIdle()` overload"]
395 fn start_proc_idle(self) -> () {
396 unsafe {
397 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
398 ::unity::il2cpp_call!((::unity::module_base()+0x23e4fc0usize)as*mut u8,();
399(HubPlayerController)__receiver)
400 }
401 }
402 #[doc = "`StopProcIdle(bool)` overload"]
403 fn stop_proc_idle(self, soon: impl ::core::convert::Into<bool>) -> () {
404 unsafe {
405 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406 ::unity::il2cpp_call!((::unity::module_base()+0x23e5100usize)as*mut u8,();
407(HubPlayerController)__receiver,(bool)::core::convert::Into::into(soon))
408 }
409 }
410 #[doc = "`Persistent()` overload"]
411 fn persistent(self) -> () {
412 unsafe {
413 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414 ::unity::il2cpp_call!((::unity::module_base()+0x23e51b0usize)as*mut u8,();
415(HubPlayerController)__receiver)
416 }
417 }
418 #[doc = "`ProcIdle()` overload"]
419 fn proc_idle(self) -> crate::system::collections::ienumerator::IEnumerator {
420 unsafe {
421 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422 ::unity::il2cpp_call!((::unity::module_base()+0x23e5080usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
423(HubPlayerController)__receiver)
424 }
425 }
426 #[doc = "`LatePersistent()` overload"]
427 fn late_persistent(self) -> () {
428 unsafe {
429 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430 ::unity::il2cpp_call!((::unity::module_base()+0x23e6c20usize)as*mut u8,();
431(HubPlayerController)__receiver)
432 }
433 }
434 #[doc = "`UpdateAccess(bool)` overload"]
435 fn update_access(self, force: impl ::core::convert::Into<bool>) -> () {
436 unsafe {
437 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438 ::unity::il2cpp_call!((::unity::module_base()+0x23e63f0usize)as*mut u8,();
439(HubPlayerController)__receiver,(bool)::core::convert::Into::into(force))
440 }
441 }
442 #[doc = "`UpdateLookAt()` overload"]
443 fn update_look_at(self) -> () {
444 unsafe {
445 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446 ::unity::il2cpp_call!((::unity::module_base()+0x23e4090usize)as*mut u8,();
447(HubPlayerController)__receiver)
448 }
449 }
450 #[doc = "`FindNearestLookAtPoint()` overload"]
451 fn find_nearest_look_at_point(self) -> crate::unity_engine::vector3::Vector3 {
452 unsafe {
453 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454 ::unity::il2cpp_call!((::unity::module_base()+0x23e7100usize)as*mut u8,crate::unity_engine::vector3::Vector3;
455(HubPlayerController)__receiver)
456 }
457 }
458 #[doc = "`GetTransform()` overload"]
459 fn get_transform(self) -> crate::unity_engine::transform::Transform {
460 unsafe {
461 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
462 ::unity::il2cpp_call!((::unity::module_base()+0x23d80d0usize)as*mut u8,crate::unity_engine::transform::Transform;
463(HubPlayerController)__receiver)
464 }
465 }
466 #[doc = "`get_CanAccess()` overload"]
467 fn get_can_access(self) -> bool {
468 unsafe {
469 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470 ::unity::il2cpp_call!((::unity::module_base()+0x23e77f0usize)as*mut u8,bool;
471(HubPlayerController)__receiver)
472 }
473 }
474 #[doc = "`BeginAccess()` overload"]
475 fn begin_access(self) -> () {
476 unsafe {
477 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478 ::unity::il2cpp_call!((::unity::module_base()+0x23d6950usize)as*mut u8,();
479(HubPlayerController)__receiver)
480 }
481 }
482 #[doc = "`EndAccess(bool, f32)` overload"]
483 fn end_access(self, with_reset_anim: impl ::core::convert::Into<bool>, delay: impl ::core::convert::Into<f32>) -> () {
484 unsafe {
485 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
486 ::unity::il2cpp_call!((::unity::module_base()+0x23d7140usize)as*mut u8,();
487(HubPlayerController)__receiver,(bool)::core::convert::Into::into(with_reset_anim),(f32)::core::convert::Into::into(delay))
488 }
489 }
490 #[doc = "`ResetLook()` overload"]
491 fn reset_look(self) -> () {
492 unsafe {
493 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
494 ::unity::il2cpp_call!((::unity::module_base()+0x23e7800usize)as*mut u8,();
495(HubPlayerController)__receiver)
496 }
497 }
498 #[doc = "`TryGetLastAccess()` overload"]
499 fn try_get_last_access(self) -> crate::app::hubaccess::HubAccess {
500 unsafe {
501 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
502 ::unity::il2cpp_call!((::unity::module_base()+0x23e78e0usize)as*mut u8,crate::app::hubaccess::HubAccess;
503(HubPlayerController)__receiver)
504 }
505 }
506 #[doc = "`TryGetNowAccess()` overload"]
507 fn try_get_now_access(self) -> crate::app::hubaccess::HubAccess {
508 unsafe {
509 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
510 ::unity::il2cpp_call!((::unity::module_base()+0x23e6d60usize)as*mut u8,crate::app::hubaccess::HubAccess;
511(HubPlayerController)__receiver)
512 }
513 }
514 #[doc = "`AddCollider(crate::unity_engine::collider::Collider)` overload"]
515 fn add_collider(self, c: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
516 unsafe {
517 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
518 ::unity::il2cpp_call!((::unity::module_base()+0x23e2b50usize)as*mut u8,();
519(HubPlayerController)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(c))
520 }
521 }
522 #[doc = "`RemoveCollider(crate::unity_engine::collider::Collider)` overload"]
523 fn remove_collider(self, c: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
524 unsafe {
525 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
526 ::unity::il2cpp_call!((::unity::module_base()+0x23e2f10usize)as*mut u8,();
527(HubPlayerController)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(c))
528 }
529 }
530 #[doc = "`IsMoving()` overload"]
531 fn is_moving(self) -> bool {
532 unsafe {
533 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
534 ::unity::il2cpp_call!((::unity::module_base()+0x23d8740usize)as*mut u8,bool;
535(HubPlayerController)__receiver)
536 }
537 }
538 #[doc = "`.ctor()` overload"]
539 fn ctor(self) -> () {
540 unsafe {
541 let __receiver = <HubPlayerController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
542 ::unity::il2cpp_call!((::unity::module_base()+0x23e78f0usize)as*mut u8,();
543(HubPlayerController)__receiver)
544 }
545 }
546}
547
548#[cfg(feature = "app-hubplayercontroller")]
549impl<__T: IHubPlayerController> IHubPlayerControllerMethods for __T {}
550
551#[cfg(feature = "app-hubplayercontroller")]
552impl HubPlayerController {
553 pub fn get_dir_method_info() -> &'static ::unity::il2cpp::MethodInfo {
554 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
555 }
556
557 pub fn set_dir_method_info() -> &'static ::unity::il2cpp::MethodInfo {
558 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
559 }
560
561 pub fn get_prev_dir_method_info() -> &'static ::unity::il2cpp::MethodInfo {
562 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
563 }
564
565 pub fn set_prev_dir_method_info() -> &'static ::unity::il2cpp::MethodInfo {
566 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
567 }
568
569 pub fn get_z_rotate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
570 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
571 }
572
573 pub fn set_z_rotate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
574 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
575 }
576
577 pub fn get_is_stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
578 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
579 }
580
581 pub fn set_is_stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
582 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
583 }
584
585 pub fn get_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
586 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
587 }
588
589 pub fn set_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
590 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
591 }
592
593 pub fn get_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
594 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
595 }
596
597 pub fn set_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
598 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
599 }
600
601 pub fn get_unit_controller_method_info() -> &'static ::unity::il2cpp::MethodInfo {
602 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
603 }
604
605 pub fn get_culling_collider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
606 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
607 }
608
609 pub fn get_control_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
610 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
611 }
612
613 pub fn get_rotate_angle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
614 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
615 }
616
617 pub fn get_default_radius_method_info() -> &'static ::unity::il2cpp::MethodInfo {
618 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
619 }
620
621 pub fn setup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
622 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
623 }
624
625 pub fn set_collider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
626 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
627 }
628
629 pub fn set_culling_collider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
630 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
631 }
632
633 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
634 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
635 }
636
637 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
638 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
639 }
640
641 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
642 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
643 }
644
645 pub fn load_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
646 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
647 }
648
649 pub fn save_accessory_method_info() -> &'static ::unity::il2cpp::MethodInfo {
650 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
651 }
652
653 pub fn restore_accessory_method_info() -> &'static ::unity::il2cpp::MethodInfo {
654 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
655 }
656
657 pub fn reload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
658 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
659 }
660
661 pub fn get_is_character_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
662 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
663 }
664
665 pub fn set_is_character_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
666 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
667 }
668
669 pub fn init_look_at_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
671 }
672
673 pub fn update_character_look_at_method_info() -> &'static ::unity::il2cpp::MethodInfo {
674 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
675 }
676
677 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
678 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
679 }
680
681 pub fn start_proc_idle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
682 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
683 }
684
685 pub fn stop_proc_idle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
686 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
687 }
688
689 pub fn persistent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
690 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
691 }
692
693 pub fn proc_idle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
694 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
695 }
696
697 pub fn late_persistent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
698 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
699 }
700
701 pub fn update_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
702 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
703 }
704
705 pub fn update_look_at_method_info() -> &'static ::unity::il2cpp::MethodInfo {
706 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
707 }
708
709 pub fn find_nearest_look_at_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
710 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
711 }
712
713 pub fn get_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
714 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
715 }
716
717 pub fn get_can_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
718 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
719 }
720
721 pub fn begin_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
722 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
723 }
724
725 pub fn end_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
726 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
727 }
728
729 pub fn reset_look_method_info() -> &'static ::unity::il2cpp::MethodInfo {
730 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
731 }
732
733 pub fn try_get_last_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
734 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
735 }
736
737 pub fn try_get_now_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
738 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
739 }
740
741 pub fn add_collider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
742 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
743 }
744
745 pub fn remove_collider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
746 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
747 }
748
749 pub fn is_moving_method_info() -> &'static ::unity::il2cpp::MethodInfo {
750 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
751 }
752
753 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
754 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
755 }
756}
757
758#[cfg(feature = "app-hubplayercontroller")]
759impl HubPlayerController {
760 #[doc = "`.ctor()` — no args"]
761 pub fn new() -> Self {
762 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
763 panic!(
764 "{}
765::{}
766 failed to instantiate",
767 ::core::stringify!(HubPlayerController),
768 ::core::stringify!(new),
769 )
770 });
771 <Self as IHubPlayerControllerMethods>::ctor(this);
772 this
773 }
774}
775
776#[cfg(feature = "app-hubplayercontroller")]
777#[doc(hidden)]
778pub mod prelude {
779 pub use super::{HubPlayerController, IHubPlayerController, IHubPlayerControllerMethods};
780 pub use crate::system::object::IObject;
781 #[cfg(feature = "system-object")]
782 pub use crate::system::object::IObjectMethods;
783}