terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UIBestiaryEntryButton.cs
Go to the documentation of this file.
1using System;
4using System.Linq;
10using ReLogic.Content;
11using Terraria.Audio;
13using Terraria.UI;
14
16{
17 [global::Cpp2ILInjected.Token(Token = "0x2000A94")]
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x170008BB")]
22 {
24 [global::Cpp2ILInjected.Token(Token = "0x6004FF6")]
25 [global::Cpp2ILInjected.Address(RVA = "0x905B4C", Offset = "0x905B4C", Length = "0x8")]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 get
28 {
29 throw null;
30 }
32 [global::Cpp2ILInjected.Token(Token = "0x6004FF7")]
33 [global::Cpp2ILInjected.Address(RVA = "0x905B54", Offset = "0x905B54", Length = "0x8")]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
35 private set
36 {
37 throw null;
38 }
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x6004FF8")]
42 [global::Cpp2ILInjected.Address(RVA = "0x905B5C", Offset = "0x905B5C", Length = "0x800")]
43 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryGrid), Member = "FillBestiarySpaceWithEntries", ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = ".ctor", ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = "Set", MemberParameters = new object[]
48 {
49 typeof(float),
50 typeof(float)
51 }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "SetPadding", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = ".ctor", MemberParameters = new object[]
54 {
55 typeof(float),
56 typeof(float)
57 }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIImage), Member = ".ctor", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Append", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIBestiaryEntryButton), Member = "TryGettingBackgroundImageProvider", MemberParameters = new object[] { typeof(BestiaryEntry) }, ReturnType = typeof(Asset<Texture2D>))]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIBestiaryEntryIcon), Member = ".ctor", MemberParameters = new object[]
62 {
64 typeof(bool)
65 }, ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIBestiaryEntryButton), Member = "TryGettingDisplayIndex", MemberParameters = new object[] { typeof(BestiaryEntry) }, ReturnType = typeof(int?))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = "get_Value", ReturnType = "T")]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIText), Member = ".ctor", MemberParameters = new object[]
70 {
71 typeof(string),
72 typeof(float),
73 typeof(bool)
74 }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
76 {
78 typeof(float)
79 }, ReturnType = typeof(Color))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "RemoveChild", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement.MouseEvent), Member = ".ctor", MemberParameters = new object[]
82 {
83 typeof(object),
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "add_OnMouseOver", MemberParameters = new object[] { typeof(UIElement.MouseEvent) }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "add_OnMouseOut", MemberParameters = new object[] { typeof(UIElement.MouseEvent) }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 44)]
90 {
91 throw null;
92 }
93
94 [global::Cpp2ILInjected.Token(Token = "0x6004FF9")]
95 [global::Cpp2ILInjected.Address(RVA = "0x90635C", Offset = "0x90635C", Length = "0x870")]
96 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryButton), Member = ".ctor", MemberParameters = new object[]
98 {
100 typeof(bool)
101 }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<object, bool>), Member = ".ctor", MemberParameters = new object[]
105 {
106 typeof(object),
108 }, ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Where", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
110 {
113 }, ReturnType = "System.Collections.Generic.IEnumerable`1<TSource>")]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<object, object>), Member = ".ctor", MemberParameters = new object[]
115 {
116 typeof(object),
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Select", MemberTypeParameters = new object[]
120 {
121 typeof(object),
122 typeof(object)
123 }, MemberParameters = new object[]
124 {
127 }, ReturnType = "System.Collections.Generic.IEnumerable`1<TResult>")]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable), Member = "OfType", MemberTypeParameters = new object[] { "TResult" }, MemberParameters = new object[] { typeof(IEnumerable) }, ReturnType = "System.Collections.Generic.IEnumerable`1<TResult>")]
129 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 47)]
131 {
132 throw null;
133 }
134
135 [global::Cpp2ILInjected.Token(Token = "0x6004FFA")]
136 [global::Cpp2ILInjected.Address(RVA = "0x906DF0", Offset = "0x906DF0", Length = "0x1BC")]
137 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryButton), Member = ".ctor", MemberParameters = new object[]
139 {
141 typeof(bool)
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<object, bool>), Member = ".ctor", MemberParameters = new object[]
145 {
146 typeof(object),
148 }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "FirstOrDefault", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
150 {
153 }, ReturnType = "TSource")]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
157 {
158 throw null;
159 }
160
161 [global::Cpp2ILInjected.Token(Token = "0x6004FFB")]
162 [global::Cpp2ILInjected.Address(RVA = "0x906FB4", Offset = "0x906FB4", Length = "0xA0")]
163 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIBestiaryEntryIcon), Member = "GetHoverText", ReturnType = typeof(string))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "MouseText", MemberParameters = new object[]
166 {
167 typeof(string),
168 typeof(int),
169 typeof(byte),
170 typeof(int),
171 typeof(int),
172 typeof(int),
173 typeof(int),
174 typeof(int)
175 }, ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
177 protected override void DrawSelf(SpriteBatch spriteBatch)
178 {
179 throw null;
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x6004FFC")]
183 [global::Cpp2ILInjected.Address(RVA = "0x907108", Offset = "0x907108", Length = "0x94")]
184 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
185 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
186 {
187 typeof(int),
188 typeof(int),
189 typeof(int),
190 typeof(int),
191 typeof(float),
192 typeof(float)
193 }, ReturnType = typeof(SoundEffectInstance))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "RemoveChild", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Append", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
197 {
198 throw null;
199 }
200
201 [global::Cpp2ILInjected.Token(Token = "0x6004FFD")]
202 [global::Cpp2ILInjected.Address(RVA = "0x90719C", Offset = "0x90719C", Length = "0x64")]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "RemoveChild", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Append", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
207 {
208 throw null;
209 }
210
212 [global::Cpp2ILInjected.Token(Token = "0x40088DD")]
213 [global::Cpp2ILInjected.FieldOffset(Offset = "0x148")]
214 private BestiaryEntry <Entry>k__BackingField;
215
216 [global::Cpp2ILInjected.Token(Token = "0x40088DE")]
217 [global::Cpp2ILInjected.FieldOffset(Offset = "0x150")]
219
220 [global::Cpp2ILInjected.Token(Token = "0x40088DF")]
221 [global::Cpp2ILInjected.FieldOffset(Offset = "0x158")]
223
224 [global::Cpp2ILInjected.Token(Token = "0x40088E0")]
225 [global::Cpp2ILInjected.FieldOffset(Offset = "0x160")]
227
228 [global::Cpp2ILInjected.Token(Token = "0x40088E1")]
229 [global::Cpp2ILInjected.FieldOffset(Offset = "0x168")]
231
233 [global::Cpp2ILInjected.Token(Token = "0x2000A95")]
234 private sealed class <>c__DisplayClass9_0
235 {
236 [global::Cpp2ILInjected.Token(Token = "0x6004FFE")]
237 [global::Cpp2ILInjected.Address(RVA = "0x906FAC", Offset = "0x906FAC", Length = "0x8")]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
241 {
242 throw null;
243 }
244
245 [global::Cpp2ILInjected.Token(Token = "0x6004FFF")]
246 [global::Cpp2ILInjected.Address(RVA = "0x907200", Offset = "0x907200", Length = "0xD4")]
247 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
248 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
249 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<object, bool>), Member = ".ctor", MemberParameters = new object[]
250 {
251 typeof(object),
253 }, ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable), Member = "Any", MemberTypeParameters = new object[] { "TSource" }, MemberParameters = new object[] { "System.Collections.Generic.IEnumerable`1<TSource>", "System.Func`2<TSource, Boolean>" }, ReturnType = typeof(bool))]
255 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
257 {
258 throw null;
259 }
260
261 [global::Cpp2ILInjected.Token(Token = "0x40088E2")]
262 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
264 }
265
267 [global::Cpp2ILInjected.Token(Token = "0x2000A96")]
268 private sealed class <>c__DisplayClass9_1
269 {
270 [global::Cpp2ILInjected.Token(Token = "0x6005000")]
271 [global::Cpp2ILInjected.Address(RVA = "0x9072D4", Offset = "0x9072D4", Length = "0x8")]
272 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
275 {
276 throw null;
277 }
278
279 [global::Cpp2ILInjected.Token(Token = "0x6005001")]
280 [global::Cpp2ILInjected.Address(RVA = "0x9072DC", Offset = "0x9072DC", Length = "0xAC")]
281 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
282 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
283 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
285 {
286 throw null;
287 }
288
289 [global::Cpp2ILInjected.Token(Token = "0x40088E3")]
290 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
292 }
293
295 [global::Cpp2ILInjected.Token(Token = "0x2000A97")]
296 [Serializable]
297 private sealed class <>c
298 {
299 // Note: this type is marked as 'beforefieldinit'.
300 [global::Cpp2ILInjected.Token(Token = "0x6005002")]
301 [global::Cpp2ILInjected.Address(RVA = "0x907388", Offset = "0x907388", Length = "0x5C")]
302 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
303 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
304 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
305 static <>c()
306 {
307 throw null;
308 }
309
310 [global::Cpp2ILInjected.Token(Token = "0x6005003")]
311 [global::Cpp2ILInjected.Address(RVA = "0x9073E4", Offset = "0x9073E4", Length = "0x8")]
312 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
313 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
314 public <>c()
315 {
316 throw null;
317 }
318
319 [global::Cpp2ILInjected.Token(Token = "0x6005004")]
320 [global::Cpp2ILInjected.Address(RVA = "0x9073EC", Offset = "0x9073EC", Length = "0x54")]
321 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
322 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
323 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
325 {
326 throw null;
327 }
328
329 [global::Cpp2ILInjected.Token(Token = "0x6005005")]
330 [global::Cpp2ILInjected.Address(RVA = "0x907440", Offset = "0x907440", Length = "0x48")]
331 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
332 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
334 {
335 throw null;
336 }
337
338 [global::Cpp2ILInjected.Token(Token = "0x6005006")]
339 [global::Cpp2ILInjected.Address(RVA = "0x907488", Offset = "0x907488", Length = "0x54")]
340 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
341 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
342 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
344 {
345 throw null;
346 }
347
348 [global::Cpp2ILInjected.Token(Token = "0x40088E4")]
349 public static readonly UIBestiaryEntryButton.<>c <>9;
350
351 [global::Cpp2ILInjected.Token(Token = "0x40088E5")]
353
354 [global::Cpp2ILInjected.Token(Token = "0x40088E6")]
356
357 [global::Cpp2ILInjected.Token(Token = "0x40088E7")]
359 }
360 }
361}
class f__AnonymousType0<< Count > j__TPar
void MouseOut(UIMouseEvent evt, UIElement listeningElement)
Asset< Texture2D > TryGettingBackgroundImageProvider(BestiaryEntry entry)
UIBestiaryEntryButton(BestiaryEntry entry, bool isAPrettyPortrait)
void MouseOver(UIMouseEvent evt, UIElement listeningElement)
delegate void MouseEvent(UIMouseEvent evt, UIElement listeningElement)