using System; using Il2CppInterop.Common.Attributes; using Il2CppInterop.Runtime; using UnityEngine; namespace RootMotion.FinalIK { // Token: 0x0200045C RID: 1116 [Serializable] public class ConstraintRotation : Constraint { // Token: 0x060083F7 RID: 33783 RVA: 0x0021A70C File Offset: 0x0021890C [CallerCount(0)] [CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626480, XrefRangeEnd = 626487, 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), ConstraintRotation.NativeMethodInfoPtr_UpdateConstraint_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } // Token: 0x060083F8 RID: 33784 RVA: 0x0021A75C File Offset: 0x0021895C [CallerCount(1664)] [CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe ConstraintRotation() : this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore.NativeClassPtr)) { IntPtr* ptr = null; IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ConstraintRotation.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } // Token: 0x060083F9 RID: 33785 RVA: 0x0021A7A8 File Offset: 0x002189A8 [CallerCount(125)] [CachedScanResults(RefRangeStart = 16970, RefRangeEnd = 17095, XrefRangeStart = 16970, XrefRangeEnd = 17095, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe ConstraintRotation(Transform transform) : this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore.NativeClassPtr)) { checked { IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.Il2CppObjectBaseToPtr(transform); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ConstraintRotation.NativeMethodInfoPtr__ctor_Public_Void_Transform_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } } // Token: 0x060083FA RID: 33786 RVA: 0x0021A80C File Offset: 0x00218A0C // Note: this type is marked as 'beforefieldinit'. static ConstraintRotation() { Il2CppClassPointerStore.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "ConstraintRotation"); IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore.NativeClassPtr); ConstraintRotation.NativeFieldInfoPtr_rotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "rotation"); ConstraintRotation.NativeMethodInfoPtr_UpdateConstraint_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100673295); ConstraintRotation.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100673296); ConstraintRotation.NativeMethodInfoPtr__ctor_Public_Void_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100673297); } // Token: 0x060083FB RID: 33787 RVA: 0x0021A364 File Offset: 0x00218564 public ConstraintRotation(IntPtr pointer) : base(pointer) { } // Token: 0x17002CD4 RID: 11476 // (get) Token: 0x060083FC RID: 33788 RVA: 0x0021A88C File Offset: 0x00218A8C // (set) Token: 0x060083FD RID: 33789 RVA: 0x0021A8B4 File Offset: 0x00218AB4 public unsafe Quaternion rotation { get { IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotation.NativeFieldInfoPtr_rotation); return *intPtr; } set { *(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ConstraintRotation.NativeFieldInfoPtr_rotation)) = value; } } // Token: 0x0400584C RID: 22604 private static readonly IntPtr NativeFieldInfoPtr_rotation; // Token: 0x0400584D RID: 22605 private static readonly IntPtr NativeMethodInfoPtr_UpdateConstraint_Public_Virtual_Void_0; // Token: 0x0400584E RID: 22606 private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0; // Token: 0x0400584F RID: 22607 private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Transform_0; } }