61 lines
2.7 KiB
C#
61 lines
2.7 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes;
|
|
|
|
// Token: 0x02000106 RID: 262
|
|
public class IAchievementSystem : Il2CppObjectBase
|
|
{
|
|
// Token: 0x06003C6B RID: 15467 RVA: 0x000EE404 File Offset: 0x000EC604
|
|
[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: 0x06003C6C RID: 15468 RVA: 0x000EE474 File Offset: 0x000EC674
|
|
[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: 0x06003C6D RID: 15469 RVA: 0x000EE4D4 File Offset: 0x000EC6D4
|
|
// 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, 100666971);
|
|
IAchievementSystem.NativeMethodInfoPtr_Unlock_Public_Abstract_Virtual_New_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IAchievementSystem>.NativeClassPtr, 100666972);
|
|
}
|
|
|
|
// Token: 0x06003C6E RID: 15470 RVA: 0x000EE522 File Offset: 0x000EC722
|
|
public IAchievementSystem(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400277E RID: 10110
|
|
private static readonly IntPtr NativeMethodInfoPtr_HasUnlocked_Public_Abstract_Virtual_New_Boolean_Int32_0;
|
|
|
|
// Token: 0x0400277F RID: 10111
|
|
private static readonly IntPtr NativeMethodInfoPtr_Unlock_Public_Abstract_Virtual_New_Void_Int32_0;
|
|
}
|