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
CustomCurrencySystem.cs
Go to the documentation of this file.
1using System;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000A5A")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x1700089F")]
14 public long CurrencyCap
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6004E56")]
17 [global::Cpp2ILInjected.Address(RVA = "0x8DDCBC", Offset = "0x8DDCBC", Length = "0x8")]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
19 get
20 {
21 throw null;
22 }
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x6004E57")]
26 [global::Cpp2ILInjected.Address(RVA = "0x8DDCC4", Offset = "0x8DDCC4", Length = "0x60")]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomCurrencySingleCoin), Member = ".ctor", MemberParameters = new object[]
28 {
29 typeof(int),
30 typeof(long)
31 }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "set_Item", MemberParameters = new object[]
34 {
35 typeof(int),
36 typeof(int)
37 }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
39 public void Include(int coin, int howMuchIsItWorth)
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x6004E58")]
45 [global::Cpp2ILInjected.Address(RVA = "0x8DDD24", Offset = "0x8DDD24", Length = "0x8")]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
47 public void SetCurrencyCap(long cap)
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x6004E59")]
53 [global::Cpp2ILInjected.Address(RVA = "0x8DDD2C", Offset = "0x8DDD2C", Length = "0x15C")]
54 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<int>), Member = ".ctor", MemberParameters = new object[] { typeof(IEnumerable<int>) }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<int>), Member = "Contains", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "TryGetValue", MemberParameters = new object[]
59 {
60 typeof(int),
61 typeof(ref int)
62 }, ReturnType = typeof(bool))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
64 public virtual long CountCurrency(out bool overFlowing, Item[] inv, params int[] ignoreSlots)
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x6004E5A")]
70 [global::Cpp2ILInjected.Address(RVA = "0x8DDE88", Offset = "0x8DDE88", Length = "0x5C")]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
73 public virtual long CombineStacks(out bool overFlowing, params long[] coinCounts)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x6004E5B")]
79 [global::Cpp2ILInjected.Address(RVA = "0x8DDEE4", Offset = "0x8DDEE4", Length = "0xF84")]
80 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<Point, object>), Member = ".ctor", ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "Clone", ReturnType = typeof(Item))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<Point, object>), Member = "set_Item", MemberParameters = new object[]
88 {
90 typeof(object)
91 }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "SetDefaults", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<Point, object>), Member = "get_Item", MemberParameters = new object[] { typeof(Point) }, ReturnType = "TValue")]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Comparison<Point>), Member = ".ctor", MemberParameters = new object[]
96 {
97 typeof(object),
99 }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = "Sort", MemberParameters = new object[] { typeof(Comparison<Point>) }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
102 {
103 typeof(int),
104 typeof(int)
105 }, ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = "RemoveAt", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<Point, object>), Member = "GetEnumerator", ReturnType = "Enumerator<TKey, TValue>")]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<Point, object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<Point, object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 50)]
116
117 [global::Cpp2ILInjected.Token(Token = "0x6004E5C")]
118 [global::Cpp2ILInjected.Address(RVA = "0x8DEE68", Offset = "0x8DEE68", Length = "0x58")]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "ContainsKey", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
121 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
122 public virtual bool Accepts(Item item)
123 {
124 throw null;
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x6004E5D")]
128 [global::Cpp2ILInjected.Address(RVA = "0x8DEEC0", Offset = "0x8DEEC0", Length = "0x4")]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
130 public virtual void DrawSavingsMoney(SpriteBatch sb, string text, float shopx, float shopy, long totalCoins, bool horizontal = false)
131 {
132 throw null;
133 }
134
135 [global::Cpp2ILInjected.Token(Token = "0x6004E5E")]
136 [global::Cpp2ILInjected.Address(RVA = "0x8DEEC4", Offset = "0x8DEEC4", Length = "0x4")]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
138 public virtual void GetPriceText(string[] lines, ref int currentLine, long price)
139 {
140 throw null;
141 }
142
143 [global::Cpp2ILInjected.Token(Token = "0x6004E5F")]
144 [global::Cpp2ILInjected.Address(RVA = "0x8DEEC8", Offset = "0x8DEEC8", Length = "0x58")]
145 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
146 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
147 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x6004E60")]
154 [global::Cpp2ILInjected.Address(RVA = "0x8DEF20", Offset = "0x8DEF20", Length = "0x1FC")]
155 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomCurrencySingleCoin), Member = "TryPurchasing", MemberParameters = new object[]
157 {
158 typeof(long),
159 typeof(List<Item[]>),
166 }, ReturnType = typeof(bool))]
167 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
171 {
172 typeof(int),
173 typeof(int)
174 }, ReturnType = typeof(void))]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "DeepClone", ReturnType = typeof(Item))]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tuple<Point, object>), Member = ".ctor", MemberParameters = new object[]
177 {
178 typeof(Point),
179 typeof(object)
180 }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
183 {
184 throw null;
185 }
186
187 [global::Cpp2ILInjected.Token(Token = "0x6004E61")]
188 [global::Cpp2ILInjected.Address(RVA = "0x8DF11C", Offset = "0x8DF11C", Length = "0x1B0")]
189 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
190 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomCurrencySingleCoin), Member = "TryPurchasing", MemberParameters = new object[]
191 {
192 typeof(long),
193 typeof(List<Item[]>),
200 }, ReturnType = typeof(bool))]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
208 {
209 throw null;
210 }
211
212 [global::Cpp2ILInjected.Token(Token = "0x6004E62")]
213 [global::Cpp2ILInjected.Address(RVA = "0x8DF2CC", Offset = "0x8DF2CC", Length = "0x34")]
214 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "GetStoreValue", ReturnType = typeof(int))]
217 {
218 throw null;
219 }
220
221 [global::Cpp2ILInjected.Token(Token = "0x6004E63")]
222 [global::Cpp2ILInjected.Address(RVA = "0x8DF300", Offset = "0x8DF300", Length = "0x84")]
223 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
224 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomCurrencySingleCoin), Member = ".ctor", MemberParameters = new object[]
225 {
226 typeof(int),
227 typeof(long)
228 }, ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
230 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = ".ctor", ReturnType = typeof(void))]
231 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
232 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
234 {
235 throw null;
236 }
237
238 [global::Cpp2ILInjected.Token(Token = "0x40086F4")]
239 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
241
242 [global::Cpp2ILInjected.Token(Token = "0x40086F5")]
243 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
244 private long _currencyCap;
245 }
246}
class f__AnonymousType0<< Count > j__TPar
virtual void DrawSavingsMoney(SpriteBatch sb, string text, float shopx, float shopy, long totalCoins, bool horizontal=false)
virtual long CombineStacks(out bool overFlowing, params long[] coinCounts)
void ItemCacheRestore(List< Tuple< Point, Item > > cache, List< Item[]> inventories)
virtual bool TryPurchasing(long price, List< Item[]> inv, List< Point > slotCoins, List< Point > slotsEmpty, List< Point > slotEmptyBank, List< Point > slotEmptyBank2, List< Point > slotEmptyBank3, List< Point > slotEmptyBank4)
int SortByHighest(Tuple< int, int > valueA, Tuple< int, int > valueB)
virtual long CountCurrency(out bool overFlowing, Item[] inv, params int[] ignoreSlots)
virtual void GetPriceText(string[] lines, ref int currentLine, long price)
virtual void GetItemExpectedPrice(Item item, out long calcForSelling, out long calcForBuying)
void Include(int coin, int howMuchIsItWorth)
List< Tuple< Point, Item > > ItemCacheCreate(List< Item[]> inventories)