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
GenerationProgress.cs
Go to the documentation of this file.
1using System;
2
4{
5 // Token: 0x020004B0 RID: 1200
6 public class GenerationProgress
7 {
8 // Token: 0x17000604 RID: 1540
9 // (get) Token: 0x06002FE0 RID: 12256 RVA: 0x001F4F1C File Offset: 0x001F311C
10 // (set) Token: 0x06002FE1 RID: 12257 RVA: 0x001F4F38 File Offset: 0x001F3138
11 public string Message
12 {
13 get
14 {
15 string message = this._message;
16 double value = this._value;
17 string text;
18 return text;
19 }
20 set
21 {
22 string text = value.Replace("%", "{0:0.0%}");
24 }
25 }
26
27 // Token: 0x17000605 RID: 1541
28 // (get) Token: 0x06002FE3 RID: 12259 RVA: 0x001F4F78 File Offset: 0x001F3178
29 // (set) Token: 0x06002FE2 RID: 12258 RVA: 0x001F4F60 File Offset: 0x001F3160
30 public double Value
31 {
32 get
33 {
34 /*
35An exception occurred when decompiling this method (06002FE3)
36
37ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double Terraria.WorldBuilding.GenerationProgress::get_Value()
38
39 ---> System.Exception: Basic block has to end with unconditional control flow.
40{
41 Block_0:
42 stloc:float64(var_0_06, ldfld:float64(GenerationProgress::_value, ldloc:GenerationProgress(this)))
43}
44
45 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
46 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
47 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
48 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
49 --- End of inner exception stack trace ---
50 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
51 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
52*/;
53 }
54 set
55 {
56 if (!true)
57 {
58 }
60 }
61 }
62
63 // Token: 0x17000606 RID: 1542
64 // (get) Token: 0x06002FE4 RID: 12260 RVA: 0x001F4F8C File Offset: 0x001F318C
65 public double TotalProgress
66 {
67 get
68 {
69 /*
70An exception occurred when decompiling this method (06002FE4)
71
72ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double Terraria.WorldBuilding.GenerationProgress::get_TotalProgress()
73
74 ---> System.Exception: Basic block has to end with unconditional control flow.
75{
76 Block_0:
77 stloc:float64(var_0_06, ldfld:float64(GenerationProgress::TotalWeight, ldloc:GenerationProgress(this)))
78 stloc:float64(var_1_0D, ldfld:float64(GenerationProgress::CurrentPassWeight, ldloc:GenerationProgress(this)))
79 stloc:float64(var_2_14, ldfld:float64(GenerationProgress::_value, ldloc:GenerationProgress(this)))
80}
81
82 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
83 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
84 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
85 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
86 --- End of inner exception stack trace ---
87 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
88 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
89*/;
90 }
91 }
92
93 // Token: 0x06002FE5 RID: 12261 RVA: 0x001F4FB0 File Offset: 0x001F31B0
94 public void Set(double value)
95 {
97 }
98
99 // Token: 0x06002FE6 RID: 12262 RVA: 0x001F4FC4 File Offset: 0x001F31C4
100 public void Start(double weight)
101 {
102 this.CurrentPassWeight = weight;
103 }
104
105 // Token: 0x06002FE7 RID: 12263 RVA: 0x001F4FD8 File Offset: 0x001F31D8
106 public void End()
107 {
108 double totalProgress = this._totalProgress;
110 this._totalProgress = totalProgress;
111 }
112
113 // Token: 0x06002FE8 RID: 12264 RVA: 0x001F4FFC File Offset: 0x001F31FC
115 {
116 }
117
118 // Token: 0x0400399B RID: 14747
119 private string _message = "";
120
121 // Token: 0x0400399C RID: 14748
122 private double _value;
123
124 // Token: 0x0400399D RID: 14749
125 private double _totalProgress;
126
127 // Token: 0x0400399E RID: 14750
128 public double TotalWeight;
129
130 // Token: 0x0400399F RID: 14751
131 public double CurrentPassWeight;
132 }
133}
class f__AnonymousType0<< Count > j__TPar