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

// Token: 0x02000126 RID: 294
[Serializable]
public class GameSettings : Object
{
	// Token: 0x06003DAE RID: 15790 RVA: 0x000F3E40 File Offset: 0x000F2040
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 529401, RefRangeEnd = 529402, XrefRangeStart = 529401, XrefRangeEnd = 529401, 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: 0x06003DAF RID: 15791 RVA: 0x000F3E98 File Offset: 0x000F2098
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 529402, XrefRangeEnd = 529403, 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: 0x06003DB0 RID: 15792 RVA: 0x000F3EE4 File Offset: 0x000F20E4
	// 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, 100667119);
		GameSettings.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameSettings>.NativeClassPtr, 100667120);
	}

	// Token: 0x06003DB1 RID: 15793 RVA: 0x0000A688 File Offset: 0x00008888
	public GameSettings(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170016D5 RID: 5845
	// (get) Token: 0x06003DB2 RID: 15794 RVA: 0x000F3FA0 File Offset: 0x000F21A0
	// (set) Token: 0x06003DB3 RID: 15795 RVA: 0x000F3FC8 File Offset: 0x000F21C8
	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: 0x170016D6 RID: 5846
	// (get) Token: 0x06003DB4 RID: 15796 RVA: 0x000F3FEC File Offset: 0x000F21EC
	// (set) Token: 0x06003DB5 RID: 15797 RVA: 0x000F4014 File Offset: 0x000F2214
	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: 0x170016D7 RID: 5847
	// (get) Token: 0x06003DB6 RID: 15798 RVA: 0x000F4038 File Offset: 0x000F2238
	// (set) Token: 0x06003DB7 RID: 15799 RVA: 0x000F4060 File Offset: 0x000F2260
	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: 0x170016D8 RID: 5848
	// (get) Token: 0x06003DB8 RID: 15800 RVA: 0x000F4084 File Offset: 0x000F2284
	// (set) Token: 0x06003DB9 RID: 15801 RVA: 0x000F40AC File Offset: 0x000F22AC
	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: 0x170016D9 RID: 5849
	// (get) Token: 0x06003DBA RID: 15802 RVA: 0x000F40D0 File Offset: 0x000F22D0
	// (set) Token: 0x06003DBB RID: 15803 RVA: 0x000F40F8 File Offset: 0x000F22F8
	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: 0x04002857 RID: 10327
	private static readonly IntPtr NativeFieldInfoPtr_cameraShake;

	// Token: 0x04002858 RID: 10328
	private static readonly IntPtr NativeFieldInfoPtr_hitStop;

	// Token: 0x04002859 RID: 10329
	private static readonly IntPtr NativeFieldInfoPtr_gamepadVibration;

	// Token: 0x0400285A RID: 10330
	private static readonly IntPtr NativeFieldInfoPtr_language;

	// Token: 0x0400285B RID: 10331
	private static readonly IntPtr NativeFieldInfoPtr_holdDashing;

	// Token: 0x0400285C RID: 10332
	private static readonly IntPtr NativeMethodInfoPtr_SetDefault_Public_GameSettings_0;

	// Token: 0x0400285D RID: 10333
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
