using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000238 RID: 568
[Token(Token = "0x2000238")]
public class Shake
{
	// Token: 0x060015D6 RID: 5590 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60015D6")]
	[Address(RVA = "0x1792700", Offset = "0x1791700", VA = "0x181792700")]
	public void Start(Transform ShakeObj, bool bOriginalPos = false)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060015D7 RID: 5591 RVA: 0x00031808 File Offset: 0x0002FA08
	[Token(Token = "0x60015D7")]
	[Address(RVA = "0x1792660", Offset = "0x1791660", VA = "0x181792660")]
	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: 0x060015D8 RID: 5592 RVA: 0x00031868 File Offset: 0x0002FA68
	[Token(Token = "0x60015D8")]
	[Address(RVA = "0x17925D0", Offset = "0x17915D0", VA = "0x1817925D0")]
	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: 0x060015D9 RID: 5593 RVA: 0x000318C4 File Offset: 0x0002FAC4
	[Token(Token = "0x60015D9")]
	[Address(RVA = "0x17926F0", Offset = "0x17916F0", VA = "0x1817926F0")]
	public void SetStopLoop()
	{
		this.g_bLoop = false;
	}

	// Token: 0x060015DA RID: 5594 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60015DA")]
	[Address(RVA = "0x1792830", Offset = "0x1791830", VA = "0x181792830")]
	public void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060015DB RID: 5595 RVA: 0x000318D8 File Offset: 0x0002FAD8
	[Token(Token = "0x60015DB")]
	[Address(RVA = "0x36ABD0", Offset = "0x369BD0", VA = "0x18036ABD0")]
	public Shake()
	{
	}

	// Token: 0x0400210E RID: 8462
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x400210E")]
	private Transform g_ShakeObj;

	// Token: 0x0400210F RID: 8463
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400210F")]
	private Vector3 g_v3SetDirection;

	// Token: 0x04002110 RID: 8464
	[FieldOffset(Offset = "0x24")]
	[Token(Token = "0x4002110")]
	private float g_fSetMagnitude;

	// Token: 0x04002111 RID: 8465
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4002111")]
	private float g_fSetRoughness;

	// Token: 0x04002112 RID: 8466
	[FieldOffset(Offset = "0x2C")]
	[Token(Token = "0x4002112")]
	private float g_fSetFadeOutTime;

	// Token: 0x04002113 RID: 8467
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4002113")]
	private float g_fSetFadeInTime;

	// Token: 0x04002114 RID: 8468
	[FieldOffset(Offset = "0x34")]
	[Token(Token = "0x4002114")]
	private float g_fFadeOutTime;

	// Token: 0x04002115 RID: 8469
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4002115")]
	private float g_fFadeInTime;

	// Token: 0x04002116 RID: 8470
	[FieldOffset(Offset = "0x3C")]
	[Token(Token = "0x4002116")]
	private bool g_bRandom;

	// Token: 0x04002117 RID: 8471
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4002117")]
	private float g_fRandom;

	// Token: 0x04002118 RID: 8472
	[FieldOffset(Offset = "0x44")]
	[Token(Token = "0x4002118")]
	private bool g_bOriginalPos;

	// Token: 0x04002119 RID: 8473
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4002119")]
	private Vector3 g_v3OriginalPos;

	// Token: 0x0400211A RID: 8474
	[FieldOffset(Offset = "0x54")]
	[Token(Token = "0x400211A")]
	private bool g_bLoop;
}
