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

namespace Obi.Characters.ThirdPerson
{
	// Token: 0x02000504 RID: 1284
	public class ThirdPersonUserControl : MonoBehaviour
	{
		// Token: 0x060091FE RID: 37374 RVA: 0x00259028 File Offset: 0x00257228
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 613630, XrefRangeEnd = 613650, 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: 0x060091FF RID: 37375 RVA: 0x0025906C File Offset: 0x0025726C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 613650, XrefRangeEnd = 613656, 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: 0x06009200 RID: 37376 RVA: 0x002590B0 File Offset: 0x002572B0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 613656, XrefRangeEnd = 613678, 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: 0x06009201 RID: 37377 RVA: 0x002590F4 File Offset: 0x002572F4
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06009202 RID: 37378 RVA: 0x00259140 File Offset: 0x00257340
		// 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, 100674631);
			ThirdPersonUserControl.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, 100674632);
			ThirdPersonUserControl.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, 100674633);
			ThirdPersonUserControl.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ThirdPersonUserControl>.NativeClassPtr, 100674634);
		}

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

		// Token: 0x1700317B RID: 12667
		// (get) Token: 0x06009204 RID: 37380 RVA: 0x00259224 File Offset: 0x00257424
		// (set) Token: 0x06009205 RID: 37381 RVA: 0x00259258 File Offset: 0x00257458
		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: 0x1700317C RID: 12668
		// (get) Token: 0x06009206 RID: 37382 RVA: 0x00259280 File Offset: 0x00257480
		// (set) Token: 0x06009207 RID: 37383 RVA: 0x002592B4 File Offset: 0x002574B4
		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: 0x1700317D RID: 12669
		// (get) Token: 0x06009208 RID: 37384 RVA: 0x002592DC File Offset: 0x002574DC
		// (set) Token: 0x06009209 RID: 37385 RVA: 0x00259304 File Offset: 0x00257504
		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: 0x1700317E RID: 12670
		// (get) Token: 0x0600920A RID: 37386 RVA: 0x00259328 File Offset: 0x00257528
		// (set) Token: 0x0600920B RID: 37387 RVA: 0x00259350 File Offset: 0x00257550
		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: 0x1700317F RID: 12671
		// (get) Token: 0x0600920C RID: 37388 RVA: 0x00259374 File Offset: 0x00257574
		// (set) Token: 0x0600920D RID: 37389 RVA: 0x0025939C File Offset: 0x0025759C
		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: 0x04006150 RID: 24912
		private static readonly IntPtr NativeFieldInfoPtr_m_Character;

		// Token: 0x04006151 RID: 24913
		private static readonly IntPtr NativeFieldInfoPtr_m_Cam;

		// Token: 0x04006152 RID: 24914
		private static readonly IntPtr NativeFieldInfoPtr_m_CamForward;

		// Token: 0x04006153 RID: 24915
		private static readonly IntPtr NativeFieldInfoPtr_m_Move;

		// Token: 0x04006154 RID: 24916
		private static readonly IntPtr NativeFieldInfoPtr_m_Jump;

		// Token: 0x04006155 RID: 24917
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04006156 RID: 24918
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x04006157 RID: 24919
		private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

		// Token: 0x04006158 RID: 24920
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
