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

// Token: 0x020000F6 RID: 246
public class EffectControlData : Object
{
	// Token: 0x06003B0D RID: 15117 RVA: 0x000E8474 File Offset: 0x000E6674
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 523907, XrefRangeEnd = 523908, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe EffectControlData(int limitation, float aliveTime = 1f, float recycleTime = 3f)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<EffectControlData>.NativeClassPtr))
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref limitation;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref aliveTime;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref recycleTime;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EffectControlData.NativeMethodInfoPtr__ctor_Public_Void_Int32_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06003B0E RID: 15118 RVA: 0x000E84F8 File Offset: 0x000E66F8
	// Note: this type is marked as 'beforefieldinit'.
	static EffectControlData()
	{
		Il2CppClassPointerStore<EffectControlData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "EffectControlData");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<EffectControlData>.NativeClassPtr);
		EffectControlData.NativeFieldInfoPtr_limitation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EffectControlData>.NativeClassPtr, "limitation");
		EffectControlData.NativeFieldInfoPtr_aliveTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EffectControlData>.NativeClassPtr, "aliveTime");
		EffectControlData.NativeFieldInfoPtr_recycleTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EffectControlData>.NativeClassPtr, "recycleTime");
		EffectControlData.NativeMethodInfoPtr__ctor_Public_Void_Int32_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EffectControlData>.NativeClassPtr, 100666845);
	}

	// Token: 0x06003B0F RID: 15119 RVA: 0x0000A688 File Offset: 0x00008888
	public EffectControlData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001610 RID: 5648
	// (get) Token: 0x06003B10 RID: 15120 RVA: 0x000E8578 File Offset: 0x000E6778
	// (set) Token: 0x06003B11 RID: 15121 RVA: 0x000E85A0 File Offset: 0x000E67A0
	public unsafe int limitation
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EffectControlData.NativeFieldInfoPtr_limitation);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EffectControlData.NativeFieldInfoPtr_limitation)) = value;
		}
	}

	// Token: 0x17001611 RID: 5649
	// (get) Token: 0x06003B12 RID: 15122 RVA: 0x000E85C4 File Offset: 0x000E67C4
	// (set) Token: 0x06003B13 RID: 15123 RVA: 0x000E85EC File Offset: 0x000E67EC
	public unsafe float aliveTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EffectControlData.NativeFieldInfoPtr_aliveTime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EffectControlData.NativeFieldInfoPtr_aliveTime)) = value;
		}
	}

	// Token: 0x17001612 RID: 5650
	// (get) Token: 0x06003B14 RID: 15124 RVA: 0x000E8610 File Offset: 0x000E6810
	// (set) Token: 0x06003B15 RID: 15125 RVA: 0x000E8638 File Offset: 0x000E6838
	public unsafe float recycleTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EffectControlData.NativeFieldInfoPtr_recycleTime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EffectControlData.NativeFieldInfoPtr_recycleTime)) = value;
		}
	}

	// Token: 0x04002671 RID: 9841
	private static readonly IntPtr NativeFieldInfoPtr_limitation;

	// Token: 0x04002672 RID: 9842
	private static readonly IntPtr NativeFieldInfoPtr_aliveTime;

	// Token: 0x04002673 RID: 9843
	private static readonly IntPtr NativeFieldInfoPtr_recycleTime;

	// Token: 0x04002674 RID: 9844
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_Single_Single_0;
}
