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

// Token: 0x020002BE RID: 702
public class UpgradeDataHandler : Object
{
	// Token: 0x06005D3F RID: 23871 RVA: 0x00177D54 File Offset: 0x00175F54
	[CallerCount(1664)]
	[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, 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: 0x06005D40 RID: 23872 RVA: 0x00177DA0 File Offset: 0x00175FA0
	// 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, 100669912);
	}

	// Token: 0x06005D41 RID: 23873 RVA: 0x0000A74C File Offset: 0x0000894C
	public UpgradeDataHandler(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700205F RID: 8287
	// (get) Token: 0x06005D42 RID: 23874 RVA: 0x00177E20 File Offset: 0x00176020
	// (set) Token: 0x06005D43 RID: 23875 RVA: 0x00177E54 File Offset: 0x00176054
	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: 0x17002060 RID: 8288
	// (get) Token: 0x06005D44 RID: 23876 RVA: 0x00177E7C File Offset: 0x0017607C
	// (set) Token: 0x06005D45 RID: 23877 RVA: 0x00177EB0 File Offset: 0x001760B0
	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: 0x17002061 RID: 8289
	// (get) Token: 0x06005D46 RID: 23878 RVA: 0x00177ED8 File Offset: 0x001760D8
	// (set) Token: 0x06005D47 RID: 23879 RVA: 0x00177F0C File Offset: 0x0017610C
	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: 0x04003E0D RID: 15885
	private static readonly IntPtr NativeFieldInfoPtr_GetStatsExpForm;

	// Token: 0x04003E0E RID: 15886
	private static readonly IntPtr NativeFieldInfoPtr_GetStatsLevel;

	// Token: 0x04003E0F RID: 15887
	private static readonly IntPtr NativeFieldInfoPtr_UpdateStatsLevel;

	// Token: 0x04003E10 RID: 15888
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
