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

// Token: 0x020001DD RID: 477
public class EventUnlockAchievements : SceneEvent
{
	// Token: 0x17001B97 RID: 7063
	// (get) Token: 0x06004D1E RID: 19742 RVA: 0x001340B0 File Offset: 0x001322B0
	public unsafe GameSave GameSave
	{
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 571606, XrefRangeEnd = 571610, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EventUnlockAchievements.NativeMethodInfoPtr_get_GameSave_Private_get_GameSave_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new GameSave(intPtr3) : null;
		}
	}

	// Token: 0x06004D1F RID: 19743 RVA: 0x00134108 File Offset: 0x00132308
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 571610, XrefRangeEnd = 571627, 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), EventUnlockAchievements.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004D20 RID: 19744 RVA: 0x00134158 File Offset: 0x00132358
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 569315, RefRangeEnd = 569320, XrefRangeStart = 569315, XrefRangeEnd = 569320, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe EventUnlockAchievements()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EventUnlockAchievements.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004D21 RID: 19745 RVA: 0x001341A4 File Offset: 0x001323A4
	// Note: this type is marked as 'beforefieldinit'.
	static EventUnlockAchievements()
	{
		Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "EventUnlockAchievements");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr);
		EventUnlockAchievements.NativeFieldInfoPtr_achievementId = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr, "achievementId");
		EventUnlockAchievements.NativeFieldInfoPtr_Special = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr, "Special");
		EventUnlockAchievements.NativeMethodInfoPtr_get_GameSave_Private_get_GameSave_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr, 100668496);
		EventUnlockAchievements.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr, 100668497);
		EventUnlockAchievements.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr, 100668498);
	}

	// Token: 0x06004D22 RID: 19746 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public EventUnlockAchievements(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B95 RID: 7061
	// (get) Token: 0x06004D23 RID: 19747 RVA: 0x00134238 File Offset: 0x00132438
	// (set) Token: 0x06004D24 RID: 19748 RVA: 0x00134260 File Offset: 0x00132460
	public unsafe GameAchievement achievementId
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EventUnlockAchievements.NativeFieldInfoPtr_achievementId);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EventUnlockAchievements.NativeFieldInfoPtr_achievementId)) = value;
		}
	}

	// Token: 0x17001B96 RID: 7062
	// (get) Token: 0x06004D25 RID: 19749 RVA: 0x00134284 File Offset: 0x00132484
	// (set) Token: 0x06004D26 RID: 19750 RVA: 0x001342B8 File Offset: 0x001324B8
	public unsafe GameObject Special
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EventUnlockAchievements.NativeFieldInfoPtr_Special);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EventUnlockAchievements.NativeFieldInfoPtr_Special), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x0400331C RID: 13084
	private static readonly IntPtr NativeFieldInfoPtr_achievementId;

	// Token: 0x0400331D RID: 13085
	private static readonly IntPtr NativeFieldInfoPtr_Special;

	// Token: 0x0400331E RID: 13086
	private static readonly IntPtr NativeMethodInfoPtr_get_GameSave_Private_get_GameSave_0;

	// Token: 0x0400331F RID: 13087
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003320 RID: 13088
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
