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

// Token: 0x02000379 RID: 889
public class GameSaveTest : MonoBehaviour
{
	// Token: 0x06007593 RID: 30099 RVA: 0x001DE740 File Offset: 0x001DC940
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 615164, XrefRangeEnd = 615193, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Test()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameSaveTest.NativeMethodInfoPtr_Test_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007594 RID: 30100 RVA: 0x001DE784 File Offset: 0x001DC984
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameSaveTest()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameSaveTest>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameSaveTest.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007595 RID: 30101 RVA: 0x001DE7D0 File Offset: 0x001DC9D0
	// Note: this type is marked as 'beforefieldinit'.
	static GameSaveTest()
	{
		Il2CppClassPointerStore<GameSaveTest>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "GameSaveTest");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameSaveTest>.NativeClassPtr);
		GameSaveTest.NativeFieldInfoPtr_gameSaveLegacy = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameSaveTest>.NativeClassPtr, "gameSaveLegacy");
		GameSaveTest.NativeFieldInfoPtr_gameSave = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameSaveTest>.NativeClassPtr, "gameSave");
		GameSaveTest.NativeMethodInfoPtr_Test_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameSaveTest>.NativeClassPtr, 100672101);
		GameSaveTest.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameSaveTest>.NativeClassPtr, 100672102);
	}

	// Token: 0x06007596 RID: 30102 RVA: 0x0000351C File Offset: 0x0000171C
	public GameSaveTest(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002876 RID: 10358
	// (get) Token: 0x06007597 RID: 30103 RVA: 0x001DE850 File Offset: 0x001DCA50
	// (set) Token: 0x06007598 RID: 30104 RVA: 0x001DE884 File Offset: 0x001DCA84
	public unsafe GameSaveLegacy gameSaveLegacy
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSaveTest.NativeFieldInfoPtr_gameSaveLegacy);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameSaveLegacy(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSaveTest.NativeFieldInfoPtr_gameSaveLegacy), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002877 RID: 10359
	// (get) Token: 0x06007599 RID: 30105 RVA: 0x001DE8AC File Offset: 0x001DCAAC
	// (set) Token: 0x0600759A RID: 30106 RVA: 0x001DE8E0 File Offset: 0x001DCAE0
	public unsafe GameSave gameSave
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSaveTest.NativeFieldInfoPtr_gameSave);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameSave(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSaveTest.NativeFieldInfoPtr_gameSave), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004E53 RID: 20051
	private static readonly IntPtr NativeFieldInfoPtr_gameSaveLegacy;

	// Token: 0x04004E54 RID: 20052
	private static readonly IntPtr NativeFieldInfoPtr_gameSave;

	// Token: 0x04004E55 RID: 20053
	private static readonly IntPtr NativeMethodInfoPtr_Test_Private_Void_0;

	// Token: 0x04004E56 RID: 20054
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
