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

// Token: 0x0200011C RID: 284
public class EffectControlData : Object
{
	// Token: 0x06003E38 RID: 15928 RVA: 0x000F614C File Offset: 0x000F434C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 548961, XrefRangeEnd = 548962, 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: 0x06003E39 RID: 15929 RVA: 0x000F61D0 File Offset: 0x000F43D0
	// 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, 100667144);
	}

	// Token: 0x06003E3A RID: 15930 RVA: 0x0000A74C File Offset: 0x0000894C
	public EffectControlData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170016F1 RID: 5873
	// (get) Token: 0x06003E3B RID: 15931 RVA: 0x000F6250 File Offset: 0x000F4450
	// (set) Token: 0x06003E3C RID: 15932 RVA: 0x000F6278 File Offset: 0x000F4478
	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: 0x170016F2 RID: 5874
	// (get) Token: 0x06003E3D RID: 15933 RVA: 0x000F629C File Offset: 0x000F449C
	// (set) Token: 0x06003E3E RID: 15934 RVA: 0x000F62C4 File Offset: 0x000F44C4
	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: 0x170016F3 RID: 5875
	// (get) Token: 0x06003E3F RID: 15935 RVA: 0x000F62E8 File Offset: 0x000F44E8
	// (set) Token: 0x06003E40 RID: 15936 RVA: 0x000F6310 File Offset: 0x000F4510
	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: 0x0400289A RID: 10394
	private static readonly IntPtr NativeFieldInfoPtr_limitation;

	// Token: 0x0400289B RID: 10395
	private static readonly IntPtr NativeFieldInfoPtr_aliveTime;

	// Token: 0x0400289C RID: 10396
	private static readonly IntPtr NativeFieldInfoPtr_recycleTime;

	// Token: 0x0400289D RID: 10397
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_Single_Single_0;
}
