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

namespace AmplifyColor
{
	// Token: 0x02000690 RID: 1680
	[Serializable]
	public class VersionInfo : Object
	{
		// Token: 0x0600AA2F RID: 43567 RVA: 0x002BC418 File Offset: 0x002BA618
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 658734, XrefRangeEnd = 658749, 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: 0x0600AA30 RID: 43568 RVA: 0x002BC454 File Offset: 0x002BA654
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 658749, XrefRangeEnd = 658764, 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: 0x1700396B RID: 14699
		// (get) Token: 0x0600AA31 RID: 43569 RVA: 0x002BC4AC File Offset: 0x002BA6AC
		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: 0x0600AA32 RID: 43570 RVA: 0x002BC4FC File Offset: 0x002BA6FC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 658764, XrefRangeEnd = 658765, 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: 0x0600AA33 RID: 43571 RVA: 0x002BC548 File Offset: 0x002BA748
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 658765, XrefRangeEnd = 658766, 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: 0x0600AA34 RID: 43572 RVA: 0x002BC5CC File Offset: 0x002BA7CC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 658766, XrefRangeEnd = 658770, 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: 0x0600AA35 RID: 43573 RVA: 0x002BC614 File Offset: 0x002BA814
		[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: 0x0600AA36 RID: 43574 RVA: 0x002BC66C File Offset: 0x002BA86C
		// 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, 100676577);
			VersionInfo.NativeMethodInfoPtr_ToString_Public_Virtual_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100676578);
			VersionInfo.NativeMethodInfoPtr_get_Number_Public_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100676579);
			VersionInfo.NativeMethodInfoPtr__ctor_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100676580);
			VersionInfo.NativeMethodInfoPtr__ctor_Private_Void_Byte_Byte_Byte_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100676581);
			VersionInfo.NativeMethodInfoPtr_Current_Public_Static_VersionInfo_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100676582);
			VersionInfo.NativeMethodInfoPtr_Matches_Public_Static_Boolean_VersionInfo_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VersionInfo>.NativeClassPtr, 100676583);
		}

		// Token: 0x0600AA37 RID: 43575 RVA: 0x0000A74C File Offset: 0x0000894C
		public VersionInfo(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003963 RID: 14691
		// (get) Token: 0x0600AA38 RID: 43576 RVA: 0x002BC7C8 File Offset: 0x002BA9C8
		// (set) Token: 0x0600AA39 RID: 43577 RVA: 0x002BC7E6 File Offset: 0x002BA9E6
		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: 0x17003964 RID: 14692
		// (get) Token: 0x0600AA3A RID: 43578 RVA: 0x002BC7F8 File Offset: 0x002BA9F8
		// (set) Token: 0x0600AA3B RID: 43579 RVA: 0x002BC816 File Offset: 0x002BAA16
		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: 0x17003965 RID: 14693
		// (get) Token: 0x0600AA3C RID: 43580 RVA: 0x002BC828 File Offset: 0x002BAA28
		// (set) Token: 0x0600AA3D RID: 43581 RVA: 0x002BC846 File Offset: 0x002BAA46
		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: 0x17003966 RID: 14694
		// (get) Token: 0x0600AA3E RID: 43582 RVA: 0x002BC858 File Offset: 0x002BAA58
		// (set) Token: 0x0600AA3F RID: 43583 RVA: 0x002BC878 File Offset: 0x002BAA78
		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: 0x17003967 RID: 14695
		// (get) Token: 0x0600AA40 RID: 43584 RVA: 0x002BC890 File Offset: 0x002BAA90
		// (set) Token: 0x0600AA41 RID: 43585 RVA: 0x002BC8B0 File Offset: 0x002BAAB0
		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: 0x17003968 RID: 14696
		// (get) Token: 0x0600AA42 RID: 43586 RVA: 0x002BC8C8 File Offset: 0x002BAAC8
		// (set) Token: 0x0600AA43 RID: 43587 RVA: 0x002BC8F0 File Offset: 0x002BAAF0
		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: 0x17003969 RID: 14697
		// (get) Token: 0x0600AA44 RID: 43588 RVA: 0x002BC914 File Offset: 0x002BAB14
		// (set) Token: 0x0600AA45 RID: 43589 RVA: 0x002BC93C File Offset: 0x002BAB3C
		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: 0x1700396A RID: 14698
		// (get) Token: 0x0600AA46 RID: 43590 RVA: 0x002BC960 File Offset: 0x002BAB60
		// (set) Token: 0x0600AA47 RID: 43591 RVA: 0x002BC988 File Offset: 0x002BAB88
		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: 0x04007295 RID: 29333
		private static readonly IntPtr NativeFieldInfoPtr_Major;

		// Token: 0x04007296 RID: 29334
		private static readonly IntPtr NativeFieldInfoPtr_Minor;

		// Token: 0x04007297 RID: 29335
		private static readonly IntPtr NativeFieldInfoPtr_Release;

		// Token: 0x04007298 RID: 29336
		private static readonly IntPtr NativeFieldInfoPtr_StageSuffix;

		// Token: 0x04007299 RID: 29337
		private static readonly IntPtr NativeFieldInfoPtr_TrialSuffix;

		// Token: 0x0400729A RID: 29338
		private static readonly IntPtr NativeFieldInfoPtr_m_major;

		// Token: 0x0400729B RID: 29339
		private static readonly IntPtr NativeFieldInfoPtr_m_minor;

		// Token: 0x0400729C RID: 29340
		private static readonly IntPtr NativeFieldInfoPtr_m_release;

		// Token: 0x0400729D RID: 29341
		private static readonly IntPtr NativeMethodInfoPtr_StaticToString_Public_Static_String_0;

		// Token: 0x0400729E RID: 29342
		private static readonly IntPtr NativeMethodInfoPtr_ToString_Public_Virtual_String_0;

		// Token: 0x0400729F RID: 29343
		private static readonly IntPtr NativeMethodInfoPtr_get_Number_Public_get_Int32_0;

		// Token: 0x040072A0 RID: 29344
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Private_Void_0;

		// Token: 0x040072A1 RID: 29345
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Private_Void_Byte_Byte_Byte_0;

		// Token: 0x040072A2 RID: 29346
		private static readonly IntPtr NativeMethodInfoPtr_Current_Public_Static_VersionInfo_0;

		// Token: 0x040072A3 RID: 29347
		private static readonly IntPtr NativeMethodInfoPtr_Matches_Public_Static_Boolean_VersionInfo_0;
	}
}
