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
Point16.cs
Go to the documentation of this file.
1using System;
2using System.IO;
12using Terraria.IO;
15
17{
18 [global::Cpp2ILInjected.Token(Token = "0x2000649")]
19 public struct Point16
20 {
21 [global::Cpp2ILInjected.Token(Token = "0x60036DC")]
22 [global::Cpp2ILInjected.Address(RVA = "0x141D0CC", Offset = "0x141D0CC", Length = "0x10")]
23 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 public Point16(Point point)
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x60036DD")]
31 [global::Cpp2ILInjected.Address(RVA = "0x141D0DC", Offset = "0x141D0DC", Length = "0xC")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIRubbleMaker), Member = "SetupPreview", MemberParameters = new object[]
34 {
35 typeof(int),
36 typeof(int),
37 typeof(int)
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldConsole), Member = "LoadChests", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldConsole), Member = "LoadSigns", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldSwitch), Member = "LoadChests", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldSwitch), Member = "LoadSigns", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "AfterPlacement_Hook", MemberParameters = new object[]
44 {
45 typeof(int),
46 typeof(int),
47 typeof(int),
48 typeof(int),
49 typeof(int),
50 typeof(int)
51 }, ReturnType = typeof(int))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Animation), Member = "NewTemporaryAnimation", MemberParameters = new object[]
53 {
54 typeof(int),
55 typeof(ushort),
56 typeof(int),
57 typeof(int)
58 }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Animation), Member = "GetTemporaryFrame", MemberParameters = new object[]
60 {
61 typeof(int),
62 typeof(int),
63 typeof(ref int)
64 }, ReturnType = typeof(bool))]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Framing), Member = "Initialize", ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Framing), Member = "Add8WayLookup", MemberParameters = new object[]
67 {
68 typeof(int),
69 typeof(short),
70 typeof(short),
71 typeof(short),
72 typeof(short),
73 typeof(short),
74 typeof(short)
75 }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Framing), Member = "Add8WayLookup", MemberParameters = new object[]
77 {
78 typeof(int),
79 typeof(short),
80 typeof(short)
81 }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Framing), Member = "AddWallFrameLookup", MemberParameters = new object[]
83 {
84 typeof(int),
85 typeof(short),
86 typeof(short),
87 typeof(short),
88 typeof(short),
89 typeof(short),
90 typeof(short),
91 typeof(short),
92 typeof(short)
93 }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Mount.<>c__DisplayClass141_0", Member = "<DrillSmartCursor_Walls>b__0", MemberParameters = new object[]
95 {
96 typeof(int),
97 typeof(int)
98 }, ReturnType = typeof(bool))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "DrillSmartCursor_Blocks", MemberParameters = new object[]
100 {
101 typeof(Player),
102 "Terraria.Mount.DrillMountData"
103 }, ReturnType = typeof(Point16))]
104 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "DrillSmartCursor_Walls", MemberParameters = new object[]
105 {
106 typeof(Player),
107 "Terraria.Mount.DrillMountData"
108 }, ReturnType = typeof(Point16))]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileObject), Member = "CanPlace", MemberParameters = new object[]
110 {
111 typeof(int),
112 typeof(int),
113 typeof(int),
114 typeof(int),
115 typeof(int),
117 typeof(bool),
118 typeof(int?)
119 }, ReturnType = typeof(bool))]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Utils), Member = "ToTileCoordinates16", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point16))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Utils), Member = "ToTileCoordinates16", MemberParameters = new object[] { typeof(Vector2D) }, ReturnType = typeof(Point16))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Wiring), Member = "SkipWire", MemberParameters = new object[]
123 {
124 typeof(int),
125 typeof(int)
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Wiring), Member = "PokeLogicGate", MemberParameters = new object[]
128 {
129 typeof(int),
130 typeof(int)
131 }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Wiring), Member = "TripWire", MemberParameters = new object[]
133 {
134 typeof(int),
135 typeof(int),
136 typeof(int),
137 typeof(int)
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Wiring), Member = "CheckLogicGate", MemberParameters = new object[]
140 {
141 typeof(int),
142 typeof(int)
143 }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Wiring), Member = "HitWire", MemberParameters = new object[]
145 {
146 typeof(DoubleStack<Point16>),
147 typeof(int)
148 }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Wiring), Member = "HitWireSingle", MemberParameters = new object[]
150 {
151 typeof(int),
152 typeof(int)
153 }, ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "SetupStatueList", ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeData), Member = "Add", MemberParameters = new object[]
156 {
157 typeof(int),
158 typeof(int)
159 }, ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeData), Member = "Remove", MemberParameters = new object[]
161 {
162 typeof(int),
163 typeof(int)
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeData), Member = "Contains", MemberParameters = new object[]
166 {
167 typeof(int),
168 typeof(int)
169 }, ReturnType = typeof(bool))]
170 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileObjectData), Member = "Initialize", ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileObjectData), Member = "OriginToTopLeft", MemberParameters = new object[]
172 {
173 typeof(int),
174 typeof(int),
175 typeof(ref Point16)
176 }, ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "LoadChests", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "LoadSigns", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEDisplayDoll), Member = "Place", MemberParameters = new object[]
180 {
181 typeof(int),
182 typeof(int)
183 }, ReturnType = typeof(int))]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEFoodPlatter), Member = "Place", MemberParameters = new object[]
185 {
186 typeof(int),
187 typeof(int)
188 }, ReturnType = typeof(int))]
189 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEHatRack), Member = "Place", MemberParameters = new object[]
190 {
191 typeof(int),
192 typeof(int)
193 }, ReturnType = typeof(int))]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "Place", MemberParameters = new object[]
195 {
196 typeof(int),
197 typeof(int)
198 }, ReturnType = typeof(int))]
199 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TELogicSensor), Member = "Place", MemberParameters = new object[]
200 {
201 typeof(int),
202 typeof(int)
203 }, ReturnType = typeof(int))]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETeleportationPylon), Member = "Place", MemberParameters = new object[]
205 {
206 typeof(int),
207 typeof(int)
208 }, ReturnType = typeof(int))]
209 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETrainingDummy), Member = "Place", MemberParameters = new object[]
210 {
211 typeof(int),
212 typeof(int)
213 }, ReturnType = typeof(int))]
214 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEWeaponsRack), Member = "Place", MemberParameters = new object[]
215 {
216 typeof(int),
217 typeof(int)
218 }, ReturnType = typeof(int))]
219 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GraniteBiome), Member = "CleanupTiles", MemberParameters = new object[]
220 {
221 typeof(Point),
223 }, ReturnType = typeof(void))]
224 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 195)]
225 public Point16(int X, int Y)
226 {
227 throw null;
228 }
229
230 [global::Cpp2ILInjected.Token(Token = "0x60036DE")]
231 [global::Cpp2ILInjected.Address(RVA = "0x141D0E8", Offset = "0x141D0E8", Length = "0xC")]
232 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
233 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Animation), Member = "RemoveTemporaryAnimation", MemberParameters = new object[]
234 {
235 typeof(short),
236 typeof(short)
237 }, ReturnType = typeof(void))]
238 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetTeleportPylonModule), Member = "Deserialize", MemberParameters = new object[]
239 {
241 typeof(int)
242 }, ReturnType = typeof(bool))]
243 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
244 public Point16(short X, short Y)
245 {
246 throw null;
247 }
248
249 [global::Cpp2ILInjected.Token(Token = "0x60036DF")]
250 [global::Cpp2ILInjected.Address(RVA = "0x141D0F4", Offset = "0x141D0F4", Length = "0x18")]
251 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
252 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
253 public static Point16 Max(int firstX, int firstY, int secondX, int secondY)
254 {
255 throw null;
256 }
257
258 [global::Cpp2ILInjected.Token(Token = "0x60036E0")]
259 [global::Cpp2ILInjected.Address(RVA = "0x141D10C", Offset = "0x141D10C", Length = "0x20")]
260 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
261 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
262 public Point16 Max(int compareX, int compareY)
263 {
264 throw null;
265 }
266
267 [global::Cpp2ILInjected.Token(Token = "0x60036E1")]
268 [global::Cpp2ILInjected.Address(RVA = "0x141D12C", Offset = "0x141D12C", Length = "0x2C")]
269 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
270 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
272 {
273 throw null;
274 }
275
276 [global::Cpp2ILInjected.Token(Token = "0x60036E2")]
277 [global::Cpp2ILInjected.Address(RVA = "0x141D158", Offset = "0x141D158", Length = "0x10")]
278 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
279 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Mount.<>c__DisplayClass141_0", Member = "<DrillSmartCursor_Walls>b__0", MemberParameters = new object[]
280 {
281 typeof(int),
282 typeof(int)
283 }, ReturnType = typeof(bool))]
284 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UseDrill", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
285 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "Draw", MemberParameters = new object[]
286 {
287 typeof(ref PlayerDrawSet),
288 typeof(int),
289 typeof(Player),
291 typeof(Color),
293 typeof(float)
294 }, ReturnType = typeof(void))]
295 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileObjectData), Member = "set_Origin", MemberParameters = new object[] { typeof(Point16) }, ReturnType = typeof(void))]
296 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileObjectData), Member = "set_CoordinatePaddingFix", MemberParameters = new object[] { typeof(Point16) }, ReturnType = typeof(void))]
297 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TeleportPylonInfo), Member = "Equals", MemberParameters = new object[] { typeof(TeleportPylonInfo) }, ReturnType = typeof(bool))]
298 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
299 public static bool operator ==(Point16 first, Point16 second)
300 {
301 throw null;
302 }
303
304 [global::Cpp2ILInjected.Token(Token = "0x60036E3")]
305 [global::Cpp2ILInjected.Address(RVA = "0x141D168", Offset = "0x141D168", Length = "0x10")]
306 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
307 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
308 public static bool operator !=(Point16 first, Point16 second)
309 {
310 throw null;
311 }
312
313 [global::Cpp2ILInjected.Token(Token = "0x60036E4")]
314 [global::Cpp2ILInjected.Address(RVA = "0x141D178", Offset = "0x141D178", Length = "0x98")]
315 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
316 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
317 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
318 public override bool Equals(object obj)
319 {
320 throw null;
321 }
322
323 [global::Cpp2ILInjected.Token(Token = "0x60036E5")]
324 [global::Cpp2ILInjected.Address(RVA = "0x141D210", Offset = "0x141D210", Length = "0x14")]
325 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
326 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
327 public override int GetHashCode()
328 {
329 throw null;
330 }
331
332 [global::Cpp2ILInjected.Token(Token = "0x60036E6")]
333 [global::Cpp2ILInjected.Address(RVA = "0x141D224", Offset = "0x141D224", Length = "0xA0")]
334 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
335 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
336 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
337 {
338 typeof(string),
339 typeof(object),
340 typeof(object)
341 }, ReturnType = typeof(string))]
342 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
343 public override string ToString()
344 {
345 throw null;
346 }
347
348 // Note: this type is marked as 'beforefieldinit'.
349 [global::Cpp2ILInjected.Token(Token = "0x60036E7")]
350 [global::Cpp2ILInjected.Address(RVA = "0x141D2C4", Offset = "0x141D2C4", Length = "0x58")]
351 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
352 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
353 static Point16()
354 {
355 throw null;
356 }
357
358 [global::Cpp2ILInjected.Token(Token = "0x40077EE")]
359 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
360 public readonly short X;
361
362 [global::Cpp2ILInjected.Token(Token = "0x40077EF")]
363 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2")]
364 public readonly short Y;
365
366 [global::Cpp2ILInjected.Token(Token = "0x40077F0")]
367 public static Point16 Zero;
368
369 [global::Cpp2ILInjected.Token(Token = "0x40077F1")]
370 public static Point16 NegativeOne;
371 }
372}
class f__AnonymousType0<< Count > j__TPar
override string ToString()
Definition Point16.cs:343
Point16 Max(Point16 compareTo)
Definition Point16.cs:271
Point16(short X, short Y)
Definition Point16.cs:244
override bool Equals(object obj)
Definition Point16.cs:318
static Point16 Max(int firstX, int firstY, int secondX, int secondY)
Definition Point16.cs:253
Point16 Max(int compareX, int compareY)
Definition Point16.cs:262