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
TileSmartInteractCandidateProvider.cs
Go to the documentation of this file.
1using System;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x200084A")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x600431F")]
14 [global::Cpp2ILInjected.Address(RVA = "0x79F538", Offset = "0x79F538", Length = "0xE8")]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_SmartInteractX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_SmartInteractY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_TileInteractionLX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_TileInteractionHX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_TileInteractionLY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_TileInteractionHY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SmartInteractTileCoords", ReturnType = typeof(Dictionary<int, bool>))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, bool>), Member = "Clear", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SmartInteractTileCoordsSelected", ReturnType = typeof(Dictionary<int, bool>))]
25 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x6004320")]
32 [global::Cpp2ILInjected.Address(RVA = "0x79F620", Offset = "0x79F620", Length = "0x8")]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
34 private int JoinValue(int x, int y)
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x6004321")]
40 [global::Cpp2ILInjected.Address(RVA = "0x79F628", Offset = "0x79F628", Length = "0x14")]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
42 private void SplitValue(int value, out int x, out int y)
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x6004322")]
48 [global::Cpp2ILInjected.Address(RVA = "0x79F63C", Offset = "0x79F63C", Length = "0xA3C")]
49 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileSmartInteractCandidateProvider), Member = "FillPotentialTargetTiles", MemberParameters = new object[] { typeof(SmartInteractScanSettings) }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<int>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
55 {
56 typeof(float),
57 typeof(float)
58 }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
60 {
62 typeof(float)
63 }, ReturnType = typeof(Vector2))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
65 {
68 }, ReturnType = typeof(Vector2))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Distance", MemberParameters = new object[]
70 {
73 }, ReturnType = typeof(float))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "InTileBounds", MemberParameters = new object[]
75 {
76 typeof(int),
77 typeof(int),
78 typeof(int),
79 typeof(int),
80 typeof(int),
81 typeof(int)
82 }, ReturnType = typeof(bool))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
84 {
85 typeof(int),
86 typeof(int)
87 }, ReturnType = typeof(Tile))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SmartInteractTileCoords", ReturnType = typeof(Dictionary<int, bool>))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, bool>), Member = "ContainsKey", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SmartInteractTileCoordsSelected", ReturnType = typeof(Dictionary<int, bool>))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, bool>), Member = "Add", MemberParameters = new object[]
95 {
96 typeof(int),
97 typeof(bool)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
100 {
101 typeof(int),
102 typeof(int),
103 typeof(int),
104 typeof(int)
105 }, ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ClosestPointInRect", MemberParameters = new object[]
107 {
110 }, ReturnType = typeof(Vector2))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Distance", MemberParameters = new object[]
112 {
115 }, ReturnType = typeof(float))]
116 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
118 {
119 throw null;
120 }
121
122 [global::Cpp2ILInjected.Token(Token = "0x6004323")]
123 [global::Cpp2ILInjected.Address(RVA = "0x7A0078", Offset = "0x7A0078", Length = "0x504")]
124 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
125 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileSmartInteractCandidateProvider), Member = "ProvideCandidate", MemberParameters = new object[]
126 {
129 }, ReturnType = typeof(bool))]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "IsWithinSnappngRangeToTile", MemberParameters = new object[]
132 {
133 typeof(int),
134 typeof(int),
135 typeof(int)
136 }, ReturnType = typeof(bool))]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClient", ReturnType = typeof(bool))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "HasItem", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
139 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
141 {
142 throw null;
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x6004324")]
146 [global::Cpp2ILInjected.Address(RVA = "0x79EA40", Offset = "0x79EA40", Length = "0xA8")]
147 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartInteractSystem), Member = ".ctor", ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<int>), Member = ".ctor", ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
153 {
154 throw null;
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x400814E")]
158 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
160
161 [global::Cpp2ILInjected.Token(Token = "0x400814F")]
162 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
164
165 [global::Cpp2ILInjected.Token(Token = "0x200084B")]
167 {
168 [global::Cpp2ILInjected.Token(Token = "0x6004325")]
169 [global::Cpp2ILInjected.Address(RVA = "0x7A057C", Offset = "0x7A057C", Length = "0x1C")]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
171 public void Reuse(bool strictSettings, float distanceFromCursor, int AimedX, int AimedY, int LX, int LY, int HX, int HY)
172 {
173 throw null;
174 }
175
176 [global::Cpp2ILInjected.Token(Token = "0x170007C7")]
178 {
180 [global::Cpp2ILInjected.Token(Token = "0x6004326")]
181 [global::Cpp2ILInjected.Address(RVA = "0x7A05A0", Offset = "0x7A05A0", Length = "0x8")]
182 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
183 get
184 {
185 throw null;
186 }
188 [global::Cpp2ILInjected.Token(Token = "0x6004327")]
189 [global::Cpp2ILInjected.Address(RVA = "0x7A05A8", Offset = "0x7A05A8", Length = "0x8")]
190 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
191 private set
192 {
193 throw null;
194 }
195 }
196
197 [global::Cpp2ILInjected.Token(Token = "0x6004328")]
198 [global::Cpp2ILInjected.Address(RVA = "0x7A05B0", Offset = "0x7A05B0", Length = "0x118")]
199 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
200 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
201 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_SmartInteractX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_SmartInteractY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SmartInteractTileCoords", ReturnType = typeof(Dictionary<int, bool>))]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, bool>), Member = "get_Count", ReturnType = typeof(int))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_SmartInteractShowingFake", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_SmartInteractShowingGenuine", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_TileInteractionLX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_TileInteractionLY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_TileInteractionHX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_TileInteractionHY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
212 public void WinCandidacy()
213 {
214 throw null;
215 }
216
217 [global::Cpp2ILInjected.Token(Token = "0x6004329")]
218 [global::Cpp2ILInjected.Address(RVA = "0x7A0598", Offset = "0x7A0598", Length = "0x8")]
219 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
222 {
223 throw null;
224 }
225
226 [global::Cpp2ILInjected.Token(Token = "0x4008150")]
227 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
228 private bool _strictSettings;
229
230 [global::Cpp2ILInjected.Token(Token = "0x4008151")]
231 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
232 private int _aimedX;
233
234 [global::Cpp2ILInjected.Token(Token = "0x4008152")]
235 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
236 private int _aimedY;
237
238 [global::Cpp2ILInjected.Token(Token = "0x4008153")]
239 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
240 private int _hx;
241
242 [global::Cpp2ILInjected.Token(Token = "0x4008154")]
243 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
244 private int _hy;
245
246 [global::Cpp2ILInjected.Token(Token = "0x4008155")]
247 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
248 private int _lx;
249
250 [global::Cpp2ILInjected.Token(Token = "0x4008156")]
251 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
252 private int _ly;
253
255 [global::Cpp2ILInjected.Token(Token = "0x4008157")]
256 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
257 private float <DistanceFromCursor>k__BackingField;
258 }
259 }
260}
class f__AnonymousType0<< Count > j__TPar
void Reuse(bool strictSettings, float distanceFromCursor, int AimedX, int AimedY, int LX, int LY, int HX, int HY)
bool ProvideCandidate(SmartInteractScanSettings settings, out ISmartInteractCandidate candidate)