using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020001F7 RID: 503
[Token(Token = "0x20001F7")]
public class Shake
{
	// Token: 0x0600140D RID: 5133 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600140D")]
	[Address(RVA = "0x11F1790", Offset = "0x11F0590", VA = "0x1811F1790")]
	public void Start(Transform ShakeObj, bool bOriginalPos = false)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600140E RID: 5134 RVA: 0x0002DB30 File Offset: 0x0002BD30
	[Token(Token = "0x600140E")]
	[Address(RVA = "0x11F16F0", Offset = "0x11F04F0", VA = "0x1811F16F0")]
	public void SetShake(Vector3 Direction, float fMagnitude, float fRoughness, float fFadeOutTime, float fFadeInTime = 0f, bool bLoop = false)
	{
		this.g_bRandom = false;
		Direction.Normalize();
		float z = Direction.z;
		this.g_v3SetDirection.z = z;
		this.g_fSetMagnitude = fMagnitude;
		this.g_fSetRoughness = fRoughness;
		this.g_bLoop = false;
		this.g_fFadeOutTime = (float)0;
		this.g_fSetFadeOutTime = (float)0;
		this.g_fFadeInTime = (float)0;
		this.g_fSetFadeInTime = (float)0;
	}

	// Token: 0x0600140F RID: 5135 RVA: 0x0002DB90 File Offset: 0x0002BD90
	[Token(Token = "0x600140F")]
	[Address(RVA = "0x11F1660", Offset = "0x11F0460", VA = "0x1811F1660")]
	public void SetRandomShake(float fMagnitude, float fRoughness, float fFadeOutTime, float fFadeInTime = 0f, bool bLoop = false)
	{
		int num = 0;
		this.g_bRandom = true;
		float num2 = UnityEngine.Random.Range((float)num, 3.1415927f);
		this.g_fRandom = num2;
		this.g_fSetMagnitude = fMagnitude;
		this.g_fSetRoughness = fRoughness;
		this.g_fFadeOutTime = fFadeOutTime;
		this.g_fSetFadeOutTime = fFadeOutTime;
		this.g_fFadeInTime = (float)0;
		this.g_fSetFadeInTime = (float)0;
		this.g_bLoop = false;
	}

	// Token: 0x06001410 RID: 5136 RVA: 0x0002DBEC File Offset: 0x0002BDEC
	[Token(Token = "0x6001410")]
	[Address(RVA = "0x11F1780", Offset = "0x11F0580", VA = "0x1811F1780")]
	public void SetStopLoop()
	{
		this.g_bLoop = false;
	}

	// Token: 0x06001411 RID: 5137 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001411")]
	[Address(RVA = "0x11F18C0", Offset = "0x11F06C0", VA = "0x1811F18C0")]
	public void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001412 RID: 5138 RVA: 0x0002DC00 File Offset: 0x0002BE00
	[Token(Token = "0x6001412")]
	[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
	public Shake()
	{
	}

	// Token: 0x04001F29 RID: 7977
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4001F29")]
	private Transform g_ShakeObj;

	// Token: 0x04001F2A RID: 7978
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4001F2A")]
	private Vector3 g_v3SetDirection;

	// Token: 0x04001F2B RID: 7979
	[FieldOffset(Offset = "0x24")]
	[Token(Token = "0x4001F2B")]
	private float g_fSetMagnitude;

	// Token: 0x04001F2C RID: 7980
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001F2C")]
	private float g_fSetRoughness;

	// Token: 0x04001F2D RID: 7981
	[FieldOffset(Offset = "0x2C")]
	[Token(Token = "0x4001F2D")]
	private float g_fSetFadeOutTime;

	// Token: 0x04001F2E RID: 7982
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4001F2E")]
	private float g_fSetFadeInTime;

	// Token: 0x04001F2F RID: 7983
	[FieldOffset(Offset = "0x34")]
	[Token(Token = "0x4001F2F")]
	private float g_fFadeOutTime;

	// Token: 0x04001F30 RID: 7984
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001F30")]
	private float g_fFadeInTime;

	// Token: 0x04001F31 RID: 7985
	[FieldOffset(Offset = "0x3C")]
	[Token(Token = "0x4001F31")]
	private bool g_bRandom;

	// Token: 0x04001F32 RID: 7986
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001F32")]
	private float g_fRandom;

	// Token: 0x04001F33 RID: 7987
	[FieldOffset(Offset = "0x44")]
	[Token(Token = "0x4001F33")]
	private bool g_bOriginalPos;

	// Token: 0x04001F34 RID: 7988
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4001F34")]
	private Vector3 g_v3OriginalPos;

	// Token: 0x04001F35 RID: 7989
	[FieldOffset(Offset = "0x54")]
	[Token(Token = "0x4001F35")]
	private bool g_bLoop;
}
