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

// Token: 0x02000274 RID: 628
public class UpgradeDataHandler : Object
{
	// Token: 0x060056DB RID: 22235 RVA: 0x0015D448 File Offset: 0x0015B648
	[CallerCount(1642)]
	[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe UpgradeDataHandler()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UpgradeDataHandler>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UpgradeDataHandler.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060056DC RID: 22236 RVA: 0x0015D494 File Offset: 0x0015B694
	// Note: this type is marked as 'beforefieldinit'.
	static UpgradeDataHandler()
	{
		Il2CppClassPointerStore<UpgradeDataHandler>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UpgradeDataHandler");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UpgradeDataHandler>.NativeClassPtr);
		UpgradeDataHandler.NativeFieldInfoPtr_GetStatsExpForm = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UpgradeDataHandler>.NativeClassPtr, "GetStatsExpForm");
		UpgradeDataHandler.NativeFieldInfoPtr_GetStatsLevel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UpgradeDataHandler>.NativeClassPtr, "GetStatsLevel");
		UpgradeDataHandler.NativeFieldInfoPtr_UpdateStatsLevel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UpgradeDataHandler>.NativeClassPtr, "UpdateStatsLevel");
		UpgradeDataHandler.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UpgradeDataHandler>.NativeClassPtr, 100669368);
	}

	// Token: 0x060056DD RID: 22237 RVA: 0x0000A688 File Offset: 0x00008888
	public UpgradeDataHandler(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E6F RID: 7791
	// (get) Token: 0x060056DE RID: 22238 RVA: 0x0015D514 File Offset: 0x0015B714
	// (set) Token: 0x060056DF RID: 22239 RVA: 0x0015D548 File Offset: 0x0015B748
	public unsafe Func<Il2CppStructArray<float>> GetStatsExpForm
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UpgradeDataHandler.NativeFieldInfoPtr_GetStatsExpForm);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Func<Il2CppStructArray<float>>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UpgradeDataHandler.NativeFieldInfoPtr_GetStatsExpForm), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E70 RID: 7792
	// (get) Token: 0x060056E0 RID: 22240 RVA: 0x0015D570 File Offset: 0x0015B770
	// (set) Token: 0x060056E1 RID: 22241 RVA: 0x0015D5A4 File Offset: 0x0015B7A4
	public unsafe Func<int> GetStatsLevel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UpgradeDataHandler.NativeFieldInfoPtr_GetStatsLevel);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Func<int>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UpgradeDataHandler.NativeFieldInfoPtr_GetStatsLevel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E71 RID: 7793
	// (get) Token: 0x060056E2 RID: 22242 RVA: 0x0015D5CC File Offset: 0x0015B7CC
	// (set) Token: 0x060056E3 RID: 22243 RVA: 0x0015D600 File Offset: 0x0015B800
	public unsafe Action UpdateStatsLevel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UpgradeDataHandler.NativeFieldInfoPtr_UpdateStatsLevel);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Action(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UpgradeDataHandler.NativeFieldInfoPtr_UpdateStatsLevel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040039A7 RID: 14759
	private static readonly IntPtr NativeFieldInfoPtr_GetStatsExpForm;

	// Token: 0x040039A8 RID: 14760
	private static readonly IntPtr NativeFieldInfoPtr_GetStatsLevel;

	// Token: 0x040039A9 RID: 14761
	private static readonly IntPtr NativeFieldInfoPtr_UpdateStatsLevel;

	// Token: 0x040039AA RID: 14762
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
