167 lines
7.2 KiB
C#
167 lines
7.2 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000A1 RID: 161
|
|
public class LockPoint : MonoBehaviour
|
|
{
|
|
// Token: 0x0600130A RID: 4874 RVA: 0x00052664 File Offset: 0x00050864
|
|
[CallerCount(0)]
|
|
public unsafe void SetLockState(bool locked)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref locked;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LockPoint.NativeMethodInfoPtr_SetLockState_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600130B RID: 4875 RVA: 0x000526B8 File Offset: 0x000508B8
|
|
[CallerCount(0)]
|
|
public unsafe bool GetLockState()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LockPoint.NativeMethodInfoPtr_GetLockState_Public_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x0600130C RID: 4876 RVA: 0x00052708 File Offset: 0x00050908
|
|
[CallerCount(0)]
|
|
public unsafe void SetLockEnable(bool bEnable)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref bEnable;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LockPoint.NativeMethodInfoPtr_SetLockEnable_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600130D RID: 4877 RVA: 0x0005275C File Offset: 0x0005095C
|
|
[CallerCount(0)]
|
|
public unsafe bool GetLockEnable()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LockPoint.NativeMethodInfoPtr_GetLockEnable_Public_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x0600130E RID: 4878 RVA: 0x000527AC File Offset: 0x000509AC
|
|
[CallerCount(34)]
|
|
[CachedScanResults(RefRangeStart = 229699, RefRangeEnd = 229733, XrefRangeStart = 229699, XrefRangeEnd = 229733, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe Transform GetTransform()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LockPoint.NativeMethodInfoPtr_GetTransform_Public_Transform_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
IntPtr intPtr3 = intPtr;
|
|
return (intPtr3 != 0) ? new Transform(intPtr3) : null;
|
|
}
|
|
|
|
// Token: 0x0600130F RID: 4879 RVA: 0x00052804 File Offset: 0x00050A04
|
|
[CallerCount(63)]
|
|
[CachedScanResults(RefRangeStart = 165985, RefRangeEnd = 166048, XrefRangeStart = 165985, XrefRangeEnd = 166048, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe LockPoint()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<LockPoint>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LockPoint.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06001310 RID: 4880 RVA: 0x00052850 File Offset: 0x00050A50
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static LockPoint()
|
|
{
|
|
Il2CppClassPointerStore<LockPoint>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "LockPoint");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<LockPoint>.NativeClassPtr);
|
|
LockPoint.NativeFieldInfoPtr_isLockEnabled = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LockPoint>.NativeClassPtr, "isLockEnabled");
|
|
LockPoint.NativeFieldInfoPtr_isLocked = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LockPoint>.NativeClassPtr, "isLocked");
|
|
LockPoint.NativeMethodInfoPtr_SetLockState_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LockPoint>.NativeClassPtr, 100665068);
|
|
LockPoint.NativeMethodInfoPtr_GetLockState_Public_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LockPoint>.NativeClassPtr, 100665069);
|
|
LockPoint.NativeMethodInfoPtr_SetLockEnable_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LockPoint>.NativeClassPtr, 100665070);
|
|
LockPoint.NativeMethodInfoPtr_GetLockEnable_Public_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LockPoint>.NativeClassPtr, 100665071);
|
|
LockPoint.NativeMethodInfoPtr_GetTransform_Public_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LockPoint>.NativeClassPtr, 100665072);
|
|
LockPoint.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LockPoint>.NativeClassPtr, 100665073);
|
|
}
|
|
|
|
// Token: 0x06001311 RID: 4881 RVA: 0x0000351C File Offset: 0x0000171C
|
|
public LockPoint(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170005CC RID: 1484
|
|
// (get) Token: 0x06001312 RID: 4882 RVA: 0x00052920 File Offset: 0x00050B20
|
|
// (set) Token: 0x06001313 RID: 4883 RVA: 0x00052948 File Offset: 0x00050B48
|
|
public unsafe bool isLockEnabled
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LockPoint.NativeFieldInfoPtr_isLockEnabled);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LockPoint.NativeFieldInfoPtr_isLockEnabled)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170005CD RID: 1485
|
|
// (get) Token: 0x06001314 RID: 4884 RVA: 0x0005296C File Offset: 0x00050B6C
|
|
// (set) Token: 0x06001315 RID: 4885 RVA: 0x00052994 File Offset: 0x00050B94
|
|
public unsafe bool isLocked
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LockPoint.NativeFieldInfoPtr_isLocked);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LockPoint.NativeFieldInfoPtr_isLocked)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000EF5 RID: 3829
|
|
private static readonly IntPtr NativeFieldInfoPtr_isLockEnabled;
|
|
|
|
// Token: 0x04000EF6 RID: 3830
|
|
private static readonly IntPtr NativeFieldInfoPtr_isLocked;
|
|
|
|
// Token: 0x04000EF7 RID: 3831
|
|
private static readonly IntPtr NativeMethodInfoPtr_SetLockState_Public_Void_Boolean_0;
|
|
|
|
// Token: 0x04000EF8 RID: 3832
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetLockState_Public_Boolean_0;
|
|
|
|
// Token: 0x04000EF9 RID: 3833
|
|
private static readonly IntPtr NativeMethodInfoPtr_SetLockEnable_Public_Void_Boolean_0;
|
|
|
|
// Token: 0x04000EFA RID: 3834
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetLockEnable_Public_Boolean_0;
|
|
|
|
// Token: 0x04000EFB RID: 3835
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetTransform_Public_Transform_0;
|
|
|
|
// Token: 0x04000EFC RID: 3836
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
}
|