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
SpawnConditionDecorativeOverlayInfoElement.cs
Go to the documentation of this file.
1using System;
6using Terraria.UI;
7
9{
10 // Token: 0x0200095E RID: 2398
12 {
13 // Token: 0x1700082B RID: 2091
14 // (get) Token: 0x060047FC RID: 18428 RVA: 0x0025F9E8 File Offset: 0x0025DBE8
15 // (set) Token: 0x060047FD RID: 18429 RVA: 0x0025F9FC File Offset: 0x0025DBFC
16 public float DisplayPriority
17 {
19 get
20 {
21 /*
22An exception occurred when decompiling this method (060047FC)
23
24ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.GameContent.Bestiary.SpawnConditionDecorativeOverlayInfoElement::get_DisplayPriority()
25
26 ---> System.Exception: Basic block has to end with unconditional control flow.
27{
28 Block_0:
29 stloc:float32(var_0_06, ldfld:float32(SpawnConditionDecorativeOverlayInfoElement::<DisplayPriority>k__BackingField, ldloc:SpawnConditionDecorativeOverlayInfoElement(this)))
30}
31
32 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
33 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
34 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
35 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
36 --- End of inner exception stack trace ---
37 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
38 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
39*/;
40 }
42 set
43 {
44 }
45 }
46
47 // Token: 0x060047FE RID: 18430 RVA: 0x0025FA0C File Offset: 0x0025DC0C
53
54 // Token: 0x060047FF RID: 18431 RVA: 0x0025FA30 File Offset: 0x0025DC30
56 {
57 int num = 1;
58 if (this._overlayImagePath != null && num == 0)
59 {
61 return;
62 }
63 }
64
65 // Token: 0x06004800 RID: 18432 RVA: 0x0025FA54 File Offset: 0x0025DC54
67 {
68 return this._overlayColor;
69 }
70
71 // Token: 0x06004801 RID: 18433 RVA: 0x0025FA68 File Offset: 0x0025DC68
75
76 // Token: 0x0400839D RID: 33693
77 private string _overlayImagePath;
78
79 // Token: 0x0400839E RID: 33694
81
82 // Token: 0x0400839F RID: 33695
84 private float <DisplayPriority>k__BackingField;
85 }
86}
class f__AnonymousType0<< Count > j__TPar
SpawnConditionDecorativeOverlayInfoElement([Optional] string overlayImagePath, [Optional] Color? overlayColor)