using System; using System.Runtime.CompilerServices; using Cpp2IlInjected; using UnityEngine; namespace RootMotion.FinalIK { // Token: 0x0200040B RID: 1035 [Token(Token = "0x200040B")] [Serializable] public class Grounding { // Token: 0x1700020E RID: 526 // (get) Token: 0x060024E1 RID: 9441 RVA: 0x00053D3C File Offset: 0x00051F3C // (set) Token: 0x060024E2 RID: 9442 RVA: 0x00053D50 File Offset: 0x00051F50 [Token(Token = "0x1700020E")] public Grounding.Leg[] legs { [Token(Token = "0x60024E1")] [Address(RVA = "0x354050", Offset = "0x352850", VA = "0x180354050")] [CompilerGenerated] get { return this.k__BackingField; } [Token(Token = "0x60024E2")] [Address(RVA = "0x4B9090", Offset = "0x4B7890", VA = "0x1804B9090")] [CompilerGenerated] private set { /* An exception occurred when decompiling this method (060024E2) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RootMotion.FinalIK.Grounding::set_legs(RootMotion.FinalIK.Grounding/Leg[]) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; stfld:class RootMotion.FinalIK.Grounding/Leg[](Grounding::k__BackingField, ldloc:Grounding(this), ldloc:class RootMotion.FinalIK.Grounding/Leg[](value)); }; at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618 */; } } // Token: 0x1700020F RID: 527 // (get) Token: 0x060024E3 RID: 9443 RVA: 0x00053D64 File Offset: 0x00051F64 // (set) Token: 0x060024E4 RID: 9444 RVA: 0x00053D78 File Offset: 0x00051F78 [Token(Token = "0x1700020F")] public Grounding.Pelvis pelvis { [Token(Token = "0x60024E3")] [Address(RVA = "0x354170", Offset = "0x352970", VA = "0x180354170")] [CompilerGenerated] get { return this.k__BackingField; } [Token(Token = "0x60024E4")] [Address(RVA = "0x628230", Offset = "0x626A30", VA = "0x180628230")] [CompilerGenerated] private set { /* An exception occurred when decompiling this method (060024E4) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RootMotion.FinalIK.Grounding::set_pelvis(RootMotion.FinalIK.Grounding/Pelvis) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; stfld:Pelvis(Grounding::k__BackingField, ldloc:Grounding(this), ldloc:Pelvis(value)); }; at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618 */; } } // Token: 0x17000210 RID: 528 // (get) Token: 0x060024E5 RID: 9445 RVA: 0x00053D8C File Offset: 0x00051F8C // (set) Token: 0x060024E6 RID: 9446 RVA: 0x00053DA0 File Offset: 0x00051FA0 [Token(Token = "0x17000210")] public bool isGrounded { [Token(Token = "0x60024E5")] [Address(RVA = "0xBA6240", Offset = "0xBA4A40", VA = "0x180BA6240")] get; [Token(Token = "0x60024E6")] [Address(RVA = "0x6CA070", Offset = "0x6C8870", VA = "0x1806CA070")] private set; } // Token: 0x17000211 RID: 529 // (get) Token: 0x060024E7 RID: 9447 RVA: 0x00053DB4 File Offset: 0x00051FB4 // (set) Token: 0x060024E8 RID: 9448 RVA: 0x00053DC8 File Offset: 0x00051FC8 [Token(Token = "0x17000211")] public Transform root { [Token(Token = "0x60024E7")] [Address(RVA = "0x451CE0", Offset = "0x4504E0", VA = "0x180451CE0")] [CompilerGenerated] get { return this.k__BackingField; } [Token(Token = "0x60024E8")] [Address(RVA = "0x558E70", Offset = "0x557670", VA = "0x180558E70")] [CompilerGenerated] private set { /* An exception occurred when decompiling this method (060024E8) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RootMotion.FinalIK.Grounding::set_root(UnityEngine.Transform) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; stfld:Transform(Grounding::k__BackingField, ldloc:Grounding(this), ldloc:Transform(value)); }; at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618 */; } } // Token: 0x17000212 RID: 530 // (get) Token: 0x060024E9 RID: 9449 RVA: 0x000020D3 File Offset: 0x000002D3 // (set) Token: 0x060024EA RID: 9450 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000212")] public RaycastHit rootHit { [Token(Token = "0x60024E9")] [Address(RVA = "0x11DEB10", Offset = "0x11DD310", VA = "0x1811DEB10")] [CompilerGenerated] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } [Token(Token = "0x60024EA")] [Address(RVA = "0x11DEC40", Offset = "0x11DD440", VA = "0x1811DEC40")] [CompilerGenerated] private set { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17000213 RID: 531 // (get) Token: 0x060024EB RID: 9451 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000213")] public bool rootGrounded { [Token(Token = "0x60024EB")] [Address(RVA = "0x11DEAB0", Offset = "0x11DD2B0", VA = "0x1811DEAB0")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x060024EC RID: 9452 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x60024EC")] [Address(RVA = "0x11DDC30", Offset = "0x11DC430", VA = "0x1811DDC30")] public RaycastHit GetRootHit(float maxDistanceMlp = 10f) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060024ED RID: 9453 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x60024ED")] [Address(RVA = "0x11DE610", Offset = "0x11DCE10", VA = "0x1811DE610")] public bool IsValid(ref string errorMessage) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060024EE RID: 9454 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x60024EE")] [Address(RVA = "0x11DE270", Offset = "0x11DCA70", VA = "0x1811DE270")] public void Initiate(Transform root, Transform[] feet) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060024EF RID: 9455 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x60024EF")] [Address(RVA = "0x11DE7E0", Offset = "0x11DCFE0", VA = "0x1811DE7E0")] public void Update() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060024F0 RID: 9456 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x60024F0")] [Address(RVA = "0x11DD960", Offset = "0x11DC160", VA = "0x1811DD960")] public Vector3 GetLegsPlaneNormal() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060024F1 RID: 9457 RVA: 0x00053DDC File Offset: 0x00051FDC [Token(Token = "0x60024F1")] [Address(RVA = "0x11DE760", Offset = "0x11DCF60", VA = "0x1811DE760")] public void Reset() { if (Application.isPlaying) { this.k__BackingField.Reset(); Grounding.Leg[] array = this.k__BackingField; int num = 0; int length = array.Length; if (num < length) { array[num].Reset(); num++; } } } // Token: 0x060024F2 RID: 9458 RVA: 0x00053E28 File Offset: 0x00052028 [Token(Token = "0x60024F2")] [Address(RVA = "0x11DE740", Offset = "0x11DCF40", VA = "0x1811DE740")] public void LogWarning(string message) { Transform transform = this.k__BackingField; int num = 0; Warning.Log(message, transform, num != 0); } // Token: 0x17000214 RID: 532 // (get) Token: 0x060024F3 RID: 9459 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000214")] public Vector3 up { [Token(Token = "0x60024F3")] [Address(RVA = "0x11DEB40", Offset = "0x11DD340", VA = "0x1811DEB40")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x060024F4 RID: 9460 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x60024F4")] [Address(RVA = "0x11DE150", Offset = "0x11DC950", VA = "0x1811DE150")] public float GetVerticalOffset(Vector3 p1, Vector3 p2) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060024F5 RID: 9461 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x60024F5")] [Address(RVA = "0x11DD750", Offset = "0x11DBF50", VA = "0x1811DD750")] public Vector3 Flatten(Vector3 v) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x17000215 RID: 533 // (get) Token: 0x060024F6 RID: 9462 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000215")] private bool useRootRotation { [Token(Token = "0x60024F6")] [Address(RVA = "0x11DEBB0", Offset = "0x11DD3B0", VA = "0x1811DEBB0")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x060024F7 RID: 9463 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x60024F7")] [Address(RVA = "0x11DD840", Offset = "0x11DC040", VA = "0x1811DD840")] public Vector3 GetFootCenterOffset() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060024F8 RID: 9464 RVA: 0x00053E48 File Offset: 0x00052048 [Token(Token = "0x60024F8")] [Address(RVA = "0x11DEA50", Offset = "0x11DD250", VA = "0x1811DEA50")] public Grounding() { } // Token: 0x04002EA8 RID: 11944 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4002EA8")] [Tooltip("Layers to ground the character to. Make sure to exclude the layer of the character controller.")] public LayerMask layers; // Token: 0x04002EA9 RID: 11945 [FieldOffset(Offset = "0x14")] [Token(Token = "0x4002EA9")] [Tooltip("Max step height. Maximum vertical distance of Grounding from the root of the character.")] public float maxStep = 0.5f; // Token: 0x04002EAA RID: 11946 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4002EAA")] [Tooltip("The height offset of the root.")] public float heightOffset; // Token: 0x04002EAB RID: 11947 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x4002EAB")] [Tooltip("The speed of moving the feet up/down.")] public float footSpeed = 2.5f; // Token: 0x04002EAC RID: 11948 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4002EAC")] [Tooltip("CapsuleCast radius. Should match approximately with the size of the feet.")] public float footRadius = 0.15f; // Token: 0x04002EAD RID: 11949 [FieldOffset(Offset = "0x24")] [Token(Token = "0x4002EAD")] [HideInInspector] [Tooltip("Offset of the foot center along character forward axis.")] public float footCenterOffset; // Token: 0x04002EAE RID: 11950 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4002EAE")] [Tooltip("Amount of velocity based prediction of the foot positions.")] public float prediction = 0.05f; // Token: 0x04002EAF RID: 11951 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x4002EAF")] [Range(0f, 1f)] [Tooltip("Weight of rotating the feet to the ground normal offset.")] public float footRotationWeight = 1f; // Token: 0x04002EB0 RID: 11952 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4002EB0")] [Tooltip("Speed of slerping the feet to their grounded rotations.")] public float footRotationSpeed = 7f; // Token: 0x04002EB1 RID: 11953 [FieldOffset(Offset = "0x34")] [Token(Token = "0x4002EB1")] [Tooltip("Max Foot Rotation Angle. Max angular offset from the foot's rotation.")] [Range(0f, 90f)] public float maxFootRotationAngle = 45f; // Token: 0x04002EB2 RID: 11954 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4002EB2")] [Tooltip("If true, solver will rotate with the character root so the character can be grounded for example to spherical planets. For performance reasons leave this off unless needed.")] public bool rotateSolver; // Token: 0x04002EB3 RID: 11955 [FieldOffset(Offset = "0x3C")] [Token(Token = "0x4002EB3")] [Tooltip("The speed of moving the character up/down.")] public float pelvisSpeed = 5f; // Token: 0x04002EB4 RID: 11956 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4002EB4")] [Tooltip("Used for smoothing out vertical pelvis movement (range 0 - 1).")] [Range(0f, 1f)] public float pelvisDamper; // Token: 0x04002EB5 RID: 11957 [FieldOffset(Offset = "0x44")] [Token(Token = "0x4002EB5")] [Tooltip("The weight of lowering the pelvis to the lowest foot.")] public float lowerPelvisWeight = 1f; // Token: 0x04002EB6 RID: 11958 [FieldOffset(Offset = "0x48")] [Token(Token = "0x4002EB6")] [Tooltip("The weight of lifting the pelvis to the highest foot. This is useful when you don't want the feet to go too high relative to the body when crouching.")] public float liftPelvisWeight; // Token: 0x04002EB7 RID: 11959 [FieldOffset(Offset = "0x4C")] [Token(Token = "0x4002EB7")] [Tooltip("The radius of the spherecast from the root that determines whether the character root is grounded.")] public float rootSphereCastRadius = 0.1f; // Token: 0x04002EB8 RID: 11960 [FieldOffset(Offset = "0x50")] [Token(Token = "0x4002EB8")] [Tooltip("The raycasting quality. Fastest is a single raycast per foot, Simple is three raycasts, Best is one raycast and a capsule cast per foot.")] public Grounding.Quality quality = (Grounding.Quality)((ulong)2L); // Token: 0x04002EBE RID: 11966 [FieldOffset(Offset = "0xA4")] [Token(Token = "0x4002EBE")] private bool initiated; // Token: 0x0200040C RID: 1036 [Token(Token = "0x200040C")] [Serializable] public enum Quality { // Token: 0x04002EC0 RID: 11968 [Token(Token = "0x4002EC0")] Fastest, // Token: 0x04002EC1 RID: 11969 [Token(Token = "0x4002EC1")] Simple, // Token: 0x04002EC2 RID: 11970 [Token(Token = "0x4002EC2")] Best } // Token: 0x0200040D RID: 1037 [Token(Token = "0x200040D")] public class Leg { // Token: 0x17000216 RID: 534 // (get) Token: 0x060024F9 RID: 9465 RVA: 0x00053ED4 File Offset: 0x000520D4 // (set) Token: 0x060024FA RID: 9466 RVA: 0x00053EE8 File Offset: 0x000520E8 [Token(Token = "0x17000216")] public bool isGrounded { [Token(Token = "0x60024F9")] [Address(RVA = "0x34A550", Offset = "0x348D50", VA = "0x18034A550")] get; [Token(Token = "0x60024FA")] [Address(RVA = "0x34E510", Offset = "0x34CD10", VA = "0x18034E510")] private set; } // Token: 0x17000217 RID: 535 // (get) Token: 0x060024FB RID: 9467 RVA: 0x000020D3 File Offset: 0x000002D3 // (set) Token: 0x060024FC RID: 9468 RVA: 0x00053EFC File Offset: 0x000520FC [Token(Token = "0x17000217")] public Vector3 IKPosition { [Token(Token = "0x60024FB")] [Address(RVA = "0x573F50", Offset = "0x572750", VA = "0x180573F50")] [CompilerGenerated] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } [Token(Token = "0x60024FC")] [Address(RVA = "0x66F9F0", Offset = "0x66E1F0", VA = "0x18066F9F0")] [CompilerGenerated] private set { float z = value.z; this.k__BackingField.z = z; } } // Token: 0x17000218 RID: 536 // (get) Token: 0x060024FD RID: 9469 RVA: 0x00053F1C File Offset: 0x0005211C // (set) Token: 0x060024FE RID: 9470 RVA: 0x00053F30 File Offset: 0x00052130 [Token(Token = "0x17000218")] public bool initiated { [Token(Token = "0x60024FD")] [Address(RVA = "0x477710", Offset = "0x475F10", VA = "0x180477710")] get; [Token(Token = "0x60024FE")] [Address(RVA = "0x4FCED0", Offset = "0x4FB6D0", VA = "0x1804FCED0")] private set; } // Token: 0x17000219 RID: 537 // (get) Token: 0x060024FF RID: 9471 RVA: 0x00053F44 File Offset: 0x00052144 // (set) Token: 0x06002500 RID: 9472 RVA: 0x00053F58 File Offset: 0x00052158 [Token(Token = "0x17000219")] public float heightFromGround { [Token(Token = "0x60024FF")] [Address(RVA = "0x5FEDE0", Offset = "0x5FD5E0", VA = "0x1805FEDE0")] get; [Token(Token = "0x6002500")] [Address(RVA = "0x5FEF20", Offset = "0x5FD720", VA = "0x1805FEF20")] private set; } // Token: 0x1700021A RID: 538 // (get) Token: 0x06002501 RID: 9473 RVA: 0x000020D3 File Offset: 0x000002D3 // (set) Token: 0x06002502 RID: 9474 RVA: 0x00053F6C File Offset: 0x0005216C [Token(Token = "0x1700021A")] public Vector3 velocity { [Token(Token = "0x6002501")] [Address(RVA = "0x3D4860", Offset = "0x3D3060", VA = "0x1803D4860")] [CompilerGenerated] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } [Token(Token = "0x6002502")] [Address(RVA = "0x3D48E0", Offset = "0x3D30E0", VA = "0x1803D48E0")] [CompilerGenerated] private set { float z = value.z; this.k__BackingField.z = z; } } // Token: 0x1700021B RID: 539 // (get) Token: 0x06002503 RID: 9475 RVA: 0x00053F8C File Offset: 0x0005218C // (set) Token: 0x06002504 RID: 9476 RVA: 0x00053FA0 File Offset: 0x000521A0 [Token(Token = "0x1700021B")] public Transform transform { [Token(Token = "0x6002503")] [Address(RVA = "0x34A400", Offset = "0x348C00", VA = "0x18034A400")] [CompilerGenerated] get { return this.k__BackingField; } [Token(Token = "0x6002504")] [Address(RVA = "0x505EE0", Offset = "0x5046E0", VA = "0x180505EE0")] [CompilerGenerated] private set { /* An exception occurred when decompiling this method (06002504) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RootMotion.FinalIK.Grounding/Leg::set_transform(UnityEngine.Transform) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; stfld:Transform(Leg::k__BackingField, ldloc:Leg(this), ldloc:Transform(value)); }; at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618 */; } } // Token: 0x1700021C RID: 540 // (get) Token: 0x06002505 RID: 9477 RVA: 0x00053FB4 File Offset: 0x000521B4 // (set) Token: 0x06002506 RID: 9478 RVA: 0x00053FC8 File Offset: 0x000521C8 [Token(Token = "0x1700021C")] public float IKOffset { [Token(Token = "0x6002505")] [Address(RVA = "0x4AB650", Offset = "0x4A9E50", VA = "0x1804AB650")] get; [Token(Token = "0x6002506")] [Address(RVA = "0x4B8FC0", Offset = "0x4B77C0", VA = "0x1804B8FC0")] private set; } // Token: 0x06002507 RID: 9479 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002507")] [Address(RVA = "0x66E280", Offset = "0x66CA80", VA = "0x18066E280")] public void Initiate(Grounding grounding, Transform transform) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002508 RID: 9480 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002508")] [Address(RVA = "0x66E360", Offset = "0x66CB60", VA = "0x18066E360")] public void OnEnable() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002509 RID: 9481 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002509")] [Address(RVA = "0x66F200", Offset = "0x66DA00", VA = "0x18066F200")] public void Reset() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600250A RID: 9482 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600250A")] [Address(RVA = "0x66E3B0", Offset = "0x66CBB0", VA = "0x18066E3B0")] public void Process() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x1700021D RID: 541 // (get) Token: 0x0600250B RID: 9483 RVA: 0x00053FDC File Offset: 0x000521DC [Token(Token = "0x1700021D")] public float stepHeightFromGround { [Token(Token = "0x600250B")] [Address(RVA = "0x66F9B0", Offset = "0x66E1B0", VA = "0x18066F9B0")] get { float maxStep = this.grounding.maxStep; return Mathf.Clamp(this.k__BackingField, maxStep, maxStep); } } // Token: 0x0600250C RID: 9484 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600250C")] [Address(RVA = "0x66D820", Offset = "0x66C020", VA = "0x18066D820")] private RaycastHit GetCapsuleHit(Vector3 offsetFromHeel) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600250D RID: 9485 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600250D")] [Address(RVA = "0x66DEF0", Offset = "0x66C6F0", VA = "0x18066DEF0")] private RaycastHit GetRaycastHit(Vector3 offsetFromHeel) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600250E RID: 9486 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600250E")] [Address(RVA = "0x66F390", Offset = "0x66DB90", VA = "0x18066F390")] private Vector3 RotateNormal(Vector3 normal) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600250F RID: 9487 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600250F")] [Address(RVA = "0x66F700", Offset = "0x66DF00", VA = "0x18066F700")] private void SetFootToPoint(Vector3 normal, Vector3 point) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002510 RID: 9488 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002510")] [Address(RVA = "0x66F440", Offset = "0x66DC40", VA = "0x18066F440")] private void SetFootToPlane(Vector3 planeNormal, Vector3 planePoint, Vector3 heelHitPoint) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002511 RID: 9489 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002511")] [Address(RVA = "0x66DD30", Offset = "0x66C530", VA = "0x18066DD30")] private float GetHeightFromGround(Vector3 hitPoint) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002512 RID: 9490 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002512")] [Address(RVA = "0x66F290", Offset = "0x66DA90", VA = "0x18066F290")] private void RotateFoot() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002513 RID: 9491 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002513")] [Address(RVA = "0x66E1C0", Offset = "0x66C9C0", VA = "0x18066E1C0")] private Quaternion GetRotationOffsetTarget() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x1700021E RID: 542 // (get) Token: 0x06002514 RID: 9492 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x1700021E")] private float rootYOffset { [Token(Token = "0x6002514")] [Address(RVA = "0x66F860", Offset = "0x66E060", VA = "0x18066F860")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x06002515 RID: 9493 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002515")] [Address(RVA = "0x66F810", Offset = "0x66E010", VA = "0x18066F810")] public Leg() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x04002EC5 RID: 11973 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4002EC5")] public Quaternion rotationOffset; // Token: 0x04002ECB RID: 11979 [FieldOffset(Offset = "0x54")] [Token(Token = "0x4002ECB")] public bool invertFootCenter; // Token: 0x04002ECC RID: 11980 [FieldOffset(Offset = "0x58")] [Token(Token = "0x4002ECC")] private Grounding grounding; // Token: 0x04002ECD RID: 11981 [FieldOffset(Offset = "0x60")] [Token(Token = "0x4002ECD")] private float lastTime; // Token: 0x04002ECE RID: 11982 [FieldOffset(Offset = "0x64")] [Token(Token = "0x4002ECE")] private float deltaTime; // Token: 0x04002ECF RID: 11983 [FieldOffset(Offset = "0x68")] [Token(Token = "0x4002ECF")] private Vector3 lastPosition; // Token: 0x04002ED0 RID: 11984 [FieldOffset(Offset = "0x74")] [Token(Token = "0x4002ED0")] private Quaternion toHitNormal; // Token: 0x04002ED1 RID: 11985 [FieldOffset(Offset = "0x84")] [Token(Token = "0x4002ED1")] private Quaternion r; // Token: 0x04002ED2 RID: 11986 [FieldOffset(Offset = "0x94")] [Token(Token = "0x4002ED2")] private RaycastHit heelHit; // Token: 0x04002ED3 RID: 11987 [FieldOffset(Offset = "0xC0")] [Token(Token = "0x4002ED3")] private Vector3 up; } // Token: 0x0200040E RID: 1038 [Token(Token = "0x200040E")] public class Pelvis { // Token: 0x1700021F RID: 543 // (get) Token: 0x06002516 RID: 9494 RVA: 0x000020D3 File Offset: 0x000002D3 // (set) Token: 0x06002517 RID: 9495 RVA: 0x00054008 File Offset: 0x00052208 [Token(Token = "0x1700021F")] public Vector3 IKOffset { [Token(Token = "0x6002516")] [Address(RVA = "0x470CF0", Offset = "0x46F4F0", VA = "0x180470CF0")] [CompilerGenerated] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } [Token(Token = "0x6002517")] [Address(RVA = "0x9462D0", Offset = "0x944AD0", VA = "0x1809462D0")] [CompilerGenerated] private set { float z = value.z; this.k__BackingField.z = z; } } // Token: 0x17000220 RID: 544 // (get) Token: 0x06002518 RID: 9496 RVA: 0x00054028 File Offset: 0x00052228 // (set) Token: 0x06002519 RID: 9497 RVA: 0x0005403C File Offset: 0x0005223C [Token(Token = "0x17000220")] public float heightOffset { [Token(Token = "0x6002518")] [Address(RVA = "0x5B1FE0", Offset = "0x5B07E0", VA = "0x1805B1FE0")] get; [Token(Token = "0x6002519")] [Address(RVA = "0x761C20", Offset = "0x760420", VA = "0x180761C20")] private set; } // Token: 0x0600251A RID: 9498 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600251A")] [Address(RVA = "0x158C5C0", Offset = "0x158ADC0", VA = "0x18158C5C0")] public void Initiate(Grounding grounding) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600251B RID: 9499 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600251B")] [Address(RVA = "0x158C940", Offset = "0x158B140", VA = "0x18158C940")] public void Reset() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600251C RID: 9500 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600251C")] [Address(RVA = "0x158C640", Offset = "0x158AE40", VA = "0x18158C640")] public void OnEnable() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600251D RID: 9501 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600251D")] [Address(RVA = "0x158C6B0", Offset = "0x158AEB0", VA = "0x18158C6B0")] public void Process(float lowestOffset, float highestOffset, bool isGrounded) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600251E RID: 9502 RVA: 0x00054050 File Offset: 0x00052250 [Token(Token = "0x600251E")] [Address(RVA = "0x43A830", Offset = "0x439030", VA = "0x18043A830")] public Pelvis() { } // Token: 0x04002ED6 RID: 11990 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4002ED6")] private Grounding grounding; // Token: 0x04002ED7 RID: 11991 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4002ED7")] private Vector3 lastRootPosition; // Token: 0x04002ED8 RID: 11992 [FieldOffset(Offset = "0x34")] [Token(Token = "0x4002ED8")] private float damperF; // Token: 0x04002ED9 RID: 11993 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4002ED9")] private bool initiated; // Token: 0x04002EDA RID: 11994 [FieldOffset(Offset = "0x3C")] [Token(Token = "0x4002EDA")] private float lastTime; } } }