using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000014 RID: 20
[Token(Token = "0x2000014")]
public class AttackData : MonoBehaviour
{
	// Token: 0x06000080 RID: 128 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000080")]
	[Address(RVA = "0x8D01C0", Offset = "0x8CEFC0", VA = "0x1808D01C0")]
	private void Start()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000081 RID: 129 RVA: 0x0000381C File Offset: 0x00001A1C
	[Token(Token = "0x6000081")]
	[Address(RVA = "0x413D20", Offset = "0x412B20", VA = "0x180413D20")]
	public void SetSource(Transform Source)
	{
		/*
An exception occurred when decompiling this method (06000081)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void AttackData::SetSource(UnityEngine.Transform)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:Transform(AttackData::g_Source, ldloc:AttackData(this), ldloc:Transform(Source)); }; 
   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: 0x06000082 RID: 130 RVA: 0x00003830 File Offset: 0x00001A30
	[Token(Token = "0x6000082")]
	[Address(RVA = "0x2B4380", Offset = "0x2B3180", VA = "0x1802B4380")]
	public Transform GetSource()
	{
		return this.g_Source;
	}

	// Token: 0x06000083 RID: 131 RVA: 0x00003844 File Offset: 0x00001A44
	[Token(Token = "0x6000083")]
	[Address(RVA = "0x8D0160", Offset = "0x8CEF60", VA = "0x1808D0160")]
	public void SetHit(Collider Hit, Vector3 HitPos)
	{
		this.g_Hit = Hit;
		float z = HitPos.z;
		this.g_HitPos.z = z;
	}

	// Token: 0x06000084 RID: 132 RVA: 0x0000386C File Offset: 0x00001A6C
	[Token(Token = "0x6000084")]
	[Address(RVA = "0x28C210", Offset = "0x28B010", VA = "0x18028C210")]
	public Collider GetHit()
	{
		return this.g_Hit;
	}

	// Token: 0x06000085 RID: 133 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000085")]
	[Address(RVA = "0x8D0140", Offset = "0x8CEF40", VA = "0x1808D0140")]
	public void SetHitDirection(Vector3 Direction)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000086 RID: 134 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000086")]
	[Address(RVA = "0x4F7FE0", Offset = "0x4F6DE0", VA = "0x1804F7FE0")]
	public Vector3 GetHitDirection()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000087 RID: 135 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000087")]
	[Address(RVA = "0x8D0110", Offset = "0x8CEF10", VA = "0x1808D0110")]
	public Vector3 GetHitPos()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000088 RID: 136 RVA: 0x00003880 File Offset: 0x00001A80
	[Token(Token = "0x6000088")]
	[Address(RVA = "0x50C1E0", Offset = "0x50AFE0", VA = "0x18050C1E0")]
	public void SetAttackDirection(AttackData.AttackDirection AD)
	{
		this.g_AD = AD;
	}

	// Token: 0x06000089 RID: 137 RVA: 0x00003894 File Offset: 0x00001A94
	[Token(Token = "0x6000089")]
	[Address(RVA = "0x50C1A0", Offset = "0x50AFA0", VA = "0x18050C1A0")]
	public AttackData.AttackDirection GetAttackDirection()
	{
		return this.g_AD;
	}

	// Token: 0x0600008A RID: 138 RVA: 0x000038A8 File Offset: 0x00001AA8
	[Token(Token = "0x600008A")]
	[Address(RVA = "0x7732A0", Offset = "0x7720A0", VA = "0x1807732A0")]
	public void SetAttackType(AttackData.AttackType AT)
	{
		this.g_AT = AT;
	}

	// Token: 0x0600008B RID: 139 RVA: 0x000038BC File Offset: 0x00001ABC
	[Token(Token = "0x600008B")]
	[Address(RVA = "0x36DA00", Offset = "0x36C800", VA = "0x18036DA00")]
	public AttackData.AttackType GetAttackType()
	{
		return this.g_AT;
	}

	// Token: 0x0600008C RID: 140 RVA: 0x000038D0 File Offset: 0x00001AD0
	[Token(Token = "0x600008C")]
	[Address(RVA = "0x3FFE20", Offset = "0x3FEC20", VA = "0x1803FFE20")]
	public void SetAttackElement(PlayerEffectPlay.Magic Type)
	{
		this.g_AttackElement = Type;
	}

	// Token: 0x0600008D RID: 141 RVA: 0x000038E4 File Offset: 0x00001AE4
	[Token(Token = "0x600008D")]
	[Address(RVA = "0x3F0000", Offset = "0x3EEE00", VA = "0x1803F0000")]
	public PlayerEffectPlay.Magic GetAttackElement()
	{
		return this.g_AttackElement;
	}

	// Token: 0x0600008E RID: 142 RVA: 0x000038F8 File Offset: 0x00001AF8
	[Token(Token = "0x600008E")]
	[Address(RVA = "0x8D01A0", Offset = "0x8CEFA0", VA = "0x1808D01A0")]
	public void SetSecond(float fStrength, PlayerEffectPlay.Magic g_AttackElement)
	{
		this.g_fSecondStrength = fStrength;
		this.g_bSecond = true;
		this.g_SecondAttackElement = g_AttackElement;
	}

	// Token: 0x0600008F RID: 143 RVA: 0x0000391C File Offset: 0x00001B1C
	[Token(Token = "0x600008F")]
	[Address(RVA = "0x8D0100", Offset = "0x8CEF00", VA = "0x1808D0100")]
	public void CloseSecond()
	{
		this.g_bSecond = false;
	}

	// Token: 0x06000090 RID: 144 RVA: 0x00003930 File Offset: 0x00001B30
	[Token(Token = "0x6000090")]
	[Address(RVA = "0x8D0130", Offset = "0x8CEF30", VA = "0x1808D0130")]
	public bool GetIsSecond()
	{
		return this.g_bSecond;
	}

	// Token: 0x06000091 RID: 145 RVA: 0x00003944 File Offset: 0x00001B44
	[Token(Token = "0x6000091")]
	[Address(RVA = "0x6FDC00", Offset = "0x6FCA00", VA = "0x1806FDC00")]
	public float GetSecondStrength()
	{
		return this.g_fSecondStrength;
	}

	// Token: 0x06000092 RID: 146 RVA: 0x00003958 File Offset: 0x00001B58
	[Token(Token = "0x6000092")]
	[Address(RVA = "0x4179A0", Offset = "0x4167A0", VA = "0x1804179A0")]
	public PlayerEffectPlay.Magic GetSecondElement()
	{
		return this.g_SecondAttackElement;
	}

	// Token: 0x06000093 RID: 147 RVA: 0x0000396C File Offset: 0x00001B6C
	[Token(Token = "0x6000093")]
	[Address(RVA = "0x8D0210", Offset = "0x8CF010", VA = "0x1808D0210")]
	public AttackData()
	{
		ulong num;
		this.g_v3CameraDriection.z = (float)num;
		this.g_bPauseTime = true;
		this.g_fPauseTime = 0.2f;
		this.g_fPauseScaleTime = 0.05f;
		this.g_bCameraShake = true;
		this.g_fCameraMagnitude = 0.5f;
		this.g_fCameraRoughness = 1.5f;
		this.g_fCameraFadeOutTime = 1f;
		this.g_fStrength = 1f;
		this.g_fRepulse = 5f;
		this.g_fStiff = 1f;
		this.g_fRepulseMoveSpeed = 3.5f;
		base..ctor();
	}

	// Token: 0x040000D3 RID: 211
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x40000D3")]
	private Transform g_Source;

	// Token: 0x040000D4 RID: 212
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x40000D4")]
	private Collider g_Hit;

	// Token: 0x040000D5 RID: 213
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x40000D5")]
	private Vector3 g_HitPos;

	// Token: 0x040000D6 RID: 214
	[FieldOffset(Offset = "0x34")]
	[Token(Token = "0x40000D6")]
	private Vector3 g_HitDirection;

	// Token: 0x040000D7 RID: 215
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x40000D7")]
	public AttackData.AttackDirection g_AD;

	// Token: 0x040000D8 RID: 216
	[FieldOffset(Offset = "0x44")]
	[Token(Token = "0x40000D8")]
	public AttackData.AttackType g_AT;

	// Token: 0x040000D9 RID: 217
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x40000D9")]
	public AttackData.AttackType2 g_AT2;

	// Token: 0x040000DA RID: 218
	[FieldOffset(Offset = "0x4C")]
	[Token(Token = "0x40000DA")]
	public PlayerEffectPlay.Magic g_AttackElement;

	// Token: 0x040000DB RID: 219
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x40000DB")]
	public bool g_bPauseTime;

	// Token: 0x040000DC RID: 220
	[FieldOffset(Offset = "0x54")]
	[Token(Token = "0x40000DC")]
	public float g_fPauseTime;

	// Token: 0x040000DD RID: 221
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x40000DD")]
	public float g_fPauseScaleTime;

	// Token: 0x040000DE RID: 222
	[FieldOffset(Offset = "0x5C")]
	[Token(Token = "0x40000DE")]
	public bool g_bCameraShake;

	// Token: 0x040000DF RID: 223
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x40000DF")]
	public Vector3 g_v3CameraDriection;

	// Token: 0x040000E0 RID: 224
	[FieldOffset(Offset = "0x6C")]
	[Token(Token = "0x40000E0")]
	public float g_fCameraMagnitude;

	// Token: 0x040000E1 RID: 225
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x40000E1")]
	public float g_fCameraRoughness;

	// Token: 0x040000E2 RID: 226
	[FieldOffset(Offset = "0x74")]
	[Token(Token = "0x40000E2")]
	public float g_fCameraFadeOutTime;

	// Token: 0x040000E3 RID: 227
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x40000E3")]
	public float g_fStrength;

	// Token: 0x040000E4 RID: 228
	[FieldOffset(Offset = "0x7C")]
	[Token(Token = "0x40000E4")]
	public float g_fRepulse;

	// Token: 0x040000E5 RID: 229
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x40000E5")]
	public float g_fStiff;

	// Token: 0x040000E6 RID: 230
	[FieldOffset(Offset = "0x84")]
	[Token(Token = "0x40000E6")]
	public float g_fRepulseMoveSpeed;

	// Token: 0x040000E7 RID: 231
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x40000E7")]
	public bool g_bCertainlyRepulse;

	// Token: 0x040000E8 RID: 232
	[FieldOffset(Offset = "0x89")]
	[Token(Token = "0x40000E8")]
	private bool g_bSecond;

	// Token: 0x040000E9 RID: 233
	[FieldOffset(Offset = "0x8C")]
	[Token(Token = "0x40000E9")]
	private float g_fSecondStrength;

	// Token: 0x040000EA RID: 234
	[FieldOffset(Offset = "0x90")]
	[Token(Token = "0x40000EA")]
	public PlayerEffectPlay.Magic g_SecondAttackElement;

	// Token: 0x02000015 RID: 21
	[Token(Token = "0x2000015")]
	public enum AttackDirection
	{
		// Token: 0x040000EC RID: 236
		[Token(Token = "0x40000EC")]
		Front,
		// Token: 0x040000ED RID: 237
		[Token(Token = "0x40000ED")]
		Left,
		// Token: 0x040000EE RID: 238
		[Token(Token = "0x40000EE")]
		Right,
		// Token: 0x040000EF RID: 239
		[Token(Token = "0x40000EF")]
		Up,
		// Token: 0x040000F0 RID: 240
		[Token(Token = "0x40000F0")]
		Down
	}

	// Token: 0x02000016 RID: 22
	[Token(Token = "0x2000016")]
	public enum AttackType
	{
		// Token: 0x040000F2 RID: 242
		[Token(Token = "0x40000F2")]
		Normal,
		// Token: 0x040000F3 RID: 243
		[Token(Token = "0x40000F3")]
		Fly
	}

	// Token: 0x02000017 RID: 23
	[Token(Token = "0x2000017")]
	public enum AttackType2
	{
		// Token: 0x040000F5 RID: 245
		[Token(Token = "0x40000F5")]
		PHUSICAL,
		// Token: 0x040000F6 RID: 246
		[Token(Token = "0x40000F6")]
		MAGIC
	}
}
