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
ItemsSacrificedUnlocksTracker.cs
Go to the documentation of this file.
1using System;
3using System.IO;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000A15")]
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x17000876")]
16 public int LastEditId
17 {
19 [global::Cpp2ILInjected.Token(Token = "0x6004C31")]
20 [global::Cpp2ILInjected.Address(RVA = "0x8B82C8", Offset = "0x8B82C8", Length = "0x8")]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
22 get
23 {
24 throw null;
25 }
27 [global::Cpp2ILInjected.Token(Token = "0x6004C32")]
28 [global::Cpp2ILInjected.Address(RVA = "0x8B82D0", Offset = "0x8B82D0", Length = "0x8")]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
30 private set
31 {
32 throw null;
33 }
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x6004C33")]
37 [global::Cpp2ILInjected.Address(RVA = "0x8B81FC", Offset = "0x8B81FC", Length = "0xCC")]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUnlocksTracker), Member = ".ctor", ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = ".ctor", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = ".ctor", ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
45 {
46 throw null;
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x6004C34")]
50 [global::Cpp2ILInjected.Address(RVA = "0x8B7308", Offset = "0x8B7308", Length = "0xB4")]
51 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIResearch), Member = "CanBeResearched", MemberParameters = new object[]
53 {
54 typeof(Item),
55 typeof(ref int)
56 }, ReturnType = typeof(GUIResearch.ResearchState))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIResearch), Member = "ActionResearch", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIResearch), Member = "DrawItemProgress", ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "MouseText_DrawItemTooltip_GetLinesInfo", MemberParameters = new object[]
60 {
61 typeof(Item),
62 typeof(ref int),
63 typeof(ref int),
64 typeof(ref int),
65 typeof(float),
66 typeof(ref int),
67 typeof(string[]),
68 typeof(bool[]),
69 typeof(bool[]),
70 typeof(ref int)
71 }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = "ShouldDrawSacrificeArea", ReturnType = typeof(bool))]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "TryGetValue", MemberParameters = new object[]
75 {
76 typeof(int),
77 typeof(ref int)
78 }, ReturnType = typeof(bool))]
79 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
80 public int GetSacrificeCount(int itemId)
81 {
82 throw null;
83 }
84
85 [global::Cpp2ILInjected.Token(Token = "0x6004C35")]
86 [global::Cpp2ILInjected.Address(RVA = "0x8B7ABC", Offset = "0x8B7ABC", Length = "0x1F0")]
87 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIItemDuplication), Member = "UpdateFilter", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = "RefreshAvailableInfiniteItemsList", ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UICreativeInfiniteItemsDisplay), Member = "UpdateContents", ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "GetEnumerator", ReturnType = "Enumerator<TKey, TValue>")]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemsSacrificedUnlocksTracker), Member = "TryGetSacrificeNumbers", MemberParameters = new object[]
95 {
96 typeof(int),
97 typeof(ref int),
98 typeof(ref int)
99 }, ReturnType = typeof(bool))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
106
107 [global::Cpp2ILInjected.Token(Token = "0x6004C36")]
108 [global::Cpp2ILInjected.Address(RVA = "0x8B7464", Offset = "0x8B7464", Length = "0x120")]
109 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = "SacrificeItem", MemberParameters = new object[] { typeof(ref int) }, ReturnType = typeof(CreativeUI.ItemSacrificeResult))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemsSacrificedUnlocksTracker), Member = "FillListOfItemsThatCanBeObtainedInfinitely", MemberParameters = new object[] { typeof(List<int>) }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "TryGetValue", MemberParameters = new object[]
114 {
115 typeof(int),
116 typeof(ref int)
117 }, ReturnType = typeof(bool))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CreativeItemSacrificesCatalog), Member = "TryGetSacrificeCountCapToUnlockInfiniteItems", MemberParameters = new object[]
119 {
120 typeof(int),
121 typeof(ref int)
122 }, ReturnType = typeof(bool))]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
125 {
126 throw null;
127 }
128
129 [global::Cpp2ILInjected.Token(Token = "0x6004C37")]
130 [global::Cpp2ILInjected.Address(RVA = "0x8B78D8", Offset = "0x8B78D8", Length = "0x1E4")]
131 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIResearch), Member = "ActionResearch", ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = "SacrificeItem", MemberParameters = new object[] { typeof(ref int) }, ReturnType = typeof(CreativeUI.ItemSacrificeResult))]
134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "TryGetValue", MemberParameters = new object[]
136 {
137 typeof(int),
138 typeof(ref int)
139 }, ReturnType = typeof(bool))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "TryGetValue", MemberParameters = new object[]
141 {
142 typeof(int),
143 typeof(ref object)
144 }, ReturnType = typeof(bool))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "TryGetValue", MemberParameters = new object[]
146 {
147 typeof(object),
148 typeof(ref int)
149 }, ReturnType = typeof(bool))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
151 {
152 typeof(int),
153 typeof(int),
154 typeof(int)
155 }, ReturnType = "T")]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "set_Item", MemberParameters = new object[]
157 {
158 typeof(object),
159 typeof(int)
160 }, ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "set_Item", MemberParameters = new object[]
162 {
163 typeof(int),
164 typeof(int)
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
167 public void RegisterItemSacrifice(int itemId, int amount)
168 {
169 throw null;
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x6004C38")]
173 [global::Cpp2ILInjected.Address(RVA = "0x8B82E8", Offset = "0x8B82E8", Length = "0x150")]
174 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetCreativeUnlocksModule), Member = "Deserialize", MemberParameters = new object[]
175 {
177 typeof(int)
178 }, ReturnType = typeof(bool))]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
181 {
182 typeof(int),
183 typeof(int),
184 typeof(int)
185 }, ReturnType = "T")]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "set_Item", MemberParameters = new object[]
187 {
188 typeof(object),
189 typeof(int)
190 }, ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "TryGetValue", MemberParameters = new object[]
192 {
193 typeof(object),
194 typeof(ref int)
195 }, ReturnType = typeof(bool))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "set_Item", MemberParameters = new object[]
197 {
198 typeof(int),
199 typeof(int)
200 }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
203 {
204 throw null;
205 }
206
207 [global::Cpp2ILInjected.Token(Token = "0x6004C39")]
208 [global::Cpp2ILInjected.Address(RVA = "0x8B7D0C", Offset = "0x8B7D0C", Length = "0x1FC")]
209 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
210 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = ".ctor", MemberParameters = new object[] { typeof(IDictionary<object, int>) }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "get_Count", ReturnType = typeof(int))]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "GetEnumerator", ReturnType = "Enumerator<TKey, TValue>")]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
217 public void Save(BinaryWriter writer)
218 {
219 throw null;
220 }
221
222 [global::Cpp2ILInjected.Token(Token = "0x6004C3A")]
223 [global::Cpp2ILInjected.Address(RVA = "0x8B7F10", Offset = "0x8B7F10", Length = "0x1FC")]
224 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
225 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "TryGetValue", MemberParameters = new object[]
227 {
228 typeof(object),
229 typeof(ref int)
230 }, ReturnType = typeof(bool))]
231 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "TryGetValue", MemberParameters = new object[]
232 {
233 typeof(int),
234 typeof(ref int)
235 }, ReturnType = typeof(bool))]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "set_Item", MemberParameters = new object[]
237 {
238 typeof(int),
239 typeof(int)
240 }, ReturnType = typeof(void))]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "TryGetValue", MemberParameters = new object[]
242 {
243 typeof(int),
244 typeof(ref object)
245 }, ReturnType = typeof(bool))]
246 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "set_Item", MemberParameters = new object[]
247 {
248 typeof(object),
249 typeof(int)
250 }, ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
253 {
254 throw null;
255 }
256
257 [global::Cpp2ILInjected.Token(Token = "0x6004C3B")]
258 [global::Cpp2ILInjected.Address(RVA = "0x8B8438", Offset = "0x8B8438", Length = "0x68")]
259 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
260 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
262 {
263 throw null;
264 }
265
266 [global::Cpp2ILInjected.Token(Token = "0x6004C3C")]
267 [global::Cpp2ILInjected.Address(RVA = "0x8B8118", Offset = "0x8B8118", Length = "0x80")]
268 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
269 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "Clear", ReturnType = typeof(void))]
270 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "Clear", ReturnType = typeof(void))]
271 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
272 public void Reset()
273 {
274 throw null;
275 }
276
277 [global::Cpp2ILInjected.Token(Token = "0x6004C3D")]
278 [global::Cpp2ILInjected.Address(RVA = "0x8B819C", Offset = "0x8B819C", Length = "0x4")]
279 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
281 {
282 throw null;
283 }
284
285 [global::Cpp2ILInjected.Token(Token = "0x6004C3E")]
286 [global::Cpp2ILInjected.Address(RVA = "0x8B82D8", Offset = "0x8B82D8", Length = "0x10")]
287 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
288 public void MarkContentsDirty()
289 {
290 throw null;
291 }
292
293 [global::Cpp2ILInjected.Token(Token = "0x400864E")]
294 public const int POSITIVE_SACRIFICE_COUNT_CAP = 9999;
295
296 [global::Cpp2ILInjected.Token(Token = "0x400864F")]
297 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
299
300 [global::Cpp2ILInjected.Token(Token = "0x4008650")]
301 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
303
305 [global::Cpp2ILInjected.Token(Token = "0x4008651")]
306 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
307 private int <LastEditId>k__BackingField;
308 }
309}
class f__AnonymousType0<< Count > j__TPar
void ValidateWorld(BinaryReader reader, int gameVersionSaveWasMadeOn)
void Load(BinaryReader reader, int gameVersionSaveWasMadeOn)
bool TryGetSacrificeNumbers(int itemId, out int amountWeHave, out int amountNeededTotal)
void SetSacrificeCountDirectly(string persistentId, int sacrificeCount)