using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200010B RID: 267
[Token(Token = "0x200010B")]
public class PhantomNobetaEffectPlay : MonoBehaviour
{
	// Token: 0x06000D79 RID: 3449 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000D79")]
	[Address(RVA = "0x331F90", Offset = "0x330F90", VA = "0x180331F90")]
	public void InitData()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000D7A RID: 3450 RVA: 0x0001F9DC File Offset: 0x0001DBDC
	[Token(Token = "0x6000D7A")]
	[Address(RVA = "0x332450", Offset = "0x331450", VA = "0x180332450")]
	private void Update()
	{
		float stageDeltaTime = Game.GetStageDeltaTime();
	}

	// Token: 0x06000D7B RID: 3451 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000D7B")]
	[Address(RVA = "0x332190", Offset = "0x331190", VA = "0x180332190")]
	public void PlayEffCreate()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000D7C RID: 3452 RVA: 0x0001F9F4 File Offset: 0x0001DBF4
	[Token(Token = "0x6000D7C")]
	[Address(RVA = "0x332260", Offset = "0x331260", VA = "0x180332260")]
	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: 0x06000D7D RID: 3453 RVA: 0x0001FA80 File Offset: 0x0001DC80
	[Token(Token = "0x6000D7D")]
	[Address(RVA = "0x331ED0", Offset = "0x330ED0", VA = "0x180331ED0")]
	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: 0x06000D7E RID: 3454 RVA: 0x0001FAE4 File Offset: 0x0001DCE4
	[Token(Token = "0x6000D7E")]
	[Address(RVA = "0x332380", Offset = "0x331380", VA = "0x180332380")]
	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: 0x06000D7F RID: 3455 RVA: 0x0001FB5C File Offset: 0x0001DD5C
	[Token(Token = "0x6000D7F")]
	[Address(RVA = "0x332340", Offset = "0x331340", VA = "0x180332340")]
	public void PlaySEVoice()
	{
		SoundEffect soundEffect = this.g_SEVoice;
		int id = this.ID;
		soundEffect.Play(id, 1f, 1f);
	}

	// Token: 0x06000D80 RID: 3456 RVA: 0x0001FB90 File Offset: 0x0001DD90
	[Token(Token = "0x6000D80")]
	[Address(RVA = "0x332440", Offset = "0x331440", VA = "0x180332440")]
	public void SetTimeScale(float fTimeScale)
	{
		Common.SetEffectTimeScale(this.PS_Destory, fTimeScale);
	}

	// Token: 0x06000D81 RID: 3457 RVA: 0x0001FBAC File Offset: 0x0001DDAC
	[Token(Token = "0x6000D81")]
	[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
	public PhantomNobetaEffectPlay()
	{
	}

	// Token: 0x0400165F RID: 5727
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400165F")]
	public Transform MoveTarget;

	// Token: 0x04001660 RID: 5728
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001660")]
	public SkinnedMeshRenderer[] Mesh;

	// Token: 0x04001661 RID: 5729
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001661")]
	public MeshRenderer Weapon;

	// Token: 0x04001662 RID: 5730
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4001662")]
	public CharacterController CC;

	// Token: 0x04001663 RID: 5731
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001663")]
	public ParticleSystem PS_Destory;

	// Token: 0x04001664 RID: 5732
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001664")]
	public GameObject Eff_Create;

	// Token: 0x04001665 RID: 5733
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4001665")]
	private EffectPool g_EffCreate;

	// Token: 0x04001666 RID: 5734
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4001666")]
	public GameObject SE_Destory;

	// Token: 0x04001667 RID: 5735
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x4001667")]
	public GameObject SE_Create;

	// Token: 0x04001668 RID: 5736
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x4001668")]
	public GameObject SE_Voice;

	// Token: 0x04001669 RID: 5737
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4001669")]
	private SoundEffect g_SEDestory;

	// Token: 0x0400166A RID: 5738
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x400166A")]
	private SoundEffect g_SECreate;

	// Token: 0x0400166B RID: 5739
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x400166B")]
	private SoundEffect g_SEVoice;

	// Token: 0x0400166C RID: 5740
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x400166C")]
	public int ID;
}
