Files
NobetaSource/Cpp2IL/Assembly-CSharp/MTAssets/UltimateLODSystem/MeshSimplifier/BlendShape.cs
2023-09-06 22:19:13 +02:00

46 lines
3.6 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace MTAssets.UltimateLODSystem.MeshSimplifier
{
// Token: 0x0200065C RID: 1628
[Token(Token = "0x200065C")]
[Serializable]
[StructLayout(3)]
public struct BlendShape
{
// Token: 0x06003302 RID: 13058 RVA: 0x0006D644 File Offset: 0x0006B844
[Token(Token = "0x6003302")]
[Address(RVA = "0x6E4050", Offset = "0x6E3050", VA = "0x1806E4050")]
public BlendShape(string shapeName, BlendShapeFrame[] frames)
{
/*
An exception occurred when decompiling this method (06003302)
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: 0x04003D6D RID: 15725
[Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4003D6D")]
public string ShapeName;
// Token: 0x04003D6E RID: 15726
[Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x4003D6E")]
public BlendShapeFrame[] Frames;
}
}