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
ItemShopSellbackHelper.cs
Go to the documentation of this file.
1using System;
6using Terraria.UI;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x20007DA")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x60040DD")]
14 [global::Cpp2ILInjected.Address(RVA = "0x774108", Offset = "0x774108", Length = "0x1B0")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIShop), Member = "PurchasePressedAndHeld", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemSlot), Member = "HandleShopSlot", MemberParameters = new object[]
18 {
19 typeof(Item[]),
20 typeof(int),
21 typeof(bool),
22 typeof(bool)
23 }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Predicate<object>), Member = ".ctor", MemberParameters = new object[]
27 {
28 typeof(object),
30 }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Find", MemberParameters = new object[] { typeof(Predicate<object>) }, ReturnType = "T")]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
33 public void Add(Item item)
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x60040DE")]
39 [global::Cpp2ILInjected.Address(RVA = "0x7742FC", Offset = "0x7742FC", Length = "0x68")]
40 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateOldNPCShop", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
44 {
46 typeof(int),
47 typeof(int)
48 }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
50 public void Clear()
51 {
52 throw null;
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x60040DF")]
56 [global::Cpp2ILInjected.Address(RVA = "0x774364", Offset = "0x774364", Length = "0xE0")]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "MouseText_DrawItemTooltip", MemberParameters = new object[]
58 {
60 typeof(int),
61 typeof(byte),
62 typeof(int),
63 typeof(int)
64 }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SellItemAmount", MemberParameters = new object[]
66 {
67 typeof(Item),
68 typeof(int)
69 }, ReturnType = typeof(long))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SellItem", MemberParameters = new object[]
71 {
72 typeof(Item),
73 typeof(int)
74 }, ReturnType = typeof(bool))]
75 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Predicate<object>), Member = ".ctor", MemberParameters = new object[]
78 {
79 typeof(object),
81 }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Find", MemberParameters = new object[] { typeof(Predicate<object>) }, ReturnType = "T")]
83 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
84 public int GetAmount(Item item)
85 {
86 throw null;
87 }
88
89 [global::Cpp2ILInjected.Token(Token = "0x60040E0")]
90 [global::Cpp2ILInjected.Address(RVA = "0x77444C", Offset = "0x77444C", Length = "0x120")]
91 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
92 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "AddItemToShop", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Predicate<object>), Member = ".ctor", MemberParameters = new object[]
96 {
97 typeof(object),
99 }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Find", MemberParameters = new object[] { typeof(Predicate<object>) }, ReturnType = "T")]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Remove", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
102 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
103 public int Remove(Item item)
104 {
105 throw null;
106 }
107
108 [global::Cpp2ILInjected.Token(Token = "0x60040E1")]
109 [global::Cpp2ILInjected.Address(RVA = "0x774574", Offset = "0x774574", Length = "0x7C")]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LocalUserGameState), Member = ".ctor", ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
116 {
117 throw null;
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x4007EA3")]
121 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
123
124 [global::Cpp2ILInjected.Token(Token = "0x20007DB")]
125 private class ItemMemo
126 {
127 [global::Cpp2ILInjected.Token(Token = "0x60040E2")]
128 [global::Cpp2ILInjected.Address(RVA = "0x7742C0", Offset = "0x7742C0", Length = "0x3C")]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
132 {
133 throw null;
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x60040E3")]
137 [global::Cpp2ILInjected.Address(RVA = "0x7745F0", Offset = "0x7745F0", Length = "0x2C")]
138 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
140 public bool Matches(Item item)
141 {
142 throw null;
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x4007EA4")]
146 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
147 public readonly int itemNetID;
148
149 [global::Cpp2ILInjected.Token(Token = "0x4007EA5")]
150 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
152
153 [global::Cpp2ILInjected.Token(Token = "0x4007EA6")]
154 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
155 public int stack;
156 }
157
159 [global::Cpp2ILInjected.Token(Token = "0x20007DC")]
160 private sealed class <>c__DisplayClass2_0
161 {
162 [global::Cpp2ILInjected.Token(Token = "0x60040E4")]
163 [global::Cpp2ILInjected.Address(RVA = "0x7742B8", Offset = "0x7742B8", Length = "0x8")]
164 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
167 {
168 throw null;
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x60040E5")]
172 [global::Cpp2ILInjected.Address(RVA = "0x77461C", Offset = "0x77461C", Length = "0x30")]
173 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
176 {
177 throw null;
178 }
179
180 [global::Cpp2ILInjected.Token(Token = "0x4007EA7")]
181 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
182 public Item item;
183 }
184
186 [global::Cpp2ILInjected.Token(Token = "0x20007DD")]
187 private sealed class <>c__DisplayClass4_0
188 {
189 [global::Cpp2ILInjected.Token(Token = "0x60040E6")]
190 [global::Cpp2ILInjected.Address(RVA = "0x774444", Offset = "0x774444", Length = "0x8")]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
194 {
195 throw null;
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x60040E7")]
199 [global::Cpp2ILInjected.Address(RVA = "0x77464C", Offset = "0x77464C", Length = "0x30")]
200 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
203 {
204 throw null;
205 }
206
207 [global::Cpp2ILInjected.Token(Token = "0x4007EA8")]
208 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
209 public Item item;
210 }
211
213 [global::Cpp2ILInjected.Token(Token = "0x20007DE")]
214 private sealed class <>c__DisplayClass5_0
215 {
216 [global::Cpp2ILInjected.Token(Token = "0x60040E8")]
217 [global::Cpp2ILInjected.Address(RVA = "0x77456C", Offset = "0x77456C", Length = "0x8")]
218 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
219 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
221 {
222 throw null;
223 }
224
225 [global::Cpp2ILInjected.Token(Token = "0x60040E9")]
226 [global::Cpp2ILInjected.Address(RVA = "0x77467C", Offset = "0x77467C", Length = "0x30")]
227 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
228 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
229 internal bool <Remove>b__0(ItemShopSellbackHelper.ItemMemo x)
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x4007EA9")]
235 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
236 public Item item;
237 }
238 }
239}
class f__AnonymousType0<< Count > j__TPar
List< ItemShopSellbackHelper.ItemMemo > _memos