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

// Token: 0x0200012B RID: 299
public class IAchievementSystem : Il2CppObjectBase
{
	// Token: 0x06003F55 RID: 16213 RVA: 0x000FB178 File Offset: 0x000F9378
	[CallerCount(0)]
	public unsafe virtual bool HasUnlocked(int index)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref index;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IAchievementSystem.NativeMethodInfoPtr_HasUnlocked_Public_Abstract_Virtual_New_Boolean_Int32_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}
	}

	// Token: 0x06003F56 RID: 16214 RVA: 0x000FB1E8 File Offset: 0x000F93E8
	[CallerCount(0)]
	public unsafe virtual void Unlock(int index)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref index;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IAchievementSystem.NativeMethodInfoPtr_Unlock_Public_Abstract_Virtual_New_Void_Int32_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06003F57 RID: 16215 RVA: 0x000FB248 File Offset: 0x000F9448
	// Note: this type is marked as 'beforefieldinit'.
	static IAchievementSystem()
	{
		Il2CppClassPointerStore<IAchievementSystem>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "IAchievementSystem");
		IAchievementSystem.NativeMethodInfoPtr_HasUnlocked_Public_Abstract_Virtual_New_Boolean_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IAchievementSystem>.NativeClassPtr, 100667261);
		IAchievementSystem.NativeMethodInfoPtr_Unlock_Public_Abstract_Virtual_New_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IAchievementSystem>.NativeClassPtr, 100667262);
	}

	// Token: 0x06003F58 RID: 16216 RVA: 0x000FB296 File Offset: 0x000F9496
	public IAchievementSystem(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x0400297F RID: 10623
	private static readonly IntPtr NativeMethodInfoPtr_HasUnlocked_Public_Abstract_Virtual_New_Boolean_Int32_0;

	// Token: 0x04002980 RID: 10624
	private static readonly IntPtr NativeMethodInfoPtr_Unlock_Public_Abstract_Virtual_New_Void_Int32_0;
}
