using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020001E8 RID: 488
[Token(Token = "0x20001E8")]
public class MultipleEventOpen : SceneEvent
{
	// Token: 0x060014B0 RID: 5296 RVA: 0x0002F3AC File Offset: 0x0002D5AC
	[Token(Token = "0x60014B0")]
	[Address(RVA = "0xC3C740", Offset = "0xC3B740", VA = "0x180C3C740", Slot = "4")]
	public override void InitData(SceneEventManager SEM)
	{
		base.InitData(SEM);
		SceneEvent[] openMultipleEvent = this.OpenMultipleEvent;
		int length = this.DeltaTime.Length;
		if (openMultipleEvent.Length == length)
		{
			float[] array = new float[length];
			this.g_fTime = array;
			float[] deltaTime = this.DeltaTime;
			int num = 0;
			if (num >= deltaTime.Length)
			{
				return;
			}
			float[] array2 = this.g_fTime;
			num++;
			array2[0] = (float)num;
			float[] deltaTime2 = this.DeltaTime;
		}
		Debug.LogError(base.name + " : 事件與延遲數量不一致");
	}

	// Token: 0x060014B1 RID: 5297 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60014B1")]
	[Address(RVA = "0xC3C8F0", Offset = "0xC3B8F0", VA = "0x180C3C8F0")]
	protected void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060014B2 RID: 5298 RVA: 0x0002F43C File Offset: 0x0002D63C
	[Token(Token = "0x60014B2")]
	[Address(RVA = "0xC3C880", Offset = "0xC3B880", VA = "0x180C3C880", Slot = "12")]
	public override void ResetEvent()
	{
		base.ResetEvent();
		float[] deltaTime = this.DeltaTime;
		int num = 0;
		this.g_AllOpen = false;
		if (num < deltaTime.Length)
		{
			float[] array = this.g_fTime;
			num++;
			array[0] = (float)num;
			float[] deltaTime2 = this.DeltaTime;
		}
	}

	// Token: 0x060014B3 RID: 5299 RVA: 0x0002F488 File Offset: 0x0002D688
	[Token(Token = "0x60014B3")]
	[Address(RVA = "0x32DFD0", Offset = "0x32CFD0", VA = "0x18032DFD0")]
	public MultipleEventOpen()
	{
	}

	// Token: 0x04001F6F RID: 8047
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001F6F")]
	public SceneEvent[] OpenMultipleEvent;

	// Token: 0x04001F70 RID: 8048
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001F70")]
	public float[] DeltaTime;

	// Token: 0x04001F71 RID: 8049
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4001F71")]
	private float[] g_fTime;

	// Token: 0x04001F72 RID: 8050
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4001F72")]
	private bool g_AllOpen;
}
