using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

namespace Obi.Characters.ThirdPerson
{
	// Token: 0x0200055C RID: 1372
	public class ThirdPersonUserControl : MonoBehaviour
	{
		// Token: 0x06009A51 RID: 39505 RVA: 0x0027BD64 File Offset: 0x00279F64
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 645940, XrefRangeEnd = 645960, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ThirdPersonUserControl.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009A52 RID: 39506 RVA: 0x0027BDA8 File Offset: 0x00279FA8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 645960, XrefRangeEnd = 645966, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ThirdPersonUserControl.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009A53 RID: 39507 RVA: 0x0027BDEC File Offset: 0x00279FEC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 645966, XrefRangeEnd = 645988, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void FixedUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ThirdPersonUserControl.NativeMethodInfoPtr_FixedUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009A54 RID: 39508 RVA: 0x0027BE30 File Offset: 0x0027A030
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe ThirdPersonUserControl()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ThirdPersonUserControl.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009A55 RID: 39509 RVA: 0x0027BE7C File Offset: 0x0027A07C
		// Note: this type is marked as 'beforefieldinit'.
		static ThirdPersonUserControl()
		{
			Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi.Characters.ThirdPerson", "ThirdPersonUserControl");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr);
			ThirdPersonUserControl.NativeFieldInfoPtr_m_Character = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, "m_Character");
			ThirdPersonUserControl.NativeFieldInfoPtr_m_Cam = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, "m_Cam");
			ThirdPersonUserControl.NativeFieldInfoPtr_m_CamForward = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, "m_CamForward");
			ThirdPersonUserControl.NativeFieldInfoPtr_m_Move = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, "m_Move");
			ThirdPersonUserControl.NativeFieldInfoPtr_m_Jump = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, "m_Jump");
			ThirdPersonUserControl.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, 100675344);
			ThirdPersonUserControl.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, 100675345);
			ThirdPersonUserControl.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, 100675346);
			ThirdPersonUserControl.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, 100675347);
		}

		// Token: 0x06009A56 RID: 39510 RVA: 0x0000351C File Offset: 0x0000171C
		public ThirdPersonUserControl(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003416 RID: 13334
		// (get) Token: 0x06009A57 RID: 39511 RVA: 0x0027BF60 File Offset: 0x0027A160
		// (set) Token: 0x06009A58 RID: 39512 RVA: 0x0027BF94 File Offset: 0x0027A194
		public unsafe ThirdPersonCharacter m_Character
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_Character);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new ThirdPersonCharacter(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_Character), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003417 RID: 13335
		// (get) Token: 0x06009A59 RID: 39513 RVA: 0x0027BFBC File Offset: 0x0027A1BC
		// (set) Token: 0x06009A5A RID: 39514 RVA: 0x0027BFF0 File Offset: 0x0027A1F0
		public unsafe Transform m_Cam
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_Cam);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Transform(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_Cam), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003418 RID: 13336
		// (get) Token: 0x06009A5B RID: 39515 RVA: 0x0027C018 File Offset: 0x0027A218
		// (set) Token: 0x06009A5C RID: 39516 RVA: 0x0027C040 File Offset: 0x0027A240
		public unsafe Vector3 m_CamForward
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_CamForward);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_CamForward)) = value;
			}
		}

		// Token: 0x17003419 RID: 13337
		// (get) Token: 0x06009A5D RID: 39517 RVA: 0x0027C064 File Offset: 0x0027A264
		// (set) Token: 0x06009A5E RID: 39518 RVA: 0x0027C08C File Offset: 0x0027A28C
		public unsafe Vector3 m_Move
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_Move);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_Move)) = value;
			}
		}

		// Token: 0x1700341A RID: 13338
		// (get) Token: 0x06009A5F RID: 39519 RVA: 0x0027C0B0 File Offset: 0x0027A2B0
		// (set) Token: 0x06009A60 RID: 39520 RVA: 0x0027C0D8 File Offset: 0x0027A2D8
		public unsafe bool m_Jump
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_Jump);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ThirdPersonUserControl.NativeFieldInfoPtr_m_Jump)) = value;
			}
		}

		// Token: 0x040066F9 RID: 26361
		private static readonly IntPtr NativeFieldInfoPtr_m_Character;

		// Token: 0x040066FA RID: 26362
		private static readonly IntPtr NativeFieldInfoPtr_m_Cam;

		// Token: 0x040066FB RID: 26363
		private static readonly IntPtr NativeFieldInfoPtr_m_CamForward;

		// Token: 0x040066FC RID: 26364
		private static readonly IntPtr NativeFieldInfoPtr_m_Move;

		// Token: 0x040066FD RID: 26365
		private static readonly IntPtr NativeFieldInfoPtr_m_Jump;

		// Token: 0x040066FE RID: 26366
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x040066FF RID: 26367
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x04006700 RID: 26368
		private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

		// Token: 0x04006701 RID: 26369
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
