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
Map_Layout.cs
Go to the documentation of this file.
1using System;
4using UnityEngine;
5
6// Token: 0x020001F2 RID: 498
8{
9 // Token: 0x06000C7B RID: 3195 RVA: 0x0003DCB4 File Offset: 0x0003BEB4
10 private void Awake()
11 {
12 }
13
14 // Token: 0x17000157 RID: 343
15 // (get) Token: 0x06000C7C RID: 3196 RVA: 0x000021DB File Offset: 0x000003DB
16 // (set) Token: 0x06000C7D RID: 3197 RVA: 0x0003DCC4 File Offset: 0x0003BEC4
17 public static bool UseLargeMinimap
18 {
19 get
20 {
21 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
22 }
23 set
24 {
25 }
26 }
27
28 // Token: 0x17000158 RID: 344
29 // (get) Token: 0x06000C7E RID: 3198 RVA: 0x000021DB File Offset: 0x000003DB
31 {
32 get
33 {
34 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
35 }
36 }
37
38 // Token: 0x17000159 RID: 345
39 // (get) Token: 0x06000C7F RID: 3199 RVA: 0x0003DCD4 File Offset: 0x0003BED4
41 {
42 get
43 {
44 /*
45An exception occurred when decompiling this method (06000C7F)
46
47ICSharpCode.Decompiler.DecompilerException: Error decompiling Panel_Layout Map_Layout::get_DisplayMinimapFrame()
48
49 ---> System.Exception: Basic block has to end with unconditional control flow.
50{
51 Block_0:
52 stloc:Texture_Layout(var_1_0B, ldfld:Texture_Layout(Panel_Layout::Backing, ldfld:Panel_Layout(Map_Layout::MinimapLargeFrame, ldloc:Map_Layout(this))))
53 stloc:Texture_Layout(var_3_17, ldfld:Texture_Layout(Panel_Layout::Backing, ldfld:Panel_Layout(Map_Layout::MinimapFrame, ldloc:Map_Layout(this))))
54}
55
56 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
57 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
58 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
59 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
60 --- End of inner exception stack trace ---
61 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
62 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
63*/;
64 }
65 }
66
67 // Token: 0x1700015A RID: 346
68 // (get) Token: 0x06000C80 RID: 3200 RVA: 0x0003DCF8 File Offset: 0x0003BEF8
69 public float MinMinimapScale
70 {
71 get
72 {
73 /*
74An exception occurred when decompiling this method (06000C80)
75
76ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Map_Layout::get_MinMinimapScale()
77
78 ---> System.Exception: Basic block has to end with unconditional control flow.
79{
80 Block_0:
81 stloc:Panel_Layout(var_0_06, ldfld:Panel_Layout(Map_Layout::MinimapFrame, ldloc:Map_Layout(this)))
82 stloc:int32(var_1_0D, ldfld:int32(Map_Layout::MaxMiniMapWorldWidth, ldloc:Map_Layout(this)))
83 stloc:float32(var_2_19, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Panel_Layout::SizeLocation, ldloc:Panel_Layout(var_0_06))))
84 stloc:float32(var_3_25, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Panel_Layout::Location, ldloc:Panel_Layout(var_0_06))))
85}
86
87 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
88 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
89 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
90 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
91 --- End of inner exception stack trace ---
92 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
93 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
94*/;
95 }
96 }
97
98 // Token: 0x1700015B RID: 347
99 // (get) Token: 0x06000C81 RID: 3201 RVA: 0x0003DD2C File Offset: 0x0003BF2C
100 public float MaxMinimapScale
101 {
102 get
103 {
104 /*
105An exception occurred when decompiling this method (06000C81)
106
107ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Map_Layout::get_MaxMinimapScale()
108
109 ---> System.Exception: Basic block has to end with unconditional control flow.
110{
111 Block_0:
112 stloc:Panel_Layout(var_0_06, ldfld:Panel_Layout(Map_Layout::MinimapFrame, ldloc:Map_Layout(this)))
113 stloc:int32(var_1_0D, ldfld:int32(Map_Layout::MinMiniMapWorldWidth, ldloc:Map_Layout(this)))
114 stloc:float32(var_2_19, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Panel_Layout::SizeLocation, ldloc:Panel_Layout(var_0_06))))
115 stloc:float32(var_3_25, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Panel_Layout::Location, ldloc:Panel_Layout(var_0_06))))
116}
117
118 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
119 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
120 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
121 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
122 --- End of inner exception stack trace ---
123 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
124 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
125*/;
126 }
127 }
128
129 // Token: 0x1700015C RID: 348
130 // (get) Token: 0x06000C82 RID: 3202 RVA: 0x0003DD60 File Offset: 0x0003BF60
132 {
133 get
134 {
135 /*
136An exception occurred when decompiling this method (06000C82)
137
138ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Map_Layout::get_DefaultMinimapScale()
139
140 ---> System.Exception: Basic block has to end with unconditional control flow.
141{
142 Block_0:
143 stloc:Panel_Layout(var_0_06, ldfld:Panel_Layout(Map_Layout::MinimapFrame, ldloc:Map_Layout(this)))
144 stloc:int32(var_1_0D, ldfld:int32(Map_Layout::DefaultMiniMapWorldWidth, ldloc:Map_Layout(this)))
145 stloc:float32(var_2_19, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Panel_Layout::SizeLocation, ldloc:Panel_Layout(var_0_06))))
146 stloc:float32(var_3_25, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Panel_Layout::Location, ldloc:Panel_Layout(var_0_06))))
147}
148
149 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
150 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
151 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
152 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
153 --- End of inner exception stack trace ---
154 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
155 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
156*/;
157 }
158 }
159
160 // Token: 0x1700015D RID: 349
161 // (get) Token: 0x06000C83 RID: 3203 RVA: 0x000021DB File Offset: 0x000003DB
163 {
164 get
165 {
166 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
167 }
168 }
169
170 // Token: 0x1700015E RID: 350
171 // (get) Token: 0x06000C84 RID: 3204 RVA: 0x000021DB File Offset: 0x000003DB
173 {
174 get
175 {
176 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
177 }
178 }
179
180 // Token: 0x06000C85 RID: 3205 RVA: 0x0003DD94 File Offset: 0x0003BF94
181 public Map_Layout()
182 {
183 if (16256 == 0)
184 {
185 }
186 if (!true)
187 {
188 }
189 this.SliderBackScale = (float)16256;
191 if (!true)
192 {
193 }
194 base..ctor();
195 }
196
197 // Token: 0x04001215 RID: 4629
198 public static Map_Layout Instance;
199
200 // Token: 0x04001216 RID: 4630
202
203 // Token: 0x04001217 RID: 4631
205
206 // Token: 0x04001218 RID: 4632
208
209 // Token: 0x04001219 RID: 4633
211
212 // Token: 0x0400121A RID: 4634
214
215 // Token: 0x0400121B RID: 4635
217
218 // Token: 0x0400121C RID: 4636
220
221 // Token: 0x0400121D RID: 4637
222 public float MinimapScale = (float)16256;
223
224 // Token: 0x0400121E RID: 4638
226
227 // Token: 0x0400121F RID: 4639
229
230 // Token: 0x04001220 RID: 4640
232
233 // Token: 0x04001221 RID: 4641
235
236 // Token: 0x04001222 RID: 4642
238
239 // Token: 0x04001223 RID: 4643
241
242 // Token: 0x04001224 RID: 4644
244
245 // Token: 0x04001225 RID: 4645
247
248 // Token: 0x04001226 RID: 4646
250
251 // Token: 0x04001227 RID: 4647
253
254 // Token: 0x04001228 RID: 4648
256
257 // Token: 0x04001229 RID: 4649
258 public float SliderBackScale;
259
260 // Token: 0x0400122A RID: 4650
262
263 // Token: 0x0400122B RID: 4651
265
266 // Token: 0x0400122C RID: 4652
267 public float SliderEndCap;
268
269 // Token: 0x0400122D RID: 4653
271
272 // Token: 0x0400122E RID: 4654
274
275 // Token: 0x0400122F RID: 4655
277
278 // Token: 0x04001230 RID: 4656
280
281 // Token: 0x04001231 RID: 4657
283}
class f__AnonymousType0<< Count > j__TPar
void Awake()
Definition Map_Layout.cs:10
float SliderIndicatorScale
LayoutCalculator.AnchorType SliderAnchor
float MaxMinimapScale
QuickActionButton_Layout MapZoomOut
Microsoft.Xna.Framework.Vector2 SliderPickBorder
QuickActionButton_Layout Map
int MaxMiniMapWorldWidth
static Map_Layout Instance
float DefaultMinimapScale
float MinMinimapScale
Definition Map_Layout.cs:70
QuickActionButton_Layout MinimapZoomOut
QuickActionButton_Layout HUDMiniMapToggle
float MinimapScale
QuickActionButton_Layout MapHorizontal
float SliderBackScale
int MinMiniMapWorldWidth
static bool UseLargeMinimap
Definition Map_Layout.cs:18
QuickActionButton_Layout MinimapToggleHorizontal
Panel_Layout DisplayMinimap
Definition Map_Layout.cs:31
Panel_Layout MinimapLarge
QuickActionButton_Layout MinimapZoomDefault
float SliderEndCap
Microsoft.Xna.Framework.Vector2 SliderLocation
float SliderDefaultPosition
QuickActionButton_Layout MapZoomDefault
QuickActionButton_Layout MinimapZoomIn
QuickActionButton_Layout MapZoomIn
Panel_Layout MinimapLargeFrame
float ControllerMovementSpeed
Panel_Layout Minimap
AnimationCurve SliderToPixelScale
Panel_Layout DisplayMinimapFrame
Definition Map_Layout.cs:41
int DefaultMiniMapWorldWidth
Panel_Layout MinimapFrame
ControlAnchor.ControlId SliderAnchorControl
QuickActionButton_Layout MinimapToggle
QuickActionButton_Layout HUDMap