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
NPCNetIdBestiaryInfoElement.cs
Go to the documentation of this file.
1using System;
3using Terraria.UI;
4
6{
7 // Token: 0x02000968 RID: 2408
9 {
10 // Token: 0x1700082C RID: 2092
11 // (get) Token: 0x0600481C RID: 18460 RVA: 0x0025FD68 File Offset: 0x0025DF68
12 // (set) Token: 0x0600481D RID: 18461 RVA: 0x0025FD7C File Offset: 0x0025DF7C
13 public int NetId
14 {
16 get
17 {
18 return this.<NetId>k__BackingField;
19 }
21 private set
22 {
24 }
25 }
26
27 // Token: 0x0600481E RID: 18462 RVA: 0x0025FD90 File Offset: 0x0025DF90
32
33 // Token: 0x0600481F RID: 18463 RVA: 0x0025FDAC File Offset: 0x0025DFAC
37
38 // Token: 0x1700082D RID: 2093
39 // (get) Token: 0x06004820 RID: 18464 RVA: 0x0025FDBC File Offset: 0x0025DFBC
41 {
42 get
43 {
44 /*
45An exception occurred when decompiling this method (06004820)
46
47ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.GameContent.Bestiary.NPCNetIdBestiaryInfoElement::get_BestiaryDisplayIndex()
48
49 ---> System.Exception: Basic block has to end with unconditional control flow.
50{
51 IL_0003:
52 stloc:int32(var_0_09, ldfld:int32(NPCNetIdBestiaryInfoElement::<NetId>k__BackingField, ldloc:NPCNetIdBestiaryInfoElement(this)))
53}
54
55 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
56 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
57 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
58 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
59 --- End of inner exception stack trace ---
60 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
61 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
62*/;
63 }
64 }
65
66 // Token: 0x040083AC RID: 33708
68 private int <NetId>k__BackingField;
69 }
70}
class f__AnonymousType0<< Count > j__TPar