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

// Token: 0x02000136 RID: 310
public class BeatingGameData : Object
{
	// Token: 0x0600405C RID: 16476 RVA: 0x000FCFDC File Offset: 0x000FB1DC
	[CallerCount(1642)]
	[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe BeatingGameData()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BeatingGameData.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600405D RID: 16477 RVA: 0x000FD028 File Offset: 0x000FB228
	// Note: this type is marked as 'beforefieldinit'.
	static BeatingGameData()
	{
		Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "BeatingGameData");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr);
		BeatingGameData.NativeFieldInfoPtr_healthPoint = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "healthPoint");
		BeatingGameData.NativeFieldInfoPtr_manaPoint = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "manaPoint");
		BeatingGameData.NativeFieldInfoPtr_magicIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "magicIndex");
		BeatingGameData.NativeFieldInfoPtr_inventoryIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "inventoryIndex");
		BeatingGameData.NativeFieldInfoPtr_inventorySlots = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "inventorySlots");
		BeatingGameData.NativeFieldInfoPtr_currentItems = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, "currentItems");
		BeatingGameData.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BeatingGameData>.NativeClassPtr, 100667195);
	}

	// Token: 0x0600405E RID: 16478 RVA: 0x0000A688 File Offset: 0x00008888
	public BeatingGameData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170017FA RID: 6138
	// (get) Token: 0x0600405F RID: 16479 RVA: 0x000FD0E4 File Offset: 0x000FB2E4
	// (set) Token: 0x06004060 RID: 16480 RVA: 0x000FD10C File Offset: 0x000FB30C
	public unsafe float healthPoint
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_healthPoint);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_healthPoint)) = value;
		}
	}

	// Token: 0x170017FB RID: 6139
	// (get) Token: 0x06004061 RID: 16481 RVA: 0x000FD130 File Offset: 0x000FB330
	// (set) Token: 0x06004062 RID: 16482 RVA: 0x000FD158 File Offset: 0x000FB358
	public unsafe float manaPoint
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_manaPoint);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_manaPoint)) = value;
		}
	}

	// Token: 0x170017FC RID: 6140
	// (get) Token: 0x06004063 RID: 16483 RVA: 0x000FD17C File Offset: 0x000FB37C
	// (set) Token: 0x06004064 RID: 16484 RVA: 0x000FD1A4 File Offset: 0x000FB3A4
	public unsafe int magicIndex
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_magicIndex);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_magicIndex)) = value;
		}
	}

	// Token: 0x170017FD RID: 6141
	// (get) Token: 0x06004065 RID: 16485 RVA: 0x000FD1C8 File Offset: 0x000FB3C8
	// (set) Token: 0x06004066 RID: 16486 RVA: 0x000FD1F0 File Offset: 0x000FB3F0
	public unsafe int inventoryIndex
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_inventoryIndex);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_inventoryIndex)) = value;
		}
	}

	// Token: 0x170017FE RID: 6142
	// (get) Token: 0x06004067 RID: 16487 RVA: 0x000FD214 File Offset: 0x000FB414
	// (set) Token: 0x06004068 RID: 16488 RVA: 0x000FD23C File Offset: 0x000FB43C
	public unsafe int inventorySlots
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_inventorySlots);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_inventorySlots)) = value;
		}
	}

	// Token: 0x170017FF RID: 6143
	// (get) Token: 0x06004069 RID: 16489 RVA: 0x000FD260 File Offset: 0x000FB460
	// (set) Token: 0x0600406A RID: 16490 RVA: 0x000FD294 File Offset: 0x000FB494
	public unsafe Il2CppStructArray<ItemSystem.ItemType> currentItems
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_currentItems);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppStructArray<ItemSystem.ItemType>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BeatingGameData.NativeFieldInfoPtr_currentItems), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040029D3 RID: 10707
	private static readonly IntPtr NativeFieldInfoPtr_healthPoint;

	// Token: 0x040029D4 RID: 10708
	private static readonly IntPtr NativeFieldInfoPtr_manaPoint;

	// Token: 0x040029D5 RID: 10709
	private static readonly IntPtr NativeFieldInfoPtr_magicIndex;

	// Token: 0x040029D6 RID: 10710
	private static readonly IntPtr NativeFieldInfoPtr_inventoryIndex;

	// Token: 0x040029D7 RID: 10711
	private static readonly IntPtr NativeFieldInfoPtr_inventorySlots;

	// Token: 0x040029D8 RID: 10712
	private static readonly IntPtr NativeFieldInfoPtr_currentItems;

	// Token: 0x040029D9 RID: 10713
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
