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

// Token: 0x02000150 RID: 336
[Serializable]
public class GameSettings : Object
{
	// Token: 0x06004117 RID: 16663 RVA: 0x00102B64 File Offset: 0x00100D64
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 554980, RefRangeEnd = 554981, XrefRangeStart = 554980, XrefRangeEnd = 554980, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameSettings SetDefault()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameSettings.NativeMethodInfoPtr_SetDefault_Public_GameSettings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new GameSettings(intPtr3) : null;
	}

	// Token: 0x06004118 RID: 16664 RVA: 0x00102BBC File Offset: 0x00100DBC
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 554982, RefRangeEnd = 554983, XrefRangeStart = 554981, XrefRangeEnd = 554982, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameSettings()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameSettings>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameSettings.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004119 RID: 16665 RVA: 0x00102C08 File Offset: 0x00100E08
	// Note: this type is marked as 'beforefieldinit'.
	static GameSettings()
	{
		Il2CppClassPointerStore<GameSettings>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "GameSettings");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameSettings>.NativeClassPtr);
		GameSettings.NativeFieldInfoPtr_cameraShake = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameSettings>.NativeClassPtr, "cameraShake");
		GameSettings.NativeFieldInfoPtr_hitStop = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameSettings>.NativeClassPtr, "hitStop");
		GameSettings.NativeFieldInfoPtr_gamepadVibration = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameSettings>.NativeClassPtr, "gamepadVibration");
		GameSettings.NativeFieldInfoPtr_language = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameSettings>.NativeClassPtr, "language");
		GameSettings.NativeFieldInfoPtr_holdDashing = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameSettings>.NativeClassPtr, "holdDashing");
		GameSettings.NativeMethodInfoPtr_SetDefault_Public_GameSettings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameSettings>.NativeClassPtr, 100667442);
		GameSettings.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameSettings>.NativeClassPtr, 100667443);
	}

	// Token: 0x0600411A RID: 16666 RVA: 0x0000A74C File Offset: 0x0000894C
	public GameSettings(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170017C9 RID: 6089
	// (get) Token: 0x0600411B RID: 16667 RVA: 0x00102CC4 File Offset: 0x00100EC4
	// (set) Token: 0x0600411C RID: 16668 RVA: 0x00102CEC File Offset: 0x00100EEC
	public unsafe int cameraShake
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_cameraShake);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_cameraShake)) = value;
		}
	}

	// Token: 0x170017CA RID: 6090
	// (get) Token: 0x0600411D RID: 16669 RVA: 0x00102D10 File Offset: 0x00100F10
	// (set) Token: 0x0600411E RID: 16670 RVA: 0x00102D38 File Offset: 0x00100F38
	public unsafe bool hitStop
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_hitStop);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_hitStop)) = value;
		}
	}

	// Token: 0x170017CB RID: 6091
	// (get) Token: 0x0600411F RID: 16671 RVA: 0x00102D5C File Offset: 0x00100F5C
	// (set) Token: 0x06004120 RID: 16672 RVA: 0x00102D84 File Offset: 0x00100F84
	public unsafe bool gamepadVibration
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_gamepadVibration);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_gamepadVibration)) = value;
		}
	}

	// Token: 0x170017CC RID: 6092
	// (get) Token: 0x06004121 RID: 16673 RVA: 0x00102DA8 File Offset: 0x00100FA8
	// (set) Token: 0x06004122 RID: 16674 RVA: 0x00102DD0 File Offset: 0x00100FD0
	public unsafe GameLanguage language
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_language);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_language)) = value;
		}
	}

	// Token: 0x170017CD RID: 6093
	// (get) Token: 0x06004123 RID: 16675 RVA: 0x00102DF4 File Offset: 0x00100FF4
	// (set) Token: 0x06004124 RID: 16676 RVA: 0x00102E1C File Offset: 0x0010101C
	public unsafe bool holdDashing
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_holdDashing);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSettings.NativeFieldInfoPtr_holdDashing)) = value;
		}
	}

	// Token: 0x04002AAD RID: 10925
	private static readonly IntPtr NativeFieldInfoPtr_cameraShake;

	// Token: 0x04002AAE RID: 10926
	private static readonly IntPtr NativeFieldInfoPtr_hitStop;

	// Token: 0x04002AAF RID: 10927
	private static readonly IntPtr NativeFieldInfoPtr_gamepadVibration;

	// Token: 0x04002AB0 RID: 10928
	private static readonly IntPtr NativeFieldInfoPtr_language;

	// Token: 0x04002AB1 RID: 10929
	private static readonly IntPtr NativeFieldInfoPtr_holdDashing;

	// Token: 0x04002AB2 RID: 10930
	private static readonly IntPtr NativeMethodInfoPtr_SetDefault_Public_GameSettings_0;

	// Token: 0x04002AB3 RID: 10931
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
