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

// Token: 0x0200020B RID: 523
public class Save : SceneEvent
{
	// Token: 0x06004FDB RID: 20443 RVA: 0x0013E520 File Offset: 0x0013C720
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573372, XrefRangeEnd = 573374, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Save.NativeMethodInfoPtr_Update_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FDC RID: 20444 RVA: 0x0013E564 File Offset: 0x0013C764
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573374, XrefRangeEnd = 573402, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Save.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FDD RID: 20445 RVA: 0x0013E5B4 File Offset: 0x0013C7B4
	[CallerCount(77)]
	[CachedScanResults(RefRangeStart = 573278, RefRangeEnd = 573355, XrefRangeStart = 573278, XrefRangeEnd = 573355, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Save()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<Save>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Save.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FDE RID: 20446 RVA: 0x0013E600 File Offset: 0x0013C800
	// Note: this type is marked as 'beforefieldinit'.
	static Save()
	{
		Il2CppClassPointerStore<Save>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "Save");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<Save>.NativeClassPtr);
		Save.NativeFieldInfoPtr_SP = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Save>.NativeClassPtr, "SP");
		Save.NativeFieldInfoPtr_g_bSaveing = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Save>.NativeClassPtr, "g_bSaveing");
		Save.NativeMethodInfoPtr_Update_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Save>.NativeClassPtr, 100668664);
		Save.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Save>.NativeClassPtr, 100668665);
		Save.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Save>.NativeClassPtr, 100668666);
	}

	// Token: 0x06004FDF RID: 20447 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public Save(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C79 RID: 7289
	// (get) Token: 0x06004FE0 RID: 20448 RVA: 0x0013E694 File Offset: 0x0013C894
	// (set) Token: 0x06004FE1 RID: 20449 RVA: 0x0013E6C8 File Offset: 0x0013C8C8
	public unsafe SavePoint SP
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Save.NativeFieldInfoPtr_SP);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SavePoint(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(Save.NativeFieldInfoPtr_SP), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C7A RID: 7290
	// (get) Token: 0x06004FE2 RID: 20450 RVA: 0x0013E6F0 File Offset: 0x0013C8F0
	// (set) Token: 0x06004FE3 RID: 20451 RVA: 0x0013E718 File Offset: 0x0013C918
	public unsafe bool g_bSaveing
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Save.NativeFieldInfoPtr_g_bSaveing);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Save.NativeFieldInfoPtr_g_bSaveing)) = value;
		}
	}

	// Token: 0x040034D8 RID: 13528
	private static readonly IntPtr NativeFieldInfoPtr_SP;

	// Token: 0x040034D9 RID: 13529
	private static readonly IntPtr NativeFieldInfoPtr_g_bSaveing;

	// Token: 0x040034DA RID: 13530
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Void_0;

	// Token: 0x040034DB RID: 13531
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040034DC RID: 13532
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
