using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000397 RID: 919
[Token(Token = "0x2000397")]
public class AnimationHelper : MonoBehaviour
{
	// Token: 0x0600237A RID: 9082 RVA: 0x000550EC File Offset: 0x000532EC
	[Token(Token = "0x600237A")]
	[Address(RVA = "0xDB12B0", Offset = "0xDB02B0", VA = "0x180DB12B0")]
	private void Start()
	{
		float time = Time.time;
		this.start_time = time;
	}

	// Token: 0x0600237B RID: 9083 RVA: 0x00055108 File Offset: 0x00053308
	[Token(Token = "0x600237B")]
	[Address(RVA = "0xDB12D0", Offset = "0xDB02D0", VA = "0x180DB12D0")]
	private void Update()
	{
		if (!this.INFINITE_LOOP)
		{
			float num = this.start_time;
			float time = Time.time;
			if (this.GO)
			{
				this.STOP_VFX();
				return;
			}
		}
	}

	// Token: 0x0600237C RID: 9084 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600237C")]
	[Address(RVA = "0xDB1070", Offset = "0xDB0070", VA = "0x180DB1070")]
	public void STOP_VFX()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600237D RID: 9085 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600237D")]
	[Address(RVA = "0xDB0E80", Offset = "0xDAFE80", VA = "0x180DB0E80")]
	public void PLAY_VFX()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600237E RID: 9086 RVA: 0x00055140 File Offset: 0x00053340
	[Token(Token = "0x600237E")]
	[Address(RVA = "0xDB1320", Offset = "0xDB0320", VA = "0x180DB1320")]
	public AnimationHelper()
	{
	}

	// Token: 0x04002CE4 RID: 11492
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002CE4")]
	public bool INFINITE_LOOP = true;

	// Token: 0x04002CE5 RID: 11493
	[FieldOffset(Offset = "0x1C")]
	[Token(Token = "0x4002CE5")]
	public float duration = 5.5f;

	// Token: 0x04002CE6 RID: 11494
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002CE6")]
	public bool DESTROY_ON_END = true;

	// Token: 0x04002CE7 RID: 11495
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4002CE7")]
	public GameObject[] main_particles;

	// Token: 0x04002CE8 RID: 11496
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4002CE8")]
	private float start_time = -100f;

	// Token: 0x04002CE9 RID: 11497
	[FieldOffset(Offset = "0x34")]
	[Token(Token = "0x4002CE9")]
	private bool GO = true;
}
