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

namespace RootMotion.Demos
{
	// Token: 0x020003CD RID: 973
	public class FPSCharacter : MonoBehaviour
	{
		// Token: 0x060077EF RID: 30703 RVA: 0x001E9858 File Offset: 0x001E7A58
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592256, XrefRangeEnd = 592264, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FPSCharacter.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060077F0 RID: 30704 RVA: 0x001E989C File Offset: 0x001E7A9C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592264, XrefRangeEnd = 592271, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FPSCharacter.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060077F1 RID: 30705 RVA: 0x001E98E0 File Offset: 0x001E7AE0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592271, XrefRangeEnd = 592279, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnGUI()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FPSCharacter.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060077F2 RID: 30706 RVA: 0x001E9924 File Offset: 0x001E7B24
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe FPSCharacter()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FPSCharacter.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060077F3 RID: 30707 RVA: 0x001E9970 File Offset: 0x001E7B70
		// Note: this type is marked as 'beforefieldinit'.
		static FPSCharacter()
		{
			Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "FPSCharacter");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr);
			FPSCharacter.NativeFieldInfoPtr_walkSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr, "walkSpeed");
			FPSCharacter.NativeFieldInfoPtr_sVel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr, "sVel");
			FPSCharacter.NativeFieldInfoPtr_animator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr, "animator");
			FPSCharacter.NativeFieldInfoPtr_FPSAiming = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr, "FPSAiming");
			FPSCharacter.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr, 100672341);
			FPSCharacter.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr, 100672342);
			FPSCharacter.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr, 100672343);
			FPSCharacter.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FPSCharacter>.NativeClassPtr, 100672344);
		}

		// Token: 0x060077F4 RID: 30708 RVA: 0x0000351C File Offset: 0x0000171C
		public FPSCharacter(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170028FA RID: 10490
		// (get) Token: 0x060077F5 RID: 30709 RVA: 0x001E9A40 File Offset: 0x001E7C40
		// (set) Token: 0x060077F6 RID: 30710 RVA: 0x001E9A68 File Offset: 0x001E7C68
		public unsafe float walkSpeed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FPSCharacter.NativeFieldInfoPtr_walkSpeed);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FPSCharacter.NativeFieldInfoPtr_walkSpeed)) = value;
			}
		}

		// Token: 0x170028FB RID: 10491
		// (get) Token: 0x060077F7 RID: 30711 RVA: 0x001E9A8C File Offset: 0x001E7C8C
		// (set) Token: 0x060077F8 RID: 30712 RVA: 0x001E9AB4 File Offset: 0x001E7CB4
		public unsafe float sVel
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FPSCharacter.NativeFieldInfoPtr_sVel);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FPSCharacter.NativeFieldInfoPtr_sVel)) = value;
			}
		}

		// Token: 0x170028FC RID: 10492
		// (get) Token: 0x060077F9 RID: 30713 RVA: 0x001E9AD8 File Offset: 0x001E7CD8
		// (set) Token: 0x060077FA RID: 30714 RVA: 0x001E9B0C File Offset: 0x001E7D0C
		public unsafe Animator animator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FPSCharacter.NativeFieldInfoPtr_animator);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Animator(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(FPSCharacter.NativeFieldInfoPtr_animator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170028FD RID: 10493
		// (get) Token: 0x060077FB RID: 30715 RVA: 0x001E9B34 File Offset: 0x001E7D34
		// (set) Token: 0x060077FC RID: 30716 RVA: 0x001E9B68 File Offset: 0x001E7D68
		public unsafe FPSAiming FPSAiming
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FPSCharacter.NativeFieldInfoPtr_FPSAiming);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new FPSAiming(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(FPSCharacter.NativeFieldInfoPtr_FPSAiming), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04005069 RID: 20585
		private static readonly IntPtr NativeFieldInfoPtr_walkSpeed;

		// Token: 0x0400506A RID: 20586
		private static readonly IntPtr NativeFieldInfoPtr_sVel;

		// Token: 0x0400506B RID: 20587
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x0400506C RID: 20588
		private static readonly IntPtr NativeFieldInfoPtr_FPSAiming;

		// Token: 0x0400506D RID: 20589
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x0400506E RID: 20590
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x0400506F RID: 20591
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x04005070 RID: 20592
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
