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

// Token: 0x02000128 RID: 296
[Serializable]
public class VolumeSettings : Object
{
	// Token: 0x06003DD2 RID: 15826 RVA: 0x000F45E0 File Offset: 0x000F27E0
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 529422, RefRangeEnd = 529423, XrefRangeStart = 529422, XrefRangeEnd = 529422, 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: 0x06003DD3 RID: 15827 RVA: 0x000F4638 File Offset: 0x000F2838
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 529423, RefRangeEnd = 529428, XrefRangeStart = 529423, XrefRangeEnd = 529423, 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: 0x06003DD4 RID: 15828 RVA: 0x000F4688 File Offset: 0x000F2888
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 529428, RefRangeEnd = 529430, XrefRangeStart = 529428, XrefRangeEnd = 529428, 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: 0x06003DD5 RID: 15829 RVA: 0x000F46D8 File Offset: 0x000F28D8
	[CallerCount(7)]
	[CachedScanResults(RefRangeStart = 529430, RefRangeEnd = 529437, XrefRangeStart = 529430, XrefRangeEnd = 529430, 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: 0x06003DD6 RID: 15830 RVA: 0x000F4728 File Offset: 0x000F2928
	[CallerCount(9)]
	[CachedScanResults(RefRangeStart = 529437, RefRangeEnd = 529446, XrefRangeStart = 529437, XrefRangeEnd = 529437, 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: 0x06003DD7 RID: 15831 RVA: 0x000F4778 File Offset: 0x000F2978
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 529447, RefRangeEnd = 529448, XrefRangeStart = 529446, XrefRangeEnd = 529447, 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: 0x06003DD8 RID: 15832 RVA: 0x000F47C4 File Offset: 0x000F29C4
	// 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, 100667125);
		VolumeSettings.NativeMethodInfoPtr_GetWholeVolume_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667126);
		VolumeSettings.NativeMethodInfoPtr_GetAmbienceVolume_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667127);
		VolumeSettings.NativeMethodInfoPtr_GetSoundEffectVolume_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667128);
		VolumeSettings.NativeMethodInfoPtr_GetVoiceVolume_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667129);
		VolumeSettings.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeSettings>.NativeClassPtr, 100667130);
	}

	// Token: 0x06003DD9 RID: 15833 RVA: 0x0000A688 File Offset: 0x00008888
	public VolumeSettings(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170016E2 RID: 5858
	// (get) Token: 0x06003DDA RID: 15834 RVA: 0x000F48BC File Offset: 0x000F2ABC
	// (set) Token: 0x06003DDB RID: 15835 RVA: 0x000F48E4 File Offset: 0x000F2AE4
	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: 0x170016E3 RID: 5859
	// (get) Token: 0x06003DDC RID: 15836 RVA: 0x000F4908 File Offset: 0x000F2B08
	// (set) Token: 0x06003DDD RID: 15837 RVA: 0x000F4930 File Offset: 0x000F2B30
	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: 0x170016E4 RID: 5860
	// (get) Token: 0x06003DDE RID: 15838 RVA: 0x000F4954 File Offset: 0x000F2B54
	// (set) Token: 0x06003DDF RID: 15839 RVA: 0x000F497C File Offset: 0x000F2B7C
	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: 0x170016E5 RID: 5861
	// (get) Token: 0x06003DE0 RID: 15840 RVA: 0x000F49A0 File Offset: 0x000F2BA0
	// (set) Token: 0x06003DE1 RID: 15841 RVA: 0x000F49C8 File Offset: 0x000F2BC8
	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: 0x0400286A RID: 10346
	private static readonly IntPtr NativeFieldInfoPtr_wholeVolume;

	// Token: 0x0400286B RID: 10347
	private static readonly IntPtr NativeFieldInfoPtr_ambienceVolume;

	// Token: 0x0400286C RID: 10348
	private static readonly IntPtr NativeFieldInfoPtr_sfxVolume;

	// Token: 0x0400286D RID: 10349
	private static readonly IntPtr NativeFieldInfoPtr_voiceVolume;

	// Token: 0x0400286E RID: 10350
	private static readonly IntPtr NativeMethodInfoPtr_SetDefault_Public_VolumeSettings_0;

	// Token: 0x0400286F RID: 10351
	private static readonly IntPtr NativeMethodInfoPtr_GetWholeVolume_Public_Single_0;

	// Token: 0x04002870 RID: 10352
	private static readonly IntPtr NativeMethodInfoPtr_GetAmbienceVolume_Public_Single_0;

	// Token: 0x04002871 RID: 10353
	private static readonly IntPtr NativeMethodInfoPtr_GetSoundEffectVolume_Public_Single_0;

	// Token: 0x04002872 RID: 10354
	private static readonly IntPtr NativeMethodInfoPtr_GetVoiceVolume_Public_Single_0;

	// Token: 0x04002873 RID: 10355
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
