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
UIAchievementsMenu.cs
Go to the documentation of this file.
1using System;
8using Terraria.UI;
9
11{
12 // Token: 0x02000A6D RID: 2669
14 {
15 // Token: 0x06004EAE RID: 20142 RVA: 0x000021DB File Offset: 0x000003DB
16 public void InitializePage()
17 {
18 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
19 }
20
21 // Token: 0x06004EAF RID: 20143 RVA: 0x00277AC4 File Offset: 0x00275CC4
22 public override void Draw(SpriteBatch spriteBatch)
23 {
24 base.Draw(spriteBatch);
25 if (this._categoryButtons._size == 0)
26 {
27 int size = this._categoryButtons._size;
28 return;
29 }
30 }
31
32 // Token: 0x06004EB0 RID: 20144 RVA: 0x00277B48 File Offset: 0x00275D48
34 {
35 }
36
37 // Token: 0x06004EB1 RID: 20145 RVA: 0x00277B58 File Offset: 0x00275D58
39 {
40 if (!true)
41 {
42 }
43 Main.menuMode = 0;
45 }
46
47 // Token: 0x06004EB2 RID: 20146 RVA: 0x00277B78 File Offset: 0x00275D78
49 {
50 UIElement target = evt.Target;
51 if (target != null)
52 {
53 }
54 if (evt.Target != null)
55 {
56 }
57 }
58
59 // Token: 0x06004EB3 RID: 20147 RVA: 0x00277BB4 File Offset: 0x00275DB4
61 {
62 int num = 1;
63 UIElement target = evt.Target;
64 if (num == 0)
65 {
66 }
67 if (target != null)
68 {
69 }
70 if (evt.Target != null)
71 {
72 }
73 }
74
75 // Token: 0x06004EB4 RID: 20148 RVA: 0x00277BEC File Offset: 0x00275DEC
83
84 // Token: 0x06004EB5 RID: 20149 RVA: 0x00277C30 File Offset: 0x00275E30
85 public override void OnActivate()
86 {
87 if (!true)
88 {
89 }
90 bool gameMenu = Main.gameMenu;
94 }
95
96 // Token: 0x06004EB6 RID: 20150 RVA: 0x00277C60 File Offset: 0x00275E60
98 {
99 }
100
101 // Token: 0x040087C9 RID: 34761
103
104 // Token: 0x040087CA RID: 34762
106
107 // Token: 0x040087CB RID: 34763
109
110 // Token: 0x040087CC RID: 34764
112
113 // Token: 0x040087CD RID: 34765
115
116 // Token: 0x02000A6E RID: 2670
118 private sealed class <>c__DisplayClass7_0
119 {
120 // Token: 0x06004EB7 RID: 20151 RVA: 0x00277C74 File Offset: 0x00275E74
122 {
123 }
124
125 // Token: 0x06004EB8 RID: 20152 RVA: 0x00277C88 File Offset: 0x00275E88
126 internal bool <GotoAchievement>b__0(UIElement element)
127 {
128 /*
129An exception occurred when decompiling this method (06004EB8)
130
131ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.GameContent.UI.States.UIAchievementsMenu/<>c__DisplayClass7_0::<GotoAchievement>b__0(Terraria.UI.UIElement)
132
133 ---> System.Exception: Basic block has to end with unconditional control flow.
134{
135 IL_0003:
136 stloc:Achievement(var_1_0B, ldfld:Achievement('<>c__DisplayClass7_0'::achievement, ldloc:'<>c__DisplayClass7_0'(this)))
137}
138
139 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
140 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
141 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
142 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
143 --- End of inner exception stack trace ---
144 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
145 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
146*/;
147 }
148
149 // Token: 0x040087CE RID: 34766
151 }
152 }
153}
class f__AnonymousType0<< Count > j__TPar
override void Draw(SpriteBatch spriteBatch)
void FadedMouseOut(UIMouseEvent evt, UIElement listeningElement)
void FilterList(UIMouseEvent evt, UIElement listeningElement)
void GoBackClick(UIMouseEvent evt, UIElement listeningElement)
void FadedMouseOver(UIMouseEvent evt, UIElement listeningElement)
static bool gameMenu
Definition Main.cs:2673