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

namespace AmplifyColor
{
	// Token: 0x02000699 RID: 1689
	[Serializable]
	public class VolumeEffectFieldFlags : Object
	{
		// Token: 0x0600AAAB RID: 43691 RVA: 0x002BE61C File Offset: 0x002BC81C
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 659424, RefRangeEnd = 659426, XrefRangeStart = 659420, XrefRangeEnd = 659424, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe VolumeEffectFieldFlags(FieldInfo pi)
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<VolumeEffectFieldFlags>.NativeClassPtr))
		{
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(pi);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeEffectFieldFlags.NativeMethodInfoPtr__ctor_Public_Void_FieldInfo_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x0600AAAC RID: 43692 RVA: 0x002BE680 File Offset: 0x002BC880
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 659426, XrefRangeEnd = 659429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe VolumeEffectFieldFlags(VolumeEffectField field)
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<VolumeEffectFieldFlags>.NativeClassPtr))
		{
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(field);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(VolumeEffectFieldFlags.NativeMethodInfoPtr__ctor_Public_Void_VolumeEffectField_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x0600AAAD RID: 43693 RVA: 0x002BE6E4 File Offset: 0x002BC8E4
		// Note: this type is marked as 'beforefieldinit'.
		static VolumeEffectFieldFlags()
		{
			Il2CppClassPointerStore<VolumeEffectFieldFlags>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "AmplifyColor", "VolumeEffectFieldFlags");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<VolumeEffectFieldFlags>.NativeClassPtr);
			VolumeEffectFieldFlags.NativeFieldInfoPtr_fieldName = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectFieldFlags>.NativeClassPtr, "fieldName");
			VolumeEffectFieldFlags.NativeFieldInfoPtr_fieldType = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectFieldFlags>.NativeClassPtr, "fieldType");
			VolumeEffectFieldFlags.NativeFieldInfoPtr_blendFlag = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<VolumeEffectFieldFlags>.NativeClassPtr, "blendFlag");
			VolumeEffectFieldFlags.NativeMethodInfoPtr__ctor_Public_Void_FieldInfo_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeEffectFieldFlags>.NativeClassPtr, 100676627);
			VolumeEffectFieldFlags.NativeMethodInfoPtr__ctor_Public_Void_VolumeEffectField_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<VolumeEffectFieldFlags>.NativeClassPtr, 100676628);
		}

		// Token: 0x0600AAAE RID: 43694 RVA: 0x0000A74C File Offset: 0x0000894C
		public VolumeEffectFieldFlags(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003982 RID: 14722
		// (get) Token: 0x0600AAAF RID: 43695 RVA: 0x002BE778 File Offset: 0x002BC978
		// (set) Token: 0x0600AAB0 RID: 43696 RVA: 0x002BE7A1 File Offset: 0x002BC9A1
		public unsafe string fieldName
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectFieldFlags.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(VolumeEffectFieldFlags.NativeFieldInfoPtr_fieldName), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x17003983 RID: 14723
		// (get) Token: 0x0600AAB1 RID: 43697 RVA: 0x002BE7C8 File Offset: 0x002BC9C8
		// (set) Token: 0x0600AAB2 RID: 43698 RVA: 0x002BE7F1 File Offset: 0x002BC9F1
		public unsafe string fieldType
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectFieldFlags.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(VolumeEffectFieldFlags.NativeFieldInfoPtr_fieldType), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x17003984 RID: 14724
		// (get) Token: 0x0600AAB3 RID: 43699 RVA: 0x002BE818 File Offset: 0x002BCA18
		// (set) Token: 0x0600AAB4 RID: 43700 RVA: 0x002BE840 File Offset: 0x002BCA40
		public unsafe bool blendFlag
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectFieldFlags.NativeFieldInfoPtr_blendFlag);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(VolumeEffectFieldFlags.NativeFieldInfoPtr_blendFlag)) = value;
			}
		}

		// Token: 0x040072E1 RID: 29409
		private static readonly IntPtr NativeFieldInfoPtr_fieldName;

		// Token: 0x040072E2 RID: 29410
		private static readonly IntPtr NativeFieldInfoPtr_fieldType;

		// Token: 0x040072E3 RID: 29411
		private static readonly IntPtr NativeFieldInfoPtr_blendFlag;

		// Token: 0x040072E4 RID: 29412
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_FieldInfo_0;

		// Token: 0x040072E5 RID: 29413
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_VolumeEffectField_0;
	}
}
