using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020002EC RID: 748
[Token(Token = "0x20002EC")]
public class AutoLock
{
	// Token: 0x06001BF4 RID: 7156 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001BF4")]
	[Address(RVA = "0x8D1A80", Offset = "0x8D0880", VA = "0x1808D1A80")]
	public void Start(Transform source)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001BF5 RID: 7157 RVA: 0x00042520 File Offset: 0x00040720
	[Token(Token = "0x6001BF5")]
	[Address(RVA = "0x8D2020", Offset = "0x8D0E20", VA = "0x1808D2020")]
	public void Update()
	{
		this.TargetEnter();
		this.TargetExit();
	}

	// Token: 0x06001BF6 RID: 7158 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001BF6")]
	[Address(RVA = "0x8D1BD0", Offset = "0x8D09D0", VA = "0x1808D1BD0")]
	private void TargetEnter()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001BF7 RID: 7159 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001BF7")]
	[Address(RVA = "0x8D1DE0", Offset = "0x8D0BE0", VA = "0x1808D1DE0")]
	private void TargetExit()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001BF8 RID: 7160 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001BF8")]
	[Address(RVA = "0x8D1130", Offset = "0x8CFF30", VA = "0x1808D1130")]
	public Transform FindNear(Vector3 Direction)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001BF9 RID: 7161 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001BF9")]
	[Address(RVA = "0x8D1440", Offset = "0x8D0240", VA = "0x1808D1440")]
	public Transform GetLockTarget()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001BFA RID: 7162 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001BFA")]
	[Address(RVA = "0x8D1620", Offset = "0x8D0420", VA = "0x1808D1620")]
	public Vector3 GetTargetDirection()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001BFB RID: 7163 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001BFB")]
	[Address(RVA = "0x8D1890", Offset = "0x8D0690", VA = "0x1808D1890")]
	public float GetTargetDistance()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001BFC RID: 7164 RVA: 0x0004253C File Offset: 0x0004073C
	[Token(Token = "0x6001BFC")]
	[Address(RVA = "0x417A20", Offset = "0x416820", VA = "0x180417A20")]
	public void SetLockTarget(Transform Target)
	{
		/*
An exception occurred when decompiling this method (06001BFC)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void AutoLock::SetLockTarget(UnityEngine.Transform)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:Transform(AutoLock::g_LockTarget, ldloc:AutoLock(this), ldloc:Transform(Target)); }; 
   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: 0x06001BFD RID: 7165 RVA: 0x00042550 File Offset: 0x00040750
	[Token(Token = "0x6001BFD")]
	[Address(RVA = "0x8D13E0", Offset = "0x8D01E0", VA = "0x1808D13E0")]
	public bool GetIsLockTarget()
	{
		Transform transform = this.g_LockTarget;
		int num = 0;
		return transform != num;
	}

	// Token: 0x06001BFE RID: 7166 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001BFE")]
	[Address(RVA = "0x8D1390", Offset = "0x8D0190", VA = "0x1808D1390")]
	public bool GetIsEnemyInRate()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001BFF RID: 7167 RVA: 0x00042570 File Offset: 0x00040770
	[Token(Token = "0x6001BFF")]
	[Address(RVA = "0x8D2040", Offset = "0x8D0E40", VA = "0x1808D2040")]
	public AutoLock()
	{
		Collider[] array = new Collider[20];
		this.hitColliders = array;
		base..ctor();
	}

	// Token: 0x0400258E RID: 9614
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x400258E")]
	private Transform source;

	// Token: 0x0400258F RID: 9615
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400258F")]
	private List<Transform> g_TargetList;

	// Token: 0x04002590 RID: 9616
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002590")]
	private float g_Radius = 10f;

	// Token: 0x04002591 RID: 9617
	[FieldOffset(Offset = "0x24")]
	[Token(Token = "0x4002591")]
	private float g_Angle = 90f;

	// Token: 0x04002592 RID: 9618
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4002592")]
	private int g_NearID = (int)((ulong)4294967295L);

	// Token: 0x04002593 RID: 9619
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4002593")]
	private Collider[] hitColliders;

	// Token: 0x04002594 RID: 9620
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4002594")]
	private Transform g_LockTarget;

	// Token: 0x04002595 RID: 9621
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4002595")]
	private LayerMask characterLayer;
}
