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
UnlockProgressDisplayBestiaryInfoElement.cs
Go to the documentation of this file.
1using System;
4using Terraria.UI;
5
7{
8 // Token: 0x02000964 RID: 2404
10 {
11 // Token: 0x06004812 RID: 18450 RVA: 0x0025FBDC File Offset: 0x0025DDDC
16
17 // Token: 0x06004813 RID: 18451 RVA: 0x0025FBF8 File Offset: 0x0025DDF8
19 {
20 /*
21An exception occurred when decompiling this method (06004813)
22
23ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.UI.UIElement Terraria.GameContent.Bestiary.UnlockProgressDisplayBestiaryInfoElement::ProvideUIElement(Terraria.GameContent.Bestiary.BestiaryUICollectionInfo)
24
25 ---> System.Exception: Basic block has to end with unconditional control flow.
26{
27 IL_0038:
28 stloc:string(var_8_44, call:string(string::Format, ldstr:string("{0} Bestiary Collected"), ldloc:string[exp:object](var_7)))
29}
30
31 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
32 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
33 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
34 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
35 --- End of inner exception stack trace ---
36 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
37 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
38*/;
39 }
40
41 // Token: 0x06004814 RID: 18452 RVA: 0x0025FC5C File Offset: 0x0025DE5C
42 private void AddDynamicResize(UIElement container, UIText text)
43 {
44 }
45
46 // Token: 0x040083A5 RID: 33701
48
49 // Token: 0x040083A6 RID: 33702
51
52 // Token: 0x040083A7 RID: 33703
54
55 // Token: 0x02000965 RID: 2405
57 private sealed class <>c__DisplayClass5_0
58 {
59 // Token: 0x06004815 RID: 18453 RVA: 0x0025FC6C File Offset: 0x0025DE6C
61 {
62 }
63
64 // Token: 0x06004816 RID: 18454 RVA: 0x0025FC80 File Offset: 0x0025DE80
66 {
67 UIElement uielement = this.container;
72 float pixels2 = text2.MinHeight.Pixels;
77 }
78
79 // Token: 0x040083A8 RID: 33704
80 public UIElement container;
81
82 // Token: 0x040083A9 RID: 33705
84 }
85 }
86}
class f__AnonymousType0<< Count > j__TPar
StyleDimension MinHeight