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

// Token: 0x020001CE RID: 462
public class Save : SceneEvent
{
	// Token: 0x06004AAB RID: 19115 RVA: 0x00128D74 File Offset: 0x00126F74
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545216, XrefRangeEnd = 545218, 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: 0x06004AAC RID: 19116 RVA: 0x00128DB8 File Offset: 0x00126FB8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545218, XrefRangeEnd = 545244, 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: 0x06004AAD RID: 19117 RVA: 0x00128E08 File Offset: 0x00127008
	[CallerCount(68)]
	[CachedScanResults(RefRangeStart = 545245, RefRangeEnd = 545313, XrefRangeStart = 545244, XrefRangeEnd = 545245, 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: 0x06004AAE RID: 19118 RVA: 0x00128E54 File Offset: 0x00127054
	// 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, 100668228);
		Save.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Save>.NativeClassPtr, 100668229);
		Save.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Save>.NativeClassPtr, 100668230);
	}

	// Token: 0x06004AAF RID: 19119 RVA: 0x00117370 File Offset: 0x00115570
	public Save(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001AF6 RID: 6902
	// (get) Token: 0x06004AB0 RID: 19120 RVA: 0x00128EE8 File Offset: 0x001270E8
	// (set) Token: 0x06004AB1 RID: 19121 RVA: 0x00128F1C File Offset: 0x0012711C
	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: 0x17001AF7 RID: 6903
	// (get) Token: 0x06004AB2 RID: 19122 RVA: 0x00128F44 File Offset: 0x00127144
	// (set) Token: 0x06004AB3 RID: 19123 RVA: 0x00128F6C File Offset: 0x0012716C
	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: 0x04003158 RID: 12632
	private static readonly IntPtr NativeFieldInfoPtr_SP;

	// Token: 0x04003159 RID: 12633
	private static readonly IntPtr NativeFieldInfoPtr_g_bSaveing;

	// Token: 0x0400315A RID: 12634
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Void_0;

	// Token: 0x0400315B RID: 12635
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x0400315C RID: 12636
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
