using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200016A RID: 362
[Token(Token = "0x200016A")]
public class PassiveEvent : MonoBehaviour
{
	// Token: 0x060011FE RID: 4606 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60011FE")]
	[Address(RVA = "0x297F00", Offset = "0x296D00", VA = "0x180297F00", Slot = "4")]
	protected virtual void Start()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060011FF RID: 4607 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60011FF")]
	[Address(RVA = "0x297F00", Offset = "0x296D00", VA = "0x180297F00", Slot = "5")]
	public virtual void Init()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001200 RID: 4608 RVA: 0x00029344 File Offset: 0x00027544
	[Token(Token = "0x6001200")]
	[Address(RVA = "0x30FAD0", Offset = "0x30E8D0", VA = "0x18030FAD0", Slot = "6")]
	protected virtual void Update()
	{
		float playerDeltaTime = Game.GetPlayerDeltaTime();
		this.g_fDeltaTime = playerDeltaTime;
	}

	// Token: 0x06001201 RID: 4609 RVA: 0x00029360 File Offset: 0x00027560
	[Token(Token = "0x6001201")]
	[Address(RVA = "0x296740", Offset = "0x295540", VA = "0x180296740")]
	public PassiveEvent.PassiveEventType GetEventType()
	{
		return this.EventType;
	}

	// Token: 0x06001202 RID: 4610 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001202")]
	[Address(RVA = "0x297F00", Offset = "0x296D00", VA = "0x180297F00", Slot = "7")]
	public virtual void SetTimeScale(float fScaleTime)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001203 RID: 4611 RVA: 0x00029374 File Offset: 0x00027574
	[Token(Token = "0x6001203")]
	[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
	public PassiveEvent()
	{
	}

	// Token: 0x04001BD3 RID: 7123
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4001BD3")]
	public PassiveEvent.PassiveEventType EventType;

	// Token: 0x04001BD4 RID: 7124
	[FieldOffset(Offset = "0x1C")]
	[Token(Token = "0x4001BD4")]
	protected float g_fDeltaTime;

	// Token: 0x0200016B RID: 363
	[Token(Token = "0x200016B")]
	public enum PassiveEventType
	{
		// Token: 0x04001BD6 RID: 7126
		[Token(Token = "0x4001BD6")]
		Null,
		// Token: 0x04001BD7 RID: 7127
		[Token(Token = "0x4001BD7")]
		Item,
		// Token: 0x04001BD8 RID: 7128
		[Token(Token = "0x4001BD8")]
		SavePoint,
		// Token: 0x04001BD9 RID: 7129
		[Token(Token = "0x4001BD9")]
		Prompt,
		// Token: 0x04001BDA RID: 7130
		[Token(Token = "0x4001BDA")]
		OnLight,
		// Token: 0x04001BDB RID: 7131
		[Token(Token = "0x4001BDB")]
		Dialogue,
		// Token: 0x04001BDC RID: 7132
		[Token(Token = "0x4001BDC")]
		DoorSwitch,
		// Token: 0x04001BDD RID: 7133
		[Token(Token = "0x4001BDD")]
		Exit,
		// Token: 0x04001BDE RID: 7134
		[Token(Token = "0x4001BDE")]
		Teleport,
		// Token: 0x04001BDF RID: 7135
		[Token(Token = "0x4001BDF")]
		StartUpEvent,
		// Token: 0x04001BE0 RID: 7136
		[Token(Token = "0x4001BE0")]
		LightBall
	}
}
