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

// Token: 0x020001A6 RID: 422
public class EventUnlockAchievements : SceneEvent
{
	// Token: 0x17001A20 RID: 6688
	// (get) Token: 0x06004823 RID: 18467 RVA: 0x0011F64C File Offset: 0x0011D84C
	public unsafe GameSave GameSave
	{
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543701, XrefRangeEnd = 543705, 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: 0x06004824 RID: 18468 RVA: 0x0011F6A4 File Offset: 0x0011D8A4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543705, XrefRangeEnd = 543722, 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: 0x06004825 RID: 18469 RVA: 0x0011F6F4 File Offset: 0x0011D8F4
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 541882, RefRangeEnd = 541887, XrefRangeStart = 541882, XrefRangeEnd = 541887, 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: 0x06004826 RID: 18470 RVA: 0x0011F740 File Offset: 0x0011D940
	// 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, 100668081);
		EventUnlockAchievements.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr, 100668082);
		EventUnlockAchievements.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EventUnlockAchievements>.NativeClassPtr, 100668083);
	}

	// Token: 0x06004827 RID: 18471 RVA: 0x00117370 File Offset: 0x00115570
	public EventUnlockAchievements(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001A1E RID: 6686
	// (get) Token: 0x06004828 RID: 18472 RVA: 0x0011F7D4 File Offset: 0x0011D9D4
	// (set) Token: 0x06004829 RID: 18473 RVA: 0x0011F7FC File Offset: 0x0011D9FC
	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: 0x17001A1F RID: 6687
	// (get) Token: 0x0600482A RID: 18474 RVA: 0x0011F820 File Offset: 0x0011DA20
	// (set) Token: 0x0600482B RID: 18475 RVA: 0x0011F854 File Offset: 0x0011DA54
	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: 0x04002FBF RID: 12223
	private static readonly IntPtr NativeFieldInfoPtr_achievementId;

	// Token: 0x04002FC0 RID: 12224
	private static readonly IntPtr NativeFieldInfoPtr_Special;

	// Token: 0x04002FC1 RID: 12225
	private static readonly IntPtr NativeMethodInfoPtr_get_GameSave_Private_get_GameSave_0;

	// Token: 0x04002FC2 RID: 12226
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04002FC3 RID: 12227
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
