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

// Token: 0x02000151 RID: 337
[Serializable]
public class ScreenSettings : Object
{
	// Token: 0x06004125 RID: 16677 RVA: 0x00102E40 File Offset: 0x00101040
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 554994, RefRangeEnd = 554995, XrefRangeStart = 554983, XrefRangeEnd = 554994, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ScreenSettings SetDefault()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ScreenSettings.NativeMethodInfoPtr_SetDefault_Public_ScreenSettings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new ScreenSettings(intPtr3) : null;
	}

	// Token: 0x06004126 RID: 16678 RVA: 0x00102E98 File Offset: 0x00101098
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 554995, RefRangeEnd = 554997, XrefRangeStart = 554995, XrefRangeEnd = 554995, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe int GetFPSValue()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ScreenSettings.NativeMethodInfoPtr_GetFPSValue_Public_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06004127 RID: 16679 RVA: 0x00102EE8 File Offset: 0x001010E8
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 554997, RefRangeEnd = 555000, XrefRangeStart = 554997, XrefRangeEnd = 554997, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe float GetBrightnessValue()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ScreenSettings.NativeMethodInfoPtr_GetBrightnessValue_Public_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06004128 RID: 16680 RVA: 0x00102F38 File Offset: 0x00101138
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 555001, RefRangeEnd = 555002, XrefRangeStart = 555000, XrefRangeEnd = 555001, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ScreenSettings()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ScreenSettings.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004129 RID: 16681 RVA: 0x00102F84 File Offset: 0x00101184
	// Note: this type is marked as 'beforefieldinit'.
	static ScreenSettings()
	{
		Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ScreenSettings");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr);
		ScreenSettings.NativeFieldInfoPtr_fullScreen = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, "fullScreen");
		ScreenSettings.NativeFieldInfoPtr_resolutionSet = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, "resolutionSet");
		ScreenSettings.NativeFieldInfoPtr_vSync = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, "vSync");
		ScreenSettings.NativeFieldInfoPtr_fps = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, "fps");
		ScreenSettings.NativeFieldInfoPtr_qualitySet = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, "qualitySet");
		ScreenSettings.NativeFieldInfoPtr_depthOfField = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, "depthOfField");
		ScreenSettings.NativeFieldInfoPtr_bloomEffect = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, "bloomEffect");
		ScreenSettings.NativeFieldInfoPtr_brightnessSet = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, "brightnessSet");
		ScreenSettings.NativeMethodInfoPtr_SetDefault_Public_ScreenSettings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, 100667444);
		ScreenSettings.NativeMethodInfoPtr_GetFPSValue_Public_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, 100667445);
		ScreenSettings.NativeMethodInfoPtr_GetBrightnessValue_Public_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, 100667446);
		ScreenSettings.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ScreenSettings>.NativeClassPtr, 100667447);
	}

	// Token: 0x0600412A RID: 16682 RVA: 0x0000A74C File Offset: 0x0000894C
	public ScreenSettings(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170017CE RID: 6094
	// (get) Token: 0x0600412B RID: 16683 RVA: 0x001030A4 File Offset: 0x001012A4
	// (set) Token: 0x0600412C RID: 16684 RVA: 0x001030CC File Offset: 0x001012CC
	public unsafe bool fullScreen
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_fullScreen);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_fullScreen)) = value;
		}
	}

	// Token: 0x170017CF RID: 6095
	// (get) Token: 0x0600412D RID: 16685 RVA: 0x001030F0 File Offset: 0x001012F0
	// (set) Token: 0x0600412E RID: 16686 RVA: 0x00103118 File Offset: 0x00101318
	public unsafe int resolutionSet
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_resolutionSet);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_resolutionSet)) = value;
		}
	}

	// Token: 0x170017D0 RID: 6096
	// (get) Token: 0x0600412F RID: 16687 RVA: 0x0010313C File Offset: 0x0010133C
	// (set) Token: 0x06004130 RID: 16688 RVA: 0x00103164 File Offset: 0x00101364
	public unsafe bool vSync
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_vSync);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_vSync)) = value;
		}
	}

	// Token: 0x170017D1 RID: 6097
	// (get) Token: 0x06004131 RID: 16689 RVA: 0x00103188 File Offset: 0x00101388
	// (set) Token: 0x06004132 RID: 16690 RVA: 0x001031B0 File Offset: 0x001013B0
	public unsafe FPSLimitation fps
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_fps);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_fps)) = value;
		}
	}

	// Token: 0x170017D2 RID: 6098
	// (get) Token: 0x06004133 RID: 16691 RVA: 0x001031D4 File Offset: 0x001013D4
	// (set) Token: 0x06004134 RID: 16692 RVA: 0x001031FC File Offset: 0x001013FC
	public unsafe int qualitySet
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_qualitySet);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_qualitySet)) = value;
		}
	}

	// Token: 0x170017D3 RID: 6099
	// (get) Token: 0x06004135 RID: 16693 RVA: 0x00103220 File Offset: 0x00101420
	// (set) Token: 0x06004136 RID: 16694 RVA: 0x00103248 File Offset: 0x00101448
	public unsafe bool depthOfField
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_depthOfField);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_depthOfField)) = value;
		}
	}

	// Token: 0x170017D4 RID: 6100
	// (get) Token: 0x06004137 RID: 16695 RVA: 0x0010326C File Offset: 0x0010146C
	// (set) Token: 0x06004138 RID: 16696 RVA: 0x00103294 File Offset: 0x00101494
	public unsafe bool bloomEffect
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_bloomEffect);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_bloomEffect)) = value;
		}
	}

	// Token: 0x170017D5 RID: 6101
	// (get) Token: 0x06004139 RID: 16697 RVA: 0x001032B8 File Offset: 0x001014B8
	// (set) Token: 0x0600413A RID: 16698 RVA: 0x001032E0 File Offset: 0x001014E0
	public unsafe int brightnessSet
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_brightnessSet);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ScreenSettings.NativeFieldInfoPtr_brightnessSet)) = value;
		}
	}

	// Token: 0x04002AB4 RID: 10932
	private static readonly IntPtr NativeFieldInfoPtr_fullScreen;

	// Token: 0x04002AB5 RID: 10933
	private static readonly IntPtr NativeFieldInfoPtr_resolutionSet;

	// Token: 0x04002AB6 RID: 10934
	private static readonly IntPtr NativeFieldInfoPtr_vSync;

	// Token: 0x04002AB7 RID: 10935
	private static readonly IntPtr NativeFieldInfoPtr_fps;

	// Token: 0x04002AB8 RID: 10936
	private static readonly IntPtr NativeFieldInfoPtr_qualitySet;

	// Token: 0x04002AB9 RID: 10937
	private static readonly IntPtr NativeFieldInfoPtr_depthOfField;

	// Token: 0x04002ABA RID: 10938
	private static readonly IntPtr NativeFieldInfoPtr_bloomEffect;

	// Token: 0x04002ABB RID: 10939
	private static readonly IntPtr NativeFieldInfoPtr_brightnessSet;

	// Token: 0x04002ABC RID: 10940
	private static readonly IntPtr NativeMethodInfoPtr_SetDefault_Public_ScreenSettings_0;

	// Token: 0x04002ABD RID: 10941
	private static readonly IntPtr NativeMethodInfoPtr_GetFPSValue_Public_Int32_0;

	// Token: 0x04002ABE RID: 10942
	private static readonly IntPtr NativeMethodInfoPtr_GetBrightnessValue_Public_Single_0;

	// Token: 0x04002ABF RID: 10943
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
