45 lines
3.5 KiB
C#
45 lines
3.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
// Token: 0x020002E1 RID: 737
|
|
[Token(Token = "0x20002E1")]
|
|
public class MessageBoxHandlerData
|
|
{
|
|
// Token: 0x06001B7E RID: 7038 RVA: 0x00042F7C File Offset: 0x0004117C
|
|
[Token(Token = "0x6001B7E")]
|
|
[Address(RVA = "0x67D5D0", Offset = "0x67C5D0", VA = "0x18067D5D0")]
|
|
public MessageBoxHandlerData(string handlerText, Enum submissionSfx, Action handlerEvent)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06001B7E)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void MessageBoxHandlerData::.ctor(System.String,System.Enum,System.Action)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; call:void(object::.ctor, ldloc:MessageBoxHandlerData[exp:object](this)); stfld:string(MessageBoxHandlerData::handlerText, ldloc:MessageBoxHandlerData(this), ldloc:string(handlerText)); stfld:Enum(MessageBoxHandlerData::submissionSfx, ldloc:MessageBoxHandlerData(this), ldloc:Enum(submissionSfx)); stfld:Action(MessageBoxHandlerData::handlerEvent, ldloc:MessageBoxHandlerData(this), ldloc:Action(handlerEvent)); };
|
|
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: 0x04002567 RID: 9575
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002567")]
|
|
public readonly string handlerText;
|
|
|
|
// Token: 0x04002568 RID: 9576
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4002568")]
|
|
public readonly Enum submissionSfx;
|
|
|
|
// Token: 0x04002569 RID: 9577
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4002569")]
|
|
public readonly Action handlerEvent;
|
|
}
|