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

// Token: 0x02000152 RID: 338
[Serializable]
public class VolumeSettings : Object
{
	// Token: 0x0600413B RID: 16699 RVA: 0x00103304 File Offset: 0x00101504
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 555002, RefRangeEnd = 555003, XrefRangeStart = 555002, XrefRangeEnd = 555002, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe VolumeSettings SetDefault()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeSettings.NativeMethodInfoPtr_SetDefault_Public_VolumeSettings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new VolumeSettings(intPtr3) : null;
	}

	// Token: 0x0600413C RID: 16700 RVA: 0x0010335C File Offset: 0x0010155C
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 555003, RefRangeEnd = 555008, XrefRangeStart = 555003, XrefRangeEnd = 555003, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe float GetWholeVolume()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeSettings.NativeMethodInfoPtr_GetWholeVolume_Public_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x0600413D RID: 16701 RVA: 0x001033AC File Offset: 0x001015AC
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 555008, RefRangeEnd = 555010, XrefRangeStart = 555008, XrefRangeEnd = 555008, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe float GetAmbienceVolume()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeSettings.NativeMethodInfoPtr_GetAmbienceVolume_Public_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x0600413E RID: 16702 RVA: 0x001033FC File Offset: 0x001015FC
	[CallerCount(7)]
	[CachedScanResults(RefRangeStart = 555010, RefRangeEnd = 555017, XrefRangeStart = 555010, XrefRangeEnd = 555010, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe float GetSoundEffectVolume()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeSettings.NativeMethodInfoPtr_GetSoundEffectVolume_Public_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x0600413F RID: 16703 RVA: 0x0010344C File Offset: 0x0010164C
	[CallerCount(9)]
	[CachedScanResults(RefRangeStart = 555017, RefRangeEnd = 555026, XrefRangeStart = 555017, XrefRangeEnd = 555017, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe float GetVoiceVolume()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeSettings.NativeMethodInfoPtr_GetVoiceVolume_Public_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06004140 RID: 16704 RVA: 0x0010349C File Offset: 0x0010169C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 555027, RefRangeEnd = 555028, XrefRangeStart = 555026, XrefRangeEnd = 555027, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe VolumeSettings()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeSettings.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004141 RID: 16705 RVA: 0x001034E8 File Offset: 0x001016E8
	// Note: this type is marked as 'beforefieldinit'.
	static VolumeSettings()
	{
		Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "VolumeSettings");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr);
		VolumeSettings.NativeFieldInfoPtr_wholeVolume = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, "wholeVolume");
		VolumeSettings.NativeFieldInfoPtr_ambienceVolume = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, "ambienceVolume");
		VolumeSettings.NativeFieldInfoPtr_sfxVolume = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, "sfxVolume");
		VolumeSettings.NativeFieldInfoPtr_voiceVolume = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, "voiceVolume");
		VolumeSettings.NativeMethodInfoPtr_SetDefault_Public_VolumeSettings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667448);
		VolumeSettings.NativeMethodInfoPtr_GetWholeVolume_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667449);
		VolumeSettings.NativeMethodInfoPtr_GetAmbienceVolume_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667450);
		VolumeSettings.NativeMethodInfoPtr_GetSoundEffectVolume_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667451);
		VolumeSettings.NativeMethodInfoPtr_GetVoiceVolume_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667452);
		VolumeSettings.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667453);
	}

	// Token: 0x06004142 RID: 16706 RVA: 0x0000A74C File Offset: 0x0000894C
	public VolumeSettings(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170017D6 RID: 6102
	// (get) Token: 0x06004143 RID: 16707 RVA: 0x001035E0 File Offset: 0x001017E0
	// (set) Token: 0x06004144 RID: 16708 RVA: 0x00103608 File Offset: 0x00101808
	public unsafe int wholeVolume
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeSettings.NativeFieldInfoPtr_wholeVolume);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeSettings.NativeFieldInfoPtr_wholeVolume)) = value;
		}
	}

	// Token: 0x170017D7 RID: 6103
	// (get) Token: 0x06004145 RID: 16709 RVA: 0x0010362C File Offset: 0x0010182C
	// (set) Token: 0x06004146 RID: 16710 RVA: 0x00103654 File Offset: 0x00101854
	public unsafe int ambienceVolume
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeSettings.NativeFieldInfoPtr_ambienceVolume);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeSettings.NativeFieldInfoPtr_ambienceVolume)) = value;
		}
	}

	// Token: 0x170017D8 RID: 6104
	// (get) Token: 0x06004147 RID: 16711 RVA: 0x00103678 File Offset: 0x00101878
	// (set) Token: 0x06004148 RID: 16712 RVA: 0x001036A0 File Offset: 0x001018A0
	public unsafe int sfxVolume
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeSettings.NativeFieldInfoPtr_sfxVolume);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeSettings.NativeFieldInfoPtr_sfxVolume)) = value;
		}
	}

	// Token: 0x170017D9 RID: 6105
	// (get) Token: 0x06004149 RID: 16713 RVA: 0x001036C4 File Offset: 0x001018C4
	// (set) Token: 0x0600414A RID: 16714 RVA: 0x001036EC File Offset: 0x001018EC
	public unsafe int voiceVolume
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeSettings.NativeFieldInfoPtr_voiceVolume);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeSettings.NativeFieldInfoPtr_voiceVolume)) = value;
		}
	}

	// Token: 0x04002AC0 RID: 10944
	private static readonly IntPtr NativeFieldInfoPtr_wholeVolume;

	// Token: 0x04002AC1 RID: 10945
	private static readonly IntPtr NativeFieldInfoPtr_ambienceVolume;

	// Token: 0x04002AC2 RID: 10946
	private static readonly IntPtr NativeFieldInfoPtr_sfxVolume;

	// Token: 0x04002AC3 RID: 10947
	private static readonly IntPtr NativeFieldInfoPtr_voiceVolume;

	// Token: 0x04002AC4 RID: 10948
	private static readonly IntPtr NativeMethodInfoPtr_SetDefault_Public_VolumeSettings_0;

	// Token: 0x04002AC5 RID: 10949
	private static readonly IntPtr NativeMethodInfoPtr_GetWholeVolume_Public_Single_0;

	// Token: 0x04002AC6 RID: 10950
	private static readonly IntPtr NativeMethodInfoPtr_GetAmbienceVolume_Public_Single_0;

	// Token: 0x04002AC7 RID: 10951
	private static readonly IntPtr NativeMethodInfoPtr_GetSoundEffectVolume_Public_Single_0;

	// Token: 0x04002AC8 RID: 10952
	private static readonly IntPtr NativeMethodInfoPtr_GetVoiceVolume_Public_Single_0;

	// Token: 0x04002AC9 RID: 10953
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
