using System; using Cpp2IlInjected; using UnityEngine; namespace RootMotion { // Token: 0x0200039A RID: 922 [Token(Token = "0x200039A")] [Serializable] public class BipedLimbOrientations { // Token: 0x06002288 RID: 8840 RVA: 0x000501A4 File Offset: 0x0004E3A4 [Token(Token = "0x6002288")] [Address(RVA = "0xE3EE80", Offset = "0xE3D680", VA = "0x180E3EE80")] public BipedLimbOrientations(BipedLimbOrientations.LimbOrientation leftArm, BipedLimbOrientations.LimbOrientation rightArm, BipedLimbOrientations.LimbOrientation leftLeg, BipedLimbOrientations.LimbOrientation rightLeg) { /* An exception occurred when decompiling this method (06002288) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RootMotion.BipedLimbOrientations::.ctor(RootMotion.BipedLimbOrientations/LimbOrientation,RootMotion.BipedLimbOrientations/LimbOrientation,RootMotion.BipedLimbOrientations/LimbOrientation,RootMotion.BipedLimbOrientations/LimbOrientation) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; call:void(object::.ctor, ldloc:BipedLimbOrientations[exp:object](this)); stfld:LimbOrientation(BipedLimbOrientations::leftArm, ldloc:BipedLimbOrientations(this), ldloc:LimbOrientation(leftArm)); stfld:LimbOrientation(BipedLimbOrientations::rightArm, ldloc:BipedLimbOrientations(this), ldloc:LimbOrientation(rightArm)); stfld:LimbOrientation(BipedLimbOrientations::leftLeg, ldloc:BipedLimbOrientations(this), ldloc:LimbOrientation(leftLeg)); stfld:LimbOrientation(BipedLimbOrientations::rightLeg, ldloc:BipedLimbOrientations(this), ldc.i4:int32[exp:LimbOrientation](0)); }; 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: 0x170001E8 RID: 488 // (get) Token: 0x06002289 RID: 8841 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x170001E8")] public static BipedLimbOrientations UMA { [Token(Token = "0x6002289")] [Address(RVA = "0xE3F210", Offset = "0xE3DA10", VA = "0x180E3F210")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x170001E9 RID: 489 // (get) Token: 0x0600228A RID: 8842 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x170001E9")] public static BipedLimbOrientations MaxBiped { [Token(Token = "0x600228A")] [Address(RVA = "0xE3EF00", Offset = "0xE3D700", VA = "0x180E3EF00")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x04002BF4 RID: 11252 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4002BF4")] public BipedLimbOrientations.LimbOrientation leftArm; // Token: 0x04002BF5 RID: 11253 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4002BF5")] public BipedLimbOrientations.LimbOrientation rightArm; // Token: 0x04002BF6 RID: 11254 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4002BF6")] public BipedLimbOrientations.LimbOrientation leftLeg; // Token: 0x04002BF7 RID: 11255 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4002BF7")] public BipedLimbOrientations.LimbOrientation rightLeg; // Token: 0x0200039B RID: 923 [Token(Token = "0x200039B")] [Serializable] public class LimbOrientation { // Token: 0x0600228B RID: 8843 RVA: 0x000501D4 File Offset: 0x0004E3D4 [Token(Token = "0x600228B")] [Address(RVA = "0x66FA30", Offset = "0x66E230", VA = "0x18066FA30")] public LimbOrientation(Vector3 upperBoneForwardAxis, Vector3 lowerBoneForwardAxis, Vector3 lastBoneLeftAxis) { float z = upperBoneForwardAxis.z; this.upperBoneForwardAxis.z = z; float z2 = lowerBoneForwardAxis.z; this.lowerBoneForwardAxis.z = z2; float z3 = lastBoneLeftAxis.z; this.lastBoneLeftAxis.z = z3; } // Token: 0x04002BF8 RID: 11256 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4002BF8")] public Vector3 upperBoneForwardAxis; // Token: 0x04002BF9 RID: 11257 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x4002BF9")] public Vector3 lowerBoneForwardAxis; // Token: 0x04002BFA RID: 11258 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4002BFA")] public Vector3 lastBoneLeftAxis; } } }