220 lines
10 KiB
C#
220 lines
10 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.FinalIK
|
|
{
|
|
// Token: 0x0200040E RID: 1038
|
|
[Serializable]
|
|
public class ConstraintRotationOffset : Constraint
|
|
{
|
|
// Token: 0x06007C5B RID: 31835 RVA: 0x001FA7A0 File Offset: 0x001F89A0
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 611778, XrefRangeEnd = 611792, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void UpdateConstraint()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ConstraintRotationOffset.NativeMethodInfoPtr_UpdateConstraint_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007C5C RID: 31836 RVA: 0x001FA7F0 File Offset: 0x001F89F0
|
|
[CallerCount(1659)]
|
|
[CachedScanResults(RefRangeStart = 7639, RefRangeEnd = 9298, XrefRangeStart = 7639, XrefRangeEnd = 9298, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe ConstraintRotationOffset()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ConstraintRotationOffset.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007C5D RID: 31837 RVA: 0x001FA83C File Offset: 0x001F8A3C
|
|
[CallerCount(125)]
|
|
[CachedScanResults(RefRangeStart = 16819, RefRangeEnd = 16944, XrefRangeStart = 16819, XrefRangeEnd = 16944, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe ConstraintRotationOffset(Transform transform)
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr))
|
|
{
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(transform);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ConstraintRotationOffset.NativeMethodInfoPtr__ctor_Public_Void_Transform_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A72 RID: 10866
|
|
// (get) Token: 0x06007C5E RID: 31838 RVA: 0x001FA8A0 File Offset: 0x001F8AA0
|
|
public unsafe bool rotationChanged
|
|
{
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 611792, XrefRangeEnd = 611794, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ConstraintRotationOffset.NativeMethodInfoPtr_get_rotationChanged_Private_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06007C5F RID: 31839 RVA: 0x001FA8F0 File Offset: 0x001F8AF0
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static ConstraintRotationOffset()
|
|
{
|
|
Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "ConstraintRotationOffset");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr);
|
|
ConstraintRotationOffset.NativeFieldInfoPtr_offset = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, "offset");
|
|
ConstraintRotationOffset.NativeFieldInfoPtr_defaultRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, "defaultRotation");
|
|
ConstraintRotationOffset.NativeFieldInfoPtr_defaultLocalRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, "defaultLocalRotation");
|
|
ConstraintRotationOffset.NativeFieldInfoPtr_lastLocalRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, "lastLocalRotation");
|
|
ConstraintRotationOffset.NativeFieldInfoPtr_defaultTargetLocalRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, "defaultTargetLocalRotation");
|
|
ConstraintRotationOffset.NativeFieldInfoPtr_initiated = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, "initiated");
|
|
ConstraintRotationOffset.NativeMethodInfoPtr_UpdateConstraint_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, 100672635);
|
|
ConstraintRotationOffset.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, 100672636);
|
|
ConstraintRotationOffset.NativeMethodInfoPtr__ctor_Public_Void_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, 100672637);
|
|
ConstraintRotationOffset.NativeMethodInfoPtr_get_rotationChanged_Private_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ConstraintRotationOffset>.NativeClassPtr, 100672638);
|
|
}
|
|
|
|
// Token: 0x06007C60 RID: 31840 RVA: 0x001FA22C File Offset: 0x001F842C
|
|
public ConstraintRotationOffset(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17002A6C RID: 10860
|
|
// (get) Token: 0x06007C61 RID: 31841 RVA: 0x001FA9E8 File Offset: 0x001F8BE8
|
|
// (set) Token: 0x06007C62 RID: 31842 RVA: 0x001FAA10 File Offset: 0x001F8C10
|
|
public unsafe Quaternion offset
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_offset);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_offset)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A6D RID: 10861
|
|
// (get) Token: 0x06007C63 RID: 31843 RVA: 0x001FAA34 File Offset: 0x001F8C34
|
|
// (set) Token: 0x06007C64 RID: 31844 RVA: 0x001FAA5C File Offset: 0x001F8C5C
|
|
public unsafe Quaternion defaultRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_defaultRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_defaultRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A6E RID: 10862
|
|
// (get) Token: 0x06007C65 RID: 31845 RVA: 0x001FAA80 File Offset: 0x001F8C80
|
|
// (set) Token: 0x06007C66 RID: 31846 RVA: 0x001FAAA8 File Offset: 0x001F8CA8
|
|
public unsafe Quaternion defaultLocalRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_defaultLocalRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_defaultLocalRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A6F RID: 10863
|
|
// (get) Token: 0x06007C67 RID: 31847 RVA: 0x001FAACC File Offset: 0x001F8CCC
|
|
// (set) Token: 0x06007C68 RID: 31848 RVA: 0x001FAAF4 File Offset: 0x001F8CF4
|
|
public unsafe Quaternion lastLocalRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_lastLocalRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_lastLocalRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A70 RID: 10864
|
|
// (get) Token: 0x06007C69 RID: 31849 RVA: 0x001FAB18 File Offset: 0x001F8D18
|
|
// (set) Token: 0x06007C6A RID: 31850 RVA: 0x001FAB40 File Offset: 0x001F8D40
|
|
public unsafe Quaternion defaultTargetLocalRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_defaultTargetLocalRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_defaultTargetLocalRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A71 RID: 10865
|
|
// (get) Token: 0x06007C6B RID: 31851 RVA: 0x001FAB64 File Offset: 0x001F8D64
|
|
// (set) Token: 0x06007C6C RID: 31852 RVA: 0x001FAB8C File Offset: 0x001F8D8C
|
|
public unsafe bool initiated
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_initiated);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotationOffset.NativeFieldInfoPtr_initiated)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400531B RID: 21275
|
|
private static readonly IntPtr NativeFieldInfoPtr_offset;
|
|
|
|
// Token: 0x0400531C RID: 21276
|
|
private static readonly IntPtr NativeFieldInfoPtr_defaultRotation;
|
|
|
|
// Token: 0x0400531D RID: 21277
|
|
private static readonly IntPtr NativeFieldInfoPtr_defaultLocalRotation;
|
|
|
|
// Token: 0x0400531E RID: 21278
|
|
private static readonly IntPtr NativeFieldInfoPtr_lastLocalRotation;
|
|
|
|
// Token: 0x0400531F RID: 21279
|
|
private static readonly IntPtr NativeFieldInfoPtr_defaultTargetLocalRotation;
|
|
|
|
// Token: 0x04005320 RID: 21280
|
|
private static readonly IntPtr NativeFieldInfoPtr_initiated;
|
|
|
|
// Token: 0x04005321 RID: 21281
|
|
private static readonly IntPtr NativeMethodInfoPtr_UpdateConstraint_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x04005322 RID: 21282
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
|
|
// Token: 0x04005323 RID: 21283
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Transform_0;
|
|
|
|
// Token: 0x04005324 RID: 21284
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_rotationChanged_Private_get_Boolean_0;
|
|
}
|
|
}
|