242 lines
9.1 KiB
C#
242 lines
9.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.FinalIK
|
|
{
|
|
// Token: 0x02000433 RID: 1075
|
|
[Token(Token = "0x2000433")]
|
|
[Serializable]
|
|
public class IKSolverFABRIK : IKSolverHeuristic
|
|
{
|
|
// Token: 0x0600264B RID: 9803 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600264B")]
|
|
[Address(RVA = "0x16655D0", Offset = "0x1663DD0", VA = "0x1816655D0")]
|
|
public void SolveForward(Vector3 position)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600264C RID: 9804 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600264C")]
|
|
[Address(RVA = "0x1665500", Offset = "0x1663D00", VA = "0x181665500")]
|
|
public void SolveBackward(Vector3 position)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600264D RID: 9805 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600264D")]
|
|
[Address(RVA = "0x1663690", Offset = "0x1661E90", VA = "0x181663690", Slot = "5")]
|
|
public override Vector3 GetIKPosition()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600264E RID: 9806 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600264E")]
|
|
[Address(RVA = "0x16646F0", Offset = "0x1662EF0", VA = "0x1816646F0", Slot = "10")]
|
|
protected override void OnInitiate()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600264F RID: 9807 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600264F")]
|
|
[Address(RVA = "0x16651F0", Offset = "0x16639F0", VA = "0x1816651F0", Slot = "11")]
|
|
protected override void OnUpdate()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x17000231 RID: 561
|
|
// (get) Token: 0x06002650 RID: 9808 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x17000231")]
|
|
protected override bool boneLengthCanBeZero
|
|
{
|
|
[Token(Token = "0x6002650")]
|
|
[Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960", Slot = "13")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002651 RID: 9809 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002651")]
|
|
[Address(RVA = "0x1665680", Offset = "0x1663E80", VA = "0x181665680")]
|
|
private Vector3 SolveJoint(Vector3 pos1, Vector3 pos2, float length)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002652 RID: 9810 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002652")]
|
|
[Address(RVA = "0x1664C20", Offset = "0x1663420", VA = "0x181664C20")]
|
|
private void OnPreSolve()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002653 RID: 9811 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002653")]
|
|
[Address(RVA = "0x1664AD0", Offset = "0x16632D0", VA = "0x181664AD0")]
|
|
private void OnPostSolve()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002654 RID: 9812 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002654")]
|
|
[Address(RVA = "0x16657C0", Offset = "0x1663FC0", VA = "0x1816657C0")]
|
|
private void Solve(Vector3 targetPosition)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002655 RID: 9813 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002655")]
|
|
[Address(RVA = "0x16633A0", Offset = "0x1661BA0", VA = "0x1816633A0")]
|
|
private void ForwardReach(Vector3 position)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002656 RID: 9814 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002656")]
|
|
[Address(RVA = "0x1665A40", Offset = "0x1664240", VA = "0x181665A40")]
|
|
private void SolverMove(int index, Vector3 offset)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002657 RID: 9815 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002657")]
|
|
[Address(RVA = "0x1665BC0", Offset = "0x16643C0", VA = "0x181665BC0")]
|
|
private void SolverRotate(int index, Quaternion rotation, bool recursive)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002658 RID: 9816 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002658")]
|
|
[Address(RVA = "0x1665B00", Offset = "0x1664300", VA = "0x181665B00")]
|
|
private void SolverRotateChildren(int index, Quaternion rotation)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002659 RID: 9817 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002659")]
|
|
[Address(RVA = "0x1665870", Offset = "0x1664070", VA = "0x181665870")]
|
|
private void SolverMoveChildrenAroundPoint(int index, Quaternion rotation)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600265A RID: 9818 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600265A")]
|
|
[Address(RVA = "0x1663A20", Offset = "0x1662220", VA = "0x181663A20")]
|
|
private Quaternion GetParentSolverRotation(int index)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600265B RID: 9819 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600265B")]
|
|
[Address(RVA = "0x16638A0", Offset = "0x16620A0", VA = "0x1816638A0")]
|
|
private Vector3 GetParentSolverPosition(int index)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600265C RID: 9820 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600265C")]
|
|
[Address(RVA = "0x1663740", Offset = "0x1661F40", VA = "0x181663740")]
|
|
private Quaternion GetLimitedRotation(int index, Quaternion q, out bool changed)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600265D RID: 9821 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600265D")]
|
|
[Address(RVA = "0x1663B90", Offset = "0x1662390", VA = "0x181663B90")]
|
|
private void LimitForward(int rotateBone, int limitBone)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600265E RID: 9822 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600265E")]
|
|
[Address(RVA = "0x1663360", Offset = "0x1661B60", VA = "0x181663360")]
|
|
private void BackwardReach(Vector3 position)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600265F RID: 9823 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600265F")]
|
|
[Address(RVA = "0x1663170", Offset = "0x1661970", VA = "0x181663170")]
|
|
private void BackwardReachUnlimited(Vector3 position)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002660 RID: 9824 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002660")]
|
|
[Address(RVA = "0x1662A30", Offset = "0x1661230", VA = "0x181662A30")]
|
|
private void BackwardReachLimited(Vector3 position)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002661 RID: 9825 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002661")]
|
|
[Address(RVA = "0x1664530", Offset = "0x1662D30", VA = "0x181664530")]
|
|
private void MapToSolverPositions()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002662 RID: 9826 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002662")]
|
|
[Address(RVA = "0x1664410", Offset = "0x1662C10", VA = "0x181664410")]
|
|
private void MapToSolverPositionsLimited()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002663 RID: 9827 RVA: 0x00055C7C File Offset: 0x00053E7C
|
|
[Token(Token = "0x6002663")]
|
|
[Address(RVA = "0x1665CA0", Offset = "0x16644A0", VA = "0x181665CA0")]
|
|
public IKSolverFABRIK()
|
|
{
|
|
bool[] array = new bool[0];
|
|
this.limitedBones = array;
|
|
Vector3[] array2 = new Vector3[0];
|
|
this.solverLocalPositions = array2;
|
|
this.maxIterations = (int)((ulong)4L);
|
|
int num = 0;
|
|
this.useRotationLimits = true;
|
|
IKSolver.Bone[] array3 = new IKSolver.Bone[num];
|
|
this.bones = array3;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04002FEF RID: 12271
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4002FEF")]
|
|
public IKSolver.IterationDelegate OnPreIteration;
|
|
|
|
// Token: 0x04002FF0 RID: 12272
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4002FF0")]
|
|
private bool[] limitedBones;
|
|
|
|
// Token: 0x04002FF1 RID: 12273
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4002FF1")]
|
|
private Vector3[] solverLocalPositions;
|
|
}
|
|
}
|