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

namespace AmplifyColor
{
	// Token: 0x02000639 RID: 1593
	[Serializable]
	public class VolumeEffectField : Il2CppSystem.Object
	{
		// Token: 0x0600A1F5 RID: 41461 RVA: 0x00299C70 File Offset: 0x00297E70
		[CallerCount(87)]
		[CachedScanResults(RefRangeStart = 7329, RefRangeEnd = 7416, XrefRangeStart = 7329, XrefRangeEnd = 7416, 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: 0x0600A1F6 RID: 41462 RVA: 0x00299CEC File Offset: 0x00297EEC
		[CallerCount(4)]
		[CachedScanResults(RefRangeStart = 626474, RefRangeEnd = 626478, XrefRangeStart = 626469, XrefRangeEnd = 626474, 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: 0x0600A1F7 RID: 41463 RVA: 0x00299D68 File Offset: 0x00297F68
		[CallerCount(9)]
		[CachedScanResults(RefRangeStart = 626496, RefRangeEnd = 626505, XrefRangeStart = 626478, XrefRangeEnd = 626496, 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: 0x0600A1F8 RID: 41464 RVA: 0x00299DC0 File Offset: 0x00297FC0
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 626521, RefRangeEnd = 626522, XrefRangeStart = 626505, XrefRangeEnd = 626521, 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: 0x0600A1F9 RID: 41465 RVA: 0x00299E1C File Offset: 0x0029801C
		// 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, 100675872);
			VolumeEffectField.NativeMethodInfoPtr__ctor_Public_Void_FieldInfo_Component_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, 100675873);
			VolumeEffectField.NativeMethodInfoPtr_IsValidType_Public_Static_Boolean_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, 100675874);
			VolumeEffectField.NativeMethodInfoPtr_UpdateValue_Public_Void_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeEffectField>.NativeClassPtr, 100675875);
		}

		// Token: 0x0600A1FA RID: 41466 RVA: 0x0000A688 File Offset: 0x00008888
		public VolumeEffectField(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170036D1 RID: 14033
		// (get) Token: 0x0600A1FB RID: 41467 RVA: 0x00299F3C File Offset: 0x0029813C
		// (set) Token: 0x0600A1FC RID: 41468 RVA: 0x00299F65 File Offset: 0x00298165
		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: 0x170036D2 RID: 14034
		// (get) Token: 0x0600A1FD RID: 41469 RVA: 0x00299F8C File Offset: 0x0029818C
		// (set) Token: 0x0600A1FE RID: 41470 RVA: 0x00299FB5 File Offset: 0x002981B5
		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: 0x170036D3 RID: 14035
		// (get) Token: 0x0600A1FF RID: 41471 RVA: 0x00299FDC File Offset: 0x002981DC
		// (set) Token: 0x0600A200 RID: 41472 RVA: 0x0029A004 File Offset: 0x00298204
		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: 0x170036D4 RID: 14036
		// (get) Token: 0x0600A201 RID: 41473 RVA: 0x0029A028 File Offset: 0x00298228
		// (set) Token: 0x0600A202 RID: 41474 RVA: 0x0029A050 File Offset: 0x00298250
		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: 0x170036D5 RID: 14037
		// (get) Token: 0x0600A203 RID: 41475 RVA: 0x0029A074 File Offset: 0x00298274
		// (set) Token: 0x0600A204 RID: 41476 RVA: 0x0029A09C File Offset: 0x0029829C
		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: 0x170036D6 RID: 14038
		// (get) Token: 0x0600A205 RID: 41477 RVA: 0x0029A0C0 File Offset: 0x002982C0
		// (set) Token: 0x0600A206 RID: 41478 RVA: 0x0029A0E8 File Offset: 0x002982E8
		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: 0x170036D7 RID: 14039
		// (get) Token: 0x0600A207 RID: 41479 RVA: 0x0029A10C File Offset: 0x0029830C
		// (set) Token: 0x0600A208 RID: 41480 RVA: 0x0029A134 File Offset: 0x00298334
		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: 0x170036D8 RID: 14040
		// (get) Token: 0x0600A209 RID: 41481 RVA: 0x0029A158 File Offset: 0x00298358
		// (set) Token: 0x0600A20A RID: 41482 RVA: 0x0029A180 File Offset: 0x00298380
		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: 0x04006CFB RID: 27899
		private static readonly IntPtr NativeFieldInfoPtr_fieldName;

		// Token: 0x04006CFC RID: 27900
		private static readonly IntPtr NativeFieldInfoPtr_fieldType;

		// Token: 0x04006CFD RID: 27901
		private static readonly IntPtr NativeFieldInfoPtr_valueSingle;

		// Token: 0x04006CFE RID: 27902
		private static readonly IntPtr NativeFieldInfoPtr_valueColor;

		// Token: 0x04006CFF RID: 27903
		private static readonly IntPtr NativeFieldInfoPtr_valueBoolean;

		// Token: 0x04006D00 RID: 27904
		private static readonly IntPtr NativeFieldInfoPtr_valueVector2;

		// Token: 0x04006D01 RID: 27905
		private static readonly IntPtr NativeFieldInfoPtr_valueVector3;

		// Token: 0x04006D02 RID: 27906
		private static readonly IntPtr NativeFieldInfoPtr_valueVector4;

		// Token: 0x04006D03 RID: 27907
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_String_0;

		// Token: 0x04006D04 RID: 27908
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_FieldInfo_Component_0;

		// Token: 0x04006D05 RID: 27909
		private static readonly IntPtr NativeMethodInfoPtr_IsValidType_Public_Static_Boolean_String_0;

		// Token: 0x04006D06 RID: 27910
		private static readonly IntPtr NativeMethodInfoPtr_UpdateValue_Public_Void_Object_0;
	}
}
