using System;
using Cpp2IlInjected;
using UnityEngine;

namespace AquariusMax.Demo
{
	// Token: 0x02000579 RID: 1401
	[Token(Token = "0x2000579")]
	[RequireComponent(typeof(CharacterController))]
	public class DemoCharacter : MonoBehaviour
	{
		// Token: 0x06002E28 RID: 11816 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002E28")]
		[Address(RVA = "0x13C8FA0", Offset = "0x13C7DA0", VA = "0x1813C8FA0")]
		private void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002E29 RID: 11817 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002E29")]
		[Address(RVA = "0x13C8D20", Offset = "0x13C7B20", VA = "0x1813C8D20")]
		private void GetMoveInput(out float speed)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002E2A RID: 11818 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002E2A")]
		[Address(RVA = "0x13C8540", Offset = "0x13C7340", VA = "0x1813C8540")]
		private void CameraLook()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002E2B RID: 11819 RVA: 0x000628E0 File Offset: 0x00060AE0
		[Token(Token = "0x6002E2B")]
		[Address(RVA = "0x13C90B0", Offset = "0x13C7EB0", VA = "0x1813C90B0")]
		private void Update()
		{
			this.CameraLook();
			bool keyDownInt = Input.GetKeyDownInt(KeyCode.Space);
			this.jumpPressed = keyDownInt;
		}

		// Token: 0x06002E2C RID: 11820 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002E2C")]
		[Address(RVA = "0x13C8820", Offset = "0x13C7620", VA = "0x1813C8820")]
		private void FixedUpdate()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002E2D RID: 11821 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002E2D")]
		[Address(RVA = "0x13C8770", Offset = "0x13C7570", VA = "0x1813C8770")]
		private Quaternion ClampRotationAroundXAxis(Quaternion q)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002E2E RID: 11822 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002E2E")]
		[Address(RVA = "0x13C8DF0", Offset = "0x13C7BF0", VA = "0x1813C8DF0")]
		private void OnControllerColliderHit(ControllerColliderHit hit)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002E2F RID: 11823 RVA: 0x00062904 File Offset: 0x00060B04
		[Token(Token = "0x6002E2F")]
		[Address(RVA = "0x13C90E0", Offset = "0x13C7EE0", VA = "0x1813C90E0")]
		public DemoCharacter()
		{
			Vector2 zero = Vector2.zero;
			this.moveInput = zero;
			this.moveInput.y = (float)0;
			float z = Vector3.zero.z;
			this.move.z = z;
			base..ctor();
		}

		// Token: 0x04003705 RID: 14085
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003705")]
		[SerializeField]
		private Camera cam;

		// Token: 0x04003706 RID: 14086
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4003706")]
		[SerializeField]
		private float gravityModifier = 2f;

		// Token: 0x04003707 RID: 14087
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x4003707")]
		[SerializeField]
		private float walkSpeed = 5f;

		// Token: 0x04003708 RID: 14088
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4003708")]
		[SerializeField]
		private float runSpeed = 10f;

		// Token: 0x04003709 RID: 14089
		[FieldOffset(Offset = "0x2C")]
		[Token(Token = "0x4003709")]
		[SerializeField]
		private float jumpSpeed = 10f;

		// Token: 0x0400370A RID: 14090
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x400370A")]
		[SerializeField]
		private float landingForce = 10f;

		// Token: 0x0400370B RID: 14091
		[FieldOffset(Offset = "0x34")]
		[Token(Token = "0x400370B")]
		[SerializeField]
		private float mouseXSensitivity = 2f;

		// Token: 0x0400370C RID: 14092
		[FieldOffset(Offset = "0x38")]
		[Token(Token = "0x400370C")]
		[SerializeField]
		private float mouseYSensitivity = 2f;

		// Token: 0x0400370D RID: 14093
		[FieldOffset(Offset = "0x40")]
		[Token(Token = "0x400370D")]
		private CharacterController charControl;

		// Token: 0x0400370E RID: 14094
		[FieldOffset(Offset = "0x48")]
		[Token(Token = "0x400370E")]
		private Quaternion characterTargetRot;

		// Token: 0x0400370F RID: 14095
		[FieldOffset(Offset = "0x58")]
		[Token(Token = "0x400370F")]
		private Quaternion cameraTargetRot;

		// Token: 0x04003710 RID: 14096
		[FieldOffset(Offset = "0x68")]
		[Token(Token = "0x4003710")]
		private bool isWalking = true;

		// Token: 0x04003711 RID: 14097
		[FieldOffset(Offset = "0x6C")]
		[Token(Token = "0x4003711")]
		private Vector2 moveInput;

		// Token: 0x04003712 RID: 14098
		[FieldOffset(Offset = "0x74")]
		[Token(Token = "0x4003712")]
		private Vector3 move;

		// Token: 0x04003713 RID: 14099
		[FieldOffset(Offset = "0x80")]
		[Token(Token = "0x4003713")]
		private bool jumpPressed;

		// Token: 0x04003714 RID: 14100
		[FieldOffset(Offset = "0x84")]
		[Token(Token = "0x4003714")]
		private CollisionFlags collisionFlags;
	}
}
