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
LootSimulationItemCounter.cs
Go to the documentation of this file.
1using System;
3using System.Linq;
8
10{
11 [global::Cpp2ILInjected.Token(Token = "0x200085A")]
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x600436D")]
15 [global::Cpp2ILInjected.Address(RVA = "0x7A2930", Offset = "0x7A2930", Length = "0x68")]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LootSimulator), Member = "TryGettingLootFor", MemberParameters = new object[]
17 {
18 typeof(int),
19 typeof(int),
20 typeof(ref string)
21 }, ReturnType = typeof(bool))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x600436E")]
31 [global::Cpp2ILInjected.Address(RVA = "0x7A3044", Offset = "0x7A3044", Length = "0x28")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
34 public void AddItem(int itemId, int amount, bool expert)
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x600436F")]
40 [global::Cpp2ILInjected.Address(RVA = "0x7A29B8", Offset = "0x7A29B8", Length = "0x40")]
41 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
43 public void Exclude(params int[] itemIds)
44 {
45 throw null;
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x6004370")]
49 [global::Cpp2ILInjected.Address(RVA = "0x7A2998", Offset = "0x7A2998", Length = "0x20")]
50 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
52 public void IncreaseTimesAttempted(int amount, bool expert)
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x6004371")]
58 [global::Cpp2ILInjected.Address(RVA = "0x7A29F8", Offset = "0x7A29F8", Length = "0x360")]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LootSimulator), Member = "TryGettingLootFor", MemberParameters = new object[]
60 {
61 typeof(int),
62 typeof(int),
63 typeof(ref string)
64 }, ReturnType = typeof(bool))]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<long, int, object>), Member = ".ctor", MemberParameters = new object[]
68 {
69 typeof(object),
71 }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Select", MemberTypeParameters = new object[]
73 {
74 typeof(long),
75 typeof(object)
76 }, MemberParameters = new object[]
77 {
80 }, ReturnType = "System.Collections.Generic.IEnumerable`1<TResult>")]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<object, bool>), Member = ".ctor", MemberParameters = new object[]
82 {
83 typeof(object),
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Where", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
87 {
90 }, ReturnType = "System.Collections.Generic.IEnumerable`1<TSource>")]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<object, int>), Member = ".ctor", MemberParameters = new object[]
92 {
93 typeof(object),
95 }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Select", MemberTypeParameters = new object[]
97 {
98 typeof(object),
99 typeof(int)
100 }, MemberParameters = new object[]
101 {
104 }, ReturnType = "System.Collections.Generic.IEnumerable`1<TResult>")]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<int, object>), Member = ".ctor", MemberParameters = new object[]
106 {
107 typeof(object),
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Select", MemberTypeParameters = new object[]
111 {
112 typeof(int),
113 typeof(object)
114 }, MemberParameters = new object[]
115 {
118 }, ReturnType = "System.Collections.Generic.IEnumerable`1<TResult>")]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Join", MemberParameters = new object[]
120 {
121 typeof(string),
123 }, ReturnType = typeof(string))]
124 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 26)]
125 public string PrintCollectedItems(bool expert)
126 {
127 throw null;
128 }
129
130 [global::Cpp2ILInjected.Token(Token = "0x4008178")]
131 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
132 private long[] _itemCountsObtained;
133
134 [global::Cpp2ILInjected.Token(Token = "0x4008179")]
135 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
137
138 [global::Cpp2ILInjected.Token(Token = "0x400817A")]
139 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
141
142 [global::Cpp2ILInjected.Token(Token = "0x400817B")]
143 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
145
147 [global::Cpp2ILInjected.Token(Token = "0x200085B")]
148 private sealed class <>c__DisplayClass8_0
149 {
150 [global::Cpp2ILInjected.Token(Token = "0x6004372")]
151 [global::Cpp2ILInjected.Address(RVA = "0x7A307C", Offset = "0x7A307C", Length = "0x8")]
152 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
155 {
156 throw null;
157 }
158
159 [global::Cpp2ILInjected.Token(Token = "0x6004373")]
160 [global::Cpp2ILInjected.Address(RVA = "0x7A3084", Offset = "0x7A3084", Length = "0xF8")]
161 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IdDictionary), Member = "GetName", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
164 {
165 typeof(string),
166 typeof(object),
167 typeof(object),
168 typeof(object)
169 }, ReturnType = typeof(string))]
170 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
171 internal string <PrintCollectedItems>b__3(int itemId)
172 {
173 throw null;
174 }
175
176 [global::Cpp2ILInjected.Token(Token = "0x400817C")]
177 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
178 public long[] collectionToUse;
179
180 [global::Cpp2ILInjected.Token(Token = "0x400817D")]
181 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
182 public long totalDropsAttempted;
183 }
184
186 [global::Cpp2ILInjected.Token(Token = "0x200085C")]
187 [Serializable]
188 private sealed class <>c
189 {
190 // Note: this type is marked as 'beforefieldinit'.
191 [global::Cpp2ILInjected.Token(Token = "0x6004374")]
192 [global::Cpp2ILInjected.Address(RVA = "0x7A317C", Offset = "0x7A317C", Length = "0x5C")]
193 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
196 static <>c()
197 {
198 throw null;
199 }
200
201 [global::Cpp2ILInjected.Token(Token = "0x6004375")]
202 [global::Cpp2ILInjected.Address(RVA = "0x7A31D8", Offset = "0x7A31D8", Length = "0x8")]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
205 public <>c()
206 {
207 throw null;
208 }
209
210 [global::Cpp2ILInjected.Token(Token = "0x6004376")]
211 [global::Cpp2ILInjected.Address(RVA = "0x7A31E0", Offset = "0x7A31E0", Length = "0x80")]
212 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(<>f__AnonymousType3<, >), Member = ".ctor", MemberParameters = new object[] { "<itemId>j__TPar", "<count>j__TPar" }, ReturnType = typeof(void))]
214 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
216 {
217 throw null;
218 }
219
220 [global::Cpp2ILInjected.Token(Token = "0x6004377")]
221 [global::Cpp2ILInjected.Address(RVA = "0x7A3260", Offset = "0x7A3260", Length = "0x44")]
222 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
223 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
224 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
226 {
227 throw null;
228 }
229
230 [global::Cpp2ILInjected.Token(Token = "0x6004378")]
231 [global::Cpp2ILInjected.Address(RVA = "0x7A32A4", Offset = "0x7A32A4", Length = "0x3C")]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
233 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
235 {
236 throw null;
237 }
238
239 [global::Cpp2ILInjected.Token(Token = "0x400817E")]
240 public static readonly LootSimulationItemCounter.<>c <>9;
241
242 [global::Cpp2ILInjected.Token(Token = "0x400817F")]
244
245 [global::Cpp2ILInjected.Token(Token = "0x4008180")]
246 public static Func<<>f__AnonymousType3<int, long>, bool> <>9__8_1;
247
248 [global::Cpp2ILInjected.Token(Token = "0x4008181")]
249 public static Func<<>f__AnonymousType3<int, long>, int> <>9__8_2;
250 }
251 }
252}
class f__AnonymousType0<< Count > j__TPar