using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

// Token: 0x02000140 RID: 320
public class GameAudioManager : MonoBehaviour
{
	// Token: 0x06004002 RID: 16386 RVA: 0x000FE2D4 File Offset: 0x000FC4D4
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 553764, RefRangeEnd = 553766, XrefRangeStart = 553732, XrefRangeEnd = 553764, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameAudioManager.NativeMethodInfoPtr_Init_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004003 RID: 16387 RVA: 0x000FE318 File Offset: 0x000FC518
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553766, XrefRangeEnd = 553770, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateVolumeSettings(VolumeSettings settings)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(settings);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameAudioManager.NativeMethodInfoPtr_UpdateVolumeSettings_Private_Void_VolumeSettings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004004 RID: 16388 RVA: 0x000FE374 File Offset: 0x000FC574
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553770, XrefRangeEnd = 553776, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void PlayCanvasSE(UICanvasSFX effect)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref effect;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameAudioManager.NativeMethodInfoPtr_PlayCanvasSE_Public_Void_UICanvasSFX_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004005 RID: 16389 RVA: 0x000FE3C8 File Offset: 0x000FC5C8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553776, XrefRangeEnd = 553777, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void PlayHandlerSE(UIHandlerSFX effect)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref effect;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameAudioManager.NativeMethodInfoPtr_PlayHandlerSE_Public_Void_UIHandlerSFX_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004006 RID: 16390 RVA: 0x000FE41C File Offset: 0x000FC61C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553777, XrefRangeEnd = 553779, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void PlayStandardHandlerSE(UIHandlerSFX effect)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref effect;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameAudioManager.NativeMethodInfoPtr_PlayStandardHandlerSE_Private_Void_UIHandlerSFX_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004007 RID: 16391 RVA: 0x000FE470 File Offset: 0x000FC670
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553779, XrefRangeEnd = 553780, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void PlayVoiceHandlerSE()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameAudioManager.NativeMethodInfoPtr_PlayVoiceHandlerSE_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004008 RID: 16392 RVA: 0x000FE4B4 File Offset: 0x000FC6B4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553780, XrefRangeEnd = 553783, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void PlayUpgradeSE()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameAudioManager.NativeMethodInfoPtr_PlayUpgradeSE_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004009 RID: 16393 RVA: 0x000FE4F8 File Offset: 0x000FC6F8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553783, XrefRangeEnd = 553785, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void FadeOutUpgradeSE()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameAudioManager.NativeMethodInfoPtr_FadeOutUpgradeSE_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600400A RID: 16394 RVA: 0x000FE53C File Offset: 0x000FC73C
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameAudioManager()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameAudioManager.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600400B RID: 16395 RVA: 0x000FE588 File Offset: 0x000FC788
	// Note: this type is marked as 'beforefieldinit'.
	static GameAudioManager()
	{
		Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "GameAudioManager");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr);
		GameAudioManager.NativeFieldInfoPtr_standardSEVolume = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, "standardSEVolume");
		GameAudioManager.NativeFieldInfoPtr_vocalSEVolume = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, "vocalSEVolume");
		GameAudioManager.NativeFieldInfoPtr_sfxPlayer = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, "sfxPlayer");
		GameAudioManager.NativeFieldInfoPtr_uiCanvasPack = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, "uiCanvasPack");
		GameAudioManager.NativeFieldInfoPtr_uiHandlerPack = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, "uiHandlerPack");
		GameAudioManager.NativeFieldInfoPtr_upgradeSound = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, "upgradeSound");
		GameAudioManager.NativeMethodInfoPtr_Init_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, 100667342);
		GameAudioManager.NativeMethodInfoPtr_UpdateVolumeSettings_Private_Void_VolumeSettings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, 100667343);
		GameAudioManager.NativeMethodInfoPtr_PlayCanvasSE_Public_Void_UICanvasSFX_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, 100667344);
		GameAudioManager.NativeMethodInfoPtr_PlayHandlerSE_Public_Void_UIHandlerSFX_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, 100667345);
		GameAudioManager.NativeMethodInfoPtr_PlayStandardHandlerSE_Private_Void_UIHandlerSFX_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, 100667346);
		GameAudioManager.NativeMethodInfoPtr_PlayVoiceHandlerSE_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, 100667347);
		GameAudioManager.NativeMethodInfoPtr_PlayUpgradeSE_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, 100667348);
		GameAudioManager.NativeMethodInfoPtr_FadeOutUpgradeSE_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, 100667349);
		GameAudioManager.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameAudioManager>.NativeClassPtr, 100667350);
	}

	// Token: 0x0600400C RID: 16396 RVA: 0x0000351C File Offset: 0x0000171C
	public GameAudioManager(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001776 RID: 6006
	// (get) Token: 0x0600400D RID: 16397 RVA: 0x000FE6E4 File Offset: 0x000FC8E4
	// (set) Token: 0x0600400E RID: 16398 RVA: 0x000FE70C File Offset: 0x000FC90C
	public unsafe float standardSEVolume
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_standardSEVolume);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_standardSEVolume)) = value;
		}
	}

	// Token: 0x17001777 RID: 6007
	// (get) Token: 0x0600400F RID: 16399 RVA: 0x000FE730 File Offset: 0x000FC930
	// (set) Token: 0x06004010 RID: 16400 RVA: 0x000FE758 File Offset: 0x000FC958
	public unsafe float vocalSEVolume
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_vocalSEVolume);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_vocalSEVolume)) = value;
		}
	}

	// Token: 0x17001778 RID: 6008
	// (get) Token: 0x06004011 RID: 16401 RVA: 0x000FE77C File Offset: 0x000FC97C
	// (set) Token: 0x06004012 RID: 16402 RVA: 0x000FE7B0 File Offset: 0x000FC9B0
	public unsafe AudioSource sfxPlayer
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_sfxPlayer);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new AudioSource(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_sfxPlayer), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001779 RID: 6009
	// (get) Token: 0x06004013 RID: 16403 RVA: 0x000FE7D8 File Offset: 0x000FC9D8
	// (set) Token: 0x06004014 RID: 16404 RVA: 0x000FE80C File Offset: 0x000FCA0C
	public unsafe GameAudioPackage uiCanvasPack
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_uiCanvasPack);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameAudioPackage(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_uiCanvasPack), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700177A RID: 6010
	// (get) Token: 0x06004015 RID: 16405 RVA: 0x000FE834 File Offset: 0x000FCA34
	// (set) Token: 0x06004016 RID: 16406 RVA: 0x000FE868 File Offset: 0x000FCA68
	public unsafe GameAudioPackage uiHandlerPack
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_uiHandlerPack);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameAudioPackage(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_uiHandlerPack), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700177B RID: 6011
	// (get) Token: 0x06004017 RID: 16407 RVA: 0x000FE890 File Offset: 0x000FCA90
	// (set) Token: 0x06004018 RID: 16408 RVA: 0x000FE8C4 File Offset: 0x000FCAC4
	public unsafe AudioClip upgradeSound
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_upgradeSound);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new AudioClip(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameAudioManager.NativeFieldInfoPtr_upgradeSound), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040029F6 RID: 10742
	private static readonly IntPtr NativeFieldInfoPtr_standardSEVolume;

	// Token: 0x040029F7 RID: 10743
	private static readonly IntPtr NativeFieldInfoPtr_vocalSEVolume;

	// Token: 0x040029F8 RID: 10744
	private static readonly IntPtr NativeFieldInfoPtr_sfxPlayer;

	// Token: 0x040029F9 RID: 10745
	private static readonly IntPtr NativeFieldInfoPtr_uiCanvasPack;

	// Token: 0x040029FA RID: 10746
	private static readonly IntPtr NativeFieldInfoPtr_uiHandlerPack;

	// Token: 0x040029FB RID: 10747
	private static readonly IntPtr NativeFieldInfoPtr_upgradeSound;

	// Token: 0x040029FC RID: 10748
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x040029FD RID: 10749
	private static readonly IntPtr NativeMethodInfoPtr_UpdateVolumeSettings_Private_Void_VolumeSettings_0;

	// Token: 0x040029FE RID: 10750
	private static readonly IntPtr NativeMethodInfoPtr_PlayCanvasSE_Public_Void_UICanvasSFX_0;

	// Token: 0x040029FF RID: 10751
	private static readonly IntPtr NativeMethodInfoPtr_PlayHandlerSE_Public_Void_UIHandlerSFX_0;

	// Token: 0x04002A00 RID: 10752
	private static readonly IntPtr NativeMethodInfoPtr_PlayStandardHandlerSE_Private_Void_UIHandlerSFX_0;

	// Token: 0x04002A01 RID: 10753
	private static readonly IntPtr NativeMethodInfoPtr_PlayVoiceHandlerSE_Private_Void_0;

	// Token: 0x04002A02 RID: 10754
	private static readonly IntPtr NativeMethodInfoPtr_PlayUpgradeSE_Public_Void_0;

	// Token: 0x04002A03 RID: 10755
	private static readonly IntPtr NativeMethodInfoPtr_FadeOutUpgradeSE_Public_Void_0;

	// Token: 0x04002A04 RID: 10756
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
