Files
NobetaSource/Cpp2IL/Assembly-CSharp/RootMotion/FinalIK/ConstraintRotationOffset.cs
2023-09-06 22:00:49 +02:00

93 lines
4.7 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RootMotion.FinalIK
{
// Token: 0x020003F6 RID: 1014
[Token(Token = "0x20003F6")]
[Serializable]
public class ConstraintRotationOffset : Constraint
{
// Token: 0x06002449 RID: 9289 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002449")]
[Address(RVA = "0xE90630", Offset = "0xE8F430", VA = "0x180E90630", Slot = "4")]
public override void UpdateConstraint()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600244A RID: 9290 RVA: 0x00052E98 File Offset: 0x00051098
[Token(Token = "0x600244A")]
[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
public ConstraintRotationOffset()
{
}
// Token: 0x0600244B RID: 9291 RVA: 0x00052EAC File Offset: 0x000510AC
[Token(Token = "0x600244B")]
[Address(RVA = "0x44F860", Offset = "0x44E660", VA = "0x18044F860")]
public ConstraintRotationOffset(Transform transform)
{
/*
An exception occurred when decompiling this method (0600244B)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RootMotion.FinalIK.ConstraintRotationOffset::.ctor(UnityEngine.Transform)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; call:void(object::.ctor, ldloc:ConstraintRotationOffset[exp:object](this)); stfld:Transform(Constraint::transform, ldloc:ConstraintRotationOffset[exp:Constraint](this), ldloc:Transform(transform)); };
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: 0x0600244C RID: 9292 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x1700020F")]
private bool rotationChanged
{
[Token(Token = "0x600244C")]
[Address(RVA = "0xE90820", Offset = "0xE8F620", VA = "0x180E90820")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x04002E05 RID: 11781
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4002E05")]
public Quaternion offset;
// Token: 0x04002E06 RID: 11782
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4002E06")]
private Quaternion defaultRotation;
// Token: 0x04002E07 RID: 11783
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4002E07")]
private Quaternion defaultLocalRotation;
// Token: 0x04002E08 RID: 11784
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x4002E08")]
private Quaternion lastLocalRotation;
// Token: 0x04002E09 RID: 11785
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4002E09")]
private Quaternion defaultTargetLocalRotation;
// Token: 0x04002E0A RID: 11786
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x4002E0A")]
private bool initiated;
}
}