using System;
using Cpp2IlInjected;
using UnityEngine;

namespace commanastationwww.multistorydungeons
{
	// Token: 0x0200057C RID: 1404
	[Token(Token = "0x200057C")]
	public class Move : MonoBehaviour
	{
		// Token: 0x06002E35 RID: 11829 RVA: 0x00062AA8 File Offset: 0x00060CA8
		[Token(Token = "0x6002E35")]
		[Address(RVA = "0xBD1420", Offset = "0xBD0220", VA = "0x180BD1420")]
		private void Start()
		{
			/*
An exception occurred when decompiling this method (06002E35)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void commanastationwww.multistorydungeons.Move::Start()

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stloc:CharacterController(var_0_06, call:CharacterController(Component::GetComponent, ldloc:Move[exp:Component](this))); 	stfld:CharacterController(Move::character, ldloc:Move(this), ldloc:CharacterController(var_0_06)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
		}

		// Token: 0x06002E36 RID: 11830 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002E36")]
		[Address(RVA = "0xBD1690", Offset = "0xBD0490", VA = "0x180BD1690")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002E37 RID: 11831 RVA: 0x00062AC4 File Offset: 0x00060CC4
		[Token(Token = "0x6002E37")]
		[Address(RVA = "0xBD1860", Offset = "0xBD0660", VA = "0x180BD1860")]
		public Move()
		{
			float z = Vector3.zero.z;
			this.destination.z = z;
			base..ctor();
		}

		// Token: 0x0400371A RID: 14106
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x400371A")]
		private float speed = 7f;

		// Token: 0x0400371B RID: 14107
		[FieldOffset(Offset = "0x1C")]
		[Token(Token = "0x400371B")]
		private float gravity = 1000f;

		// Token: 0x0400371C RID: 14108
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x400371C")]
		private float horizontalMovement;

		// Token: 0x0400371D RID: 14109
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x400371D")]
		private float verticalMovement;

		// Token: 0x0400371E RID: 14110
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x400371E")]
		private CharacterController character;

		// Token: 0x0400371F RID: 14111
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x400371F")]
		private Vector3 destination;
	}
}
