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
NPCStatsReportInfoElement.cs
Go to the documentation of this file.
1using System;
10using Terraria.UI;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x200096E")]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x6004831")]
18 [global::Cpp2ILInjected.Address(RVA = "0x819ADC", Offset = "0x819ADC", Length = "0xDC")]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIBestiary), Member = ".ctor", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryEntry), Member = "Enemy", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCStatsReportInfoElement), Member = "RefreshStats", MemberParameters = new object[]
25 {
27 typeof(NPC)
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
31 {
32 throw null;
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x14000055")]
37 {
39 [global::Cpp2ILInjected.Token(Token = "0x6004832")]
40 [global::Cpp2ILInjected.Address(RVA = "0x82063C", Offset = "0x82063C", Length = "0x9C")]
41 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "ModifyEntriesThatNeedIt", ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Combine", MemberParameters = new object[]
45 {
48 }, ReturnType = typeof(Delegate))]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
50 add
51 {
52 throw null;
53 }
55 [global::Cpp2ILInjected.Token(Token = "0x6004833")]
56 [global::Cpp2ILInjected.Address(RVA = "0x8206D8", Offset = "0x8206D8", Length = "0x9C")]
57 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Remove", MemberParameters = new object[]
60 {
63 }, ReturnType = typeof(Delegate))]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
65 remove
66 {
67 throw null;
68 }
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x6004834")]
72 [global::Cpp2ILInjected.Address(RVA = "0x820774", Offset = "0x820774", Length = "0x94")]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIBestiary), Member = "RefreshSelectedStats", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCStatsReportInfoElement), Member = "RefreshStats", MemberParameters = new object[]
76 {
78 typeof(NPC)
79 }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
81 public void Refresh()
82 {
83 throw null;
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x6004835")]
87 [global::Cpp2ILInjected.Address(RVA = "0x820808", Offset = "0x820808", Length = "0x94")]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCStatsReportInfoElement), Member = "RefreshStats", MemberParameters = new object[]
90 {
92 typeof(NPC)
93 }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
95 public void UpdateBeforeSorting()
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x6004836")]
101 [global::Cpp2ILInjected.Address(RVA = "0x8205B4", Offset = "0x8205B4", Length = "0x88")]
102 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPCStatsReportInfoElement), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPCStatsReportInfoElement), Member = "Refresh", ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPCStatsReportInfoElement), Member = "UpdateBeforeSorting", ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPCStatsReportInfoElement), Member = "ProvideUIElement", MemberParameters = new object[] { typeof(BestiaryUICollectionInfo) }, ReturnType = typeof(UIElement))]
107 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "SetDefaults", MemberParameters = new object[]
109 {
110 typeof(int),
112 }, ReturnType = typeof(void))]
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x6004837")]
119 [global::Cpp2ILInjected.Address(RVA = "0x82089C", Offset = "0x82089C", Length = "0x1434")]
120 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
121 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCStatsReportInfoElement), Member = "RefreshStats", MemberParameters = new object[]
123 {
125 typeof(NPC)
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = ".ctor", ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = ".ctor", MemberParameters = new object[]
129 {
130 typeof(float),
131 typeof(float)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIImage), Member = ".ctor", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Append", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
136 {
137 typeof(int),
138 typeof(int),
139 typeof(int)
140 }, ReturnType = "T")]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIText), Member = ".ctor", MemberParameters = new object[]
144 {
145 typeof(string),
146 typeof(float),
147 typeof(bool)
148 }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIHorizontalSeparator), Member = ".ctor", MemberParameters = new object[]
150 {
151 typeof(int),
152 typeof(bool)
153 }, ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = "FromPixelsAndPercent", MemberParameters = new object[]
155 {
156 typeof(float),
157 typeof(float)
158 }, ReturnType = typeof(StyleDimension))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
160 {
161 typeof(int),
162 typeof(int),
163 typeof(int),
164 typeof(int)
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
167 {
168 typeof(Color),
169 typeof(float)
170 }, ReturnType = typeof(Color))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
172 {
173 typeof(string),
174 typeof(string)
175 }, ReturnType = typeof(bool))]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement.ElementEvent), Member = ".ctor", MemberParameters = new object[]
177 {
178 typeof(object),
180 }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "add_OnUpdate", MemberParameters = new object[] { typeof(UIElement.ElementEvent) }, ReturnType = typeof(void))]
182 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 75)]
184 {
185 throw null;
186 }
187
188 [global::Cpp2ILInjected.Token(Token = "0x6004838")]
189 [global::Cpp2ILInjected.Address(RVA = "0x821CD0", Offset = "0x821CD0", Length = "0xB8")]
190 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "MouseText", MemberParameters = new object[]
193 {
194 typeof(string),
195 typeof(int),
196 typeof(byte),
197 typeof(int),
198 typeof(int),
199 typeof(int),
200 typeof(int),
201 typeof(int)
202 }, ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
204 private void ShowStats_Attack(UIElement element)
205 {
206 throw null;
207 }
208
209 [global::Cpp2ILInjected.Token(Token = "0x6004839")]
210 [global::Cpp2ILInjected.Address(RVA = "0x821D88", Offset = "0x821D88", Length = "0xB8")]
211 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "MouseText", MemberParameters = new object[]
214 {
215 typeof(string),
216 typeof(int),
217 typeof(byte),
218 typeof(int),
219 typeof(int),
220 typeof(int),
221 typeof(int),
222 typeof(int)
223 }, ReturnType = typeof(void))]
224 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
225 private void ShowStats_Defense(UIElement element)
226 {
227 throw null;
228 }
229
230 [global::Cpp2ILInjected.Token(Token = "0x600483A")]
231 [global::Cpp2ILInjected.Address(RVA = "0x821E40", Offset = "0x821E40", Length = "0xB8")]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "MouseText", MemberParameters = new object[]
235 {
236 typeof(string),
237 typeof(int),
238 typeof(byte),
239 typeof(int),
240 typeof(int),
241 typeof(int),
242 typeof(int),
243 typeof(int)
244 }, ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
246 private void ShowStats_Knockback(UIElement element)
247 {
248 throw null;
249 }
250
251 [global::Cpp2ILInjected.Token(Token = "0x600483B")]
252 [global::Cpp2ILInjected.Address(RVA = "0x821EF8", Offset = "0x821EF8", Length = "0xB8")]
253 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
255 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "MouseText", MemberParameters = new object[]
256 {
257 typeof(string),
258 typeof(int),
259 typeof(byte),
260 typeof(int),
261 typeof(int),
262 typeof(int),
263 typeof(int),
264 typeof(int)
265 }, ReturnType = typeof(void))]
266 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
267 private void ShowStats_Life(UIElement element)
268 {
269 throw null;
270 }
271
272 [global::Cpp2ILInjected.Token(Token = "0x40083B3")]
273 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
274 public int NpcId;
275
276 [global::Cpp2ILInjected.Token(Token = "0x40083B4")]
277 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
278 public int Damage;
279
280 [global::Cpp2ILInjected.Token(Token = "0x40083B5")]
281 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
282 public int LifeMax;
283
284 [global::Cpp2ILInjected.Token(Token = "0x40083B6")]
285 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
286 public float MonetaryValue;
287
288 [global::Cpp2ILInjected.Token(Token = "0x40083B7")]
289 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
290 public int Defense;
291
292 [global::Cpp2ILInjected.Token(Token = "0x40083B8")]
293 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
294 public float KnockbackResist;
295
296 [global::Cpp2ILInjected.Token(Token = "0x40083B9")]
297 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
299
301 [global::Cpp2ILInjected.Token(Token = "0x40083BA")]
302 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
304
305 [global::Cpp2ILInjected.Token(Token = "0x200096F")]
307 }
308}
class f__AnonymousType0<< Count > j__TPar
NPCStatsReportInfoElement.StatAdjustmentStep OnRefreshStats
void RefreshStats(GameModeData gameModeFound, NPC instance)
delegate void StatAdjustmentStep(NPCStatsReportInfoElement element)
delegate void ElementEvent(UIElement affectedElement)