using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020000B5 RID: 181
[Token(Token = "0x20000B5")]
public class BossLevel02_FireBall : AttackableObject
{
	// Token: 0x0600084D RID: 2125 RVA: 0x00013D7C File Offset: 0x00011F7C
	[Token(Token = "0x600084D")]
	[Address(RVA = "0xF67610", Offset = "0xF66410", VA = "0x180F67610")]
	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: 0x0600084E RID: 2126 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600084E")]
	[Address(RVA = "0x297F00", Offset = "0x296D00", VA = "0x180297F00", Slot = "8")]
	protected override void LateUpdate()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600084F RID: 2127 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600084F")]
	[Address(RVA = "0xF680F0", Offset = "0xF66EF0", VA = "0x180F680F0", Slot = "6")]
	protected override void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000850 RID: 2128 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000850")]
	[Address(RVA = "0xF678C0", Offset = "0xF666C0", VA = "0x180F678C0", Slot = "10")]
	public override void HitMagic(AttackData AD)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000851 RID: 2129 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000851")]
	[Address(RVA = "0xF67AE0", Offset = "0xF668E0", VA = "0x180F67AE0", Slot = "9")]
	public override void HitPhysical(AttackData AD)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000852 RID: 2130 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000852")]
	[Address(RVA = "0xF67DE0", Offset = "0xF66BE0", VA = "0x180F67DE0")]
	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: 0x06000853 RID: 2131 RVA: 0x00013E6C File Offset: 0x0001206C
	[Token(Token = "0x6000853")]
	[Address(RVA = "0xF67D00", Offset = "0xF66B00", VA = "0x180F67D00", 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: 0x06000854 RID: 2132 RVA: 0x00013EB8 File Offset: 0x000120B8
	[Token(Token = "0x6000854")]
	[Address(RVA = "0x757460", Offset = "0x756260", VA = "0x180757460")]
	public BossLevel02_FireBall()
	{
	}

	// Token: 0x04000AAE RID: 2734
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4000AAE")]
	public MeshRenderer MR;

	// Token: 0x04000AAF RID: 2735
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4000AAF")]
	private AttackData g_AData;

	// Token: 0x04000AB0 RID: 2736
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x4000AB0")]
	private ParticleSystem g_PS;

	// Token: 0x04000AB1 RID: 2737
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x4000AB1")]
	private Material g_MRMat;

	// Token: 0x04000AB2 RID: 2738
	[Token(Token = "0x4000AB2")]
	private const float g_fMRStartAlpha = 6f;

	// Token: 0x04000AB3 RID: 2739
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x4000AB3")]
	private float g_fMRAlpha;

	// Token: 0x04000AB4 RID: 2740
	[FieldOffset(Offset = "0x8C")]
	[Token(Token = "0x4000AB4")]
	private Vector3 g_PrePosition;

	// Token: 0x04000AB5 RID: 2741
	[Token(Token = "0x4000AB5")]
	private const float g_fStartMoveSpeed = 30f;

	// Token: 0x04000AB6 RID: 2742
	[Token(Token = "0x4000AB6")]
	private const float g_fEndMoveSpeed = 5f;

	// Token: 0x04000AB7 RID: 2743
	[FieldOffset(Offset = "0x98")]
	[Token(Token = "0x4000AB7")]
	private float g_fMoveSpeed;

	// Token: 0x04000AB8 RID: 2744
	[Token(Token = "0x4000AB8")]
	private const float g_fStartRotSpeed = 6f;

	// Token: 0x04000AB9 RID: 2745
	[FieldOffset(Offset = "0x9C")]
	[Token(Token = "0x4000AB9")]
	private float g_fRotSpeed;

	// Token: 0x04000ABA RID: 2746
	[Token(Token = "0x4000ABA")]
	private const float g_fChangeTargetTime = 1.5f;

	// Token: 0x04000ABB RID: 2747
	[FieldOffset(Offset = "0xA0")]
	[Token(Token = "0x4000ABB")]
	private float g_fChangeTargetTimeVal;

	// Token: 0x04000ABC RID: 2748
	[Token(Token = "0x4000ABC")]
	private const float g_fTrackTime = 3f;

	// Token: 0x04000ABD RID: 2749
	[FieldOffset(Offset = "0xA4")]
	[Token(Token = "0x4000ABD")]
	private float g_fTrackTimeVal;

	// Token: 0x04000ABE RID: 2750
	[FieldOffset(Offset = "0xA8")]
	[Token(Token = "0x4000ABE")]
	private Transform g_Rot;

	// Token: 0x04000ABF RID: 2751
	[FieldOffset(Offset = "0xB0")]
	[Token(Token = "0x4000ABF")]
	private Transform g_Target;

	// Token: 0x04000AC0 RID: 2752
	[FieldOffset(Offset = "0xB8")]
	[Token(Token = "0x4000AC0")]
	private Vector3 g_StartUp;

	// Token: 0x04000AC1 RID: 2753
	[FieldOffset(Offset = "0xC8")]
	[Token(Token = "0x4000AC1")]
	private EffectPool g_EffCollision;

	// Token: 0x04000AC2 RID: 2754
	[FieldOffset(Offset = "0xD0")]
	[Token(Token = "0x4000AC2")]
	private SoundEffectPool g_SEShot;

	// Token: 0x04000AC3 RID: 2755
	[FieldOffset(Offset = "0xD8")]
	[Token(Token = "0x4000AC3")]
	private SoundEffect g_SELoop;

	// Token: 0x04000AC4 RID: 2756
	[FieldOffset(Offset = "0xE0")]
	[Token(Token = "0x4000AC4")]
	private SphereCollider g_SC;

	// Token: 0x04000AC5 RID: 2757
	[FieldOffset(Offset = "0xE8")]
	[Token(Token = "0x4000AC5")]
	private bool g_bCollisionEnable;

	// Token: 0x04000AC6 RID: 2758
	[FieldOffset(Offset = "0xE9")]
	[Token(Token = "0x4000AC6")]
	private bool g_bPlayerDodge;

	// Token: 0x04000AC7 RID: 2759
	[FieldOffset(Offset = "0xEA")]
	[Token(Token = "0x4000AC7")]
	private bool g_bCollision;
}
