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
Viewport.cs
Go to the documentation of this file.
1using System;
5
7{
9 [global::Cpp2ILInjected.Token(Token = "0x20003AD")]
10 public struct Viewport
11 {
12 [DataMember]
13 [global::Cpp2ILInjected.Token(Token = "0x17000355")]
14 public int Height
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6001932")]
17 [global::Cpp2ILInjected.Address(RVA = "0xAC74A0", Offset = "0xAC74A0", Length = "0x8")]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
19 get
20 {
21 throw null;
22 }
23 [global::Cpp2ILInjected.Token(Token = "0x6001933")]
24 [global::Cpp2ILInjected.Address(RVA = "0xAC74A8", Offset = "0xAC74A8", Length = "0x8")]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 set
27 {
28 throw null;
29 }
30 }
31
32 [DataMember]
33 [global::Cpp2ILInjected.Token(Token = "0x17000356")]
34 public float MaxDepth
35 {
36 [global::Cpp2ILInjected.Token(Token = "0x6001934")]
37 [global::Cpp2ILInjected.Address(RVA = "0xAC74B0", Offset = "0xAC74B0", Length = "0x8")]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
39 get
40 {
41 throw null;
42 }
43 [global::Cpp2ILInjected.Token(Token = "0x6001935")]
44 [global::Cpp2ILInjected.Address(RVA = "0xAC74B8", Offset = "0xAC74B8", Length = "0x8")]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
46 set
47 {
48 throw null;
49 }
50 }
51
52 [DataMember]
53 [global::Cpp2ILInjected.Token(Token = "0x17000357")]
54 public float MinDepth
55 {
56 [global::Cpp2ILInjected.Token(Token = "0x6001936")]
57 [global::Cpp2ILInjected.Address(RVA = "0xAC74C0", Offset = "0xAC74C0", Length = "0x8")]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
59 get
60 {
61 throw null;
62 }
63 [global::Cpp2ILInjected.Token(Token = "0x6001937")]
64 [global::Cpp2ILInjected.Address(RVA = "0xAC74C8", Offset = "0xAC74C8", Length = "0x8")]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
66 set
67 {
68 throw null;
69 }
70 }
71
72 [DataMember]
73 [global::Cpp2ILInjected.Token(Token = "0x17000358")]
74 public int Width
75 {
76 [global::Cpp2ILInjected.Token(Token = "0x6001938")]
77 [global::Cpp2ILInjected.Address(RVA = "0xAC74D0", Offset = "0xAC74D0", Length = "0x8")]
78 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
79 get
80 {
81 throw null;
82 }
83 [global::Cpp2ILInjected.Token(Token = "0x6001939")]
84 [global::Cpp2ILInjected.Address(RVA = "0xAC74D8", Offset = "0xAC74D8", Length = "0x8")]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
86 set
87 {
88 throw null;
89 }
90 }
91
92 [DataMember]
93 [global::Cpp2ILInjected.Token(Token = "0x17000359")]
94 public int Y
95 {
96 [global::Cpp2ILInjected.Token(Token = "0x600193A")]
97 [global::Cpp2ILInjected.Address(RVA = "0xAC74E0", Offset = "0xAC74E0", Length = "0x8")]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
99 get
100 {
101 throw null;
102 }
103 [global::Cpp2ILInjected.Token(Token = "0x600193B")]
104 [global::Cpp2ILInjected.Address(RVA = "0xAC74E8", Offset = "0xAC74E8", Length = "0x8")]
105 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
106 set
107 {
108 throw null;
109 }
110 }
111
112 [DataMember]
113 [global::Cpp2ILInjected.Token(Token = "0x1700035A")]
114 public int X
115 {
116 [global::Cpp2ILInjected.Token(Token = "0x600193C")]
117 [global::Cpp2ILInjected.Address(RVA = "0xAC74F0", Offset = "0xAC74F0", Length = "0x8")]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
119 get
120 {
121 throw null;
122 }
123 [global::Cpp2ILInjected.Token(Token = "0x600193D")]
124 [global::Cpp2ILInjected.Address(RVA = "0xAC74F8", Offset = "0xAC74F8", Length = "0x8")]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
126 set
127 {
128 throw null;
129 }
130 }
131
132 [global::Cpp2ILInjected.Token(Token = "0x1700035B")]
133 public float AspectRatio
134 {
135 [global::Cpp2ILInjected.Token(Token = "0x600193E")]
136 [global::Cpp2ILInjected.Address(RVA = "0xAC7500", Offset = "0xAC7500", Length = "0x24")]
137 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
138 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
139 get
140 {
141 throw null;
142 }
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x1700035C")]
147 {
148 [global::Cpp2ILInjected.Token(Token = "0x600193F")]
149 [global::Cpp2ILInjected.Address(RVA = "0xAC7524", Offset = "0xAC7524", Length = "0x30")]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GraphicsDevice), Member = "Initialize", ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
153 {
154 typeof(int),
155 typeof(int),
156 typeof(int),
157 typeof(int)
158 }, ReturnType = typeof(void))]
159 get
160 {
161 throw null;
162 }
163 [global::Cpp2ILInjected.Token(Token = "0x6001940")]
164 [global::Cpp2ILInjected.Address(RVA = "0xAC7554", Offset = "0xAC7554", Length = "0x14")]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
166 set
167 {
168 throw null;
169 }
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x1700035D")]
174 {
175 [global::Cpp2ILInjected.Token(Token = "0x6001941")]
176 [global::Cpp2ILInjected.Address(RVA = "0xAC7568", Offset = "0xAC7568", Length = "0x74")]
177 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GraphicsDevice), Member = "GetTitleSafeArea", MemberParameters = new object[]
179 {
180 typeof(int),
181 typeof(int),
182 typeof(int),
183 typeof(int)
184 }, ReturnType = typeof(Rectangle))]
185 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
186 get
187 {
188 throw null;
189 }
190 }
191
192 [global::Cpp2ILInjected.Token(Token = "0x6001942")]
193 [global::Cpp2ILInjected.Address(RVA = "0xAC75DC", Offset = "0xAC75DC", Length = "0x18")]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GraphicsDevice), Member = "Setup", ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
196 public Viewport(int x, int y, int width, int height)
197 {
198 throw null;
199 }
200
201 [global::Cpp2ILInjected.Token(Token = "0x6001943")]
202 [global::Cpp2ILInjected.Address(RVA = "0xAC75F4", Offset = "0xAC75F4", Length = "0x10")]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
204 public Viewport(int x, int y, int width, int height, float minDepth, float maxDepth)
205 {
206 throw null;
207 }
208
209 [global::Cpp2ILInjected.Token(Token = "0x6001944")]
210 [global::Cpp2ILInjected.Address(RVA = "0xAC7604", Offset = "0xAC7604", Length = "0x20")]
211 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
212 public Viewport(Rectangle bounds)
213 {
214 throw null;
215 }
216
217 [global::Cpp2ILInjected.Token(Token = "0x6001945")]
218 [global::Cpp2ILInjected.Address(RVA = "0xAC7624", Offset = "0xAC7624", Length = "0x300")]
219 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
220 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Matrix), Member = "Multiply", MemberParameters = new object[]
222 {
223 typeof(Matrix),
225 }, ReturnType = typeof(Matrix))]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "Transform", MemberParameters = new object[]
227 {
230 }, ReturnType = typeof(Vector3))]
231 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
233 {
234 throw null;
235 }
236
237 [global::Cpp2ILInjected.Token(Token = "0x6001946")]
238 [global::Cpp2ILInjected.Address(RVA = "0xAC7950", Offset = "0xAC7950", Length = "0x330")]
239 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
240 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Matrix), Member = "Multiply", MemberParameters = new object[]
242 {
243 typeof(Matrix),
245 }, ReturnType = typeof(Matrix))]
246 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Matrix), Member = "Invert", MemberParameters = new object[] { typeof(Matrix) }, ReturnType = typeof(Matrix))]
247 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "Transform", MemberParameters = new object[]
248 {
249 typeof(Vector3),
250 typeof(Matrix)
251 }, ReturnType = typeof(Vector3))]
252 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
254 {
255 throw null;
256 }
257
258 [global::Cpp2ILInjected.Token(Token = "0x6001947")]
259 [global::Cpp2ILInjected.Address(RVA = "0xAC7924", Offset = "0xAC7924", Length = "0x2C")]
260 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
261 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
262 private static bool WithinEpsilon(float a, float b)
263 {
264 throw null;
265 }
266
267 [global::Cpp2ILInjected.Token(Token = "0x6001948")]
268 [global::Cpp2ILInjected.Address(RVA = "0xAC7C80", Offset = "0xAC7C80", Length = "0x2E4")]
269 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
270 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
271 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(float), Member = "ToString", ReturnType = typeof(string))]
272 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
273 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
274 public override string ToString()
275 {
276 throw null;
277 }
278
279 [global::Cpp2ILInjected.Token(Token = "0x4002793")]
280 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
281 private int x;
282
283 [global::Cpp2ILInjected.Token(Token = "0x4002794")]
284 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
285 private int y;
286
287 [global::Cpp2ILInjected.Token(Token = "0x4002795")]
288 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
289 private int width;
290
291 [global::Cpp2ILInjected.Token(Token = "0x4002796")]
292 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
293 private int height;
294
295 [global::Cpp2ILInjected.Token(Token = "0x4002797")]
296 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
297 private float minDepth;
298
299 [global::Cpp2ILInjected.Token(Token = "0x4002798")]
300 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
301 private float maxDepth;
302 }
303}
class f__AnonymousType0<< Count > j__TPar
Vector3 Project(Vector3 source, Matrix projection, Matrix view, Matrix world)
Definition Viewport.cs:232
Viewport(int x, int y, int width, int height)
Definition Viewport.cs:196
Vector3 Unproject(Vector3 source, Matrix projection, Matrix view, Matrix world)
Definition Viewport.cs:253
Viewport(int x, int y, int width, int height, float minDepth, float maxDepth)
Definition Viewport.cs:204
static bool WithinEpsilon(float a, float b)
Definition Viewport.cs:262