134 lines
4.6 KiB
C#
134 lines
4.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.FinalIK
|
|
{
|
|
// Token: 0x02000434 RID: 1076
|
|
[Token(Token = "0x2000434")]
|
|
[Serializable]
|
|
public class IKSolverFABRIKRoot : IKSolver
|
|
{
|
|
// Token: 0x06002664 RID: 9828 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002664")]
|
|
[Address(RVA = "0x1661BA0", Offset = "0x16603A0", VA = "0x181661BA0", Slot = "4")]
|
|
public override bool IsValid(ref string message)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002665 RID: 9829 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002665")]
|
|
[Address(RVA = "0x1662900", Offset = "0x1661100", VA = "0x181662900", Slot = "9")]
|
|
public override void StoreDefaultLocalState()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002666 RID: 9830 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002666")]
|
|
[Address(RVA = "0x1661390", Offset = "0x165FB90", VA = "0x181661390", Slot = "8")]
|
|
public override void FixTransforms()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002667 RID: 9831 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002667")]
|
|
[Address(RVA = "0x16624E0", Offset = "0x1660CE0", VA = "0x1816624E0", Slot = "10")]
|
|
protected override void OnInitiate()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002668 RID: 9832 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002668")]
|
|
[Address(RVA = "0x1661B00", Offset = "0x1660300", VA = "0x181661B00")]
|
|
private bool IsRoot(int index)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002669 RID: 9833 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002669")]
|
|
[Address(RVA = "0x16626A0", Offset = "0x1660EA0", VA = "0x1816626A0", Slot = "11")]
|
|
protected override void OnUpdate()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600266A RID: 9834 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600266A")]
|
|
[Address(RVA = "0x16618F0", Offset = "0x16600F0", VA = "0x1816618F0", Slot = "6")]
|
|
public override IKSolver.Point[] GetPoints()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600266B RID: 9835 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600266B")]
|
|
[Address(RVA = "0x1661840", Offset = "0x1660040", VA = "0x181661840", Slot = "7")]
|
|
public override IKSolver.Point GetPoint(Transform transform)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600266C RID: 9836 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600266C")]
|
|
[Address(RVA = "0x1661220", Offset = "0x165FA20", VA = "0x181661220")]
|
|
private void AddPointsToArray(ref IKSolver.Point[] array, FABRIKChain chain)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600266D RID: 9837 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600266D")]
|
|
[Address(RVA = "0x1661460", Offset = "0x165FC60", VA = "0x181661460")]
|
|
private Vector3 GetCentroid()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600266E RID: 9838 RVA: 0x00055CCC File Offset: 0x00053ECC
|
|
[Token(Token = "0x600266E")]
|
|
[Address(RVA = "0x16629D0", Offset = "0x16611D0", VA = "0x1816629D0")]
|
|
public IKSolverFABRIKRoot()
|
|
{
|
|
FABRIKChain[] array = new FABRIKChain[0];
|
|
this.chains = array;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04002FF2 RID: 12274
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4002FF2")]
|
|
public int iterations = (int)((ulong)4L);
|
|
|
|
// Token: 0x04002FF3 RID: 12275
|
|
[FieldOffset(Offset = "0x5C")]
|
|
[Token(Token = "0x4002FF3")]
|
|
[Range(0f, 1f)]
|
|
public float rootPin;
|
|
|
|
// Token: 0x04002FF4 RID: 12276
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4002FF4")]
|
|
public FABRIKChain[] chains;
|
|
|
|
// Token: 0x04002FF5 RID: 12277
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4002FF5")]
|
|
private bool zeroWeightApplied;
|
|
|
|
// Token: 0x04002FF6 RID: 12278
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4002FF6")]
|
|
private bool[] isRoot;
|
|
|
|
// Token: 0x04002FF7 RID: 12279
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4002FF7")]
|
|
private Vector3 rootDefaultPosition;
|
|
}
|
|
}
|