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

namespace AmplifyColor
{
	// Token: 0x02000691 RID: 1681
	[Serializable]
	public class VolumeEffectField : Il2CppSystem.Object
	{
		// Token: 0x0600AA48 RID: 43592 RVA: 0x002BC9AC File Offset: 0x002BABAC
		[CallerCount(87)]
		[CachedScanResults(RefRangeStart = 7623, RefRangeEnd = 7710, XrefRangeStart = 7623, XrefRangeEnd = 7710, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe VolumeEffectField(string fieldName, string fieldType)
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr))
		{
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.ManagedStringToIl2Cpp(fieldName);
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.ManagedStringToIl2Cpp(fieldType);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeEffectField.NativeMethodInfoPtr__ctor_Public_Void_String_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600AA49 RID: 43593 RVA: 0x002BCA28 File Offset: 0x002BAC28
		[CallerCount(4)]
		[CachedScanResults(RefRangeStart = 658775, RefRangeEnd = 658779, XrefRangeStart = 658770, XrefRangeEnd = 658775, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe VolumeEffectField(FieldInfo pi, Component c)
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr))
		{
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(pi);
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(c);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeEffectField.NativeMethodInfoPtr__ctor_Public_Void_FieldInfo_Component_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600AA4A RID: 43594 RVA: 0x002BCAA4 File Offset: 0x002BACA4
		[CallerCount(9)]
		[CachedScanResults(RefRangeStart = 658797, RefRangeEnd = 658806, XrefRangeStart = 658779, XrefRangeEnd = 658797, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe static bool IsValidType(string type)
		{
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.ManagedStringToIl2Cpp(type);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeEffectField.NativeMethodInfoPtr_IsValidType_Public_Static_Boolean_String_0, 0, (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x0600AA4B RID: 43595 RVA: 0x002BCAFC File Offset: 0x002BACFC
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 658822, RefRangeEnd = 658823, XrefRangeStart = 658806, XrefRangeEnd = 658822, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void UpdateValue(Il2CppSystem.Object val)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(val);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeEffectField.NativeMethodInfoPtr_UpdateValue_Public_Void_Object_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x0600AA4C RID: 43596 RVA: 0x002BCB58 File Offset: 0x002BAD58
		// Note: this type is marked as 'beforefieldinit'.
		static VolumeEffectField()
		{
			Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "AmplifyColor", "VolumeEffectField");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr);
			VolumeEffectField.NativeFieldInfoPtr_fieldName = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, "fieldName");
			VolumeEffectField.NativeFieldInfoPtr_fieldType = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, "fieldType");
			VolumeEffectField.NativeFieldInfoPtr_valueSingle = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, "valueSingle");
			VolumeEffectField.NativeFieldInfoPtr_valueColor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, "valueColor");
			VolumeEffectField.NativeFieldInfoPtr_valueBoolean = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, "valueBoolean");
			VolumeEffectField.NativeFieldInfoPtr_valueVector2 = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, "valueVector2");
			VolumeEffectField.NativeFieldInfoPtr_valueVector3 = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, "valueVector3");
			VolumeEffectField.NativeFieldInfoPtr_valueVector4 = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, "valueVector4");
			VolumeEffectField.NativeMethodInfoPtr__ctor_Public_Void_String_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, 100676585);
			VolumeEffectField.NativeMethodInfoPtr__ctor_Public_Void_FieldInfo_Component_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, 100676586);
			VolumeEffectField.NativeMethodInfoPtr_IsValidType_Public_Static_Boolean_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, 100676587);
			VolumeEffectField.NativeMethodInfoPtr_UpdateValue_Public_Void_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, 100676588);
		}

		// Token: 0x0600AA4D RID: 43597 RVA: 0x0000A74C File Offset: 0x0000894C
		public VolumeEffectField(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700396C RID: 14700
		// (get) Token: 0x0600AA4E RID: 43598 RVA: 0x002BCC78 File Offset: 0x002BAE78
		// (set) Token: 0x0600AA4F RID: 43599 RVA: 0x002BCCA1 File Offset: 0x002BAEA1
		public unsafe string fieldName
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_fieldName);
				return IL2CPP.Il2CppStringToManaged(*intPtr);
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_fieldName), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x1700396D RID: 14701
		// (get) Token: 0x0600AA50 RID: 43600 RVA: 0x002BCCC8 File Offset: 0x002BAEC8
		// (set) Token: 0x0600AA51 RID: 43601 RVA: 0x002BCCF1 File Offset: 0x002BAEF1
		public unsafe string fieldType
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_fieldType);
				return IL2CPP.Il2CppStringToManaged(*intPtr);
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_fieldType), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x1700396E RID: 14702
		// (get) Token: 0x0600AA52 RID: 43602 RVA: 0x002BCD18 File Offset: 0x002BAF18
		// (set) Token: 0x0600AA53 RID: 43603 RVA: 0x002BCD40 File Offset: 0x002BAF40
		public unsafe float valueSingle
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueSingle);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueSingle)) = value;
			}
		}

		// Token: 0x1700396F RID: 14703
		// (get) Token: 0x0600AA54 RID: 43604 RVA: 0x002BCD64 File Offset: 0x002BAF64
		// (set) Token: 0x0600AA55 RID: 43605 RVA: 0x002BCD8C File Offset: 0x002BAF8C
		public unsafe Color valueColor
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueColor);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueColor)) = value;
			}
		}

		// Token: 0x17003970 RID: 14704
		// (get) Token: 0x0600AA56 RID: 43606 RVA: 0x002BCDB0 File Offset: 0x002BAFB0
		// (set) Token: 0x0600AA57 RID: 43607 RVA: 0x002BCDD8 File Offset: 0x002BAFD8
		public unsafe bool valueBoolean
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueBoolean);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueBoolean)) = value;
			}
		}

		// Token: 0x17003971 RID: 14705
		// (get) Token: 0x0600AA58 RID: 43608 RVA: 0x002BCDFC File Offset: 0x002BAFFC
		// (set) Token: 0x0600AA59 RID: 43609 RVA: 0x002BCE24 File Offset: 0x002BB024
		public unsafe Vector2 valueVector2
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueVector2);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueVector2)) = value;
			}
		}

		// Token: 0x17003972 RID: 14706
		// (get) Token: 0x0600AA5A RID: 43610 RVA: 0x002BCE48 File Offset: 0x002BB048
		// (set) Token: 0x0600AA5B RID: 43611 RVA: 0x002BCE70 File Offset: 0x002BB070
		public unsafe Vector3 valueVector3
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueVector3);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueVector3)) = value;
			}
		}

		// Token: 0x17003973 RID: 14707
		// (get) Token: 0x0600AA5C RID: 43612 RVA: 0x002BCE94 File Offset: 0x002BB094
		// (set) Token: 0x0600AA5D RID: 43613 RVA: 0x002BCEBC File Offset: 0x002BB0BC
		public unsafe Vector4 valueVector4
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueVector4);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectField.NativeFieldInfoPtr_valueVector4)) = value;
			}
		}

		// Token: 0x040072A4 RID: 29348
		private static readonly IntPtr NativeFieldInfoPtr_fieldName;

		// Token: 0x040072A5 RID: 29349
		private static readonly IntPtr NativeFieldInfoPtr_fieldType;

		// Token: 0x040072A6 RID: 29350
		private static readonly IntPtr NativeFieldInfoPtr_valueSingle;

		// Token: 0x040072A7 RID: 29351
		private static readonly IntPtr NativeFieldInfoPtr_valueColor;

		// Token: 0x040072A8 RID: 29352
		private static readonly IntPtr NativeFieldInfoPtr_valueBoolean;

		// Token: 0x040072A9 RID: 29353
		private static readonly IntPtr NativeFieldInfoPtr_valueVector2;

		// Token: 0x040072AA RID: 29354
		private static readonly IntPtr NativeFieldInfoPtr_valueVector3;

		// Token: 0x040072AB RID: 29355
		private static readonly IntPtr NativeFieldInfoPtr_valueVector4;

		// Token: 0x040072AC RID: 29356
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_String_0;

		// Token: 0x040072AD RID: 29357
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_FieldInfo_Component_0;

		// Token: 0x040072AE RID: 29358
		private static readonly IntPtr NativeMethodInfoPtr_IsValidType_Public_Static_Boolean_String_0;

		// Token: 0x040072AF RID: 29359
		private static readonly IntPtr NativeMethodInfoPtr_UpdateValue_Public_Void_Object_0;
	}
}
