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
SpriteViewMatrix.cs
Go to the documentation of this file.
1using System;
12using Terraria.UI;
13
14namespace Terraria.Graphics
15{
16 [global::Cpp2ILInjected.Token(Token = "0x2000733")]
17 public class SpriteViewMatrix
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x17000775")]
21 {
22 [global::Cpp2ILInjected.Token(Token = "0x6003CF8")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1499220", Offset = "0x1499220", Length = "0x8")]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 get
26 {
27 throw null;
28 }
29 [global::Cpp2ILInjected.Token(Token = "0x6003CF9")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1499228", Offset = "0x1499228", Length = "0x94")]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Inequality", MemberParameters = new object[]
34 {
37 }, ReturnType = typeof(bool))]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
39 set
40 {
41 throw null;
42 }
43 }
44
45 [global::Cpp2ILInjected.Token(Token = "0x17000776")]
47 {
48 [global::Cpp2ILInjected.Token(Token = "0x6003CFA")]
49 [global::Cpp2ILInjected.Address(RVA = "0x14992BC", Offset = "0x14992BC", Length = "0x24")]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "get_ViewPosition", ReturnType = typeof(Vector2))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "ClampScreenPositionToWorld", ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "ShouldRebuild", ReturnType = typeof(bool))]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "Rebuild", ReturnType = typeof(void))]
55 get
56 {
57 throw null;
58 }
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x17000777")]
63 {
64 [global::Cpp2ILInjected.Token(Token = "0x6003CFB")]
65 [global::Cpp2ILInjected.Address(RVA = "0x14999E8", Offset = "0x14999E8", Length = "0x3C")]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "TryInteractingWithVoidLens", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(int))]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "TryInteractingWithMoneyTrough", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(int))]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCChatBubble", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_1_1_DrawEmoteBubblesInWorld", ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_1_2_DrawEntityMarkersInWorld", ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Utils), Member = "ToScreenPosition", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerInput), Member = "HandleDpadSnap", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GameInterfaceLayer), Member = "Draw", ReturnType = typeof(bool))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ReturnGatePlayerRenderer), Member = "OverReturnGateInWorld", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AHoverInteractionChecker), Member = "AttemptInteraction", MemberParameters = new object[]
77 {
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 13)]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "ShouldRebuild", ReturnType = typeof(bool))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "Rebuild", ReturnType = typeof(void))]
84 get
85 {
86 throw null;
87 }
88 }
89
90 [global::Cpp2ILInjected.Token(Token = "0x17000778")]
92 {
93 [global::Cpp2ILInjected.Token(Token = "0x6003CFC")]
94 [global::Cpp2ILInjected.Address(RVA = "0x1499A24", Offset = "0x1499A24", Length = "0x3C")]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "get_RenderTargetsRequired", ReturnType = typeof(bool))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "get_Transform", ReturnType = typeof(Matrix))]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyPlayerRenderer), Member = "DrawPlayerFull", MemberParameters = new object[]
99 {
100 typeof(Camera),
102 }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ReturnGatePlayerRenderer), Member = "DrawReturnGateInWorld", MemberParameters = new object[]
104 {
105 typeof(Camera),
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FancyGolfPredictionLine), Member = "Draw", MemberParameters = new object[]
109 {
110 typeof(Camera),
112 typeof(float)
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "ShouldRebuild", ReturnType = typeof(bool))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "Rebuild", ReturnType = typeof(void))]
117 get
118 {
119 throw null;
120 }
121 }
122
123 [global::Cpp2ILInjected.Token(Token = "0x17000779")]
125 {
126 [global::Cpp2ILInjected.Token(Token = "0x6003CFD")]
127 [global::Cpp2ILInjected.Address(RVA = "0x1499A60", Offset = "0x1499A60", Length = "0x3C")]
128 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "ShouldRebuild", ReturnType = typeof(bool))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "Rebuild", ReturnType = typeof(void))]
131 get
132 {
133 throw null;
134 }
135 }
136
137 [global::Cpp2ILInjected.Token(Token = "0x1700077A")]
138 public SpriteEffects Effects
139 {
140 [global::Cpp2ILInjected.Token(Token = "0x6003CFE")]
141 [global::Cpp2ILInjected.Address(RVA = "0x1499A9C", Offset = "0x1499A9C", Length = "0x8")]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
143 get
144 {
145 throw null;
146 }
147 [global::Cpp2ILInjected.Token(Token = "0x6003CFF")]
148 [global::Cpp2ILInjected.Address(RVA = "0x1499AA4", Offset = "0x1499AA4", Length = "0x1C")]
149 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
152 set
153 {
154 throw null;
155 }
156 }
157
158 [global::Cpp2ILInjected.Token(Token = "0x1700077B")]
160 {
161 [global::Cpp2ILInjected.Token(Token = "0x6003D00")]
162 [global::Cpp2ILInjected.Address(RVA = "0x1499AC0", Offset = "0x1499AC0", Length = "0x44")]
163 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FilterManager), Member = "EndCapture", MemberParameters = new object[]
166 {
171 }, ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "ShouldRebuild", ReturnType = typeof(bool))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteViewMatrix), Member = "Rebuild", ReturnType = typeof(void))]
175 get
176 {
177 throw null;
178 }
179 }
180
181 [global::Cpp2ILInjected.Token(Token = "0x6003D01")]
182 [global::Cpp2ILInjected.Address(RVA = "0x1499B04", Offset = "0x1499B04", Length = "0x20C")]
183 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "LoadContent", ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawCapture", MemberParameters = new object[]
185 {
188 }, ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
192 public SpriteViewMatrix(GraphicsDevice graphicsDevice)
193 {
194 throw null;
195 }
196
197 [global::Cpp2ILInjected.Token(Token = "0x6003D02")]
198 [global::Cpp2ILInjected.Address(RVA = "0x1499358", Offset = "0x1499358", Length = "0x690")]
199 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_Translation", ReturnType = typeof(Vector2))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_ZoomMatrix", ReturnType = typeof(Matrix))]
202 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_TransformationMatrix", ReturnType = typeof(Matrix))]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_NormalizedTransformationmatrix", ReturnType = typeof(Matrix))]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_EffectMatrix", ReturnType = typeof(Matrix))]
205 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsDevice), Member = "get_Viewport", ReturnType = typeof(Viewport))]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
208 {
209 typeof(float),
210 typeof(float)
211 }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Matrix), Member = "CreateScale", MemberParameters = new object[]
213 {
214 typeof(float),
215 typeof(float),
216 typeof(float)
217 }, ReturnType = typeof(Matrix))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Matrix), Member = "CreateTranslation", MemberParameters = new object[]
219 {
220 typeof(float),
221 typeof(float),
222 typeof(float)
223 }, ReturnType = typeof(Matrix))]
224 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Matrix), Member = "op_Multiply", MemberParameters = new object[]
225 {
226 typeof(Matrix),
228 }, ReturnType = typeof(Matrix))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
230 {
232 typeof(float)
233 }, ReturnType = typeof(Vector2))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
235 {
238 }, ReturnType = typeof(Vector2))]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
240 {
243 }, ReturnType = typeof(Vector2))]
244 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Matrix), Member = "CreateOrthographicOffCenter", MemberParameters = new object[]
245 {
246 typeof(float),
247 typeof(float),
248 typeof(float),
249 typeof(float),
250 typeof(float),
251 typeof(float)
252 }, ReturnType = typeof(Matrix))]
253 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Matrix), Member = "Invert", MemberParameters = new object[] { typeof(Matrix) }, ReturnType = typeof(Matrix))]
254 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
255 private void Rebuild()
256 {
257 throw null;
258 }
259
260 [global::Cpp2ILInjected.Token(Token = "0x6003D03")]
261 [global::Cpp2ILInjected.Address(RVA = "0x1499D10", Offset = "0x1499D10", Length = "0x1C")]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
263 public void SetViewportOverride(Viewport viewport)
264 {
265 throw null;
266 }
267
268 [global::Cpp2ILInjected.Token(Token = "0x6003D04")]
269 [global::Cpp2ILInjected.Address(RVA = "0x1499D2C", Offset = "0x1499D2C", Length = "0x8")]
270 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
272 {
273 throw null;
274 }
275
276 [global::Cpp2ILInjected.Token(Token = "0x6003D05")]
277 [global::Cpp2ILInjected.Address(RVA = "0x14992E0", Offset = "0x14992E0", Length = "0x78")]
278 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
279 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_Translation", ReturnType = typeof(Vector2))]
280 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_ZoomMatrix", ReturnType = typeof(Matrix))]
281 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_TransformationMatrix", ReturnType = typeof(Matrix))]
282 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_NormalizedTransformationmatrix", ReturnType = typeof(Matrix))]
283 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteViewMatrix), Member = "get_EffectMatrix", ReturnType = typeof(Matrix))]
284 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
285 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsDevice), Member = "get_Viewport", ReturnType = typeof(Viewport))]
286 private bool ShouldRebuild()
287 {
288 throw null;
289 }
290
291 [global::Cpp2ILInjected.Token(Token = "0x4007BF3")]
292 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
293 private Vector2 _zoom;
294
295 [global::Cpp2ILInjected.Token(Token = "0x4007BF4")]
296 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
298
299 [global::Cpp2ILInjected.Token(Token = "0x4007BF5")]
300 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
302
303 [global::Cpp2ILInjected.Token(Token = "0x4007BF6")]
304 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
306
307 [global::Cpp2ILInjected.Token(Token = "0x4007BF7")]
308 [global::Cpp2ILInjected.FieldOffset(Offset = "0xA0")]
310
311 [global::Cpp2ILInjected.Token(Token = "0x4007BF8")]
312 [global::Cpp2ILInjected.FieldOffset(Offset = "0xE0")]
314
315 [global::Cpp2ILInjected.Token(Token = "0x4007BF9")]
316 [global::Cpp2ILInjected.FieldOffset(Offset = "0xE4")]
318
319 [global::Cpp2ILInjected.Token(Token = "0x4007BFA")]
320 [global::Cpp2ILInjected.FieldOffset(Offset = "0x128")]
322
323 [global::Cpp2ILInjected.Token(Token = "0x4007BFB")]
324 [global::Cpp2ILInjected.FieldOffset(Offset = "0x130")]
326
327 [global::Cpp2ILInjected.Token(Token = "0x4007BFC")]
328 [global::Cpp2ILInjected.FieldOffset(Offset = "0x148")]
330
331 [global::Cpp2ILInjected.Token(Token = "0x4007BFD")]
332 [global::Cpp2ILInjected.FieldOffset(Offset = "0x149")]
333 private bool _needsRebuild;
334 }
335}
class f__AnonymousType0<< Count > j__TPar
SpriteViewMatrix(GraphicsDevice graphicsDevice)
void SetViewportOverride(Viewport viewport)