terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
ChatCommandId.cs
Go to the documentation of this file.
1using System;
2using System.IO;
5
6namespace Terraria.Chat
7{
8 // Token: 0x02000797 RID: 1943
9 public struct ChatCommandId
10 {
11 // Token: 0x06003F91 RID: 16273 RVA: 0x00240D70 File Offset: 0x0023EF70
12 private ChatCommandId(string name)
13 {
15 }
16
17 // Token: 0x06003F92 RID: 16274 RVA: 0x000021DB File Offset: 0x000003DB
19 {
20 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
21 }
22
23 // Token: 0x06003F93 RID: 16275 RVA: 0x00240D84 File Offset: 0x0023EF84
24 public void Serialize(BinaryWriter writer)
25 {
26 }
27
28 // Token: 0x06003F94 RID: 16276 RVA: 0x000021DB File Offset: 0x000003DB
30 {
31 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
32 }
33
34 // Token: 0x06003F95 RID: 16277 RVA: 0x00240D94 File Offset: 0x0023EF94
36 {
37 /*
38An exception occurred when decompiling this method (06003F95)
39
40ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.Chat.ChatCommandId::GetMaxSerializedSize()
41
42 ---> System.Exception: Basic block has to end with unconditional control flow.
43{
44 Block_0:
45 stloc:Encoding(var_1_07, callgetter:Encoding(Encoding::get_UTF8))
46}
47
48 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
49 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 355
50 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
51 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
52 --- End of inner exception stack trace ---
53 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
54 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 1683
55*/;
56 }
57
58 // Token: 0x04007DC1 RID: 32193
59 private readonly string _name;
60 }
61}
class f__AnonymousType0<< Count > j__TPar
void Serialize(BinaryWriter writer)
static ChatCommandId Deserialize(BinaryReader reader)
static ChatCommandId FromType< T >()