using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020000E5 RID: 229
[Token(Token = "0x20000E5")]
public class PhantomNobetaEffectPlay : MonoBehaviour
{
	// Token: 0x06000C5C RID: 3164 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000C5C")]
	[Address(RVA = "0x311610", Offset = "0x310410", VA = "0x180311610")]
	public void InitData()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000C5D RID: 3165 RVA: 0x0001DD74 File Offset: 0x0001BF74
	[Token(Token = "0x6000C5D")]
	[Address(RVA = "0x311AD0", Offset = "0x3108D0", VA = "0x180311AD0")]
	private void Update()
	{
		float stageDeltaTime = Game.GetStageDeltaTime();
	}

	// Token: 0x06000C5E RID: 3166 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000C5E")]
	[Address(RVA = "0x311810", Offset = "0x310610", VA = "0x180311810")]
	public void PlayEffCreate()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000C5F RID: 3167 RVA: 0x0001DD8C File Offset: 0x0001BF8C
	[Token(Token = "0x6000C5F")]
	[Address(RVA = "0x3118E0", Offset = "0x3106E0", VA = "0x1803118E0")]
	public void PlayPSDestory()
	{
		this.g_SEDestory.PlayRandom(1f, 1f);
		this.PS_Destory.Play(true);
		CharacterController cc = this.CC;
		int num = 0;
		cc.enabled = num != 0;
		SkinnedMeshRenderer[] mesh = this.Mesh;
		int num2 = 0;
		if (num2 < mesh.Length)
		{
			SkinnedMeshRenderer skinnedMeshRenderer = mesh[num2];
			int num3 = 0;
			skinnedMeshRenderer.enabled = num3 != 0;
			SkinnedMeshRenderer[] mesh2 = this.Mesh;
			num2++;
		}
		MeshRenderer weapon = this.Weapon;
		int num4 = 0;
		weapon.enabled = num4 != 0;
	}

	// Token: 0x06000C60 RID: 3168 RVA: 0x0001DE18 File Offset: 0x0001C018
	[Token(Token = "0x6000C60")]
	[Address(RVA = "0x311550", Offset = "0x310350", VA = "0x180311550")]
	public void Create()
	{
		this.PS_Destory.Stop(true);
		this.CC.enabled = true;
		SkinnedMeshRenderer[] mesh = this.Mesh;
		int num = 0;
		if (num < mesh.Length)
		{
			mesh[num].enabled = true;
			SkinnedMeshRenderer[] mesh2 = this.Mesh;
			num++;
		}
		this.Weapon.enabled = true;
	}

	// Token: 0x06000C61 RID: 3169 RVA: 0x0001DE7C File Offset: 0x0001C07C
	[Token(Token = "0x6000C61")]
	[Address(RVA = "0x311A00", Offset = "0x310800", VA = "0x180311A00")]
	public void Remove()
	{
		this.PS_Destory.Stop(true);
		CharacterController cc = this.CC;
		int num = 0;
		cc.enabled = num != 0;
		SkinnedMeshRenderer[] mesh = this.Mesh;
		int num2 = 0;
		if (num2 < mesh.Length)
		{
			SkinnedMeshRenderer skinnedMeshRenderer = mesh[num2];
			int num3 = 0;
			skinnedMeshRenderer.enabled = num3 != 0;
			SkinnedMeshRenderer[] mesh2 = this.Mesh;
			num2++;
		}
		MeshRenderer weapon = this.Weapon;
		int num4 = 0;
		weapon.enabled = num4 != 0;
	}

	// Token: 0x06000C62 RID: 3170 RVA: 0x0001DEF4 File Offset: 0x0001C0F4
	[Token(Token = "0x6000C62")]
	[Address(RVA = "0x3119C0", Offset = "0x3107C0", VA = "0x1803119C0")]
	public void PlaySEVoice()
	{
		SoundEffect soundEffect = this.g_SEVoice;
		int id = this.ID;
		soundEffect.Play(id, 1f, 1f);
	}

	// Token: 0x06000C63 RID: 3171 RVA: 0x0001DF28 File Offset: 0x0001C128
	[Token(Token = "0x6000C63")]
	[Address(RVA = "0x311AC0", Offset = "0x3108C0", VA = "0x180311AC0")]
	public void SetTimeScale(float fTimeScale)
	{
		Common.SetEffectTimeScale(this.PS_Destory, fTimeScale);
	}

	// Token: 0x06000C64 RID: 3172 RVA: 0x0001DF44 File Offset: 0x0001C144
	[Token(Token = "0x6000C64")]
	[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
	public PhantomNobetaEffectPlay()
	{
	}

	// Token: 0x04001557 RID: 5463
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4001557")]
	public Transform MoveTarget;

	// Token: 0x04001558 RID: 5464
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001558")]
	public SkinnedMeshRenderer[] Mesh;

	// Token: 0x04001559 RID: 5465
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001559")]
	public MeshRenderer Weapon;

	// Token: 0x0400155A RID: 5466
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400155A")]
	public CharacterController CC;

	// Token: 0x0400155B RID: 5467
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x400155B")]
	public ParticleSystem PS_Destory;

	// Token: 0x0400155C RID: 5468
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x400155C")]
	public GameObject Eff_Create;

	// Token: 0x0400155D RID: 5469
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x400155D")]
	private EffectPool g_EffCreate;

	// Token: 0x0400155E RID: 5470
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x400155E")]
	public GameObject SE_Destory;

	// Token: 0x0400155F RID: 5471
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x400155F")]
	public GameObject SE_Create;

	// Token: 0x04001560 RID: 5472
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x4001560")]
	public GameObject SE_Voice;

	// Token: 0x04001561 RID: 5473
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4001561")]
	private SoundEffect g_SEDestory;

	// Token: 0x04001562 RID: 5474
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4001562")]
	private SoundEffect g_SECreate;

	// Token: 0x04001563 RID: 5475
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x4001563")]
	private SoundEffect g_SEVoice;

	// Token: 0x04001564 RID: 5476
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x4001564")]
	public int ID;
}
