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

// Token: 0x02000105 RID: 261
public class IAchievementSystem : Il2CppObjectBase
{
	// Token: 0x06003C2A RID: 15402 RVA: 0x000ED4A0 File Offset: 0x000EB6A0
	[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: 0x06003C2B RID: 15403 RVA: 0x000ED510 File Offset: 0x000EB710
	[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: 0x06003C2C RID: 15404 RVA: 0x000ED570 File Offset: 0x000EB770
	// 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, 100666962);
		IAchievementSystem.NativeMethodInfoPtr_Unlock_Public_Abstract_Virtual_New_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IAchievementSystem>.NativeClassPtr, 100666963);
	}

	// Token: 0x06003C2D RID: 15405 RVA: 0x000ED5BE File Offset: 0x000EB7BE
	public IAchievementSystem(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x04002755 RID: 10069
	private static readonly IntPtr NativeMethodInfoPtr_HasUnlocked_Public_Abstract_Virtual_New_Boolean_Int32_0;

	// Token: 0x04002756 RID: 10070
	private static readonly IntPtr NativeMethodInfoPtr_Unlock_Public_Abstract_Virtual_New_Void_Int32_0;
}
