using System;
using Cpp2IlInjected;
using UnityEngine;

namespace commanastationwww.multistorydungeons
{
	// Token: 0x020005D4 RID: 1492
	[Token(Token = "0x20005D4")]
	public class Move : MonoBehaviour
	{
		// Token: 0x060030FE RID: 12542 RVA: 0x00069D64 File Offset: 0x00067F64
		[Token(Token = "0x60030FE")]
		[Address(RVA = "0xC3C160", Offset = "0xC3B160", VA = "0x180C3C160")]
		private void Start()
		{
			/*
An exception occurred when decompiling this method (060030FE)

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: 0x060030FF RID: 12543 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030FF")]
		[Address(RVA = "0xC3C3D0", Offset = "0xC3B3D0", VA = "0x180C3C3D0")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003100 RID: 12544 RVA: 0x00069D80 File Offset: 0x00067F80
		[Token(Token = "0x6003100")]
		[Address(RVA = "0xC3C5A0", Offset = "0xC3B5A0", VA = "0x180C3C5A0")]
		public Move()
		{
			float z = Vector3.zero.z;
			this.destination.z = z;
			base..ctor();
		}

		// Token: 0x04003A04 RID: 14852
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003A04")]
		private float speed = 7f;

		// Token: 0x04003A05 RID: 14853
		[FieldOffset(Offset = "0x1C")]
		[Token(Token = "0x4003A05")]
		private float gravity = 1000f;

		// Token: 0x04003A06 RID: 14854
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4003A06")]
		private float horizontalMovement;

		// Token: 0x04003A07 RID: 14855
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x4003A07")]
		private float verticalMovement;

		// Token: 0x04003A08 RID: 14856
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4003A08")]
		private CharacterController character;

		// Token: 0x04003A09 RID: 14857
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4003A09")]
		private Vector3 destination;
	}
}
