using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020000CC RID: 204
[Token(Token = "0x20000CC")]
public class BossLevel02_FireBall : AttackableObject
{
	// Token: 0x060008F6 RID: 2294 RVA: 0x00014834 File Offset: 0x00012A34
	[Token(Token = "0x60008F6")]
	[Address(RVA = "0x107ED50", Offset = "0x107DD50", VA = "0x18107ED50")]
	private void Awake()
	{
		ParticleSystem component = base.GetComponent<ParticleSystem>();
		this.g_PS = component;
		ParticleSystem particleSystem = this.g_PS;
		int num = 0;
		if (particleSystem == num)
		{
			Debug.LogError(base.transform.name + " 特效錯誤");
		}
		AttackData component2 = base.GetComponent<AttackData>();
		this.g_AData = component2;
		AttackData attackData = this.g_AData;
		int num2 = 0;
		if (attackData == num2)
		{
			Debug.LogError(base.transform.name + " 攻擊資料錯誤");
		}
		Material material = this.MR.GetMaterial();
		this.g_MRMat = material;
		Material material2 = this.g_MRMat;
		this.g_fMRAlpha = 6f;
		material2.SetFloat("_ShapeWidth", 6f);
		SphereCollider sphereCollider = this.g_SC;
		int num3 = 0;
		if (sphereCollider == num3)
		{
			SphereCollider component3 = base.GetComponent<SphereCollider>();
			this.g_SC = component3;
		}
	}

	// Token: 0x060008F7 RID: 2295 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60008F7")]
	[Address(RVA = "0x29E8B0", Offset = "0x29D8B0", VA = "0x18029E8B0", Slot = "8")]
	protected override void LateUpdate()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060008F8 RID: 2296 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60008F8")]
	[Address(RVA = "0x107F830", Offset = "0x107E830", VA = "0x18107F830", Slot = "6")]
	protected override void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060008F9 RID: 2297 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60008F9")]
	[Address(RVA = "0x107F000", Offset = "0x107E000", VA = "0x18107F000", Slot = "10")]
	public override void HitMagic(AttackData AD)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060008FA RID: 2298 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60008FA")]
	[Address(RVA = "0x107F220", Offset = "0x107E220", VA = "0x18107F220", Slot = "9")]
	public override void HitPhysical(AttackData AD)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060008FB RID: 2299 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60008FB")]
	[Address(RVA = "0x107F520", Offset = "0x107E520", VA = "0x18107F520")]
	public void Set(Transform StartTarget, EffectPool EffCollision, SoundEffectPool SEShot, SoundEffect SELoop)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060008FC RID: 2300 RVA: 0x00014924 File Offset: 0x00012B24
	[Token(Token = "0x60008FC")]
	[Address(RVA = "0x107F440", Offset = "0x107E440", VA = "0x18107F440", Slot = "11")]
	public override void SetTimeScale(float fTimeScale)
	{
		Material material = this.g_MRMat;
		int num = 0;
		if (material == num)
		{
			Material material2 = this.MR.GetMaterial();
			this.g_MRMat = material2;
		}
		this.g_MRMat.SetFloat("_TimeScale", fTimeScale);
	}

	// Token: 0x060008FD RID: 2301 RVA: 0x00014970 File Offset: 0x00012B70
	[Token(Token = "0x60008FD")]
	[Address(RVA = "0xF67C30", Offset = "0xF66C30", VA = "0x180F67C30")]
	public BossLevel02_FireBall()
	{
	}

	// Token: 0x04000B30 RID: 2864
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4000B30")]
	public MeshRenderer MR;

	// Token: 0x04000B31 RID: 2865
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4000B31")]
	private AttackData g_AData;

	// Token: 0x04000B32 RID: 2866
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x4000B32")]
	private ParticleSystem g_PS;

	// Token: 0x04000B33 RID: 2867
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x4000B33")]
	private Material g_MRMat;

	// Token: 0x04000B34 RID: 2868
	[Token(Token = "0x4000B34")]
	private const float g_fMRStartAlpha = 6f;

	// Token: 0x04000B35 RID: 2869
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x4000B35")]
	private float g_fMRAlpha;

	// Token: 0x04000B36 RID: 2870
	[FieldOffset(Offset = "0x8C")]
	[Token(Token = "0x4000B36")]
	private Vector3 g_PrePosition;

	// Token: 0x04000B37 RID: 2871
	[Token(Token = "0x4000B37")]
	private const float g_fStartMoveSpeed = 30f;

	// Token: 0x04000B38 RID: 2872
	[Token(Token = "0x4000B38")]
	private const float g_fEndMoveSpeed = 5f;

	// Token: 0x04000B39 RID: 2873
	[FieldOffset(Offset = "0x98")]
	[Token(Token = "0x4000B39")]
	private float g_fMoveSpeed;

	// Token: 0x04000B3A RID: 2874
	[Token(Token = "0x4000B3A")]
	private const float g_fStartRotSpeed = 6f;

	// Token: 0x04000B3B RID: 2875
	[FieldOffset(Offset = "0x9C")]
	[Token(Token = "0x4000B3B")]
	private float g_fRotSpeed;

	// Token: 0x04000B3C RID: 2876
	[Token(Token = "0x4000B3C")]
	private const float g_fChangeTargetTime = 1.5f;

	// Token: 0x04000B3D RID: 2877
	[FieldOffset(Offset = "0xA0")]
	[Token(Token = "0x4000B3D")]
	private float g_fChangeTargetTimeVal;

	// Token: 0x04000B3E RID: 2878
	[Token(Token = "0x4000B3E")]
	private const float g_fTrackTime = 3f;

	// Token: 0x04000B3F RID: 2879
	[FieldOffset(Offset = "0xA4")]
	[Token(Token = "0x4000B3F")]
	private float g_fTrackTimeVal;

	// Token: 0x04000B40 RID: 2880
	[FieldOffset(Offset = "0xA8")]
	[Token(Token = "0x4000B40")]
	private Transform g_Rot;

	// Token: 0x04000B41 RID: 2881
	[FieldOffset(Offset = "0xB0")]
	[Token(Token = "0x4000B41")]
	private Transform g_Target;

	// Token: 0x04000B42 RID: 2882
	[FieldOffset(Offset = "0xB8")]
	[Token(Token = "0x4000B42")]
	private Vector3 g_StartUp;

	// Token: 0x04000B43 RID: 2883
	[FieldOffset(Offset = "0xC8")]
	[Token(Token = "0x4000B43")]
	private EffectPool g_EffCollision;

	// Token: 0x04000B44 RID: 2884
	[FieldOffset(Offset = "0xD0")]
	[Token(Token = "0x4000B44")]
	private SoundEffectPool g_SEShot;

	// Token: 0x04000B45 RID: 2885
	[FieldOffset(Offset = "0xD8")]
	[Token(Token = "0x4000B45")]
	private SoundEffect g_SELoop;

	// Token: 0x04000B46 RID: 2886
	[FieldOffset(Offset = "0xE0")]
	[Token(Token = "0x4000B46")]
	private SphereCollider g_SC;

	// Token: 0x04000B47 RID: 2887
	[FieldOffset(Offset = "0xE8")]
	[Token(Token = "0x4000B47")]
	private bool g_bCollisionEnable;

	// Token: 0x04000B48 RID: 2888
	[FieldOffset(Offset = "0xE9")]
	[Token(Token = "0x4000B48")]
	private bool g_bPlayerDodge;

	// Token: 0x04000B49 RID: 2889
	[FieldOffset(Offset = "0xEA")]
	[Token(Token = "0x4000B49")]
	private bool g_bCollision;
}
