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
GUIPageGroupEdit.cs
Go to the documentation of this file.
1using System;
5
6// Token: 0x02000274 RID: 628
7public class GUIPageGroupEdit
8{
9 // Token: 0x06000E10 RID: 3600 RVA: 0x00043A10 File Offset: 0x00041C10
19
20 // Token: 0x06000E11 RID: 3601 RVA: 0x00043A48 File Offset: 0x00041C48
28
29 // Token: 0x06000E12 RID: 3602 RVA: 0x00043A64 File Offset: 0x00041C64
31 {
34 float x = this.toggleSize.X;
35 float y = this.toggleSize.Y;
36 int size = pageOptions._size;
37 int size2 = settingOptions._size;
38 if (pageOptions == null)
39 {
40 }
42 return rectangle;
43 }
44
45 // Token: 0x06000E13 RID: 3603 RVA: 0x000021DB File Offset: 0x000003DB
46 public void Draw()
47 {
48 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
49 }
50
51 // Token: 0x06000E14 RID: 3604 RVA: 0x00043AAC File Offset: 0x00041CAC
52 private float ItemScale(int index)
53 {
54 /*
55An exception occurred when decompiling this method (06000E14)
56
57ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single GUIPageGroupEdit::ItemScale(System.Int32)
58
59 ---> System.Exception: Basic block has to end with unconditional control flow.
60{
61 Block_0:
62 stloc:float32(var_1_0C, ldfld:float32(BuilderAccToggles_Layout::ToggleScale, callgetter:BuilderAccToggles_Layout(BuilderAccToggles_Layout::get_Instance)))
63}
64
65 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
66 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
67 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
68 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
69 --- End of inner exception stack trace ---
70 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
71 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
72*/;
73 }
74
75 // Token: 0x06000E15 RID: 3605 RVA: 0x00043AC8 File Offset: 0x00041CC8
76 private void ItemOver(int index)
77 {
79 }
80
81 // Token: 0x06000E16 RID: 3606 RVA: 0x00043ADC File Offset: 0x00041CDC
89
90 // Token: 0x06000E17 RID: 3607 RVA: 0x00043B38 File Offset: 0x00041D38
98
99 // Token: 0x06000E18 RID: 3608 RVA: 0x00043B94 File Offset: 0x00041D94
100 private void ItemDraw(ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
101 {
102 float x = this.toggleSize.X;
103 float y = this.toggleSize.Y;
105 int size = pageOptions._size;
108 }
109
110 // Token: 0x06000E19 RID: 3609 RVA: 0x00043D20 File Offset: 0x00041F20
111 public void Close()
112 {
113 if (this.Enabled)
114 {
115 }
116 if (this.pickingInterceptor != null)
117 {
118 }
119 }
120
121 // Token: 0x06000E1A RID: 3610 RVA: 0x00043D40 File Offset: 0x00041F40
122 private bool IsOverGroupOptions(Vector2 position)
123 {
124 /*
125An exception occurred when decompiling this method (06000E1A)
126
127ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIPageGroupEdit::IsOverGroupOptions(Microsoft.Xna.Framework.Vector2)
128
129 ---> System.Exception: Basic block has to end with unconditional control flow.
130{
131 IL_000A:
132 call:void(GUIPageGroupEdit::Close, ldloc:GUIPageGroupEdit(this))
133}
134
135 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
136 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
137 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
138 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
139 --- End of inner exception stack trace ---
140 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
141 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
142*/;
143 }
144
145 // Token: 0x06000E1B RID: 3611 RVA: 0x00043D60 File Offset: 0x00041F60
147 {
148 }
149
150 // Token: 0x040019BC RID: 6588
151 private bool LastHorizontal;
152
153 // Token: 0x040019BD RID: 6589
154 public bool Enabled;
155
156 // Token: 0x040019BE RID: 6590
158
159 // Token: 0x040019BF RID: 6591
161
162 // Token: 0x040019C0 RID: 6592
164
165 // Token: 0x040019C1 RID: 6593
166 private int hoverItem;
167
168 // Token: 0x040019C2 RID: 6594
169 private bool CanOptionBeAdded;
170
171 // Token: 0x040019C3 RID: 6595
173
174 // Token: 0x040019C4 RID: 6596
176}
class f__AnonymousType0<< Count > j__TPar
List< GUIPageIcons.Category > PageOptions
void DisableSetting(GUIPageIconGrouping.SettingCategory cat)
void ItemOver(int index)
GUIInputRegionExclusive pickingInterceptor
Rectangle GetRegion()
float ItemScale(int index)
bool IsOverGroupOptions(Vector2 position)
void ItemDraw(ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
List< GUIPageIconGrouping.SettingCategory > SettingOptions
int SortSettings(GUIPageIconGrouping.SettingCategory x, GUIPageIconGrouping.SettingCategory y)
int SortCategories(GUIPageIcons.Category x, GUIPageIcons.Category y)
void DisableCategory(GUIPageIcons.Category cat)
List< GUIPageIconGrouping > LeftGroupings
static InterfaceProfile_Layout Active