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
SpawnConditionBestiaryInfoElement.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x0200095C RID: 2396
11 {
12 // Token: 0x17000828 RID: 2088
13 // (get) Token: 0x060047F0 RID: 18416 RVA: 0x0025F8B4 File Offset: 0x0025DAB4
14 // (set) Token: 0x060047F1 RID: 18417 RVA: 0x0025F8C8 File Offset: 0x0025DAC8
15 public float OrderPriority
16 {
18 get
19 {
20 /*
21An exception occurred when decompiling this method (060047F0)
22
23ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.GameContent.Bestiary.SpawnConditionBestiaryInfoElement::get_OrderPriority()
24
25 ---> System.Exception: Basic block has to end with unconditional control flow.
26{
27 Block_0:
28 stloc:float32(var_0_06, ldfld:float32(SpawnConditionBestiaryInfoElement::<OrderPriority>k__BackingField, ldloc:SpawnConditionBestiaryInfoElement(this)))
29}
30
31 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
32 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
33 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
34 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
35 --- End of inner exception stack trace ---
36 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
37 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
38*/;
39 }
41 set
42 {
43 }
44 }
45
46 // Token: 0x060047F2 RID: 18418 RVA: 0x0025F8D8 File Offset: 0x0025DAD8
47 public SpawnConditionBestiaryInfoElement(string nameLanguageKey, int filterIconFrame, [Optional] string backgroundImagePath, [Optional] Color? backgroundColor)
48 {
51 this._backgroundColor = backgroundColor;
52 }
53
54 // Token: 0x060047F3 RID: 18419 RVA: 0x0025F904 File Offset: 0x0025DB04
56 {
57 int num = 1;
58 if (this._backgroundImagePath != null && num == 0)
59 {
61 return;
62 }
63 }
64
65 // Token: 0x060047F4 RID: 18420 RVA: 0x0025F928 File Offset: 0x0025DB28
67 {
68 return this._backgroundColor;
69 }
70
71 // Token: 0x04008396 RID: 33686
72 private string _backgroundImagePath;
73
74 // Token: 0x04008397 RID: 33687
76
77 // Token: 0x04008398 RID: 33688
79 private float <OrderPriority>k__BackingField;
80 }
81}
class f__AnonymousType0<< Count > j__TPar
SpawnConditionBestiaryInfoElement(string nameLanguageKey, int filterIconFrame, [Optional] string backgroundImagePath, [Optional] Color? backgroundColor)