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

namespace AmplifyColor
{
	// Token: 0x02000638 RID: 1592
	[Serializable]
	public class VersionInfo : Object
	{
		// Token: 0x0600A1DC RID: 41436 RVA: 0x002996DC File Offset: 0x002978DC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626433, XrefRangeEnd = 626448, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe static string StaticToString()
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VersionInfo.NativeMethodInfoPtr_StaticToString_Public_Static_String_0, 0, (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return IL2CPP.Il2CppStringToManaged(intPtr);
		}

		// Token: 0x0600A1DD RID: 41437 RVA: 0x00299718 File Offset: 0x00297918
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626448, XrefRangeEnd = 626463, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override string ToString()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), VersionInfo.NativeMethodInfoPtr_ToString_Public_Virtual_String_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return IL2CPP.Il2CppStringToManaged(intPtr);
		}

		// Token: 0x170036D0 RID: 14032
		// (get) Token: 0x0600A1DE RID: 41438 RVA: 0x00299770 File Offset: 0x00297970
		public unsafe int Number
		{
			[CallerCount(0)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VersionInfo.NativeMethodInfoPtr_get_Number_Public_get_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x0600A1DF RID: 41439 RVA: 0x002997C0 File Offset: 0x002979C0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626463, XrefRangeEnd = 626464, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe VersionInfo()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VersionInfo.NativeMethodInfoPtr__ctor_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600A1E0 RID: 41440 RVA: 0x0029980C File Offset: 0x00297A0C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626464, XrefRangeEnd = 626465, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe VersionInfo(byte major, byte minor, byte release)
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr))
		{
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref major;
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref minor;
			ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref release;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VersionInfo.NativeMethodInfoPtr__ctor_Private_Void_Byte_Byte_Byte_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600A1E1 RID: 41441 RVA: 0x00299890 File Offset: 0x00297A90
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626465, XrefRangeEnd = 626469, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe static VersionInfo Current()
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VersionInfo.NativeMethodInfoPtr_Current_Public_Static_VersionInfo_0, 0, (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new VersionInfo(intPtr3) : null;
		}

		// Token: 0x0600A1E2 RID: 41442 RVA: 0x002998D8 File Offset: 0x00297AD8
		[CallerCount(0)]
		public unsafe static bool Matches(VersionInfo version)
		{
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(version);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VersionInfo.NativeMethodInfoPtr_Matches_Public_Static_Boolean_VersionInfo_0, 0, (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x0600A1E3 RID: 41443 RVA: 0x00299930 File Offset: 0x00297B30
		// Note: this type is marked as 'beforefieldinit'.
		static VersionInfo()
		{
			Il2CppClassPointerStore<VersionInfo>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "AmplifyColor", "VersionInfo");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr);
			VersionInfo.NativeFieldInfoPtr_Major = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, "Major");
			VersionInfo.NativeFieldInfoPtr_Minor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, "Minor");
			VersionInfo.NativeFieldInfoPtr_Release = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, "Release");
			VersionInfo.NativeFieldInfoPtr_StageSuffix = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, "StageSuffix");
			VersionInfo.NativeFieldInfoPtr_TrialSuffix = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, "TrialSuffix");
			VersionInfo.NativeFieldInfoPtr_m_major = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, "m_major");
			VersionInfo.NativeFieldInfoPtr_m_minor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, "m_minor");
			VersionInfo.NativeFieldInfoPtr_m_release = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, "m_release");
			VersionInfo.NativeMethodInfoPtr_StaticToString_Public_Static_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100675864);
			VersionInfo.NativeMethodInfoPtr_ToString_Public_Virtual_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100675865);
			VersionInfo.NativeMethodInfoPtr_get_Number_Public_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100675866);
			VersionInfo.NativeMethodInfoPtr__ctor_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100675867);
			VersionInfo.NativeMethodInfoPtr__ctor_Private_Void_Byte_Byte_Byte_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100675868);
			VersionInfo.NativeMethodInfoPtr_Current_Public_Static_VersionInfo_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100675869);
			VersionInfo.NativeMethodInfoPtr_Matches_Public_Static_Boolean_VersionInfo_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100675870);
		}

		// Token: 0x0600A1E4 RID: 41444 RVA: 0x0000A688 File Offset: 0x00008888
		public VersionInfo(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170036C8 RID: 14024
		// (get) Token: 0x0600A1E5 RID: 41445 RVA: 0x00299A8C File Offset: 0x00297C8C
		// (set) Token: 0x0600A1E6 RID: 41446 RVA: 0x00299AAA File Offset: 0x00297CAA
		public unsafe static byte Major
		{
			get
			{
				byte b;
				IL2CPP.il2cpp_field_static_get_value(VersionInfo.NativeFieldInfoPtr_Major, (void*)(&b));
				return b;
			}
			set
			{
				IL2CPP.il2cpp_field_static_set_value(VersionInfo.NativeFieldInfoPtr_Major, (void*)(&value));
			}
		}

		// Token: 0x170036C9 RID: 14025
		// (get) Token: 0x0600A1E7 RID: 41447 RVA: 0x00299ABC File Offset: 0x00297CBC
		// (set) Token: 0x0600A1E8 RID: 41448 RVA: 0x00299ADA File Offset: 0x00297CDA
		public unsafe static byte Minor
		{
			get
			{
				byte b;
				IL2CPP.il2cpp_field_static_get_value(VersionInfo.NativeFieldInfoPtr_Minor, (void*)(&b));
				return b;
			}
			set
			{
				IL2CPP.il2cpp_field_static_set_value(VersionInfo.NativeFieldInfoPtr_Minor, (void*)(&value));
			}
		}

		// Token: 0x170036CA RID: 14026
		// (get) Token: 0x0600A1E9 RID: 41449 RVA: 0x00299AEC File Offset: 0x00297CEC
		// (set) Token: 0x0600A1EA RID: 41450 RVA: 0x00299B0A File Offset: 0x00297D0A
		public unsafe static byte Release
		{
			get
			{
				byte b;
				IL2CPP.il2cpp_field_static_get_value(VersionInfo.NativeFieldInfoPtr_Release, (void*)(&b));
				return b;
			}
			set
			{
				IL2CPP.il2cpp_field_static_set_value(VersionInfo.NativeFieldInfoPtr_Release, (void*)(&value));
			}
		}

		// Token: 0x170036CB RID: 14027
		// (get) Token: 0x0600A1EB RID: 41451 RVA: 0x00299B1C File Offset: 0x00297D1C
		// (set) Token: 0x0600A1EC RID: 41452 RVA: 0x00299B3C File Offset: 0x00297D3C
		public unsafe static string StageSuffix
		{
			get
			{
				IntPtr intPtr;
				IL2CPP.il2cpp_field_static_get_value(VersionInfo.NativeFieldInfoPtr_StageSuffix, (void*)(&intPtr));
				return IL2CPP.Il2CppStringToManaged(intPtr);
			}
			set
			{
				IL2CPP.il2cpp_field_static_set_value(VersionInfo.NativeFieldInfoPtr_StageSuffix, IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x170036CC RID: 14028
		// (get) Token: 0x0600A1ED RID: 41453 RVA: 0x00299B54 File Offset: 0x00297D54
		// (set) Token: 0x0600A1EE RID: 41454 RVA: 0x00299B74 File Offset: 0x00297D74
		public unsafe static string TrialSuffix
		{
			get
			{
				IntPtr intPtr;
				IL2CPP.il2cpp_field_static_get_value(VersionInfo.NativeFieldInfoPtr_TrialSuffix, (void*)(&intPtr));
				return IL2CPP.Il2CppStringToManaged(intPtr);
			}
			set
			{
				IL2CPP.il2cpp_field_static_set_value(VersionInfo.NativeFieldInfoPtr_TrialSuffix, IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x170036CD RID: 14029
		// (get) Token: 0x0600A1EF RID: 41455 RVA: 0x00299B8C File Offset: 0x00297D8C
		// (set) Token: 0x0600A1F0 RID: 41456 RVA: 0x00299BB4 File Offset: 0x00297DB4
		public unsafe int m_major
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VersionInfo.NativeFieldInfoPtr_m_major);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VersionInfo.NativeFieldInfoPtr_m_major)) = value;
			}
		}

		// Token: 0x170036CE RID: 14030
		// (get) Token: 0x0600A1F1 RID: 41457 RVA: 0x00299BD8 File Offset: 0x00297DD8
		// (set) Token: 0x0600A1F2 RID: 41458 RVA: 0x00299C00 File Offset: 0x00297E00
		public unsafe int m_minor
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VersionInfo.NativeFieldInfoPtr_m_minor);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VersionInfo.NativeFieldInfoPtr_m_minor)) = value;
			}
		}

		// Token: 0x170036CF RID: 14031
		// (get) Token: 0x0600A1F3 RID: 41459 RVA: 0x00299C24 File Offset: 0x00297E24
		// (set) Token: 0x0600A1F4 RID: 41460 RVA: 0x00299C4C File Offset: 0x00297E4C
		public unsafe int m_release
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VersionInfo.NativeFieldInfoPtr_m_release);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VersionInfo.NativeFieldInfoPtr_m_release)) = value;
			}
		}

		// Token: 0x04006CEC RID: 27884
		private static readonly IntPtr NativeFieldInfoPtr_Major;

		// Token: 0x04006CED RID: 27885
		private static readonly IntPtr NativeFieldInfoPtr_Minor;

		// Token: 0x04006CEE RID: 27886
		private static readonly IntPtr NativeFieldInfoPtr_Release;

		// Token: 0x04006CEF RID: 27887
		private static readonly IntPtr NativeFieldInfoPtr_StageSuffix;

		// Token: 0x04006CF0 RID: 27888
		private static readonly IntPtr NativeFieldInfoPtr_TrialSuffix;

		// Token: 0x04006CF1 RID: 27889
		private static readonly IntPtr NativeFieldInfoPtr_m_major;

		// Token: 0x04006CF2 RID: 27890
		private static readonly IntPtr NativeFieldInfoPtr_m_minor;

		// Token: 0x04006CF3 RID: 27891
		private static readonly IntPtr NativeFieldInfoPtr_m_release;

		// Token: 0x04006CF4 RID: 27892
		private static readonly IntPtr NativeMethodInfoPtr_StaticToString_Public_Static_String_0;

		// Token: 0x04006CF5 RID: 27893
		private static readonly IntPtr NativeMethodInfoPtr_ToString_Public_Virtual_String_0;

		// Token: 0x04006CF6 RID: 27894
		private static readonly IntPtr NativeMethodInfoPtr_get_Number_Public_get_Int32_0;

		// Token: 0x04006CF7 RID: 27895
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Private_Void_0;

		// Token: 0x04006CF8 RID: 27896
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Private_Void_Byte_Byte_Byte_0;

		// Token: 0x04006CF9 RID: 27897
		private static readonly IntPtr NativeMethodInfoPtr_Current_Public_Static_VersionInfo_0;

		// Token: 0x04006CFA RID: 27898
		private static readonly IntPtr NativeMethodInfoPtr_Matches_Public_Static_Boolean_VersionInfo_0;
	}
}
