using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200016E RID: 366
[Token(Token = "0x200016E")]
public class StartUpEvent : PassiveEvent
{
	// Token: 0x0600120A RID: 4618 RVA: 0x000293F8 File Offset: 0x000275F8
	[Token(Token = "0x600120A")]
	[Address(RVA = "0xAB51B0", Offset = "0xAB3FB0", VA = "0x180AB51B0", Slot = "4")]
	protected override void Start()
	{
		base..ctor();
		BoxCollider bc = this.BC;
		int num = 0;
		if (!(bc == num))
		{
			this.BC.isTrigger = true;
			return;
		}
		Debug.LogError("找不到碰撞");
	}

	// Token: 0x0600120B RID: 4619 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600120B")]
	[Address(RVA = "0xAB4F80", Offset = "0xAB3D80", VA = "0x180AB4F80")]
	public void StartUp()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600120C RID: 4620 RVA: 0x0002943C File Offset: 0x0002763C
	[Token(Token = "0x600120C")]
	[Address(RVA = "0xAB4F20", Offset = "0xAB3D20", VA = "0x180AB4F20")]
	public void Close()
	{
		this.g_bClose = true;
		BoxCollider bc = this.BC;
		int num = 0;
		bc.enabled = num != 0;
	}

	// Token: 0x0600120D RID: 4621 RVA: 0x00029468 File Offset: 0x00027668
	[Token(Token = "0x600120D")]
	[Address(RVA = "0xAB4F50", Offset = "0xAB3D50", VA = "0x180AB4F50")]
	public void Reset()
	{
		this.g_bClose = false;
		this.BC.enabled = true;
	}

	// Token: 0x0600120E RID: 4622 RVA: 0x00029490 File Offset: 0x00027690
	[Token(Token = "0x600120E")]
	[Address(RVA = "0x3FBF80", Offset = "0x3FAD80", VA = "0x1803FBF80")]
	public StartUpEvent()
	{
	}

	// Token: 0x04001BE6 RID: 7142
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001BE6")]
	public BoxCollider BC;

	// Token: 0x04001BE7 RID: 7143
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001BE7")]
	public SceneEvent[] OpenEvent;

	// Token: 0x04001BE8 RID: 7144
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4001BE8")]
	public SceneEvent[] ReleaseEvent;

	// Token: 0x04001BE9 RID: 7145
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001BE9")]
	private bool g_bClose;
}
