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
GUIPageIconGrouping.cs
Go to the documentation of this file.
1using System;
7using Terraria;
8
9// Token: 0x0200015F RID: 351
13{
14 // Token: 0x060009A2 RID: 2466 RVA: 0x0002D29C File Offset: 0x0002B49C
15 public void LoadPageAnchor()
16 {
19 Vector2 location = this.Location;
20 float x = this.Location.X;
21 float y = this.Location.Y;
22 if (!true)
23 {
24 }
26 this.LoadPageRegion();
27 }
28
29 // Token: 0x060009A3 RID: 2467 RVA: 0x0002D2E8 File Offset: 0x0002B4E8
31 {
32 /*
33An exception occurred when decompiling this method (060009A3)
34
35ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Rectangle GUIPageIconGrouping::GetRegion()
36
37 ---> System.Exception: Basic block has to end with unconditional control flow.
38{
39 Block_0:
40 call:void(GUIPageIconGrouping::LoadPageAnchor, ldloc:GUIPageIconGrouping(this))
41 stloc:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(var_1_0C, ldfld:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(GUIPageIconGrouping::AllowedCategories, ldloc:GUIPageIconGrouping(this)))
42 stloc:Category(var_2_13, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
43 stloc:InterfaceProfile_Layout(var_4_1B, callgetter:InterfaceProfile_Layout(InterfaceStyles_Layout::get_Active))
44 stloc:Category(var_5_23, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
45 stloc:bool(var_6_30, call:bool(GUIPageIconGrouping::CanCollapse, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this))))
46 stloc:Category(var_7_38, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
47 stloc:bool(var_8_43, call:bool(InterfaceProfile_Layout::IsCollapsed, ldloc:InterfaceProfile_Layout(var_4_1B), ldloc:Category(var_7_38)))
48 stloc:InterfaceProfile_Layout(var_10_4D, callgetter:InterfaceProfile_Layout(InterfaceStyles_Layout::get_Active))
49 stloc:Category(var_11_55, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
50 stloc:bool(var_12_62, call:bool(GUIPageIconGrouping::CanCollapse, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this))))
51 stloc:Category(var_13_6A, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
52 stloc:bool(var_14_75, call:bool(InterfaceProfile_Layout::IsCollapsed, ldloc:InterfaceProfile_Layout(var_10_4D), ldloc:Category(var_13_6A)))
53 stloc:ControlId(var_15_7D, ldfld:ControlId(GUIPageIconGrouping::AnchorControl, ldloc:GUIPageIconGrouping(this)))
54 stloc:Vector2(var_16_85, ldfld:Vector2(GUIPageIconGrouping::Location, ldloc:GUIPageIconGrouping(this)))
55 stloc:float32(var_17_92, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](GUIPageIconGrouping::Location, ldloc:GUIPageIconGrouping(this))))
56 stloc:float32(var_18_9F, ldfld:float32(Vector2::Y, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](GUIPageIconGrouping::Location, ldloc:GUIPageIconGrouping(this))))
57}
58
59 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
60 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
61 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
62 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
63 --- End of inner exception stack trace ---
64 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
65 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
66*/;
67 }
68
69 // Token: 0x060009A4 RID: 2468 RVA: 0x0002D398 File Offset: 0x0002B598
71 {
72 /*
73An exception occurred when decompiling this method (060009A4)
74
75ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Rectangle GUIPageIconGrouping::GetUIScaleRegion()
76
77 ---> System.Exception: Basic block has to end with unconditional control flow.
78{
79 Block_0:
80 call:void(GUIPageIconGrouping::LoadPageAnchor, ldloc:GUIPageIconGrouping(this))
81 stloc:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(var_1_0C, ldfld:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(GUIPageIconGrouping::AllowedCategories, ldloc:GUIPageIconGrouping(this)))
82 stloc:ControlId(var_2_13, ldfld:ControlId(GUIPageIconGrouping::AnchorControl, ldloc:GUIPageIconGrouping(this)))
83 stloc:Vector2(var_3_1A, ldfld:Vector2(GUIPageIconGrouping::Location, ldloc:GUIPageIconGrouping(this)))
84 stloc:float32(var_4_26, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](GUIPageIconGrouping::Location, ldloc:GUIPageIconGrouping(this))))
85 stloc:float32(var_5_33, ldfld:float32(Vector2::Y, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](GUIPageIconGrouping::Location, ldloc:GUIPageIconGrouping(this))))
86}
87
88 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
89 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
90 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
91 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
92 --- End of inner exception stack trace ---
93 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
94 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
95*/;
96 }
97
98 // Token: 0x060009A5 RID: 2469 RVA: 0x0002D3DC File Offset: 0x0002B5DC
100 {
101 this.LoadPageAnchor();
102 int num = 1;
103 this.LoadColourState(num != 0);
105 float x = this.pageButtonRegionSize.X;
106 float y = this.pageButtonRegionSize.Y;
107 }
108
109 // Token: 0x060009A6 RID: 2470 RVA: 0x0002D418 File Offset: 0x0002B618
111 {
112 /*
113An exception occurred when decompiling this method (060009A6)
114
115ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIControllerItem GUIPageIconGrouping::GetControllerNavigateController(System.Int32,System.Int32)
116
117 ---> System.Exception: Basic block has to end with unconditional control flow.
118{
119 IL_006B:
120 stfld:int32(GUIControllerPageGroup::MenuRow, callgetter:GUIControllerPageGroup(GUIPageIconGrouping::get_MenuController, ldloc:GUIPageIconGrouping(this)), ldloc:int32(var_11))
121 stloc:GUIControllerPageGroup(var_24_7E, callgetter:GUIControllerPageGroup(GUIPageIconGrouping::get_MenuController, ldloc:GUIPageIconGrouping(this)))
122 stloc:int32(var_25_81, ldc.i4:int32(1))
123 call:void(GUIControllerPageGroup::ClampMenuItem, ldloc:GUIControllerPageGroup(var_24_7E), ldloc:int32[exp:bool](var_25_81))
124 stloc:GUIControllerPageGroup(var_26_92, callgetter:GUIControllerPageGroup(GUIPageIconGrouping::get_MenuController, ldloc:GUIPageIconGrouping(this)))
125}
126
127 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
128 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
129 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
130 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
131 --- End of inner exception stack trace ---
132 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
133 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
134*/;
135 }
136
137 // Token: 0x060009A7 RID: 2471 RVA: 0x0002D4B8 File Offset: 0x0002B6B8
142
143 // Token: 0x170000F6 RID: 246
144 // (get) Token: 0x060009A8 RID: 2472 RVA: 0x0002D4E4 File Offset: 0x0002B6E4
146 {
147 get
148 {
149 /*
150An exception occurred when decompiling this method (060009A8)
151
152ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIPageIconGrouping::get_LeftSideGrouping()
153
154 ---> System.Exception: Basic block has to end with unconditional control flow.
155{
156 Block_0:
157 stloc:AnchorType(var_0_06, ldfld:AnchorType(GUIPageIconGrouping::Anchor, ldloc:GUIPageIconGrouping(this)))
158}
159
160 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
161 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
162 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
163 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
164 --- End of inner exception stack trace ---
165 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
166 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
167*/;
168 }
169 }
170
171 // Token: 0x170000F7 RID: 247
172 // (get) Token: 0x060009A9 RID: 2473 RVA: 0x0002D4F8 File Offset: 0x0002B6F8
174 {
175 get
176 {
177 return this._settings;
178 }
179 }
180
181 // Token: 0x170000F8 RID: 248
182 // (get) Token: 0x060009AA RID: 2474 RVA: 0x0002D50C File Offset: 0x0002B70C
184 {
185 get
186 {
187 /*
188An exception occurred when decompiling this method (060009AA)
189
190ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIControllerPageGroup GUIPageIconGrouping::get_MenuController()
191
192 ---> System.Exception: Basic block has to end with unconditional control flow.
193{
194 IL_0000:
195 brtrue(IL_0000, ldfld:GUIControllerPageGroup[exp:bool](GUIPageIconGrouping::_menuController, ldloc:GUIPageIconGrouping(this)))
196}
197
198 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
199 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
200 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
201 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
202 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
203 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
204 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
205 --- End of inner exception stack trace ---
206 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
207 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
208*/;
209 }
210 }
211
212 // Token: 0x060009AB RID: 2475 RVA: 0x0002D520 File Offset: 0x0002B720
214 {
215 if (!true)
216 {
217 }
219 }
220
221 // Token: 0x060009AC RID: 2476 RVA: 0x0002D540 File Offset: 0x0002B740
223 {
224 if (!true)
225 {
226 }
228 }
229
230 // Token: 0x060009AD RID: 2477 RVA: 0x0002D560 File Offset: 0x0002B760
232 {
233 if (!true)
234 {
235 }
237 }
238
239 // Token: 0x060009AE RID: 2478 RVA: 0x0002D580 File Offset: 0x0002B780
241 {
242 if (!true)
243 {
244 }
247 return guicontrollerItem;
248 }
249
250 // Token: 0x170000F9 RID: 249
251 // (get) Token: 0x060009AF RID: 2479 RVA: 0x0002D59C File Offset: 0x0002B79C
253 {
254 get
255 {
256 return this._options;
257 }
258 }
259
260 // Token: 0x170000FA RID: 250
261 // (get) Token: 0x060009B0 RID: 2480 RVA: 0x0002D5B0 File Offset: 0x0002B7B0
263 {
264 get
265 {
266 /*
267An exception occurred when decompiling this method (060009B0)
268
269ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIPageIcons/Category GUIPageIconGrouping::get_LastSelectedCategory()
270
271 ---> System.Exception: Basic block has to end with unconditional control flow.
272{
273 IL_001D:
274 stloc:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(var_2_23, ldfld:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(GUIPageIconGrouping::_options, ldloc:GUIPageIconGrouping(this)))
275}
276
277 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
278 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
279 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
280 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
281 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
282 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
283 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
284 --- End of inner exception stack trace ---
285 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
286 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
287*/;
288 }
289 }
290
291 // Token: 0x170000FB RID: 251
292 // (get) Token: 0x060009B1 RID: 2481 RVA: 0x0002D5E0 File Offset: 0x0002B7E0
293 // (set) Token: 0x060009B2 RID: 2482 RVA: 0x0002D608 File Offset: 0x0002B808
295 {
296 get
297 {
300 return GUIPageIcons.Category.Housing;
301 }
302 set
303 {
310 if (selectedCategory2 == GUIPageIcons.Category.Crafting)
311 {
312 return;
313 }
314 long num = 0L;
315 if (!this.ignoreShutdown)
316 {
317 }
320 if (!this.ignoreClose)
321 {
322 }
323 if (this.ignoreShutdown)
324 {
325 if (num == 0L)
326 {
327 return;
328 }
329 }
330 else if (num == 0L)
331 {
332 return;
333 }
334 if (this._selectedCategory == GUIPageIcons.Category.Crafting)
335 {
336 return;
337 }
338 }
339 }
340
341 // Token: 0x170000FC RID: 252
342 // (get) Token: 0x060009B3 RID: 2483 RVA: 0x0002D69C File Offset: 0x0002B89C
344 {
345 get
346 {
347 float x = this.pageButtonRegionSize.X;
348 float y = this.pageButtonRegionSize.Y;
349 Vector2 vector;
350 return vector;
351 }
352 }
353
354 // Token: 0x060009B4 RID: 2484 RVA: 0x0002D6C4 File Offset: 0x0002B8C4
356 {
357 GUIPageIcons.Category category;
358 return category;
359 }
360
361 // Token: 0x060009B5 RID: 2485 RVA: 0x0002D6D4 File Offset: 0x0002B8D4
368
369 // Token: 0x060009B6 RID: 2486 RVA: 0x0002D730 File Offset: 0x0002B930
370 private void LoadColourState(bool pageContent = true)
371 {
373 }
374
375 // Token: 0x060009B7 RID: 2487 RVA: 0x000021DB File Offset: 0x000003DB
376 public void DrawClosed()
377 {
378 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
379 }
380
381 // Token: 0x060009B8 RID: 2488 RVA: 0x0002D76C File Offset: 0x0002B96C
382 public void Draw()
383 {
384 this.LoadPageAnchor();
386 Vector2 vector = rectangle.Size();
387 long num = 0L;
388 this.LoadColourState(num != 0L);
389 this.DrawPageIcons();
390 this.LoadPageAnchor();
391 this.LoadColourState(true);
392 this.DrawPageContent();
394 }
395
396 // Token: 0x060009B9 RID: 2489 RVA: 0x0002D7B4 File Offset: 0x0002B9B4
409
410 // Token: 0x060009BA RID: 2490 RVA: 0x0002D850 File Offset: 0x0002BA50
420
421 // Token: 0x060009BB RID: 2491 RVA: 0x000021DB File Offset: 0x000003DB
422 private float PageScale(int index)
423 {
424 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
425 }
426
427 // Token: 0x060009BC RID: 2492 RVA: 0x0002D868 File Offset: 0x0002BA68
428 public static bool CanCollapse(GUIPageIcons.Category category)
429 {
430 }
431
432 // Token: 0x060009BD RID: 2493 RVA: 0x0002D878 File Offset: 0x0002BA78
457
458 // Token: 0x060009BE RID: 2494 RVA: 0x0002D998 File Offset: 0x0002BB98
470
471 // Token: 0x060009BF RID: 2495 RVA: 0x0002DA1C File Offset: 0x0002BC1C
472 private string GetPageString(GUIPageIcons.Category category)
473 {
474 return "NPCName.Guide";
475 }
476
477 // Token: 0x060009C0 RID: 2496 RVA: 0x0002DAD8 File Offset: 0x0002BCD8
478 private void DrawPageIcons()
479 {
482 int size = options._size;
484 float x = this.pageButtonRegionSize.X;
485 float y = this.pageButtonRegionSize.Y;
486 int size2 = options2._size;
487 }
488
489 // Token: 0x060009C1 RID: 2497 RVA: 0x0002DB24 File Offset: 0x0002BD24
490 private void DrawPageContent()
491 {
492 if (!true)
493 {
494 }
496 }
497
498 // Token: 0x060009C2 RID: 2498 RVA: 0x0002DB50 File Offset: 0x0002BD50
500 {
501 return true;
502 }
503
504 // Token: 0x060009C3 RID: 2499 RVA: 0x0002DB60 File Offset: 0x0002BD60
522
523 // Token: 0x060009C4 RID: 2500 RVA: 0x0002DBA4 File Offset: 0x0002BDA4
536
537 // Token: 0x060009C5 RID: 2501 RVA: 0x0002DC08 File Offset: 0x0002BE08
538 public void DrawOptions()
539 {
540 int num = 1;
541 this.LoadColourState(num != 0);
542 this.LoadPageAnchor();
543 }
544
545 // Token: 0x060009C6 RID: 2502 RVA: 0x0002DD64 File Offset: 0x0002BF64
547 {
549 }
550
551 // Token: 0x060009C7 RID: 2503 RVA: 0x0002DD78 File Offset: 0x0002BF78
552 public void DrawEditOptions()
553 {
554 int num = 1;
555 this.LoadColourState(num != 0);
556 this.LoadPageAnchor();
558 }
559
560 // Token: 0x060009C8 RID: 2504 RVA: 0x0002DE80 File Offset: 0x0002C080
562 {
563 }
564
565 // Token: 0x04000966 RID: 2406
566 [JsonProperty]
568
569 // Token: 0x04000967 RID: 2407
570 [JsonProperty]
572
573 // Token: 0x04000968 RID: 2408
574 [JsonProperty]
575 public Vector2 Location = 9;
576
577 // Token: 0x04000969 RID: 2409
578 [JsonProperty]
580
581 // Token: 0x0400096A RID: 2410
582 [JsonProperty]
584
585 // Token: 0x0400096B RID: 2411
587
588 // Token: 0x0400096C RID: 2412
590
591 // Token: 0x0400096D RID: 2413
593
594 // Token: 0x0400096E RID: 2414
596
597 // Token: 0x0400096F RID: 2415
598 [JsonProperty("LastSelectedSet")]
599 public bool _lastSelectedSet;
600
601 // Token: 0x04000970 RID: 2416
602 [JsonProperty("LastSelectedCategory")]
604
605 // Token: 0x04000971 RID: 2417
607
608 // Token: 0x04000972 RID: 2418
609 public bool ignoreClose;
610
611 // Token: 0x04000973 RID: 2419
612 public bool ignoreShutdown;
613
614 // Token: 0x04000974 RID: 2420
616
617 // Token: 0x04000975 RID: 2421
619
620 // Token: 0x04000976 RID: 2422
621 private bool drawEdit;
622
623 // Token: 0x04000977 RID: 2423
625
626 // Token: 0x02000160 RID: 352
627 public enum SettingCategory
628 {
629 // Token: 0x04000979 RID: 2425
630 Settings,
631 // Token: 0x0400097A RID: 2426
632 JM,
633 // Token: 0x0400097B RID: 2427
634 Invalid,
635 // Token: 0x0400097C RID: 2428
637 // Token: 0x0400097D RID: 2429
638 Bestiary,
639 // Token: 0x0400097E RID: 2430
640 Map,
641 // Token: 0x0400097F RID: 2431
643 // Token: 0x04000980 RID: 2432
644 Chat,
645 // Token: 0x04000981 RID: 2433
646 Emotes,
647 // Token: 0x04000982 RID: 2434
648 None
649 }
650}
class f__AnonymousType0<< Count > j__TPar
static GUIPageIcons.Category GetCategoryFromActiveController()
List< GUIPageIconGrouping.SettingCategory > SettingEntries
GUIPageIcons.Category SelectedCategory
GUIControllerItem NavigateUp(int row)
static bool InteractionCategory(GUIPageIcons.Category cat)
Comparison< GUIPageIcons.Category > Sorter
LayoutCalculator.AnchorType Anchor
void LoadColourState(bool pageContent=true)
List< GUIPageIconGrouping.SettingCategory > _settings
GUIControllerPageGroup MenuController
GUIPageIcons.Category HoverCategory
string GetPageString(GUIPageIcons.Category category)
GUIControllerItem NavigateFromMenuIntoPage(int MenuRow)
GUIControllerItem GetControllerNavigateController(int row, int column)
GUIPageIcons.Category _preHousingCategory
void ActivateController(bool pageContent=false)
List< GUIPageIcons.Category > AllowedCategories
float PageScale(int index)
List< GUIPageIconGrouping.SettingCategory > SettingList
GUIControllerItem NavigateRight(int row)
void PageDraw(ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
GUIControllerPageGroup _menuController
int SortCategory(GUIPageIcons.Category x, GUIPageIcons.Category y)
GUIControllerItem NavigateDown(int row)
GUIPageIcons.Category _lastSelectedCategory
GUIPageIcons.Category LastSelectedCategory
List< GUIPageIcons.Category > _options
GUIControllerItem NavigateLeft(int row)
ControlAnchor.ControlId AnchorControl
List< GUIPageIcons.Category > Options
void LoadTransactionButtonColour(TransactionButton_Layout layout, Color Normal, Color Pressed, Color Disabled)
static bool CanCollapse(GUIPageIcons.Category category)
void LoadSettingAnchor(GUIPageIconGrouping.SettingCategory category)
GUIPageIcons.Category _selectedCategory
GUIControllerItem GetGroupUp(GUIPageIconGrouping sourceGroup, int column)
void SetCollapsed(GUIPageIcons.Category category, bool collapsed)
GUIControllerItem GetGroupLeft(GUIPageIconGrouping sourceGroup, int row)
GUIControllerItem GetGroupRight(GUIPageIconGrouping sourceGroup, int row)
bool IsCollapsed(GUIPageIcons.Category category)
static InterfaceProfile_Layout Active
static bool mouseLeftRelease
Definition Main.cs:2029
static bool mouseLeft
Definition Main.cs:671
static bool ControllerModeLocked