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
UIBestiaryFilteringOptionsGrid.cs
Go to the documentation of this file.
1using System;
9using Terraria.UI;
10
12{
13 // Token: 0x02000A9B RID: 2715
15 {
16 // Token: 0x1400005E RID: 94
17 // (add) Token: 0x0600501B RID: 20507 RVA: 0x0027C560 File Offset: 0x0027A760
18 // (remove) Token: 0x0600501C RID: 20508 RVA: 0x0027C584 File Offset: 0x0027A784
20 {
22 add
23 {
24 if (Delegate.Combine(this.OnClickingOption, value) != null)
25 {
26 }
27 }
29 remove
30 {
31 if (Delegate.Remove(this.OnClickingOption, value) != null)
32 {
33 }
34 }
35 }
36
37 // Token: 0x0600501D RID: 20509 RVA: 0x0027C5A8 File Offset: 0x0027A7A8
39 {
40 int num = 1;
41 base..ctor();
43 if (num == 0)
44 {
45 }
46 Color color;
50 this.BuildContainer();
51 }
52
53 // Token: 0x0600501E RID: 20510 RVA: 0x0027C5F4 File Offset: 0x0027A7F4
54 private void BuildContainer()
55 {
56 if (!true)
57 {
58 }
60 Color color = color2 * 0f;
61 }
62
63 // Token: 0x0600501F RID: 20511 RVA: 0x000021DB File Offset: 0x000003DB
65 {
66 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
67 }
68
69 // Token: 0x06005020 RID: 20512 RVA: 0x000021DB File Offset: 0x000003DB
70 public void UpdateAvailability()
71 {
72 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
73 }
74
75 // Token: 0x06005021 RID: 20513 RVA: 0x0027C630 File Offset: 0x0027A830
76 public void GetEntriesToShow([Out] int maxEntriesWidth, [Out] int maxEntriesHeight, [Out] int maxEntriesToHave)
77 {
80 int size = this._filterer.AvailableFilters._size;
82 }
83
84 // Token: 0x06005022 RID: 20514 RVA: 0x0027C664 File Offset: 0x0027A864
85 private void GetDisplaySettings([Out] int widthPerButton, [Out] int heightPerButton, [Out] int widthWithSpacing, [Out] int heightWithSpacing, [Out] int perRow, [Out] float offsetLeft, [Out] float offsetTop, [Out] int howManyRows)
86 {
87 int num = 32;
90 int num2 = 12;
93 int num3 = 16576;
96 }
97
98 // Token: 0x06005023 RID: 20515 RVA: 0x0027C6B0 File Offset: 0x0027A8B0
100 {
102 bool flag = this._filterer.IsFilterActive(int.MinValue);
103 }
104
105 // Token: 0x06005024 RID: 20516 RVA: 0x000021DB File Offset: 0x000003DB
107 {
108 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
109 }
110
111 // Token: 0x06005025 RID: 20517 RVA: 0x0027C6F0 File Offset: 0x0027A8F0
112 private void AddOnHover(IBestiaryEntryFilter filter, UIElement button)
113 {
114 }
115
116 // Token: 0x06005026 RID: 20518 RVA: 0x0027C700 File Offset: 0x0027A900
118 {
119 if (element.<IsMouseHovering>k__BackingField)
120 {
121 return;
122 }
123 }
124
125 // Token: 0x06005027 RID: 20519 RVA: 0x0027C718 File Offset: 0x0027A918
127 {
128 if (listeningElement != null)
129 {
130 }
131 this._filterer.ToggleFilter(int.MinValue);
134 if (onClickingOption != null)
135 {
136 IntPtr invoke_impl = onClickingOption.invoke_impl;
137 IntPtr method_code = onClickingOption.method_code;
138 IntPtr method = onClickingOption.method;
139 return;
140 }
141 }
142
143 // Token: 0x040088F4 RID: 35060
145
146 // Token: 0x040088F5 RID: 35061
148
149 // Token: 0x040088F6 RID: 35062
151
152 // Token: 0x040088F7 RID: 35063
154
155 // Token: 0x040088F8 RID: 35064
157 private Action OnClickingOption;
158
159 // Token: 0x040088F9 RID: 35065
161
162 // Token: 0x02000A9C RID: 2716
164 private sealed class <>c__DisplayClass16_0
165 {
166 // Token: 0x06005028 RID: 20520 RVA: 0x0027C764 File Offset: 0x0027A964
168 {
169 }
170
171 // Token: 0x06005029 RID: 20521 RVA: 0x0027C778 File Offset: 0x0027A978
172 internal void <AddOnHover>b__0(UIElement element)
173 {
175 }
176
177 // Token: 0x040088FA RID: 35066
179
180 // Token: 0x040088FB RID: 35067
181 public IBestiaryEntryFilter filter;
182 }
183 }
184}
class f__AnonymousType0<< Count > j__TPar
static Delegate Combine(Delegate a, Delegate b)
Definition Delegate.cs:255
static Delegate Remove(Delegate source, Delegate value)
Definition Delegate.cs:278
void ShowButtonName(UIElement element, IBestiaryEntryFilter number)
void GetEntriesToShow([Out] int maxEntriesWidth, [Out] int maxEntriesHeight, [Out] int maxEntriesToHave)
bool GetIsFilterAvailableForEntries(IBestiaryEntryFilter filter, List< BestiaryEntry > entries)
UIBestiaryFilteringOptionsGrid(EntryFilterer< BestiaryEntry, IBestiaryEntryFilter > filterer)
void GetDisplaySettings([Out] int widthPerButton, [Out] int heightPerButton, [Out] int widthWithSpacing, [Out] int heightWithSpacing, [Out] int perRow, [Out] float offsetLeft, [Out] float offsetTop, [Out] int howManyRows)
UIElement< Parent > k__BackingField