46 lines
3.6 KiB
C#
46 lines
3.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace MTAssets.UltimateLODSystem.MeshSimplifier
|
|
{
|
|
// Token: 0x02000604 RID: 1540
|
|
[Token(Token = "0x2000604")]
|
|
[Serializable]
|
|
[StructLayout(3)]
|
|
public struct BlendShape
|
|
{
|
|
// Token: 0x06003039 RID: 12345 RVA: 0x00066484 File Offset: 0x00064684
|
|
[Token(Token = "0x6003039")]
|
|
[Address(RVA = "0x647100", Offset = "0x645F00", VA = "0x180647100")]
|
|
public BlendShape(string shapeName, BlendShapeFrame[] frames)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06003039)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void MTAssets.UltimateLODSystem.MeshSimplifier.BlendShape::.ctor(System.String,MTAssets.UltimateLODSystem.MeshSimplifier.BlendShapeFrame[])
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:string(BlendShape::ShapeName, ldloc:valuetype MTAssets.UltimateLODSystem.MeshSimplifier.BlendShape&(this), ldloc:string(shapeName)); stfld:valuetype MTAssets.UltimateLODSystem.MeshSimplifier.BlendShapeFrame[](BlendShape::Frames, ldloc:valuetype MTAssets.UltimateLODSystem.MeshSimplifier.BlendShape&(this), ldloc:valuetype MTAssets.UltimateLODSystem.MeshSimplifier.BlendShapeFrame[](frames)); };
|
|
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: 0x04003A83 RID: 14979
|
|
[Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4003A83")]
|
|
public string ShapeName;
|
|
|
|
// Token: 0x04003A84 RID: 14980
|
|
[Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x4003A84")]
|
|
public BlendShapeFrame[] Frames;
|
|
}
|
|
}
|